All Downloads are FREE. Search and download functionalities are using the official Maven repository.

junit.runner.ReloadingTestSuiteLoader Maven / Gradle / Ivy

There is a newer version: 0.96-beta4
Show newest version
package junit.runner;

/**
 * A TestSuite loader that can reload classes.
 */
public class ReloadingTestSuiteLoader implements TestSuiteLoader {
	
	public Class load(String suiteClassName) throws ClassNotFoundException {
		return createLoader().loadClass(suiteClassName, true);
	}
	
	public Class reload(Class aClass) throws ClassNotFoundException {
		return createLoader().loadClass(aClass.getName(), true);
	}
	
	protected TestCaseClassLoader createLoader() {
		return new TestCaseClassLoader();
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy