Update of //cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/utilTests
In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv27353/tests/utilTests
Modified Files:
NodeListTest.java
Log Message:
implement task #93148 toHtml(boolean verbatim)
To avoid printing generated end tags use toHtml(true).
Index: NodeListTest.java
===================================================================
RCS file: //cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/utilTests/NodeListTest.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -C2 -d -r1.28 -r1.29
*** NodeListTest.java 18 Sep 2005 23:00:27 -0000 1.28
--- NodeListTest.java 31 May 2006 02:10:14 -0000 1.29
***************
*** 123,127 ****
}
! private Node createHTMLNodeObject() {
Node node = new AbstractNode(null,10,20) {
public void accept(NodeVisitor visitor) {
--- 123,128 ----
}
! private Node createHTMLNodeObject ()
! {
Node node = new AbstractNode(null,10,20) {
public void accept(NodeVisitor visitor) {
***************
*** 132,135 ****
--- 133,140 ----
}
+ public String toHtml(boolean verbatim) {
+ return null;
+ }
+
public String toPlainTextString() {
return null;
|