Uses of Interface
com.sun.javatest.TestResultTable.TreeNode
Packages that use TestResultTable.TreeNode
Package
Description
This package provides facilities for reading, executing
and monitoring tests.
-
Uses of TestResultTable.TreeNode in com.sun.javatest
Classes in com.sun.javatest that implement TestResultTable.TreeNodeModifier and TypeClassDescriptionclassThis is the implementation of a tree node structure for TestResultTable.Methods in com.sun.javatest that return TestResultTable.TreeNodeModifier and TypeMethodDescriptionstatic TestResultTable.TreeNodeTestResultTable.findNode(TestResultTable.TreeNode node, String path) Used to find a branch node somewhere in the tree based on a path.TestResultTable.PathRecord.generateNodes(TestResult tr) Generate the path to a given test.TestResultTable.PathRecord.getNodes()Get the nodes that represent the path.static TestResultTable.TreeNode[]TestResultTable.getObjectPath(TestResult target) Find the specified test, recording the path from the root.static TestResultTable.TreeNode[]TestResultTable.getObjectPath(TestResultTable.TreeNode target) Find the specified test, recording the path from the root.TestResult.getParent()Get the parent node in the test result table that contains this test result object.TestResultTable.TreeNode.getParent()Get the parent of this node.TRT_TreeNode.getParent()TestResultTable.getRoot()Get the root TreeNode of this result table.TestResultTable.TreeNode.getTreeNodes()Get any immediate children of this node which are tree nodes.TRT_TreeNode.getTreeNodes()Get only the children of this node which are branches.Methods in com.sun.javatest with parameters of type TestResultTable.TreeNodeModifier and TypeMethodDescriptionvoidTestResultTable.TreeNodeObserver.countersInvalidated(TestResultTable.TreeNode node) The statistics counters of the node have changed.static Enumeration<TestResult> TestResultTable.elements(TestResultTable.TreeNode node) List all the tests under this node.static Enumeration<TestResult> TestResultTable.elements(TestResultTable.TreeNode node, TestFilter filter) Same description as getIterator() method with same args.static Enumeration<TestResult> TestResultTable.elements(TestResultTable.TreeNode node, TestFilter... filters) Same description as getIterator() method with same args.static TestResultTable.TreeNodeTestResultTable.findNode(TestResultTable.TreeNode node, String path) Used to find a branch node somewhere in the tree based on a path.voidTestResultTable.TreeEventObserver.finishRefresh(TestResultTable.TreeNode origin) A refresh has been finished on the node.static TestResultTable.TreeIteratorTestResultTable.getIterator(TestResultTable.TreeNode node) List all the tests under this node.static TestResultTable.TreeIteratorTestResultTable.getIterator(TestResultTable.TreeNode node, TestFilter filter) Get an iterator capable of producing a filtered view of the test suite.static TestResultTable.TreeIteratorTestResultTable.getIterator(TestResultTable.TreeNode node, TestFilter... filters) Get an iterator capable of producing a filtered view of the test suite.static TestResultTable.TreeNode[]TestResultTable.getObjectPath(TestResultTable.TreeNode target) Find the specified test, recording the path from the root.static StringTestResultTable.getRootRelativePath(TestResultTable.TreeNode node) Get the path to this node, relative to the root of the testsuite.voidTestResultTable.TreeNodeObserver.insertedBranch(TestResultTable.TreeNode parent, TestResultTable.TreeNode newNode, int index) A TreeNode has been inserted into the given parent node.voidTestResultTable.TreeNodeObserver.insertedResult(TestResultTable.TreeNode parent, TestResult test, int index) A TestResult has been inserted into the given parent node.voidTestResultTable.TreeObserver.nodeChanged(TestResultTable.TreeNode[] path, Object what, int index, Object old) A node has changed.voidTestResultTable.TreeObserver.nodeInserted(TestResultTable.TreeNode[] path, Object what, int index) A node has been inserted into the tree.voidTestResultTable.TreeObserver.nodeRemoved(TestResultTable.TreeNode[] path, Object what, int index) An item has been removed from the tree.booleanTestResultTable.prune(TestResultTable.TreeNode node) Removes empty nodes (things with no tests below them).booleanTestResultTable.refreshIfNeeded(TestResultTable.TreeNode node) Refresh a folder if the files on disk have been modified since the folder was read.voidTestResultTable.TreeNodeObserver.removedBranch(TestResultTable.TreeNode parent, int index) A TreeNode has been removed from the given parent node.voidTestResultTable.TreeNodeObserver.removedResult(TestResultTable.TreeNode parent, TestResult test, int index) A TestResult has been removed from the given parent node.voidTestResultTable.TreeNodeObserver.replacedResult(TestResultTable.TreeNode parent, TestResult oldTest, TestResult newTest, int index) A TestResult has been replaced in the given parent node.voidTestResultTable.TreeEventObserver.startRefresh(TestResultTable.TreeNode origin) A refresh has been stared on the node.