Package org.junit.platform.console.tasks
Class TreeNode
java.lang.Object
org.junit.platform.console.tasks.TreeNode
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
private final long
(package private) long
private TestIdentifier
private String
(package private) final Queue
<ReportEntry> private TestExecutionResult
(package private) boolean
-
Constructor Summary
ConstructorsConstructorDescriptionTreeNode
(TestIdentifier identifier) TreeNode
(TestIdentifier identifier, String reason) -
Method Summary
Modifier and TypeMethodDescription(package private) TreeNode
(package private) TreeNode
addReportEntry
(ReportEntry reportEntry) caption()
(package private) static String
createCaption
(String displayName) (package private) Optional
<TestIdentifier> reason()
(package private) Optional
<TestExecutionResult> result()
(package private) TreeNode
setResult
(TestExecutionResult result)
-
Field Details
-
caption
-
creation
private final long creation -
duration
long duration -
reason
-
identifier
-
result
-
reports
-
children
-
visible
boolean visible
-
-
Constructor Details
-
TreeNode
TreeNode(String caption) -
TreeNode
TreeNode(TestIdentifier identifier) -
TreeNode
TreeNode(TestIdentifier identifier, String reason)
-
-
Method Details
-
addChild
-
addReportEntry
-
setResult
-
caption
-
reason
-
result
Optional<TestExecutionResult> result() -
identifier
Optional<TestIdentifier> identifier() -
createCaption
-