public class ClassLoaderPerTestRunner extends NamedRunner
| Constructor and Description |
|---|
ClassLoaderPerTestRunner(Class<?> klass)
Instantiates a new test per class loader runner.
|
| Modifier and Type | Method and Description |
|---|---|
protected Object |
createTest() |
protected List<org.junit.rules.TestRule> |
getTestRules(Object target) |
protected org.junit.runners.model.Statement |
methodBlock(org.junit.runners.model.FrameworkMethod method) |
protected List<org.junit.rules.MethodRule> |
rules(Object target) |
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) |
protected org.junit.runners.model.Statement |
withBefores(org.junit.runners.model.FrameworkMethod method,
Object target,
org.junit.runners.model.Statement statement) |
getTestMethodNamecollectInitializationErrors, computeTestMethods, describeChild, getChildren, isIgnored, methodInvoker, possiblyExpectingExceptions, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withPotentialTimeoutpublic ClassLoaderPerTestRunner(Class<?> klass) throws org.junit.runners.model.InitializationError
klass - the classorg.junit.runners.model.InitializationError - the initialization errorprotected Object createTest() throws Exception
createTest in class org.junit.runners.BlockJUnit4ClassRunnerExceptionprotected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method)
methodBlock in class org.junit.runners.BlockJUnit4ClassRunnerprotected 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.BlockJUnit4ClassRunnerprotected org.junit.runners.model.Statement withBefores(org.junit.runners.model.FrameworkMethod method,
Object target,
org.junit.runners.model.Statement statement)
withBefores in class org.junit.runners.BlockJUnit4ClassRunnerprotected List<org.junit.rules.TestRule> getTestRules(Object target)
getTestRules in class org.junit.runners.BlockJUnit4ClassRunnerprotected List<org.junit.rules.MethodRule> rules(Object target)
rules in class org.junit.runners.BlockJUnit4ClassRunnerprotected void runChild(org.junit.runners.model.FrameworkMethod method,
org.junit.runner.notification.RunNotifier notifier)
runChild in class NamedRunnerCopyright © 2015-2016 bitstrings.org. All Rights Reserved.