cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aadamc...@apache.org
Subject [11/12] git commit: adding generics spec to the new parameterized tests
Date Tue, 04 Nov 2014 17:25:41 GMT
adding generics spec to the new parameterized tests


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

Branch: refs/heads/master
Commit: 2430e941dead66cbe8c8f8ed7508d48d098e84dd
Parents: e2a965f
Author: aadamchik <aadamchik@apache.org>
Authored: Tue Nov 4 20:13:09 2014 +0300
Committer: aadamchik <aadamchik@apache.org>
Committed: Tue Nov 4 20:14:00 2014 +0300

----------------------------------------------------------------------
 .../src/test/java/org/apache/cayenne/NestedCayenneContextIT.java   | 2 +-
 .../java/org/apache/cayenne/remote/CayenneContextDeletionIT.java   | 2 +-
 .../src/test/java/org/apache/cayenne/remote/LightSuperClassIT.java | 2 +-
 .../java/org/apache/cayenne/remote/NestedObjectContextLocalIT.java | 2 +-
 .../apache/cayenne/remote/NestedObjectContextParentEventsIT.java   | 2 +-
 .../org/apache/cayenne/remote/NestedObjectContextPeerEventsIT.java | 2 +-
 .../org/apache/cayenne/remote/NestedObjectContextRollbackIT.java   | 2 +-
 .../java/org/apache/cayenne/remote/ROPPrefetchToManyMapIT.java     | 2 +-
 .../test/java/org/apache/cayenne/remote/RelationshipChangeIT.java  | 2 +-
 .../src/test/java/org/apache/cayenne/remote/RemoteCallbacksIT.java | 2 +-
 .../src/test/java/org/apache/cayenne/remote/RemoteRollbackIT.java  | 2 +-
 .../src/test/java/org/apache/cayenne/remote/ValueInjectorIT.java   | 2 +-
 12 files changed, 12 insertions(+), 12 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/2430e941/cayenne-client/src/test/java/org/apache/cayenne/NestedCayenneContextIT.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/test/java/org/apache/cayenne/NestedCayenneContextIT.java b/cayenne-client/src/test/java/org/apache/cayenne/NestedCayenneContextIT.java
