commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1564283 - /commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/AsyncQueryRunnerTest.java
Date Tue, 04 Feb 2014 13:16:37 GMT
Author: sebb
Date: Tue Feb  4 13:16:37 2014
New Revision: 1564283

URL: http://svn.apache.org/r1564283
Log:
Keep trying - is it lack of parameter that causes issue?

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=1564283&r1=1564282&r2=1564283&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 Feb  4 13:16:37 2014
@@ -444,14 +444,14 @@ public class AsyncQueryRunnerTest {
     	QueryRunner mockQueryRunner = mock(QueryRunner.class);
     	runner = new AsyncQueryRunner(Executors.newSingleThreadExecutor(), mockQueryRunner);
     	
-    	runner.insert("1", handler);
+    	runner.insert("1", handler,"");
     	runner.insert("2", handler, "param1");
     	runner.insert(conn, "3", handler);
     	runner.insert(conn, "4", handler, "param1");
     	
     	boolean failed = false;
     	try {
-            verify(mockQueryRunner).insert("1", handler);
+            verify(mockQueryRunner).insert("1", handler,"");
         } catch (AssertionError e) {
             failed = true;
             e.printStackTrace();



Mime
View raw message