Class ConcurrentParameterizedRunner
- java.lang.Object
-
- org.junit.runner.Runner
-
- org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
-
- org.junit.runners.BlockJUnit4ClassRunner
-
- org.glassfish.jersey.test.util.runner.ConcurrentParameterizedRunner
-
- All Implemented Interfaces:
org.junit.runner.Describable,org.junit.runner.manipulation.Filterable,org.junit.runner.manipulation.Orderable,org.junit.runner.manipulation.Sortable
@Beta public class ConcurrentParameterizedRunner extends org.junit.runners.BlockJUnit4ClassRunnerCustom implementation of a JUnitRunnerthat allows parameterized tests to run in parallel. This runner will probably be merged intoConcurrentRunnerin the future.- Author:
- Jakub Podlesak
-
-
Field Summary
Fields Modifier and Type Field Description intFINISH_WAIT_CYCLE_MSintTEST_THREADS
-
Constructor Summary
Constructors Constructor Description ConcurrentParameterizedRunner(Class<?> clazz)Create a new runner for given test class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidrunChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)protected voidvalidateTestMethods(List<Throwable> errors)-
Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateZeroArgConstructor, withAfters, withBefores, 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
-
-
-
-
Field Detail
-
FINISH_WAIT_CYCLE_MS
public final int FINISH_WAIT_CYCLE_MS
- See Also:
- Constant Field Values
-
TEST_THREADS
public final int TEST_THREADS
- See Also:
- Constant Field Values
-
-
Method Detail
-
validateTestMethods
protected void validateTestMethods(List<Throwable> errors)
- Overrides:
validateTestMethodsin classorg.junit.runners.BlockJUnit4ClassRunner
-
runChild
protected void runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier)- Overrides:
runChildin classorg.junit.runners.BlockJUnit4ClassRunner
-
-