|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
org.apache.directory.server.core.integ.FrameworkRunner
public class FrameworkRunner
The class responsible for running all the tests. t read the annotations, initialize the DirectoryService, call each test and do the cleanup at the end.
Constructor Summary | |
---|---|
FrameworkRunner(java.lang.Class<?> clazz)
Creates a new instance of FrameworkRunner. |
Method Summary | |
---|---|
FrameworkSuite |
getSuite()
|
void |
run(org.junit.runner.notification.RunNotifier notifier)
|
protected void |
runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier)
|
void |
setSuite(FrameworkSuite suite)
Set the Suite reference into this class |
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner |
---|
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, methodBlock, methodInvoker, possiblyExpectingExceptions, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout |
Methods inherited from class org.junit.runners.ParentRunner |
---|
childrenInvoker, classBlock, filter, getDescription, getName, getTestClass, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses |
Methods inherited from class org.junit.runner.Runner |
---|
testCount |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FrameworkRunner(java.lang.Class<?> clazz) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
Method Detail |
---|
public void run(org.junit.runner.notification.RunNotifier notifier)
run
in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
protected void runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)
runChild
in class org.junit.runners.BlockJUnit4ClassRunner
public void setSuite(FrameworkSuite suite)
suite
- The suite this classd is contained intopublic FrameworkSuite getSuite()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |