Package org.apache.maven.surefire.booter
Class NewClassLoaderRunner
java.lang.Object
org.junit.runner.Runner
org.junit.runners.ParentRunner<org.junit.runners.model.FrameworkMethod>
org.junit.runners.BlockJUnit4ClassRunner
org.apache.maven.surefire.booter.NewClassLoaderRunner
- All Implemented Interfaces:
org.junit.runner.Describable
,org.junit.runner.manipulation.Filterable
,org.junit.runner.manipulation.Orderable
,org.junit.runner.manipulation.Sortable
public class NewClassLoaderRunner
extends org.junit.runners.BlockJUnit4ClassRunner
JUnit runner testing methods in a separate class loader.
- Since:
- 2.19
- Author:
- Tibor Digana (tibor17)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected Object
protected org.junit.runners.model.Statement
methodBlock
(org.junit.runners.model.FrameworkMethod method) protected org.junit.runners.model.Statement
possiblyExpectingExceptions
(org.junit.runners.model.FrameworkMethod method, Object test, org.junit.runners.model.Statement next) 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) Methods inherited from class org.junit.runners.BlockJUnit4ClassRunner
collectInitializationErrors, computeTestMethods, createTest, describeChild, getChildren, getTestRules, isIgnored, methodInvoker, rules, testName, validateConstructor, validateFields, validateInstanceMethods, validateNoNonStaticInnerClass, validateOnlyOneConstructor, validateTestMethods, validateZeroArgConstructor, withPotentialTimeout
Methods inherited from class org.junit.runners.ParentRunner
childrenInvoker, classBlock, classRules, createTestClass, filter, getDescription, getName, getRunnerAnnotations, getTestClass, order, run, runLeaf, setScheduler, sort, validatePublicVoidNoArgMethods, withAfterClasses, withBeforeClasses, withInterruptIsolation
Methods inherited from class org.junit.runner.Runner
testCount
-
Constructor Details
-
NewClassLoaderRunner
- Throws:
org.junit.runners.model.InitializationError
-
-
Method Details
-
runChild
protected void runChild(org.junit.runners.model.FrameworkMethod method, org.junit.runner.notification.RunNotifier notifier) - Overrides:
runChild
in classorg.junit.runners.BlockJUnit4ClassRunner
-
methodBlock
protected org.junit.runners.model.Statement methodBlock(org.junit.runners.model.FrameworkMethod method) - Overrides:
methodBlock
in classorg.junit.runners.BlockJUnit4ClassRunner
-
possiblyExpectingExceptions
protected org.junit.runners.model.Statement possiblyExpectingExceptions(org.junit.runners.model.FrameworkMethod method, Object test, org.junit.runners.model.Statement next) - Overrides:
possiblyExpectingExceptions
in classorg.junit.runners.BlockJUnit4ClassRunner
-
withBefores
protected org.junit.runners.model.Statement withBefores(org.junit.runners.model.FrameworkMethod method, Object target, org.junit.runners.model.Statement statement) - Overrides:
withBefores
in classorg.junit.runners.BlockJUnit4ClassRunner
-
withAfters
protected org.junit.runners.model.Statement withAfters(org.junit.runners.model.FrameworkMethod method, Object target, org.junit.runners.model.Statement statement) - Overrides:
withAfters
in classorg.junit.runners.BlockJUnit4ClassRunner
-
createTest
- Overrides:
createTest
in classorg.junit.runners.BlockJUnit4ClassRunner
- Throws:
Exception
-