Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEsteban Dugueperoux2015-05-18 07:36:50 +0000
committerEsteban Dugueperoux2015-05-18 07:36:50 +0000
commit83b5cde82dced621152d4f54e3033a09cb6e1cf0 (patch)
tree9b76845a8135f74c5d2881dbca8c01515c77b7c2
parent22b3426823f2115d1cbe38507e301c9a093bd45a (diff)
downloadcdo-83b5cde82dced621152d4f54e3033a09cb6e1cf0.tar.gz
cdo-83b5cde82dced621152d4f54e3033a09cb6e1cf0.tar.xz
cdo-83b5cde82dced621152d4f54e3033a09cb6e1cf0.zip
[456993] Fix Bugzilla_456993_Test to work in legacy
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=456993 Change-Id: I09bcf87804199f8e228708e69311efc1af7aa704 Signed-off-by: Esteban Dugueperoux <esteban.dugueperoux@obeo.fr>
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_456993_Test.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_456993_Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_456993_Test.java
index 8bc466013e..8b0979e2d7 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_456993_Test.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_456993_Test.java
@@ -159,7 +159,7 @@ public class Bugzilla_456993_Test extends AbstractCDOTest
assertEquals(1, instances.size());
CDOID companyCDOID = CDOUtil.getCDOObject(company).cdoID();
- company = (Company)transaction1.getObject(companyCDOID);
+ company = (Company)CDOUtil.getEObject(transaction1.getObject(companyCDOID));
EcoreUtil.remove(company);
transaction1.commit();
@@ -181,7 +181,7 @@ public class Bugzilla_456993_Test extends AbstractCDOTest
instances = query.getResult();
assertEquals(0, instances.size());
- company = (Company)transaction1.getObject(companyCDOID);
+ company = (Company)CDOUtil.getEObject(transaction1.getObject(companyCDOID));
EcoreUtil.remove(company);
transaction1.commit();

Back to the top