throw new IllegalStateException( "You can't call locateTestSets twice" );
}
testSets = new TreeMap();
final TestsToRun scanned =
surefireDirectoryScanner.locateTestClasses( classLoader, new NonAbstractClassFilter() );
final TestsToRun testsToRun = runOrderCalculator.orderTestClasses( scanned );
Class[] locatedClasses = testsToRun.getLocatedClasses();
for ( int i = 0; i < locatedClasses.length; i++ )