Runs the test case.
Document doc;
NodeList testList;
Node commentNode;
String commentNodeName;
int nodeType;
doc = (Document) load("hc_staff", false);
testList = doc.getChildNodes();
for (int indexN10040 = 0; indexN10040 < testList.getLength(); indexN10040++) {
commentNode = (Node) testList.item(indexN10040);
commentNodeName = commentNode.getNodeName();
if (equals("#comment", commentNodeName)) {
nodeType = (int) commentNode.getNodeType();
assertEquals("existingCommentNodeType", 8, nodeType);
}
}
commentNode = doc.createComment("This is a comment");
nodeType = (int) commentNode.getNodeType();
assertEquals("createdCommentNodeType", 8, nodeType);