Package com.vaadin.testbench.parallel
Class ParallelRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
- org.junit.runners.BlockJUnit4ClassRunner
-
- com.vaadin.testbench.parallel.ParallelRunner
-
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Orderable,org.junit.runner.manipulation.Sortable
public class ParallelRunner extends org.junit.runners.BlockJUnit4ClassRunnerThis runner is loosely based on FactoryTestRunner by Ted Young (http://tedyoung.me/2011/01/23/junit-runtime-tests-custom-runners/). The generated test names give information about the parameters used (unlikeParameterized).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classParallelRunner.TBMethod
-
Constructor Summary
Constructors Constructor Description ParallelRunner(Class<?> klass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected List<org.junit.runners.model.FrameworkMethod>computeTestMethods()protected org.junit.runners.model.StatementwithBefores(org.junit.runners.model.FrameworkMethod method, Object target, org.junit.runners.model.Statement statement)-
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, createTest, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withPotentialTimeout
-
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
-
-
-
-
Constructor Detail
-
ParallelRunner
public ParallelRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
- Throws:
org.junit.runners.model.InitializationError
-
-
Method Detail
-
computeTestMethods
protected List<org.junit.runners.model.FrameworkMethod> computeTestMethods()
- Overrides:
computeTestMethodsin classorg.junit.runners.BlockJUnit4ClassRunner
-
withBefores
protected org.junit.runners.model.Statement withBefores(org.junit.runners.model.FrameworkMethod method, Object target, org.junit.runners.model.Statement statement)- Overrides:
withBeforesin classorg.junit.runners.BlockJUnit4ClassRunner
-
-