Class VerboseTreePrintingListener
java.lang.Object
org.junit.platform.console.output.VerboseTreePrintingListener
- All Implemented Interfaces:
DetailsPrintingListener, org.junit.platform.launcher.TestExecutionListener
@API(status=INTERNAL,
since="1.14")
public class VerboseTreePrintingListener
extends Object
implements DetailsPrintingListener
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ColorPaletteprivate longprivate final PrintWriterprivate final Themeprivate final String[]Fields inherited from interface DetailsPrintingListener
LINE_START_PATTERN -
Constructor Summary
ConstructorsConstructorDescriptionVerboseTreePrintingListener(PrintWriter out, ColorPalette colorPalette, int maxContainerNestingLevel, Theme theme) -
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) voidlistTests(org.junit.platform.launcher.TestPlan testPlan) private voidprintDetail(Style style, String detail, String format, Object... args) Print single detail with a potential multi-line message.private voidprintDetails(org.junit.platform.launcher.TestIdentifier testIdentifier) Print static information about the test identifier.private voidprivate voidprintNumberOfTests(org.junit.platform.launcher.TestPlan testPlan, String prefix) private voidprintVerticals(String tile) 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) private Stringprivate Stringverticals(int index)
-
Field Details
-
out
-
theme
-
colorPalette
-
frames
-
verticals
-
executionStartedMillis
private long executionStartedMillis
-
-
Constructor Details
-
VerboseTreePrintingListener
public VerboseTreePrintingListener(PrintWriter out, ColorPalette colorPalette, int maxContainerNestingLevel, Theme theme)
-
-
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
-
printNumberOfTests
-
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
-
dynamicTestRegistered
public void dynamicTestRegistered(org.junit.platform.launcher.TestIdentifier testIdentifier) - Specified by:
dynamicTestRegisteredin 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
-
printDetails
private void printDetails(org.junit.platform.launcher.TestIdentifier testIdentifier) Print static information about the test identifier. -
verticals
-
verticals
-
printVerticals
-
printf
-
printDetail
-
listTests
public void listTests(org.junit.platform.launcher.TestPlan testPlan) - Specified by:
listTestsin interfaceDetailsPrintingListener
-