public class ConcurrentTestRunner
extends org.junit.runners.BlockJUnit4ClassRunner
A JUnit test runner to run concurrent unit tests. Runs the tests of one test class in the following order:
Most useful when using a dynamic race condition catcher like vmlens.
| Constructor and Description |
|---|
ConcurrentTestRunner(Class<?> klass) |
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runners.model.Statement |
childrenInvoker(org.junit.runner.notification.RunNotifier notifier) |
protected org.junit.runners.model.Statement |
createAfters(Object target) |
protected org.junit.runners.model.Statement |
createBefores(Object target) |
protected org.junit.runners.model.Statement |
createMethodStatement(org.junit.runners.model.FrameworkMethod method,
Object test) |
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutpublic ConcurrentTestRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorprotected org.junit.runners.model.Statement childrenInvoker(org.junit.runner.notification.RunNotifier notifier)
childrenInvoker in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>protected org.junit.runners.model.Statement createMethodStatement(org.junit.runners.model.FrameworkMethod method,
Object test)
protected org.junit.runners.model.Statement createBefores(Object target)
protected org.junit.runners.model.Statement createAfters(Object target)
Copyright © 2017. All rights reserved.