• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package 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  */
7 public class StandardTestSuiteLoader implements TestSuiteLoader {
8 	/**
9 	 * Uses the system class loader to load the test class
10 	 */
load(String suiteClassName)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 	 */
reload(Class aClass)17 	public Class reload(Class aClass) throws ClassNotFoundException {
18 		return aClass;
19 	}
20 }
21