You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by se...@apache.org on 2012/01/09 15:07:34 UTC

svn commit: r1229159 - /commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java

Author: sebb
Date: Mon Jan  9 14:07:34 2012
New Revision: 1229159

URL: http://svn.apache.org/viewvc?rev=1229159&view=rev
Log:
Another basic check

Modified:
    commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java

Modified: commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java?rev=1229159&r1=1229158&r2=1229159&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java (original)
+++ commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java Mon Jan  9 14:07:34 2012
@@ -119,4 +119,9 @@ public class BaseTestCase extends TestCa
         assertEquals("Row 1 must contain correct number of columns", columnNames.length, row1.length);
         assertEquals("Row 1 must contain correct number of columns", columnNames.length, row2.length);
     }
+
+    public void testResultSets() throws Exception {
+        assertFalse("emptyResultSet should be empty", emptyResultSet.next());
+        // fails in SqlNullCheckedResultSetTest assertTrue("rs should not be empty", rs.next());
+    }
 }