[Httpunit-commit] CVS: httpunit/test/com/meterware/httpunit HtmlTablesTest.java,1.15,1.16
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2003-02-26 03:02:07
|
Update of /cvsroot/httpunit/httpunit/test/com/meterware/httpunit
In directory sc8-pr-cvs1:/tmp/cvs-serv18549/test/com/meterware/httpunit
Modified Files:
HtmlTablesTest.java
Log Message:
strip off whitespace when looking up tables
Index: HtmlTablesTest.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/test/com/meterware/httpunit/HtmlTablesTest.java,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- HtmlTablesTest.java 26 Dec 2002 15:33:57 -0000 1.15
+++ HtmlTablesTest.java 26 Feb 2003 03:02:02 -0000 1.16
@@ -19,6 +19,8 @@
* DEALINGS IN THE SOFTWARE.
*
*******************************************************************************************************************/
+import com.meterware.httpunit.parsing.HTMLParserFactory;
+
import junit.framework.TestSuite;
@@ -190,7 +192,7 @@
"Inner Table 1<br>" +
"<table id=you summary='inner zero'>" +
" <tr><td colspan=2> </td></tr>" +
- " <tr><td>Red</td><td>1</td></tr>" +
+ " <tr><td>\nRed\n</td><td>1</td></tr>" +
" <tr><td>Blue</td><td>2</td></tr>" +
"</table></td><td>" +
"Inner Table 2<br>" +
|