commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1229159 - /commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/BaseTestCase.java
Date Mon, 09 Jan 2012 14:07:34 GMT
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());
+    }
 }



Mime
View raw message