blob: bce7dec83557ae2f36b4570ccb712cc4375e71b0 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001package junit.runner;
2
3/**
4 * The standard test suite loader. It can only load the same class once.
5 * {@hide} - Not needed for 1.0 SDK
6 */
7public class StandardTestSuiteLoader implements TestSuiteLoader {
8 /**
9 * Uses the system class loader to load the test class
10 */
11 public Class load(String suiteClassName) throws ClassNotFoundException {
12 return Class.forName(suiteClassName);
13 }
14 /**
15 * Uses the system class loader to load the test class
16 */
17 public Class reload(Class aClass) throws ClassNotFoundException {
18 return aClass;
19 }
20}