public class MockTestRunner
extends org.junit.runners.BlockJUnit4ClassRunner
| Modifier and Type | Class and Description |
|---|---|
protected static class |
MockTestRunner.Binding
Binding definition storage |
protected static class |
MockTestRunner.FieldModule |
| Constructor and Description |
|---|
MockTestRunner(Class<?> klass)
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createTest() |
protected Set<Field> |
getFields(Class<?> c)
Gets all declared fields and all inherited fields.
|
protected void |
runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier) |
protected org.junit.runners.model.Statement |
withAfters(org.junit.runners.model.FrameworkMethod method,
Object target,
org.junit.runners.model.Statement statement) |
collectInitializationErrors, computeTestMethods, describeChild, getChildren, methodBlock, methodInvoker, possiblyExpectingExceptions, testName, validateConstructor, validateInstanceMethods, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withBefores, withPotentialTimeoutpublic MockTestRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
klass - org.junit.runners.model.InitializationErrororg.junit.runners.model.InitializationErrorprotected Set<Field> getFields(Class<?> c)
protected void runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier)
runChild in class org.junit.runners.BlockJUnit4ClassRunnerprotected Object createTest() throws Exception
createTest in class org.junit.runners.BlockJUnit4ClassRunnerExceptionprotected org.junit.runners.model.Statement withAfters(org.junit.runners.model.FrameworkMethod method,
Object target,
org.junit.runners.model.Statement statement)
withAfters in class org.junit.runners.BlockJUnit4ClassRunnerCopyright © 2014 JBoss by Red Hat. All Rights Reserved.