예제 #1
0
 /**
  * Add System.err'ed message string.
  *
  * @param testCase test-case instance.
  * @param message system-err message.
  */
 public static void addSystemErr(ITestCase testCase, String message) {
   TestCaseResult caseResult = (TestCaseResult) map.get(testCase);
   caseResult.addSystemErr(message);
 }
예제 #2
0
 /**
  * Set success.
  *
  * @param testCase test-case instance.
  */
 public static void setSuccess(ITestCase testCase) {
   TestCaseResult caseResult = (TestCaseResult) map.get(testCase);
   caseResult.setSuccess();
 }
예제 #3
0
 /**
  * Set failure in test-case.
  *
  * @param testCase test-case instance.
  * @param message error message.
  * @param trace error trace.
  */
 public static void setFailure(ITestCase testCase, String message, String trace) {
   TestCaseResult caseResult = (TestCaseResult) map.get(testCase);
   caseResult.setFailure(message, trace);
 }
예제 #4
0
 /**
  * End test-case.
  *
  * @param testCase test-case instance.
  */
 public static void endTestCase(ITestCase testCase) {
   TestCaseResult caseResult = (TestCaseResult) map.remove(testCase);
   caseResult.endTestCase();
 }