public class ProbeRunner
extends org.junit.runners.BlockJUnit4ClassRunner
| Constructor and Description |
|---|
ProbeRunner(Class<?> klass) |
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runners.model.Statement |
classBlock(org.junit.runner.notification.RunNotifier notifier)
Override to avoid running BeforeClass and AfterClass by the driver.
|
protected List<org.junit.runners.model.FrameworkMethod> |
getChildren()
When using a probe invoker, we replace the test methods of this class by a potentially larger
set of decorated test methods.
|
protected org.junit.runners.model.Statement |
methodBlock(org.junit.runners.model.FrameworkMethod method)
Override to avoid running Before, After and Rule methods by the driver.
|
protected org.junit.runners.model.Statement |
methodInvoker(org.junit.runners.model.FrameworkMethod method,
Object test)
When using a probe invoker, we replace the super method and invoke the test method indirectly
via the reactor.
|
void |
run(org.junit.runner.notification.RunNotifier notifier)
We decorate the super method by reactor setup and teardown.
|
collectInitializationErrors, computeTestMethods, createTest, describeChild, getTestRules, isIgnored, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutpublic ProbeRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationErrorpublic void run(org.junit.runner.notification.RunNotifier notifier)
run in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>protected org.junit.runners.model.Statement classBlock(org.junit.runner.notification.RunNotifier notifier)
classBlock in class org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
methodBlock in class org.junit.runners.BlockJUnit4ClassRunnerprotected List<org.junit.runners.model.FrameworkMethod> getChildren()
getChildren in class org.junit.runners.BlockJUnit4ClassRunnerprotected org.junit.runners.model.Statement methodInvoker(org.junit.runners.model.FrameworkMethod method,
Object test)
methodInvoker in class org.junit.runners.BlockJUnit4ClassRunnerCopyright © 2006–2017 OPS4J - Open Participation Software for Java. All rights reserved.