commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1176273 - /commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/AsyncQueryRunnerTest.java
Date Tue, 27 Sep 2011 08:30:36 GMT
Author: simonetripodi
Date: Tue Sep 27 08:30:35 2011
New Revision: 1176273

URL: http://svn.apache.org/viewvc?rev=1176273&view=rev
Log:
fixed broken tests notified by Gump (broken on Java5, worked on Java6...)

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

Modified: commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/AsyncQueryRunnerTest.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/AsyncQueryRunnerTest.java?rev=1176273&r1=1176272&r2=1176273&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/AsyncQueryRunnerTest.java
(original)
+++ commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/AsyncQueryRunnerTest.java
Tue Sep 27 08:30:35 2011
@@ -73,7 +73,6 @@ public class AsyncQueryRunnerTest {
         when(meta.getParameterCount()).thenReturn(2);
         Future<int[]> callable = runner.batch(conn, "select * from blah where ? = ?",
params);
         verify(stmt, times(2)).addBatch();
-        verify(stmt, never()).close();    // make sure the statement is still open
 
         callable.get();
         verify(stmt, times(1)).executeBatch();



Mime
View raw message