public void AddFailure(TestMethod testMethod, TestFailedException failureError) { if (Failures.ContainsKey(testMethod)) Failures[testMethod] = failureError; else Failures.Add(testMethod, failureError); }
public void AddError(TestMethod testMethod, Exception error) { if (Errors.ContainsKey(testMethod)) Errors[testMethod] = error; else Errors.Add(testMethod, error); }
public void AddSuccess(TestMethod testMethod) { if (Successes.Contains(testMethod)) return; Successes.Add(testMethod); }
public void OnFailed(TestMethod tm) { if(Failed != null) Failed(this, tm); }
public void OnError(TestMethod tm) { if(Error != null) Error(this, tm); }