1 package junit.runner;
2
3 /**
4 * The standard test suite loader. It can only load the same class once.
5 */
|
6 public class StandardTestSuiteLoader implements TestSuiteLoader {
|
7 /**
8 * Uses the system class loader to load the test class
9 */
10 public Class load(String suiteClassName) throws ClassNotFoundException {
|
11 return Class.forName(suiteClassName);
|
12 }
13 /**
14 * Uses the system class loader to load the test class
15 */
16 public Class reload(Class aClass) throws ClassNotFoundException {
|
17 > return aClass;
|
18 }
19 } |