protected void OnTestFinished(object source, TestFinishedEventArgs e)
		{
			if (TestFinished != null) {
				TestResult testResult = CreateTestResultForTestFramework(e.Result);
				TestFinished(source, new TestFinishedEventArgs(testResult));
			}
		}
Example #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));
     }
 }
Example #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);
		}
Example #9
0
		void OnTestFinished(TestFinishedEventArgs e)
		{
			if (TestFinished != null) {
				TestFinished(this, e);
			}
		}
		void TestFinished(object source, TestFinishedEventArgs e)
		{
			WorkbenchSingleton.SafeThreadAsyncCall(ShowResult, e.Result);
		}