/*
* Set up the reporter
*/
PerformanceReportExporter rep = new ExcelExporter();
rep.setBaseFile("test1");
rep.setRolling(PerformanceReporting.Rolling.NONE);
/*
* Write to .xls file twice
*/
rep.export(timings,adapter.getPassedTests().iterator().next());
rep.export(timings,adapter.getPassedTests().iterator().next());
/*
* Now check the workbook written
* But first delete an existing file
*/