float totalTime = 0.0f;
for ( Iterator suites = suiteList.iterator(); suites.hasNext(); )
{
ReportTestSuite suite = (ReportTestSuite) suites.next();
totalTests += suite.getNumberOfTests();
totalErrors += suite.getNumberOfErrors();
totalFailures += suite.getNumberOfFailures();
totalTime += suite.getTimeElapsed();
}
ReportTest report = new ReportTest();
report.setTests( totalTests );
report.setErrors( totalErrors );