org.databene.contiperf.junit
Class ParallelRunner

java.lang.Object
  extended by org.junit.runner.Runner
      extended by org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
          extended by org.junit.runners.BlockJUnit4ClassRunner
              extended by org.databene.contiperf.junit.ParallelRunner
All Implemented Interfaces:
org.junit.runner.Describable, org.junit.runner.manipulation.Filterable, org.junit.runner.manipulation.Sortable

public class ParallelRunner
extends org.junit.runners.BlockJUnit4ClassRunner

Executes all tests of one test class concurrently. Warning: This is an experimental implementation, so its behaviour may change in future versions.

Created: 07.04.2012 17:18:54

Since:
2.1.0
Author:
Volker Bergmann

Nested Class Summary
 class ParallelRunner.ChildRunnable
           
 
Constructor Summary
ParallelRunner(Class<?> klass)
           
 
Method Summary
protected  org.junit.runners.model.Statement childrenInvoker(org.junit.runner.notification.RunNotifier notifier)
           
 
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeout
 
Methods inherited from class org.junit.runners.ParentRunner
classBlock, classRules, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, 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

ParallelRunner

public ParallelRunner(Class<?> klass)
               throws org.junit.runners.model.InitializationError
Throws:
org.junit.runners.model.InitializationError
Method Detail

childrenInvoker

protected org.junit.runners.model.Statement childrenInvoker(org.junit.runner.notification.RunNotifier notifier)
Overrides:
childrenInvoker in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>


Copyright © 2013. All Rights Reserved.