Package org.junit.platform.console.tasks
Class TreePrinter
java.lang.Object
org.junit.platform.console.tasks.TreePrinter
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ColorPalette
private final PrintWriter
private final Theme
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate String
private String
colorCaption
(TreeNode node) (package private) void
private void
private void
printMessage
(Style style, String indent, String message) private void
printReportEntry
(String indent, Map.Entry<String, String> mapEntry) private void
printReportEntry
(String indent, ReportEntry reportEntry) private void
printThrowable
(String indent, TestExecutionResult result) private void
printVisible
(TreeNode node, String indent, boolean continuous) private String
-
Field Details
-
out
-
theme
-
colorPalette
-
-
Constructor Details
-
TreePrinter
TreePrinter(PrintWriter out, Theme theme, ColorPalette colorPalette)
-
-
Method Details
-
print
-
print
-
printVisible
-
tab
-
colorCaption
-
printThrowable
-
printReportEntry
-
printReportEntry
-
printMessage
-
color
-