summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2006-08-22 09:11:41 (EDT)
committerEike Stepper2006-08-22 09:11:41 (EDT)
commit9e5a6dab72136d47a9293a0e79f859dd5b86c60b (patch)
tree0065b3d55d21c3475af915575ea1e056e9c4c1d6
parent1328aece732445c867ee4c444329b7245f8acd7c (diff)
downloadcdo-9e5a6dab72136d47a9293a0e79f859dd5b86c60b.zip
cdo-9e5a6dab72136d47a9293a0e79f859dd5b86c60b.tar.gz
cdo-9e5a6dab72136d47a9293a0e79f859dd5b86c60b.tar.bz2
[151560] Query Language for CDO
https://bugs.eclipse.org/bugs/show_bug.cgi?id=151560
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/ExtentTest.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/ExtentTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/ExtentTest.java
index 6e2c5a6..f6d6ffa 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/ExtentTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/model1/ExtentTest.java
@@ -17,7 +17,6 @@ import org.eclipse.emf.cdo.client.PackageManager;
import org.eclipse.emf.cdo.client.ResourceManager;
import org.eclipse.emf.cdo.client.protocol.ClientCDOProtocolImpl;
-import org.eclipse.emf.common.util.EList;
import org.eclipse.emf.ecore.EClass;
import org.eclipse.net4j.core.Channel;
@@ -26,6 +25,8 @@ import testmodel1.ExtendedNode;
import testmodel1.TestModel1Package;
import testmodel1.TreeNode;
+import java.util.Set;
+
public class ExtentTest extends AbstractModel1Test
{
@@ -49,7 +50,7 @@ public class ExtentTest extends AbstractModel1Test
ClassInfo classInfo = packageManager.getClassInfo(eClass);
int cid = classInfo.getCID();
- EList extent = ClientCDOProtocolImpl.requestQueryExtent(channel, cid, true);
+ Set extent = ClientCDOProtocolImpl.requestQueryExtent(channel, cid, true);
assertEquals(1 + CHILDREN.length, extent.size());
assertTrue(extent.contains(root));
@@ -82,7 +83,7 @@ public class ExtentTest extends AbstractModel1Test
ClassInfo classInfo = packageManager.getClassInfo(eClass);
int cid = classInfo.getCID();
- EList extent = ClientCDOProtocolImpl.requestQueryExtent(channel, cid, false);
+ Set extent = ClientCDOProtocolImpl.requestQueryExtent(channel, cid, false);
assertEquals(2 + CHILDREN.length, extent.size());
assertTrue(extent.contains(root));