/**
  * 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);
 }
 /**
  * Set success.
  *
  * @param testCase test-case instance.
  */
 public static void setSuccess(ITestCase testCase) {
   TestCaseResult caseResult = (TestCaseResult) map.get(testCase);
   caseResult.setSuccess();
 }
 /**
  * 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);
 }
 /**
  * End test-case.
  *
  * @param testCase test-case instance.
  */
 public static void endTestCase(ITestCase testCase) {
   TestCaseResult caseResult = (TestCaseResult) map.remove(testCase);
   caseResult.endTestCase();
 }