de.bechte.junit.runners.context.statements
Class RunChildren<T>

java.lang.Object
  extended by org.junit.runners.model.Statement
      extended by 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.


Constructor Summary
RunChildren(org.junit.runners.model.TestClass testClass, ChildExecutor<T> childExecutor, ChildResolver<T> childResolver, org.junit.runner.notification.RunNotifier notifier)
           
 
Method Summary
 void evaluate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RunChildren

public RunChildren(org.junit.runners.model.TestClass testClass,
                   ChildExecutor<T> childExecutor,
                   ChildResolver<T> childResolver,
                   org.junit.runner.notification.RunNotifier notifier)
Method Detail

evaluate

public void evaluate()
              throws Throwable
Specified by:
evaluate in class org.junit.runners.model.Statement
Throws:
Throwable


Copyright © 2015. All rights reserved.