Package com.sun.javatest.finder
Class BinaryTestFinder.TestTree.Node
- java.lang.Object
-
- com.sun.javatest.finder.BinaryTestFinder.TestTree.Node
-
- Enclosing class:
- BinaryTestFinder.TestTree
public static class BinaryTestFinder.TestTree.Node extends java.lang.Object
A node within the test tree. It has a name, a set of indices that can be used to find the test descriptions with the test table, and a set of child nodes.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BinaryTestFinder.TestTree.Node[]
getChildren()
java.lang.String
getName()
BinaryTestFinder.TestTree.Node
getNode(java.lang.String path)
Get a child node as indicated by a relative path.TestDescription
getTest(int index, java.io.File root, java.io.File path, BinaryTestFinder.TestTable testTable)
Get a TestDescription from this node, using the data in a test table.int[]
getTestIndexes()
-
-
-
Method Detail
-
getNode
public BinaryTestFinder.TestTree.Node getNode(java.lang.String path)
Get a child node as indicated by a relative path.
-
getName
public java.lang.String getName()
-
getTestIndexes
public int[] getTestIndexes()
-
getChildren
public BinaryTestFinder.TestTree.Node[] getChildren()
-
getTest
public TestDescription getTest(int index, java.io.File root, java.io.File path, BinaryTestFinder.TestTable testTable) throws java.io.IOException
Get a TestDescription from this node, using the data in a test table.- Throws:
java.io.IOException
-
-