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();
 }
Beispiel #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();
     }
 }