Esempio n. 1
0
        public void InvalidGroupCommands(string executeCommand, LogEventId expectedErrorCode)
        {
            var config = Build(executeCommands: executeCommand)
                         .AddJavaScriptProject("@ms/project-A", "src/A")
                         .PersistSpecsAndGetConfiguration();

            var result = RunRushProjects(config, new[] {
Esempio n. 2
0
        public void InvalidRushCommands(string commands, LogEventId expectedLogEventId)
        {
            var engineResult = BuildDummyWithCommands(commands);

            Assert.False(engineResult.IsSuccess);

            AssertErrorEventLogged(expectedLogEventId);
        }