public class JUnitFactoryRunner
extends org.junit.runners.ParentRunner<org.junit.runner.Runner>
JUnitFactoryRunner.JUnitFactory annotation.
The annotated method must returns Iterable of tests instances.
It is important to understand that tests will be created before execution @BeforeClass methods.| Modifier and Type | Class and Description |
|---|---|
static interface |
JUnitFactoryRunner.JUnitFactory
Annotation for a factory method which returns test instance.
|
| Constructor and Description |
|---|
JUnitFactoryRunner(Class<?> clazz)
Only called reflectively.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runner.Description |
describeChild(org.junit.runner.Runner child) |
protected List<org.junit.runner.Runner> |
getChildren() |
protected Iterable<org.junit.runners.model.FrameworkMethod> |
getFactoryMethods(org.junit.runners.model.TestClass testClass) |
protected void |
runChild(org.junit.runner.Runner child,
org.junit.runner.notification.RunNotifier notifier) |
childrenInvoker, classBlock, classRules, collectInitializationErrors, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClassesprotected List<org.junit.runner.Runner> getChildren()
getChildren in class org.junit.runners.ParentRunner<org.junit.runner.Runner>protected org.junit.runner.Description describeChild(org.junit.runner.Runner child)
describeChild in class org.junit.runners.ParentRunner<org.junit.runner.Runner>protected void runChild(org.junit.runner.Runner child,
org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.ParentRunner<org.junit.runner.Runner>Copyright © 2014. All rights reserved.