checkTreeStore(QueryNode root) Checks if the given node is stored correctly in an XML string (including
its children) and throws a runtime exception if an error occured.
public void
checkTreeValidity() Checks the tree validation with miscellaneous tree input.
Asserts that both tree are equal.
Parameters: root1 - root node of the first tree Parameters: root2 - root node of the second tree
buildFlatTree
public static QueryRootNode buildFlatTree(QueryNodeGenerator generator, int numNodes)(Code)
Build a flat tree containing some nodes under a root node.
Parameters: numNodes - TODO
buildNestedTree
public static QueryRootNode buildNestedTree(int maxLevel, QueryNodeGenerator generator, int numNodesPerLevel)(Code)
Build a nested tree structure with up to maxLevel levels.
Parameters: maxLevel - the maximum tree depth Parameters: generator - the node generator(?) Parameters: numNodesPerLevel - TODO a nested tree structure with up to maxLevel levels.
Checks if the given node is stored correctly in an XML string (including
its children) and throws a runtime exception if an error occured.
Parameters: root - the root node of the tree to be checked