parseAndAssertNodeCount(1);
assertTrue("Node should be a script tag", node[0] instanceof ScriptTag);
// Check the data in the applet tag
ScriptTag scriptTag = (ScriptTag) node[0];
assertStringEquals("Expected Script Code", "document.write(d+\".com\")", scriptTag.getScriptCode());
assertStringEquals("script tag html", testHtml, scriptTag.toHtml());
}
/**
* Bug reported by Gordon Deudney 2002-03-27 Upon parsing : <SCRIPT
* LANGUAGE="JavaScript" SRC="../js/DetermineBrowser.js"></SCRIPT>