[Httpunit-commit] CVS: httpunit/test/com/meterware/httpunit HtmlTablesTest.java,1.16,1.17
Brought to you by:
russgold
|
From: Russell G. <rus...@us...> - 2003-03-24 03:22:20
|
Update of /cvsroot/httpunit/httpunit/test/com/meterware/httpunit
In directory sc8-pr-cvs1:/tmp/cvs-serv28617/test/com/meterware/httpunit
Modified Files:
HtmlTablesTest.java
Log Message:
small fixes
Index: HtmlTablesTest.java
===================================================================
RCS file: /cvsroot/httpunit/httpunit/test/com/meterware/httpunit/HtmlTablesTest.java,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -r1.16 -r1.17
--- HtmlTablesTest.java 26 Feb 2003 03:02:02 -0000 1.16
+++ HtmlTablesTest.java 24 Mar 2003 03:22:11 -0000 1.17
@@ -2,7 +2,7 @@
/********************************************************************************************************************
* $Id$
*
-* Copyright (c) 2000-2002, Russell Gold
+* Copyright (c) 2000-2003, Russell Gold
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
* documentation files (the "Software"), to deal in the Software without restriction, including without limitation
@@ -19,15 +19,13 @@
* DEALINGS IN THE SOFTWARE.
*
*******************************************************************************************************************/
-import com.meterware.httpunit.parsing.HTMLParserFactory;
-
import junit.framework.TestSuite;
/**
* A unit test of the table handling code.
*
- * @author <a href="mailto:rus...@ac...">Russell Gold</a>
+ * @author <a href="mailto:rus...@ht...">Russell Gold</a>
* @author <a href="mailto:bx...@bi...">Benoit Xhenseval</a>
**/
public class HtmlTablesTest extends HttpUnitTest {
@@ -155,6 +153,7 @@
assertEquals( "Colors", table.getCellAsText( 0, 0 ) );
assertEquals( "Colors", table.getCellAsText( 0, 1 ) );
assertEquals( "Names", table.getCellAsText( 0, 2 ) );
+ assertSame( table.getTableCell( 0, 0 ), table.getTableCell( 0, 1 ) );
}
@@ -166,6 +165,7 @@
assertEquals( "gules", table.getCellAsText( 1, 1 ) );
assertEquals( "gules", table.getCellAsText( 2, 1 ) );
assertEquals( "vert", table.getCellAsText( 2, 2 ) );
+ assertSame( table.getTableCell( 1, 1 ), table.getTableCell( 2, 1 ) );
}
|