Class TreeNode

java.lang.Object
org.junit.platform.console.output.TreeNode

class TreeNode extends Object
Since:
1.0
  • Field Details

    • caption

      private final String caption
    • creation

      private final long creation
    • duration

      long duration
    • reason

      private String reason
    • identifier

      private org.junit.platform.launcher.TestIdentifier identifier
    • result

      private org.junit.platform.engine.TestExecutionResult result
    • reports

      final Queue<org.junit.platform.engine.reporting.ReportEntry> reports
    • files

      final Queue<org.junit.platform.engine.reporting.FileEntry> files
    • children

      final Queue<TreeNode> children
    • visible

      boolean visible
  • Constructor Details

    • TreeNode

      TreeNode(String caption)
    • TreeNode

      TreeNode(org.junit.platform.launcher.TestIdentifier identifier)
    • TreeNode

      TreeNode(org.junit.platform.launcher.TestIdentifier identifier, String reason)
  • Method Details

    • addChild

      TreeNode addChild(TreeNode node)
    • addReportEntry

      TreeNode addReportEntry(org.junit.platform.engine.reporting.ReportEntry reportEntry)
    • addFileEntry

      TreeNode addFileEntry(org.junit.platform.engine.reporting.FileEntry file)
    • setResult

      TreeNode setResult(org.junit.platform.engine.TestExecutionResult result)
    • caption

      public String caption()
    • reason

      Optional<String> reason()
    • result

      Optional<org.junit.platform.engine.TestExecutionResult> result()
    • identifier

      Optional<org.junit.platform.launcher.TestIdentifier> identifier()
    • createCaption

      static String createCaption(String displayName)