Esempio n. 1
0
 public TestCompletedEventArgs(TestMethod test, TestResult result)
 {
     Test   = test;
     Result = result;
 }
Esempio n. 2
0
 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();
 }
Esempio n. 3
0
 private void OnTestCompleted(TestMethod test, TestResult result)
 {
     resultsByOutcome[result.Outcome].Add(test);
     LastRun.Add(test);
     _uiDispatcher.InvokeAsync(() => TestCompleted?.Invoke(this, new TestCompletedEventArgs(test, result)));
 }
Esempio n. 4
0
 public TestCompletedEventArgs(TestMethod test)
 {
     Test = test;
 }