Package com.sun.javatest
Class TestResultTable.PathRecord
java.lang.Object
com.sun.javatest.TestResultTable.PathRecord
- Enclosing class:
TestResultTable
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 Summary
Modifier and TypeMethodDescriptionGenerate the path to a given test.int[]
Provides the indexes into each node provided bygetNodes()
.getNodes()
Get the nodes that represent the path.
-
Method Details
-
getIndicies
public int[] getIndicies()Provides the indexes into each node provided bygetNodes()
.- Returns:
- The indexes of the corresponding TreeNode at each level. Null if no index information is available;
-
getNodes
Get the nodes that represent the path.- Returns:
- The path, closest to the root at the beginning of the array.
-
generateNodes
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.
-