blob: 808963a5aea09390c40752ef242bee28b0e50a15 [file] [log] [blame]
Paul Duffineef35dd2016-12-12 12:22:31 +00001package 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 */
10public 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}