Esempio n. 1
0
 private static TestResult SafeFinishStep(ITestContext testContext, TestOutcome outcome, TimeSpan duration)
 {
     testContext.BecomeMultiThreadAware();
     using (TestContextTrackerAccessor.Instance.EnterContext(testContext))
         return(testContext.FinishStep(outcome, duration));
 }
Esempio n. 2
0
 private static TestResult SafeFinishStep(ITestContext testContext, TestOutcome outcome, TimeSpan duration)
 {
     testContext.BecomeMultiThreadAware();
     using (TestContextTrackerAccessor.Instance.EnterContext(testContext))
         return testContext.FinishStep(outcome, duration);
 }