Class TestResultTable.PathRecord

java.lang.Object
com.sun.javatest.TestResultTable.PathRecord
Enclosing class:
TestResultTable

public static class TestResultTable.PathRecord extends Object
Keeps track of the path to a specific node in the TestResultTable tree. This class is made available so that a path which consists of zero or more TreeNodes plus zero or one TestResult can be represented without using a Object[].
  • Method Details

    • getIndicies

      public int[] getIndicies()
      Provides the indexes into each node provided by getNodes().
      Returns:
      The indexes of the corresponding TreeNode at each level. Null if no index information is available;
    • getNodes

      public TestResultTable.TreeNode[] getNodes()
      Get the nodes that represent the path.
      Returns:
      The path, closest to the root at the beginning of the array.
    • generateNodes

      public TestResultTable.TreeNode[] generateNodes(TestResult tr)
      Generate the path to a given test.
      Parameters:
      tr - The test to generate the path to.
      Returns:
      The path that leads to the given test.