public class InjectingRunner
extends org.junit.runners.BlockJUnit4ClassRunner
| Constructor and Description |
|---|
InjectingRunner(Class<?> klass) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createTest()
Creates an instance of the current test class.
|
void |
run(org.junit.runner.notification.RunNotifier notifier)
We decorate the super method by reactor setup and teardown.
|
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, isIgnored, methodBlock, methodInvoker, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutpublic InjectingRunner(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 Object createTest() throws Exception
In this case, an InjectorFactory is obtained via SPI lookup.
createTest in class org.junit.runners.BlockJUnit4ClassRunnerExceptionCopyright © 2006–2017 OPS4J - Open Participation Software for Java. All rights reserved.