cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject [2/4] cayenne git commit: cleaning up deprecated API in unit tests
Date Tue, 24 May 2016 09:26:57 GMT
cleaning up deprecated API in unit tests

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

Branch: refs/heads/master
Commit: 4dd396e4928b4b252b54700a26a7c5e2710bab65
Parents: 4715d6f
Author: Andrus Adamchik <andrus@objectstyle.com>
Authored: Tue May 24 11:29:43 2016 +0300
Committer: Andrus Adamchik <andrus@objectstyle.com>
Committed: Tue May 24 11:29:43 2016 +0300

----------------------------------------------------------------------
 .../apache/cayenne/lifecycle/audit/AuditableFilterIT.java | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/4dd396e4/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/audit/AuditableFilterIT.java
----------------------------------------------------------------------
diff --git a/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/audit/AuditableFilterIT.java
b/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/audit/AuditableFilterIT.java
index 7df6e27..71d866e 100644
--- a/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/audit/AuditableFilterIT.java
+++ b/cayenne-lifecycle/src/test/java/org/apache/cayenne/lifecycle/audit/AuditableFilterIT.java
@@ -57,7 +57,7 @@ public class AuditableFilterIT extends AuditableServerCase {
 
 		Processor processor = new Processor();
 
-		AuditableFilter filter = new AuditableFilter(domain.getEntityResolver(), processor);
+		AuditableFilter filter = new AuditableFilter(processor);
 		domain.addFilter(filter);
 
 		// prerequisite for BaseAuditableProcessor use
@@ -97,7 +97,7 @@ public class AuditableFilterIT extends AuditableServerCase {
 
 		Processor processor = new Processor();
 
-		AuditableFilter filter = new AuditableFilter(domain.getEntityResolver(), processor);
+		AuditableFilter filter = new AuditableFilter(processor);
 		domain.addFilter(filter);
 
 		// prerequisite for BaseAuditableProcessor use
@@ -130,7 +130,7 @@ public class AuditableFilterIT extends AuditableServerCase {
 
 		Processor processor = new Processor();
 
-		AuditableFilter filter = new AuditableFilter(domain.getEntityResolver(), processor);
+		AuditableFilter filter = new AuditableFilter(processor);
 		domain.addFilter(filter);
 
 		// prerequisite for BaseAuditableProcessor use
@@ -166,7 +166,7 @@ public class AuditableFilterIT extends AuditableServerCase {
 
 		Processor processor = new Processor();
 
-		AuditableFilter filter = new AuditableFilter(domain.getEntityResolver(), processor);
+		AuditableFilter filter = new AuditableFilter(processor);
 		domain.addFilter(filter);
 
 		// prerequisite for BaseAuditableProcessor use
@@ -197,7 +197,7 @@ public class AuditableFilterIT extends AuditableServerCase {
 		DataDomain domain = runtime.getDataDomain();
 		Processor processor = new Processor();
 
-		AuditableFilter filter = new AuditableFilter(domain.getEntityResolver(), processor);
+		AuditableFilter filter = new AuditableFilter(processor);
 		domain.addFilter(filter);
 
 		// prerequisite for BaseAuditableProcessor use


Mime
View raw message