de.bechte.junit.runners.context.statements
Class RunChildren<T>
java.lang.Object
org.junit.runners.model.Statement
de.bechte.junit.runners.context.statements.RunChildren<T>
- Type Parameters:
T - the type to run
public class RunChildren<T>
- extends org.junit.runners.model.Statement
The RunChildren statement takes four arguments:
TestClass, ChildExecutor, List of children, RunNotifier
When evaluated, the statement calls ChildExecutor.run(TestClass, Object, RunNotifier) on each child.
Note: The type of the ChildExecutor instance must match the type of the List of children.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RunChildren
public RunChildren(org.junit.runners.model.TestClass testClass,
ChildExecutor<T> childExecutor,
ChildResolver<T> childResolver,
org.junit.runner.notification.RunNotifier notifier)
evaluate
public void evaluate()
throws Throwable
- Specified by:
evaluate in class org.junit.runners.model.Statement
- Throws:
Throwable
Copyright © 2015. All rights reserved.