gwt /
gwt /
a267764f3ff359a154bbaaae8a1244c374c7f122 Unit Test for Issue #328: Added testSetInnerText() test. This test checks to see that no child nodes of a DOM element exist after calling element.setInnerText(null). A helper method, getDenormalizedChildCount(), is a JSNI method that allows us to get the 'true' child count for an element. DOM.getChildCount() excludes text nodes from the count, and this is not sufficient for asserting that there are no child nodes left in the DOM structure.
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@493 8db76d5a-ed1c-0410-87a9-c151d255dfc7
1 file changed