Class RunListenerAdapter
java.lang.Object
org.apache.maven.surefire.junitplatform.RunListenerAdapter
- All Implemented Interfaces:
org.junit.platform.launcher.TestExecutionListener
final class RunListenerAdapter
extends Object
implements org.junit.platform.launcher.TestExecutionListener
- Since:
- 2.22.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.maven.surefire.report.RunListenerprivate org.junit.platform.launcher.TestPlanprivate Set<org.junit.platform.launcher.TestIdentifier> -
Constructor Summary
ConstructorsConstructorDescriptionRunListenerAdapter(org.apache.maven.surefire.report.RunListener runListener) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcompleteTestSet(org.junit.platform.launcher.TestIdentifier testIdentifier) private voidcompleteTestSetIfNecessary(org.junit.platform.launcher.TestIdentifier testIdentifier) private org.apache.maven.surefire.report.SimpleReportEntrycreateReportEntry(org.junit.platform.launcher.TestIdentifier testIdentifier) private org.apache.maven.surefire.report.SimpleReportEntrycreateReportEntry(org.junit.platform.launcher.TestIdentifier testIdentifier, org.apache.maven.surefire.report.StackTraceWriter stackTraceWriter) private org.apache.maven.surefire.report.SimpleReportEntrycreateReportEntry(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) private org.apache.maven.surefire.report.SimpleReportEntrycreateTestSetReportEntry(org.junit.platform.launcher.TestIdentifier testIdentifier) private voidensureTestSetStarted(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) private StringgetClassName(org.junit.platform.launcher.TestIdentifier testIdentifier) private StringgetLegacyReportingClassName(org.junit.platform.launcher.TestIdentifier testIdentifier) private StringgetLegacyReportingName(org.junit.platform.launcher.TestIdentifier testIdentifier) getMethodName(org.junit.platform.launcher.TestIdentifier testIdentifier) private org.apache.maven.surefire.report.StackTraceWritergetStackTraceWriter(org.junit.platform.launcher.TestIdentifier testIdentifier, Throwable throwable) private org.apache.maven.surefire.report.StackTraceWritergetStackTraceWriter(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) private booleanisTestSetStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) private voidreportFailedTest(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) private voidstartTestSet(org.junit.platform.launcher.TestIdentifier testIdentifier) private voidstartTestSetIfPossible(org.junit.platform.launcher.TestIdentifier testIdentifier) voidtestPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) voidtestPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) private voidupdateTestPlan(org.junit.platform.launcher.TestPlan testPlan) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.platform.launcher.TestExecutionListener
dynamicTestRegistered, reportingEntryPublished
-
Field Details
-
runListener
private final org.apache.maven.surefire.report.RunListener runListener -
testPlan
private org.junit.platform.launcher.TestPlan testPlan -
testSetNodes
-
-
Constructor Details
-
RunListenerAdapter
RunListenerAdapter(org.apache.maven.surefire.report.RunListener runListener)
-
-
Method Details
-
testPlanExecutionStarted
public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
testPlanExecutionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
testPlanExecutionFinished
public void testPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
testPlanExecutionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
executionStarted
public void executionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) - Specified by:
executionStartedin 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
-
executionFinished
public void executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) - Specified by:
executionFinishedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
updateTestPlan
private void updateTestPlan(org.junit.platform.launcher.TestPlan testPlan) -
ensureTestSetStarted
private void ensureTestSetStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) -
isTestSetStarted
private boolean isTestSetStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) -
startTestSetIfPossible
private void startTestSetIfPossible(org.junit.platform.launcher.TestIdentifier testIdentifier) -
completeTestSetIfNecessary
private void completeTestSetIfNecessary(org.junit.platform.launcher.TestIdentifier testIdentifier) -
startTestSet
private void startTestSet(org.junit.platform.launcher.TestIdentifier testIdentifier) -
completeTestSet
private void completeTestSet(org.junit.platform.launcher.TestIdentifier testIdentifier) -
reportFailedTest
private void reportFailedTest(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) -
createTestSetReportEntry
private org.apache.maven.surefire.report.SimpleReportEntry createTestSetReportEntry(org.junit.platform.launcher.TestIdentifier testIdentifier) -
createReportEntry
private org.apache.maven.surefire.report.SimpleReportEntry createReportEntry(org.junit.platform.launcher.TestIdentifier testIdentifier) -
createReportEntry
private org.apache.maven.surefire.report.SimpleReportEntry createReportEntry(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) -
createReportEntry
private org.apache.maven.surefire.report.SimpleReportEntry createReportEntry(org.junit.platform.launcher.TestIdentifier testIdentifier, org.apache.maven.surefire.report.StackTraceWriter stackTraceWriter) -
getLegacyReportingName
-
getLegacyReportingClassName
private String getLegacyReportingClassName(org.junit.platform.launcher.TestIdentifier testIdentifier) -
getStackTraceWriter
private org.apache.maven.surefire.report.StackTraceWriter getStackTraceWriter(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) -
getStackTraceWriter
private org.apache.maven.surefire.report.StackTraceWriter getStackTraceWriter(org.junit.platform.launcher.TestIdentifier testIdentifier, Throwable throwable) -
getClassName
-
getMethodName
-