protected void writeTestSummary(List<TestLauncher> origtests) throws IOException {
List<TestLauncher> tests = new ArrayList<TestLauncher>(origtests);
for (Iterator<TestLauncher> iter = tests.iterator(); iter.hasNext();) {
try {
TestLauncher test = iter.next();
RhinoScriptRunner scriptRunner = test.getScriptRunner();
if (scriptRunner == null) {
continue;
}
Report report = scriptRunner.getReport();
if (report == null) {