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