StandardTestSuiteLoader.java revision 58a8b0aba2dec5695628a2bf25a3fae42c2c3533
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}