Runs the test case.
Document doc;
NodeList elementList;
Node nameNode;
Text textNode;
Text splitNode;
doc = (Document) load("hc_staff", true);
elementList = doc.getElementsByTagName("strong");
nameNode = elementList.item(2);
textNode = (Text) nameNode.getFirstChild();
{
boolean success = false;
try {
splitNode = textNode.splitText(300);
} catch (DOMException ex) {
success = (ex.code == DOMException.INDEX_SIZE_ERR);
}
assertTrue("throw_INDEX_SIZE_ERR", success);
}