示例#1
0
 void ITestResultHandler.OnTestMethodEnded(TestMethod testMethod, int testMethodIndex)
 {
     if (testMethod.State == TestState.Passed) {
     Log.Info(TAG, "Test passed: " + testMethod.Method.Name);
       }
       else {
     Log.Error(TAG, FormatException("Error in test method " + testMethod.Method.Name, testMethod.OutcomeError.Exception));
       }
 }
示例#2
0
 void ITestResultHandler.OnTestMethodStarted(TestMethod testMethod, int testMethodIndex)
 {
     // No op
 }
 void ITestResultHandler.OnTestMethodStarted(TestMethod testMethod, int testMethodIndex)
 {
     // No op
 }