public abstract class AbstractInjectingRunner
extends org.junit.runners.BlockJUnit4ClassRunner
| Constructor and Description |
|---|
AbstractInjectingRunner(Class<?> klass)
Constructor compatible with the underlying default JUnit4 runner.
|
| Modifier and Type | Method and Description |
|---|---|
protected org.junit.runners.model.Statement |
classBlock(org.junit.runner.notification.RunNotifier notifier) |
protected abstract InjectionContext |
getInjectionContext() |
protected org.junit.runners.model.Statement |
methodInvoker(org.junit.runners.model.FrameworkMethod method,
Object test) |
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, methodBlock, possiblyExpectingExceptions, rules, runChild, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withAfters, withBefores, withPotentialTimeoutpublic AbstractInjectingRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError - if the test class is malformed.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 methodInvoker(org.junit.runners.model.FrameworkMethod method,
Object test)
methodInvoker in class org.junit.runners.BlockJUnit4ClassRunnerprotected abstract InjectionContext getInjectionContext()
Copyright © 2015 Atlassian. All rights reserved.