Class TreeNode


  • class TreeNode
    extends java.lang.Object
    Since:
    1.0
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String caption  
      (package private) java.util.Queue<TreeNode> children  
      private long creation  
      (package private) long duration  
      (package private) java.util.Queue<org.junit.platform.engine.reporting.FileEntry> files  
      private org.junit.platform.launcher.TestIdentifier identifier  
      private java.lang.String reason  
      (package private) java.util.Queue<org.junit.platform.engine.reporting.ReportEntry> reports  
      private org.junit.platform.engine.TestExecutionResult result  
      (package private) boolean visible  
    • Constructor Summary

      Constructors 
      Constructor Description
      TreeNode​(java.lang.String caption)  
      TreeNode​(org.junit.platform.launcher.TestIdentifier identifier)  
      TreeNode​(org.junit.platform.launcher.TestIdentifier identifier, java.lang.String reason)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      (package private) TreeNode addChild​(TreeNode node)  
      (package private) TreeNode addFileEntry​(org.junit.platform.engine.reporting.FileEntry file)  
      (package private) TreeNode addReportEntry​(org.junit.platform.engine.reporting.ReportEntry reportEntry)  
      java.lang.String caption()  
      (package private) static java.lang.String createCaption​(java.lang.String displayName)  
      (package private) java.util.Optional<org.junit.platform.launcher.TestIdentifier> identifier()  
      (package private) java.util.Optional<java.lang.String> reason()  
      (package private) java.util.Optional<org.junit.platform.engine.TestExecutionResult> result()  
      (package private) TreeNode setResult​(org.junit.platform.engine.TestExecutionResult result)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • caption

        private final java.lang.String caption
      • creation

        private final long creation
      • duration

        long duration
      • reason

        private java.lang.String reason
      • identifier

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

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

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

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

        final java.util.Queue<TreeNode> children
      • visible

        boolean visible
    • Constructor Detail

      • TreeNode

        TreeNode​(java.lang.String caption)
      • TreeNode

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

        TreeNode​(org.junit.platform.launcher.TestIdentifier identifier,
                 java.lang.String reason)
    • Method Detail

      • 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 java.lang.String caption()
      • reason

        java.util.Optional<java.lang.String> reason()
      • result

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

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

        static java.lang.String createCaption​(java.lang.String displayName)