Пример #1
0
 protected virtual void AddWarning(TestCase testCase, TestFailedException e)
 {
     if (testResult != null)
     {
         testResult.StatusNotify(testCase, new TestStatus(TestStatusCode.Warning, e));
     }
     hasWarnings = true;
 }
Пример #2
0
 protected virtual void AddFailure(TestCase testCase, TestFailedException e)
 {
     if (testResult != null)
     {
         testResult.StatusNotify(testCase, new TestStatus(TestStatusCode.Failure, e));
     }
     hasFailures = true;
 }
Пример #3
0
		protected virtual void AddWarning (TestCase testCase, TestFailedException e)
		{
			if (testResult != null)
			{
				testResult.StatusNotify (testCase, new TestStatus (TestStatusCode.Warning, e));
			}
			hasWarnings = true;
		}
Пример #4
0
		protected virtual void AddFailure (TestCase testCase, TestFailedException e)
		{
			if (testResult != null)
			{
				testResult.StatusNotify (testCase, new TestStatus (TestStatusCode.Failure, e));
			}
			hasFailures = true;
		}