public void testSetCompleted( WrappedReportEntry report, TestSetStats testSetStats, List<String> testResults) { writeMessage(testSetStats.getTestSetSummary(report)); if (testResults != null) { for (String testResult : testResults) { writeLnMessage(testResult); } } }
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(); } }