1 package junit.runner; 2 3 // android-changed - class not present in upstream JUnit 4.10 4 // added here to retain BaseTestRunner.getLoader API 5 6 /** 7 * The standard test suite loader. It can only load the same class once. 8 * {@hide} 9 */ 10 public class StandardTestSuiteLoader implements TestSuiteLoader { 11 /** 12 * Uses the system class loader to load the test class 13 */ 14 public Class load(String suiteClassName) throws ClassNotFoundException { 15 return Class.forName(suiteClassName); 16 } 17 /** 18 * Uses the system class loader to load the test class 19 */ 20 public Class reload(Class aClass) throws ClassNotFoundException { 21 return aClass; 22 } 23 } 24