Class JUnitCore
java.lang.Object
org.apache.maven.surefire.junitcore.JUnitCore
- Direct Known Subclasses:
JUnitCoreWrapper.JUnitCore
JUnitCore solves bugs in original junit class
JUnitCore
.
The notifier method RunNotifier.fireTestRunFinished(org.junit.runner.Result)
is called anyway in finally block.
- Since:
- 2.19
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected void
(package private) org.junit.runner.Result
run
(org.junit.runner.Runner runner)
-
Field Details
-
notifier
-
-
Constructor Details
-
JUnitCore
JUnitCore(Notifier notifier)
-
-
Method Details
-
run
- Throws:
TestSetFailedException
-
afterException
- Throws:
TestSetFailedException
-
afterFinished
protected void afterFinished()
-