Runs the test case.
Document doc;
NodeList addressList;
Node testAddress;
NamedNodeMap attributes;
Attr attribute;
String attributeName;
java.util.Collection actual = new java.util.ArrayList();
java.util.Collection htmlExpected = new java.util.ArrayList();
htmlExpected.add("title");
java.util.Collection expected = new java.util.ArrayList();
expected.add("title");
expected.add("dir");
doc = (Document) load("hc_staff", false);
addressList = doc.getElementsByTagName("acronym");
testAddress = addressList.item(0);
attributes = testAddress.getAttributes();
for (int indexN1006B = 0; indexN1006B < attributes.getLength(); indexN1006B++) {
attribute = (Attr) attributes.item(indexN1006B);
attributeName = attribute.getNodeName();
actual.add(attributeName);
}
if (("text/html".equals(getContentType()))) {
assertEqualsIgnoreCase("htmlAttributeNames", htmlExpected, actual);
} else {
assertEqualsIgnoreCase("attributeNames", expected, actual);
}