public TestCompletedEventArgs(TestMethod test, TestResult result) { Test = test; Result = result; }
private void OnTestStarted(TestMethod test) { TestStarted?.Invoke(this, new TestStartedEventArgs(test)); // This call is safe - OnTestStarted cannot be called from outside RD's context. _uiDispatcher.FlushMessageQueue(); }
private void OnTestCompleted(TestMethod test, TestResult result) { resultsByOutcome[result.Outcome].Add(test); LastRun.Add(test); _uiDispatcher.InvokeAsync(() => TestCompleted?.Invoke(this, new TestCompletedEventArgs(test, result))); }
public TestCompletedEventArgs(TestMethod test) { Test = test; }