[Htmlparser-cvs] htmlparser/src/org/htmlparser/tests DecodingNodeTest.java,1.1,1.2
Brought to you by:
derrickoswald
|
From: <jke...@us...> - 2003-06-19 17:24:33
|
Update of /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests
In directory sc8-pr-cvs1:/tmp/cvs-serv16674/src/org/htmlparser/tests
Modified Files:
DecodingNodeTest.java
Log Message:
added support for StringNode Decoration
Index: DecodingNodeTest.java
===================================================================
RCS file: /cvsroot/htmlparser/htmlparser/src/org/htmlparser/tests/DecodingNodeTest.java,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** DecodingNodeTest.java 17 Jun 2003 03:26:20 -0000 1.1
--- DecodingNodeTest.java 19 Jun 2003 17:24:30 -0000 1.2
***************
*** 18,22 ****
while (nodes.hasMoreNodes())
! decodedContent.append(nodes.nextNode().toHtml());
return decodedContent.toString();
--- 18,22 ----
while (nodes.hasMoreNodes())
! decodedContent.append(nodes.nextNode().toPlainTextString());
return decodedContent.toString();
***************
*** 25,32 ****
public void testAmpersand() throws Exception {
String ENCODED_WORKSHOP_TITLE =
! "<H1>The Testing & Refactoring Workshop</H1>";
String DECODED_WORKSHOP_TITLE =
! "<H1>The Testing & Refactoring Workshop</H1>";
assertEquals(
--- 25,32 ----
public void testAmpersand() throws Exception {
String ENCODED_WORKSHOP_TITLE =
! "The Testing & Refactoring Workshop";
String DECODED_WORKSHOP_TITLE =
! "The Testing & Refactoring Workshop";
assertEquals(
|