コード例 #1
0
 public TestCompletedEventArgs(TestMethod test, TestResult result)
 {
     Test   = test;
     Result = result;
 }
コード例 #2
0
ファイル: TestEngine.cs プロジェクト: woaidianqian/Rubberduck
 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();
 }
コード例 #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)));
 }
コード例 #4
0
 public TestCompletedEventArgs(TestMethod test)
 {
     Test = test;
 }