junit.runner
Class StandardTestSuiteLoader
java.lang.Object
junit.runner.StandardTestSuiteLoader
- All Implemented Interfaces:
- TestSuiteLoader
public class StandardTestSuiteLoader
- extends java.lang.Object
- implements TestSuiteLoader
The standard test suite loader. It can only load the same class once.
|
Method Summary |
java.lang.Class |
load(java.lang.String suiteClassName)
Uses the system class loader to load the test class |
java.lang.Class |
reload(java.lang.Class aClass)
Uses the system class loader to load the test class |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StandardTestSuiteLoader
public StandardTestSuiteLoader()
load
public java.lang.Class load(java.lang.String suiteClassName)
throws java.lang.ClassNotFoundException
- Uses the system class loader to load the test class
- Specified by:
load in interface TestSuiteLoader
- Throws:
java.lang.ClassNotFoundException
reload
public java.lang.Class reload(java.lang.Class aClass)
throws java.lang.ClassNotFoundException
- Uses the system class loader to load the test class
- Specified by:
reload in interface TestSuiteLoader
- Throws:
java.lang.ClassNotFoundException