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, withPotentialTimeout
public MockTestRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
klass
- org.junit.runners.model.InitializationError
org.junit.runners.model.InitializationError
protected 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.BlockJUnit4ClassRunner
protected Object createTest() throws Exception
createTest
in class org.junit.runners.BlockJUnit4ClassRunner
Exception
protected 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.BlockJUnit4ClassRunner
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.