Esempio n. 1
0
        public void TestDependencies()
        {
            CLITestHelper.Test("dependencies_1", ReturnCode.Success);
            CLITestHelper.Test("dependencies_2", ReturnCode.Success);
            CLITestHelper.Test("dependencies_3", ReturnCode.ParsingDiagnostics);
            CLITestHelper.ReadConsole("dependencies_4", ReturnCode.DependenciesError);            //No dependencies found
            CLITestHelper.Test("dependencies_5", ReturnCode.Success);
#if EUROINFO_RULES
            CLITestHelper.Test("ei_dependencies_1", ReturnCode.ParsingDiagnostics);
#endif
        }
Esempio n. 2
0
 public void TestArgumentsErrors()
 {
     CLITestHelper.ReadConsole("arguments_errors_1", ReturnCode.MultipleErrors);
     CLITestHelper.ReadConsole("arguments_errors_2", ReturnCode.MultipleErrors);
     CLITestHelper.ReadConsole("arguments_errors_3", ReturnCode.MultipleErrors);
 }