Class TreePrintingListener
java.lang.Object
org.junit.platform.console.output.TreePrintingListener
- All Implemented Interfaces:
DetailsPrintingListener, org.junit.platform.launcher.TestExecutionListener
@API(status=INTERNAL,
since="1.14")
public class TreePrintingListener
extends Object
implements DetailsPrintingListener
- Since:
- 1.0
-
Field Summary
FieldsFields inherited from interface DetailsPrintingListener
LINE_START_PATTERN -
Constructor Summary
ConstructorsConstructorDescriptionTreePrintingListener(PrintWriter out, ColorPalette colorPalette, Theme theme) -
Method Summary
Modifier and TypeMethodDescriptionprivate voidvoidexecutionFinished(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 TreeNodegetNode(org.junit.platform.launcher.TestIdentifier testIdentifier) voidlistTests(org.junit.platform.launcher.TestPlan testPlan) voidreportingEntryPublished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.reporting.ReportEntry entry) voidtestPlanExecutionFinished(org.junit.platform.launcher.TestPlan testPlan) voidtestPlanExecutionStarted(org.junit.platform.launcher.TestPlan testPlan) Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.junit.platform.launcher.TestExecutionListener
dynamicTestRegistered
-
Field Details
-
nodesByUniqueId
-
root
-
treePrinter
-
-
Constructor Details
-
TreePrintingListener
-
-
Method Details
-
addNode
-
getNode
-
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
-
executionFinished
public void executionFinished(org.junit.platform.launcher.TestIdentifier testIdentifier, org.junit.platform.engine.TestExecutionResult testExecutionResult) - Specified by:
executionFinishedin 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
-
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
-
listTests
public void listTests(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
listTestsin interfaceDetailsPrintingListener
-