Update of /cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11022/test/net/sourceforge/jwebunit
Modified Files:
HtmlParsingTest.java
Log Message:
Added a test case that shows the problem with nekohtml and documents with a
doctype.
Index: HtmlParsingTest.java
===================================================================
RCS file:
/cvsroot/jwebunit/jWebUnit/test/net/sourceforge/jwebunit/HtmlParsingTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** HtmlParsingTest.java 29 Dec 2005 16:52:01 -0000 1.1
--- HtmlParsingTest.java 30 Dec 2005 08:35:07 -0000 1.2
***************
*** 67,69 ****
--- 67,75 ----
}
+ public void testXhtmlStrict() {
+ beginAt("XhtmlStrict.html");
+ // run a method that gets the DOM
+ assertElementPresent("div1");
+ // which gives a "org.w3c.dom.DOMException: NOT_SUPPORTED_ERR" with
nekohtml 0.9.5
+ }
}
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Jwebunit-development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jwebunit-development