blob: e2bd765ee60c5a7aa0b9234fa3c37c0d33c9a17e [file] [log] [blame]
The Android Open Source Project2ad60cf2008-10-21 07:00:00 -07001package 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}