cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject cayenne git commit: rewriting the unit test to avoid manual connection management
Date Sun, 03 May 2015 11:10:38 GMT
Repository: cayenne
Updated Branches:
  refs/heads/master 69be1dc00 -> 30e892c68


rewriting the unit test to avoid manual connection management

unused injected values


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/30e892c6
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/30e892c6
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/30e892c6

Branch: refs/heads/master
Commit: 30e892c68f2d11fd524019a832bddfa90f7d5fb3
Parents: 69be1dc
Author: aadamchik <aadamchik@apache.org>
Authored: Sun May 3 07:10:01 2015 -0400
Committer: aadamchik <aadamchik@apache.org>
Committed: Sun May 3 07:10:29 2015 -0400

----------------------------------------------------------------------
 .../java/org/apache/cayenne/velocity/ResultDirectiveIT.java   | 7 -------
 1 file changed, 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/30e892c6/cayenne-server/src/test/java/org/apache/cayenne/velocity/ResultDirectiveIT.java
----------------------------------------------------------------------
diff --git a/cayenne-server/src/test/java/org/apache/cayenne/velocity/ResultDirectiveIT.java
b/cayenne-server/src/test/java/org/apache/cayenne/velocity/ResultDirectiveIT.java
index ceca0de..71e94f2 100644
--- a/cayenne-server/src/test/java/org/apache/cayenne/velocity/ResultDirectiveIT.java
+++ b/cayenne-server/src/test/java/org/apache/cayenne/velocity/ResultDirectiveIT.java
@@ -25,10 +25,8 @@ import java.util.Collections;
 import java.util.List;
 import java.util.Map;
 
-import org.apache.cayenne.access.DataNode;
 import org.apache.cayenne.access.MockOperationObserver;
 import org.apache.cayenne.configuration.server.ServerRuntime;
-import org.apache.cayenne.dba.JdbcAdapter;
 import org.apache.cayenne.di.Inject;
 import org.apache.cayenne.query.CapsStrategy;
 import org.apache.cayenne.query.SQLTemplate;
@@ -51,11 +49,6 @@ public class ResultDirectiveIT extends ServerCase {
 	@Inject
 	private ServerRuntime runtime;
 
-	@Inject
-	private JdbcAdapter dbAdapter;
-
-	@Inject
-	private DataNode node;
 
 	@Inject
 	protected DBHelper dbHelper;


Mime
View raw message