/// <summary> /// Dispatches the <see cref="TestStepLifecyclePhaseChanged" /> event. /// </summary> /// <param name="e">The event arguments.</param> public void NotifyTestStepLifecyclePhaseChanged(TestStepLifecyclePhaseChangedEventArgs e) { EventHandlerPolicy.SafeInvoke(TestStepLifecyclePhaseChanged, this, e); }
private void TestStepLifecyclePhaseChanged(object sender, TestStepLifecyclePhaseChangedEventArgs e) { TestMonitor testMonitor = GetTestMonitor(e.Test.Id); if (testMonitor != null) testMonitor.TestStepLifecyclePhaseChanged(e); }
public void TestStepLifecyclePhaseChanged(TestStepLifecyclePhaseChangedEventArgs e) { lock (this) { string message = e.LifecyclePhase; if (!e.TestStepRun.Step.IsPrimary) message += " - " + e.TestStepRun.Step.Name; server.TaskProgress(testTask, message); } }