Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-09-04 09:54:09 +0000
committerEike Stepper2013-09-04 09:54:09 +0000
commit36696d97049530848bc0f891592210dee0fc3aeb (patch)
tree79d89c18e88c302474a0bce345172a61d6a862ea
parent587a7d28677fa9102ac6de11d81e746146242b2f (diff)
downloadcdo-36696d97049530848bc0f891592210dee0fc3aeb.tar.gz
cdo-36696d97049530848bc0f891592210dee0fc3aeb.tar.xz
cdo-36696d97049530848bc0f891592210dee0fc3aeb.zip
[416474] [OCL] Add some non-standard operations to support efficient OCL
queries https://bugs.eclipse.org/bugs/show_bug.cgi?id=416474 Change-Id: I8ae59bda5cb20a1cbfee1fae81713032b6627e79
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_416474_Test.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_416474_Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_416474_Test.java
index 00515ddc58..f8ed46b18e 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_416474_Test.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_416474_Test.java
@@ -124,7 +124,8 @@ public class Bugzilla_416474_Test extends AbstractCDOTest
CDOView newView = session.openView();
CDOQuery ocl = newView.createQuery("ocl",
- "EModelElement.allInstances()->select(e | e.cdoMatches('.*bug416474.*'))", EcorePackage.Literals.EPACKAGE);
+ "EModelElement.allInstances()->select(e | e.cdoMatches('.*http://www.eclipse.org/CDO/test/bug416474.*'))",
+ EcorePackage.Literals.EPACKAGE);
List<?> results = ocl.getResult();
assertEquals(true, results.contains(newView.getObject(root)));

Back to the top