예제 #1
0
 void SetStartUpParameters(ITestRun testRun)
 {
     if (TestRunStartTypes.Immediately == testRun.StartType)
         testRun.Status = TestRunQueue.TestRuns.Any(tr => tr.TestLabId == testRun.TestLabId && tr.IsQueued()) ? TestRunStatuses.Pending : TestRunStatuses.Running;
     if (testRun.IsActive())
         testRun.SetStartTime();
 }
예제 #2
0
 void SetStartUpParameters(ITestRun testRun)
 {
     if (TestRunStartTypes.Immediately == testRun.StartType)
     {
         testRun.Status = TestRunQueue.TestRuns.Any(tr => tr.TestLabId == testRun.TestLabId && tr.IsQueued()) ? TestRunStatuses.Pending : TestRunStatuses.Running;
     }
     if (testRun.IsAcceptingNewClients())
     {
         testRun.SetStartTime();
     }
 }