Class TreePrintingTestListener
java.lang.Object
com.github.sbt.junit.jupiter.internal.listeners.TreePrintingTestListener
- All Implemented Interfaces:
JupiterTestListener,org.junit.platform.launcher.TestExecutionListener
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddynamicTestRegistered(org.junit.platform.launcher.TestIdentifier testIdentifier) voidexecutionFailed(String className, Throwable throwable) Called when the execution of a test task failed.voidexecutionFiltered(org.junit.platform.engine.TestDescriptor descriptor, String reason) Called when a test has been filtered.voidexecutionFinished(org.junit.platform.launcher.TestIdentifier identifier, org.junit.platform.engine.TestExecutionResult result) voidexecutionSkipped(org.junit.platform.launcher.TestIdentifier testIdentifier, String reason) voidexecutionStarted(org.junit.platform.launcher.TestIdentifier testIdentifier) voidreportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.reporting.ReportEntry entry) voidtestPlanExecutionStarted(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
fileEntryPublished, testPlanExecutionFinished
-
Constructor Details
-
TreePrintingTestListener
-
-
Method Details
-
executionFailed
Description copied from interface:JupiterTestListenerCalled when the execution of a test task failed.- Specified by:
executionFailedin interfaceJupiterTestListener- Parameters:
className- The class-name as reported byTaskDef.fullyQualifiedName().throwable- The throwable which caused test execution to fail.
-
executionFiltered
Description copied from interface:JupiterTestListenerCalled when a test has been filtered.- Specified by:
executionFilteredin interfaceJupiterTestListener- Parameters:
descriptor- The descriptor of the filtered test.reason- A string which describes why this test was filtered.
-
testPlanExecutionStarted
public void testPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
testPlanExecutionStartedin interfaceorg.junit.platform.launcher.TestExecutionListener
-
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
-
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 identifier, org.junit.platform.engine.TestExecutionResult result) - 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
-