org.junit.experimental
Class ParallelComputer.ParallelRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<FrameworkMethod>
          extended by org.junit.runners.BlockJUnit4ClassRunner
              extended by org.junit.experimental.ParallelComputer.ParallelRunner
All Implemented Interfaces:
Describable, Filterable, Sortable
Enclosing class:
ParallelComputer

public static class ParallelComputer.ParallelRunner
extends BlockJUnit4ClassRunner


Constructor Summary
ParallelComputer.ParallelRunner(java.lang.Class<?> klass)
           
 
Method Summary
 void run(RunNotifier notifier)
          Run the tests for this runner.
protected  void runChild(FrameworkMethod method, RunNotifier notifier)
          Runs the test corresponding to child, which can be assumed to be an element of the list returned by ParentRunner.getChildren().
protected  void superRunChild(FrameworkMethod method, RunNotifier notifier)
           
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, makeNotifier, methodBlock, methodInvoker, possiblyExpectingExceptions, testName, validateInstanceMethods, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, filter, getDescription, getFilteredChildren, getName, getTestClass, 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

ParallelComputer.ParallelRunner

public ParallelComputer.ParallelRunner(java.lang.Class<?> klass)
                                throws InitializationError
Throws:
InitializationError
Method Detail

runChild

protected void runChild(FrameworkMethod method,
                        RunNotifier notifier)
Description copied from class: ParentRunner
Runs the test corresponding to child, which can be assumed to be an element of the list returned by ParentRunner.getChildren(). Subclasses are responsible for making sure that relevant test events are reported through notifier

Overrides:
runChild in class BlockJUnit4ClassRunner

superRunChild

protected void superRunChild(FrameworkMethod method,
                             RunNotifier notifier)

run

public void run(RunNotifier notifier)
Description copied from class: Runner
Run the tests for this runner.

Overrides:
run in class ParentRunner<FrameworkMethod>
Parameters:
notifier - will be notified of events while tests are being run--tests being started, finishing, and failing