void (List<Class<?>> result, String className) { final Class<?> aClass = loadTestClass(className); if (!result.contains(aClass)) { //do not append classes twice: rerun failed tests from one test suite result.add(aClass); } }