public static void StartAndRun(string fileName, int exitCode, params string[] args)
 {
     using (ProcessTester tester = new ProcessTester(fileName, args))
     {
         tester.ExpectedExitCode = exitCode;
         tester.Run();
     }
 }
Пример #2
0
 public static void StartAndRun(string fileName, int exitCode, params string[] args)
 {
     using (ProcessTester tester = new ProcessTester(fileName, args))
     {
         tester.ExpectedExitCode = exitCode;
         tester.Run();
     }
 }
 public static void StartAndRun(string fileName, params string[] args)
 {
     using (ProcessTester tester = new ProcessTester(fileName, args))
     {
         tester.ThrowOnWrongExitCode = false;
         tester.Run();
     }
 }
Пример #4
0
 public static void StartAndRun(string fileName, params string[] args)
 {
     using (ProcessTester tester = new ProcessTester(fileName, args))
     {
         tester.ThrowOnWrongExitCode = false;
         tester.Run();
     }
 }