Package org.junit.platform.runner
Class JUnitPlatformRunnerListener
- java.lang.Object
-
- org.junit.platform.runner.JUnitPlatformRunnerListener
-
- All Implemented Interfaces:
org.junit.platform.launcher.TestExecutionListener
class JUnitPlatformRunnerListener extends java.lang.Object implements org.junit.platform.launcher.TestExecutionListener- Since:
- 1.0
-
-
Field Summary
Fields Modifier and Type Field Description private org.junit.runner.notification.RunNotifiernotifierprivate JUnitPlatformTestTreetestTree
-
Constructor Summary
Constructors Constructor Description JUnitPlatformRunnerListener(JUnitPlatformTestTree testTree, org.junit.runner.notification.RunNotifier notifier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddynamicTestRegistered(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, java.lang.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)
-
-
-
Field Detail
-
testTree
private final JUnitPlatformTestTree testTree
-
notifier
private final org.junit.runner.notification.RunNotifier notifier
-
-
Constructor Detail
-
JUnitPlatformRunnerListener
JUnitPlatformRunnerListener(JUnitPlatformTestTree testTree, org.junit.runner.notification.RunNotifier notifier)
-
-
Method Detail
-
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, java.lang.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)
-
-