コード例 #1
0
  public void testSetCompleted(
      WrappedReportEntry report, TestSetStats testSetStats, List<String> testResults) {
    writeMessage(testSetStats.getTestSetSummary(report));

    if (testResults != null) {
      for (String testResult : testResults) {
        writeLnMessage(testResult);
      }
    }
  }
コード例 #2
0
 public void testSetCompleted(
     WrappedReportEntry report, TestSetStats testSetStats, List<String> testResults) {
   PrintWriter writer = testSetStarting(report);
   try {
     writer.println(testSetStats.getTestSetSummary(report));
     for (String testResult : testResults) {
       writer.println(testResult);
     }
     writer.flush();
   } finally {
     writer.close();
   }
 }