Top Fields Constructors Methods
org.junit.platform.console.output

pack-priv Class TreePrinter

extends Object
Class Inheritance
Static Imports
org.junit.platform.commons.util.CollectionUtils.getOnlyElement

Since
1.0

Field Summary

Modifier and TypeField and Description
private final ColorPalette
private final PrintWriter
private final Theme

Constructor Summary

AccessConstructor and Description
pack-priv
TreePrinter(PrintWriter out, Theme theme, ColorPalette colorPalette)

Method Summary

Modifier and TypeMethod and Description
private String
color(Style style, String text)

private String
private void
printFileEntry(String indent, FileEntry fileEntry)

private void
printMessage(Style style, String indent, String message)

private void
printReportEntry(String indent, ReportEntry reportEntry)

private void
private void
private void
printVisible(TreeNode node, String indent, boolean continuous)

private String
tab(TreeNode node, boolean continuous)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

colorPaletteback to summary
private final ColorPalette colorPalette
outback to summary
private final PrintWriter out
themeback to summary
private final Theme theme

Constructor Detail

TreePrinterback to summary
pack-priv TreePrinter(PrintWriter out, Theme theme, ColorPalette colorPalette)

Method Detail

colorback to summary
private String color(Style style, String text)
colorCaptionback to summary
private String colorCaption(TreeNode node)
printFileEntryback to summary
private void printFileEntry(String indent, FileEntry fileEntry)
printMessageback to summary
private void printMessage(Style style, String indent, String message)
printReportEntryback to summary
private void printReportEntry(String indent, ReportEntry reportEntry)
printReportEntryback to summary
private void printReportEntry(String indent, Map.Entry<String, String> mapEntry)
printThrowableback to summary
private void printThrowable(String indent, TestExecutionResult result)
printVisibleback to summary
private void printVisible(TreeNode node, String indent, boolean continuous)
tabback to summary
private String tab(TreeNode node, boolean continuous)