コード例 #1
0
 /**
  * Start test-case.
  *
  * @param testSuite test-suite instance.
  * @param testCase test-case instance.
  */
 public static void startTestCase(ITestSuite testSuite, ITestCase testCase) {
   TestCaseResult caseResult = factory.createTestCaseResult(testCase.getName());
   map.put(testCase, caseResult);
   if (testSuite != null) {
     TestSuiteResult suiteResult = (TestSuiteResult) map.get(testSuite);
     suiteResult.addTestCaseResult(caseResult);
   }
 }