StandardTestSuiteLoader.java revision f6c387128427e121477c1b32ad35cdcaa5101ba3
1package junit.runner;
2
3/**
4 * The standard test suite loader. It can only load the same class once.
5 */
6public 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}
20