|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.junit.runner.Runner
org.junit.runners.ParentRunner<FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
org.junit.experimental.ParallelComputer.ParallelRunner
public static class ParallelComputer.ParallelRunner
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 |
---|
public ParallelComputer.ParallelRunner(java.lang.Class<?> klass) throws InitializationError
InitializationError
Method Detail |
---|
protected void runChild(FrameworkMethod method, RunNotifier notifier)
ParentRunner
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
runChild
in class BlockJUnit4ClassRunner
protected void superRunChild(FrameworkMethod method, RunNotifier notifier)
public void run(RunNotifier notifier)
Runner
run
in class ParentRunner<FrameworkMethod>
notifier
- will be notified of events while tests are being run--tests being
started, finishing, and failing
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |