Runs the test case.
Document doc;
NodeList elementList;
Node testAddress;
NamedNodeMap attributes;
Node child;
String nodeName;
java.util.Collection htmlExpected = new java.util.ArrayList();
htmlExpected.add("title");
htmlExpected.add("class");
java.util.Collection expected = new java.util.ArrayList();
expected.add("title");
expected.add("class");
expected.add("dir");
java.util.Collection actual = new java.util.ArrayList();
doc = (Document) load("hc_staff", true);
elementList = doc.getElementsByTagName("acronym");
testAddress = elementList.item(1);
attributes = testAddress.getAttributes();
for (int indexN10070 = 0; indexN10070 < attributes.getLength(); indexN10070++) {
child = (Node) attributes.item(indexN10070);
nodeName = child.getNodeName();
actual.add(nodeName);
}
if (("text/html".equals(getContentType()))) {
assertEqualsIgnoreCase("attrName_html", htmlExpected, actual);
} else {
assertEquals("attrName", expected, actual);
}