org.junit.experimental
Class ParallelComputer.ParallelSuite

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

public static class ParallelComputer.ParallelSuite
extends Suite


Nested Class Summary
 
Nested classes/interfaces inherited from class org.junit.runners.Suite
Suite.SuiteClasses
 
Constructor Summary
ParallelComputer.ParallelSuite(RunnerBuilder builder, java.lang.Class<?>[] classes)
           
 
Method Summary
 void run(RunNotifier notifier)
          Run the tests for this runner.
protected  void runChild(Runner runner, 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(Runner runner, RunNotifier notifier)
           
 
Methods inherited from class org.junit.runners.Suite
describeChild, getChildren
 
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, collectInitializationErrors, 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.ParallelSuite

public ParallelComputer.ParallelSuite(RunnerBuilder builder,
                                      java.lang.Class<?>[] classes)
                               throws InitializationError
Throws:
InitializationError
Method Detail

runChild

protected void runChild(Runner runner,
                        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 Suite

superRunChild

protected void superRunChild(Runner runner,
                             RunNotifier notifier)

run

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

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