public interface NodeTester
testNode
method by a NodeTest instance,
and after all the nodes in the NodeTest have been supplied the
noMoreNodes
method is called.
NodeTest
Modifier and Type | Method and Description |
---|---|
void |
noMoreNodes(NodeTest forTest)
Validate that the Nodes passed one-by-one to the
testNode
method were all the Nodes expected. |
void |
testNode(org.w3c.dom.Node aNode,
NodeTest forTest)
Validate a single Node
|
void testNode(org.w3c.dom.Node aNode, NodeTest forTest) throws NodeTestException
aNode
- forTest
- NodeTestException
- if the node fails the testvoid noMoreNodes(NodeTest forTest) throws NodeTestException
testNode
method were all the Nodes expected.forTest
- NodeTestException
- if this instance was expecting more nodes