index 7affd25..8420770 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/NestedCayenneContextIT.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/NestedCayenneContextIT.java
@@ -62,7 +62,7 @@ public class NestedCayenneContextIT extends RemoteCayenneCase {
     private DataChannelInterceptor queryInterceptor;
 
     @Parameters
-    public static Collection data() {
+    public static Collection<Object[]> data() {
         return Arrays.asList(new Object[][]{
                 {LocalConnection.HESSIAN_SERIALIZATION},
                 {LocalConnection.JAVA_SERIALIZATION},

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2430e941/cayenne-client/src/test/java/org/apache/cayenne/remote/CayenneContextDeletionIT.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/test/java/org/apache/cayenne/remote/CayenneContextDeletionIT.java
b/cayenne-client/src/test/java/org/apache/cayenne/remote/CayenneContextDeletionIT.java
index c153b79..686b9ae 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/remote/CayenneContextDeletionIT.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/remote/CayenneContextDeletionIT.java
@@ -35,7 +35,7 @@ import java.util.Collection;
 public class CayenneContextDeletionIT extends RemoteCayenneCase {
 
     @Parameters
-    public static Collection data() {
+    public static Collection<Object[]> data() {
         return Arrays.asList(new Object[][]{
                 {LocalConnection.HESSIAN_SERIALIZATION},
                 {LocalConnection.JAVA_SERIALIZATION},

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2430e941/cayenne-client/src/test/java/org/apache/cayenne/remote/LightSuperClassIT.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/test/java/org/apache/cayenne/remote/LightSuperClassIT.java
b/cayenne-client/src/test/java/org/apache/cayenne/remote/LightSuperClassIT.java
index 8f4f6ca..b0b600d 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/remote/LightSuperClassIT.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/remote/LightSuperClassIT.java
@@ -49,7 +49,7 @@ public class LightSuperClassIT extends RemoteCayenneCase {
     private boolean server;
 
     @Parameters
-    public static Collection data() {
+    public static Collection<Object[]> data() {
         return Arrays.asList(new Object[][]{
                 {LocalConnection.HESSIAN_SERIALIZATION, true},
                 {LocalConnection.JAVA_SERIALIZATION, true},

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2430e941/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextLocalIT.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextLocalIT.java
b/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextLocalIT.java
index 7347063..29eaf61 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextLocalIT.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextLocalIT.java
@@ -41,7 +41,7 @@ import java.util.List;
 public class NestedObjectContextLocalIT extends RemoteCayenneCase {
 
     @Parameters
-    public static Collection data() {
+    public static Collection<Object[]> data() {
         return Arrays.asList(new Object[][]{
                 {LocalConnection.HESSIAN_SERIALIZATION},
                 {LocalConnection.JAVA_SERIALIZATION},

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2430e941/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextParentEventsIT.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextParentEventsIT.java
b/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextParentEventsIT.java
index d36f07f..53ed7ac 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextParentEventsIT.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextParentEventsIT.java
@@ -46,7 +46,7 @@ public class NestedObjectContextParentEventsIT extends RemoteCayenneCase
{
     private ClientRuntime runtime;
 
     @Parameters
-    public static Collection data() {
+    public static Collection<Object[]> data() {
         return Arrays.asList(new Object[][]{
                 {LocalConnection.HESSIAN_SERIALIZATION},
                 {LocalConnection.JAVA_SERIALIZATION},

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2430e941/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextPeerEventsIT.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextPeerEventsIT.java
b/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextPeerEventsIT.java
index e9139e6..bc86734 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextPeerEventsIT.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextPeerEventsIT.java
@@ -48,7 +48,7 @@ public class NestedObjectContextPeerEventsIT extends RemoteCayenneCase {
     private DBHelper dbHelper;
 
     @Parameters
-    public static Collection data() {
+    public static Collection<Object[]> data() {
         return Arrays.asList(new Object[][]{
                 {LocalConnection.HESSIAN_SERIALIZATION},
                 {LocalConnection.JAVA_SERIALIZATION},

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2430e941/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextRollbackIT.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextRollbackIT.java
b/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextRollbackIT.java
index 931be97..9f7df82 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextRollbackIT.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/remote/NestedObjectContextRollbackIT.java
@@ -41,7 +41,7 @@ public class NestedObjectContextRollbackIT extends RemoteCayenneCase {
     private ClientRuntime runtime;
 
     @Parameters
-    public static Collection data() {
+    public static Collection<Object[]> data() {
         return Arrays.asList(new Object[][]{
                 {LocalConnection.HESSIAN_SERIALIZATION},
                 {LocalConnection.JAVA_SERIALIZATION},

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2430e941/cayenne-client/src/test/java/org/apache/cayenne/remote/ROPPrefetchToManyMapIT.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/test/java/org/apache/cayenne/remote/ROPPrefetchToManyMapIT.java
b/cayenne-client/src/test/java/org/apache/cayenne/remote/ROPPrefetchToManyMapIT.java
index 299bb3d..0eb0226 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/remote/ROPPrefetchToManyMapIT.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/remote/ROPPrefetchToManyMapIT.java
@@ -49,7 +49,7 @@ public class ROPPrefetchToManyMapIT extends RemoteCayenneCase {
     private DataChannelInterceptor queryInterceptor;
 
     @Parameters
-    public static Collection data() {
+    public static Collection<Object[]> data() {
         return Arrays.asList(new Object[][]{
                 {LocalConnection.HESSIAN_SERIALIZATION},
                 {LocalConnection.JAVA_SERIALIZATION},

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2430e941/cayenne-client/src/test/java/org/apache/cayenne/remote/RelationshipChangeIT.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/test/java/org/apache/cayenne/remote/RelationshipChangeIT.java
b/cayenne-client/src/test/java/org/apache/cayenne/remote/RelationshipChangeIT.java
index 26877de..ad88348 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/remote/RelationshipChangeIT.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/remote/RelationshipChangeIT.java
@@ -39,7 +39,7 @@ import java.util.Collection;
 public class RelationshipChangeIT extends RemoteCayenneCase {
 
     @Parameters
-    public static Collection data() {
+    public static Collection<Object[]> data() {
         return Arrays.asList(new Object[][]{
                 {LocalConnection.HESSIAN_SERIALIZATION},
                 {LocalConnection.JAVA_SERIALIZATION},

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2430e941/cayenne-client/src/test/java/org/apache/cayenne/remote/RemoteCallbacksIT.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/test/java/org/apache/cayenne/remote/RemoteCallbacksIT.java
b/cayenne-client/src/test/java/org/apache/cayenne/remote/RemoteCallbacksIT.java
index 87d2be5..17c3973 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/remote/RemoteCallbacksIT.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/remote/RemoteCallbacksIT.java
@@ -38,7 +38,7 @@ public class RemoteCallbacksIT extends RemoteCayenneCase implements LifecycleLis
     private int added, loaded, prePersisted, postPersisted, preRemoved, postRemoved, preUpdated,
postUpdated;
 
     @Parameters
-    public static Collection data() {
+    public static Collection<Object[]> data() {
         return Arrays.asList(new Object[][]{
                 {LocalConnection.HESSIAN_SERIALIZATION},
                 {LocalConnection.JAVA_SERIALIZATION},

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2430e941/cayenne-client/src/test/java/org/apache/cayenne/remote/RemoteRollbackIT.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/test/java/org/apache/cayenne/remote/RemoteRollbackIT.java
b/cayenne-client/src/test/java/org/apache/cayenne/remote/RemoteRollbackIT.java
index a200247..aeff54a 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/remote/RemoteRollbackIT.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/remote/RemoteRollbackIT.java
@@ -40,7 +40,7 @@ import java.util.Collection;
 public class RemoteRollbackIT extends RemoteCayenneCase {
 
     @Parameters
-    public static Collection data() {
+    public static Collection<Object[]> data() {
         return Arrays.asList(new Object[][]{
                 {LocalConnection.HESSIAN_SERIALIZATION},
                 {LocalConnection.JAVA_SERIALIZATION},

http://git-wip-us.apache.org/repos/asf/cayenne/blob/2430e941/cayenne-client/src/test/java/org/apache/cayenne/remote/ValueInjectorIT.java
----------------------------------------------------------------------
diff --git a/cayenne-client/src/test/java/org/apache/cayenne/remote/ValueInjectorIT.java b/cayenne-client/src/test/java/org/apache/cayenne/remote/ValueInjectorIT.java
index a289a42..a86b12e 100644
--- a/cayenne-client/src/test/java/org/apache/cayenne/remote/ValueInjectorIT.java
+++ b/cayenne-client/src/test/java/org/apache/cayenne/remote/ValueInjectorIT.java
@@ -44,7 +44,7 @@ public class ValueInjectorIT extends RemoteCayenneCase {
     protected DataContext serverContext;
 
     @Parameters
-    public static Collection data() {
+    public static Collection<Object[]> data() {
         return Arrays.asList(new Object[][]{
                 {LocalConnection.HESSIAN_SERIALIZATION},
                 {LocalConnection.JAVA_SERIALIZATION},


Mime
View raw message