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

pack-priv Class TreeNode

extends Object
Class Inheritance
Imports
java.util.Optional, .Queue, java.util.concurrent.ConcurrentLinkedQueue, org.jspecify.annotations.Nullable, org.junit.platform.commons.util.StringUtils, org.junit.platform.engine.TestExecutionResult, org.junit.platform.engine.reporting.FileEntry, .ReportEntry, org.junit.platform.launcher.TestIdentifier

Since
1.0

Field Summary

Modifier and TypeField and Description
private final String
pack-priv final Queue<TreeNode>
private final long
pack-priv long
pack-priv final Queue<FileEntry>
private @Nullable TestIdentifier
private @Nullable String
pack-priv final Queue<ReportEntry>
private @Nullable TestExecutionResult
pack-priv boolean

Constructor Summary

AccessConstructor and Description
pack-priv
TreeNode(String caption)

pack-priv
pack-priv
TreeNode(TestIdentifier identifier, String reason)

Method Summary

Modifier and TypeMethod and Description
pack-priv TreeNode
pack-priv TreeNode
pack-priv TreeNode
public String
pack-priv static String
createCaption(String displayName)

pack-priv Optional<TestIdentifier>
pack-priv Optional<String>
pack-priv Optional<TestExecutionResult>
pack-priv TreeNode
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

captionback to summary
private final String caption
childrenback to summary
pack-priv final Queue<TreeNode> children
creationback to summary
private final long creation
durationback to summary
pack-priv long duration
filesback to summary
pack-priv final Queue<FileEntry> files
identifierback to summary
private @Nullable TestIdentifier identifier
reasonback to summary
private @Nullable String reason
reportsback to summary
pack-priv final Queue<ReportEntry> reports
resultback to summary
private @Nullable TestExecutionResult result
visibleback to summary
pack-priv boolean visible

Constructor Detail

TreeNodeback to summary
pack-priv TreeNode(String caption)
TreeNodeback to summary
pack-priv TreeNode(TestIdentifier identifier)
TreeNodeback to summary
pack-priv TreeNode(TestIdentifier identifier, String reason)

Method Detail

addChildback to summary
pack-priv TreeNode addChild(TreeNode node)
addFileEntryback to summary
pack-priv TreeNode addFileEntry(FileEntry file)
addReportEntryback to summary
pack-priv TreeNode addReportEntry(ReportEntry reportEntry)
captionback to summary
public String caption()
createCaptionback to summary
pack-priv static String createCaption(String displayName)
Annotations
@SuppressWarnings:DataFlowIssue
identifierback to summary
pack-priv Optional<TestIdentifier> identifier()
reasonback to summary
pack-priv Optional<String> reason()
resultback to summary
pack-priv Optional<TestExecutionResult> result()
setResultback to summary
pack-priv TreeNode setResult(TestExecutionResult result)