commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1611060 - /commons/proper/dbutils/trunk/src/test/java/org/apache/commons/dbutils/AsyncQueryRunnerTest.java
Date Wed, 16 Jul 2014 15:48:27 GMT
Author: britter
Date: Wed Jul 16 15:48:27 2014
New Revision: 1611060

URL: http://svn.apache.org/r1611060
Log:
Replace tabs with spaces

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=1611060&r1=1611059&r2=1611060&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
Wed Jul 16 15:48:27 2014
@@ -440,20 +440,20 @@ public class AsyncQueryRunnerTest {
     
     @Test
     public void testInsertUsesGivenQueryRunner() throws Exception {
-    	QueryRunner mockQueryRunner = mock(QueryRunner.class
-    	        , org.mockito.Mockito.withSettings().verboseLogging() // debug for Continuum
-    	        );
-    	runner = new AsyncQueryRunner(Executors.newSingleThreadExecutor(), mockQueryRunner);
-    	
-    	runner.insert("1", handler);
-    	runner.insert("2", handler, "param1");
-    	runner.insert(conn, "3", handler);
-    	runner.insert(conn, "4", handler, "param1");
-    	
-    	verify(mockQueryRunner).insert("1", handler);
-    	verify(mockQueryRunner).insert("2", handler, "param1");
-    	verify(mockQueryRunner).insert(conn, "3", handler);
-    	verify(mockQueryRunner).insert(conn, "4", handler, "param1");
+        QueryRunner mockQueryRunner = mock(QueryRunner.class
+                , org.mockito.Mockito.withSettings().verboseLogging() // debug for Continuum
+                );
+        runner = new AsyncQueryRunner(Executors.newSingleThreadExecutor(), mockQueryRunner);
+
+        runner.insert("1", handler);
+        runner.insert("2", handler, "param1");
+        runner.insert(conn, "3", handler);
+        runner.insert(conn, "4", handler, "param1");
+
+        verify(mockQueryRunner).insert("1", handler);
+        verify(mockQueryRunner).insert("2", handler, "param1");
+        verify(mockQueryRunner).insert(conn, "3", handler);
+        verify(mockQueryRunner).insert(conn, "4", handler, "param1");
     }
 
     @Test(expected=ExecutionException.class)



Mime
View raw message