Class JUnitPlatformRunnerListener
java.lang.Object
org.junit.platform.runner.JUnitPlatformRunnerListener
- All Implemented Interfaces:
org.junit.platform.launcher.TestExecutionListener
class JUnitPlatformRunnerListener
extends Object
implements org.junit.platform.launcher.TestExecutionListener
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.junit.runner.notification.RunNotifierprivate final JUnitPlatformTestTree -
Constructor Summary
ConstructorsConstructorDescriptionJUnitPlatformRunnerListener(JUnitPlatformTestTree testTree, org.junit.runner.notification.RunNotifier notifier) -
Method Summary
Modifier and TypeMethodDescriptionvoiddynamicTestRegistered(org.junit.platform.launcher.TestIdentifier testIdentifier) voidexecutionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) voidexecutionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier, String reason) voidexecutionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) voidfileEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.reporting.FileEntry file) private org.junit.runner.DescriptionfindJUnit4Description(org.junit.platform.launcher.TestIdentifier testIdentifier) private voidfireTestIgnored(org.junit.platform.launcher.TestIdentifier testIdentifier) voidreportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.reporting.ReportEntry entry) private org.junit.runner.notification.FailuretoFailure(org.junit.platform.engine.TestExecutionResult testExecutionResult, org.junit.runner.Description description) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.platform.launcher.TestExecutionListener
testPlanExecutionFinished, testPlanExecutionStarted
-
Field Details
-
testTree
-
notifier
private final org.junit.runner.notification.RunNotifier notifier
-
-
Constructor Details
-
JUnitPlatformRunnerListener
JUnitPlatformRunnerListener(JUnitPlatformTestTree testTree, org.junit.runner.notification.RunNotifier notifier)
-
-
Method Details
-
dynamicTestRegistered
public void dynamicTestRegistered(org.junit.platform.launcher.TestIdentifier testIdentifier) - Specified by:
dynamicTestRegisteredin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionSkipped
public void executionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier, String reason) - Specified by:
executionSkippedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
fireTestIgnored
private void fireTestIgnored(org.junit.platform.launcher.TestIdentifier testIdentifier) -
executionStarted
public void executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) - Specified by:
executionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionFinished
public void executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) - Specified by:
executionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
reportingEntryPublished
public void reportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.reporting.ReportEntry entry) - Specified by:
reportingEntryPublishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
fileEntryPublished
public void fileEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.reporting.FileEntry file) - Specified by:
fileEntryPublishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
toFailure
private org.junit.runner.notification.Failure toFailure(org.junit.platform.engine.TestExecutionResult testExecutionResult, org.junit.runner.Description description) -
findJUnit4Description
private org.junit.runner.Description findJUnit4Description(org.junit.platform.launcher.TestIdentifier testIdentifier)
-