empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject svn commit: r1181051 - /incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/PreparedStatementTest.java
Date Mon, 10 Oct 2011 16:08:54 GMT
Author: francisdb
Date: Mon Oct 10 16:08:54 2011
New Revision: 1181051

URL: http://svn.apache.org/viewvc?rev=1181051&view=rev
Log:
Correctly compare int to int instead of Object

Modified:
    incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/PreparedStatementTest.java

Modified: incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/PreparedStatementTest.java
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/PreparedStatementTest.java?rev=1181051&r1=1181050&r2=1181051&view=diff
==============================================================================
--- incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/PreparedStatementTest.java
(original)
+++ incubator/empire-db/trunk/empire-db/src/test/java/org/apache/empire/db/PreparedStatementTest.java
Mon Oct 10 16:08:54 2011
@@ -81,7 +81,7 @@ public class PreparedStatementTest{
             // must have one record
             assertEquals(true, r.moveNext());
             // Department Id must be correct
-            assertEquals(id, r.getValue(DEP.ID));
+            assertEquals(id, r.getInt(DEP.ID));
         } finally {
             r.close();
         }



Mime
View raw message