protected void OnTestFinished(object source, TestFinishedEventArgs e)
		{
			if (TestFinished != null) {
				TestResult testResult = CreateTestResultForTestFramework(e.Result);
				TestFinished(source, new TestFinishedEventArgs(testResult));
			}
		}
Beispiel #2
0
 protected void OnTestFinished(object source, TestFinishedEventArgs e)
 {
     if (TestFinished != null)
     {
         TestResult testResult = CreateTestResultForTestFramework(e.Result);
         TestFinished(source, new TestFinishedEventArgs(testResult));
     }
 }
		protected void OnTestFinished(object source, TestFinishedEventArgs e)
		{
			if (TestFinished != null) {
				TestResult testResult = CreateTestResultForTestFramework(e.Result);
				TestFinished(source, new TestFinishedEventArgs(testResult));
			}
			if (!double.IsInfinity(progressPerTest))
				progress.Report(progressPerTest * Interlocked.Increment(ref testsFinished));
		}
 protected void OnTestFinished(object source, TestFinishedEventArgs e)
 {
     if (TestFinished != null)
     {
         TestResult testResult = CreateTestResultForTestFramework(e.Result);
         TestFinished(source, new TestFinishedEventArgs(testResult));
     }
     if (!double.IsInfinity(progressPerTest))
     {
         progress.Report(progressPerTest * Interlocked.Increment(ref testsFinished));
     }
 }
Beispiel #5
0
 void TestFinished(object source, TestFinishedEventArgs e)
 {
     context.Workbench.SafeThreadAsyncCall(ShowResult, e.Result);
 }
		protected virtual void OnTestFinished(TestFinishedEventArgs e)
		{
			if (TestFinished != null) {
				TestFinished(this, e);
			}
		}
 void TestFinished(object source, TestFinishedEventArgs e)
 {
     WorkbenchSingleton.SafeThreadAsyncCall(ShowResult, e.Result);
 }
		void TestFinished(object source, TestFinishedEventArgs e)
		{
			context.Workbench.SafeThreadAsyncCall(ShowResult, e.Result);
		}
		void OnTestFinished(TestFinishedEventArgs e)
		{
			if (TestFinished != null) {
				TestFinished(this, e);
			}
		}
		void TestFinished(object source, TestFinishedEventArgs e)
		{
			WorkbenchSingleton.SafeThreadAsyncCall(ShowResult, e.Result);
		}