Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/NotificationTest.java6
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/RollbackTest.java8
2 files changed, 12 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/NotificationTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/NotificationTest.java
index 3177de94eb..a3d24170ce 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/NotificationTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/NotificationTest.java
@@ -13,8 +13,11 @@ package org.eclipse.emf.cdo.tests.model1;
import org.eclipse.emf.cdo.client.ResourceManager;
+import org.eclipse.emf.ecore.EObject;
import org.eclipse.emf.ecore.resource.Resource;
+import java.util.List;
+
import testmodel1.TreeNode;
import junit.framework.ComparisonFailure;
@@ -150,7 +153,8 @@ public class NotificationTest extends AbstractModel1Test
ResourceManager client2 = loaded.cdoGetResource().getResourceManager();
client2.addInvalidationListener(new ResourceManager.InvalidationListener()
{
- public void notifyInvalidation(ResourceManager resourceManager, long[] oids)
+ public void notifyInvalidation(ResourceManager resourceManager, List<EObject> invalidated,
+ List<EObject> deferred)
{
notificationReceived[0] = true;
}
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/RollbackTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/RollbackTest.java
index f1e4b269f1..bdc88854e1 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/RollbackTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/RollbackTest.java
@@ -14,7 +14,12 @@ package org.eclipse.emf.cdo.tests.model1;
import org.eclipse.emf.cdo.client.OptimisticControlException;
import org.eclipse.emf.cdo.client.ResourceManager;
+import org.eclipse.emf.ecore.EObject;
+
import testmodel1.TreeNode;
+
+import java.util.List;
+
import junit.framework.ComparisonFailure;
@@ -70,7 +75,8 @@ public class RollbackTest extends AbstractModel1Test
ResourceManager resourceManager = client2.cdoGetResource().getResourceManager();
resourceManager.addInvalidationListener(new ResourceManager.InvalidationListener()
{
- public void notifyInvalidation(ResourceManager resourceManager, long[] oids)
+ public void notifyInvalidation(ResourceManager resourceManager, List<EObject> invalidated,
+ List<EObject> deferred)
{
notificationReceived[0] = true;
}

Back to the top