Class JUnitCoreWrapper
- java.lang.Object
-
- org.apache.maven.surefire.junitcore.JUnitCoreWrapper
-
final class JUnitCoreWrapper extends java.lang.ObjectEncapsulates access to JUnitCore
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private classJUnitCoreWrapper.JUnitCore
-
Field Summary
Fields Modifier and Type Field Description private ConsoleStreamconsoleStreamprivate JUnitCoreParametersjUnitCoreParametersprivate Notifiernotifier
-
Constructor Summary
Constructors Constructor Description JUnitCoreWrapper(Notifier notifier, JUnitCoreParameters jUnitCoreParameters, ConsoleStream consoleStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private org.junit.runner.ComputercreateComputer()private JUnitCoreWrapper.JUnitCorecreateJUnitCore(Notifier notifier, java.util.Collection<org.junit.runner.notification.RunListener> listeners)private voidcreateRequestAndRun(org.junit.runner.manipulation.Filter filter, org.junit.runner.Computer computer, JUnitCoreWrapper.JUnitCore junitCore, java.lang.Class<?>... classesToRun)private voidexecute(TestsToRun testsToRun, boolean useIterated, java.util.Collection<org.junit.runner.notification.RunListener> listeners, org.junit.runner.manipulation.Filter filter)(package private) voidexecute(TestsToRun testsToRun, java.util.Collection<org.junit.runner.notification.RunListener> listeners, org.junit.runner.manipulation.Filter filter)(package private) voidexecute(TestsToRun testsToRun, org.junit.runner.manipulation.Filter filter)private voidexecuteEager(TestsToRun testsToRun, org.junit.runner.manipulation.Filter filter, java.util.Collection<org.junit.runner.notification.RunListener> listeners)private voidexecuteLazy(TestsToRun testsToRun, boolean useIterated, org.junit.runner.manipulation.Filter filter, java.util.Collection<org.junit.runner.notification.RunListener> listeners)
-
-
-
Field Detail
-
notifier
private final Notifier notifier
-
jUnitCoreParameters
private final JUnitCoreParameters jUnitCoreParameters
-
consoleStream
private final ConsoleStream consoleStream
-
-
Constructor Detail
-
JUnitCoreWrapper
JUnitCoreWrapper(Notifier notifier, JUnitCoreParameters jUnitCoreParameters, ConsoleStream consoleStream)
-
-
Method Detail
-
execute
void execute(TestsToRun testsToRun, org.junit.runner.manipulation.Filter filter) throws TestSetFailedException
- Throws:
TestSetFailedException
-
execute
void execute(TestsToRun testsToRun, java.util.Collection<org.junit.runner.notification.RunListener> listeners, org.junit.runner.manipulation.Filter filter) throws TestSetFailedException
- Throws:
TestSetFailedException
-
execute
private void execute(TestsToRun testsToRun, boolean useIterated, java.util.Collection<org.junit.runner.notification.RunListener> listeners, org.junit.runner.manipulation.Filter filter) throws TestSetFailedException
- Throws:
TestSetFailedException
-
createJUnitCore
private JUnitCoreWrapper.JUnitCore createJUnitCore(Notifier notifier, java.util.Collection<org.junit.runner.notification.RunListener> listeners)
-
executeEager
private void executeEager(TestsToRun testsToRun, org.junit.runner.manipulation.Filter filter, java.util.Collection<org.junit.runner.notification.RunListener> listeners) throws TestSetFailedException
- Throws:
TestSetFailedException
-
executeLazy
private void executeLazy(TestsToRun testsToRun, boolean useIterated, org.junit.runner.manipulation.Filter filter, java.util.Collection<org.junit.runner.notification.RunListener> listeners) throws TestSetFailedException
- Throws:
TestSetFailedException
-
createRequestAndRun
private void createRequestAndRun(org.junit.runner.manipulation.Filter filter, org.junit.runner.Computer computer, JUnitCoreWrapper.JUnitCore junitCore, java.lang.Class<?>... classesToRun) throws TestSetFailedException- Throws:
TestSetFailedException
-
createComputer
private org.junit.runner.Computer createComputer()
-
-