Beispiel #1
0
 private void SetupFailureJob()
 {
     _failJob = new ConsoleJob
     {
         ExecutableName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"TestApp\Missing.exe"),
         OutputFile     = _outputFile,
         MaxRetries     = 2
     };
 }
Beispiel #2
0
 private void SetupSuccessJob()
 {
     _successJob = new ConsoleJob
     {
         ExecutableName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"TestApp\TestApp.exe"),
         Parameters     = "success 1000",
         OutputFile     = _outputFile
     };
 }
Beispiel #3
0
 private void SetupErrorExitCodeJob()
 {
     _errorExitCodeJob = new ConsoleJob
     {
         ExecutableName = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, @"TestApp\TestApp.exe"),
         Parameters     = "failure 1000",
         OutputFile     = _outputFile,
         MaxRetries     = 2
     };
 }