Class TestResultTable.PathRecord

  • Enclosing class:
    TestResultTable

    public class TestResultTable.PathRecord
    extends java.lang.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 Detail

      • 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.