Runs the test case.
Document doc;
NodeList elementList;
Node addressNode;
NodeList childList;
Node child;
String value;
Node grandChild;
int length;
java.util.List result = new java.util.ArrayList();
java.util.List expectedNormal = new java.util.ArrayList();
expectedNormal.add("β");
expectedNormal.add(" Dallas, ");
expectedNormal.add("γ");
expectedNormal.add("\n 98554");
java.util.List expectedExpanded = new java.util.ArrayList();
expectedExpanded.add("β Dallas, γ\n 98554");
doc = (Document) load("hc_staff", false);
elementList = doc.getElementsByTagName("acronym");
addressNode = elementList.item(1);
childList = addressNode.getChildNodes();
length = (int) childList.getLength();
for (int indexN1007C = 0; indexN1007C < childList.getLength(); indexN1007C++) {
child = (Node) childList.item(indexN1007C);
value = child.getNodeValue();
if ((value == null)) {
grandChild = child.getFirstChild();
assertNotNull("grandChildNotNull", grandChild);
value = grandChild.getNodeValue();
result.add(value);
} else {
result.add(value);
}
}
if (equals(1, length)) {
assertEquals("assertEqCoalescing", expectedExpanded, result);
} else {
assertEquals("assertEqNormal", expectedNormal, result);
}