public class NewClassLoaderRunner extends BlockJUnit4ClassRunner
Modifier and Type | Class and Description |
---|---|
static class |
NewClassLoaderRunner.TestClassLoader |
Constructor and Description |
---|
NewClassLoaderRunner(Class<?> clazz) |
Modifier and Type | Method and Description |
---|---|
protected Object |
createTest() |
protected Statement |
methodBlock(FrameworkMethod method) |
protected Statement |
possiblyExpectingExceptions(FrameworkMethod method,
Object test,
Statement next) |
protected void |
runChild(FrameworkMethod method,
RunNotifier notifier) |
protected Statement |
withAfters(FrameworkMethod method,
Object target,
Statement statement) |
protected Statement |
withBefores(FrameworkMethod method,
Object target,
Statement statement) |
collectInitializationErrors, computeTestMethods, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withPotentialTimeout
childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses
public NewClassLoaderRunner(Class<?> clazz) throws InitializationError
InitializationError
protected void runChild(FrameworkMethod method, RunNotifier notifier)
runChild
in class BlockJUnit4ClassRunner
protected Statement methodBlock(FrameworkMethod method)
methodBlock
in class BlockJUnit4ClassRunner
protected Statement possiblyExpectingExceptions(FrameworkMethod method, Object test, Statement next)
possiblyExpectingExceptions
in class BlockJUnit4ClassRunner
protected Statement withBefores(FrameworkMethod method, Object target, Statement statement)
withBefores
in class BlockJUnit4ClassRunner
protected Statement withAfters(FrameworkMethod method, Object target, Statement statement)
withAfters
in class BlockJUnit4ClassRunner
protected Object createTest() throws Exception
createTest
in class BlockJUnit4ClassRunner
Exception
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.