Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2008-09-17 09:36:51 -0400
committerEike Stepper2008-09-17 09:36:51 -0400
commita3b9e49ac3430a87565891713b5cb6931b0414b4 (patch)
tree4e1eec1c68a50c869f5b17fe423d74bd2e1b0b68
parent677f9f476f7eb81ff648dffb4c695588681dd7de (diff)
downloadcdo-committers/mfluegge/legacy-support.tar.gz
cdo-committers/mfluegge/legacy-support.tar.xz
cdo-committers/mfluegge/legacy-support.zip
[247226] Transparently support legacy modelscommitters/mfluegge/legacy-support
https://bugs.eclipse.org/bugs/show_bug.cgi?id=247226
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/PackageRegistryTest.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/PackageRegistryTest.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/PackageRegistryTest.java
index 82e4ff8f33..14af38241c 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/PackageRegistryTest.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/PackageRegistryTest.java
@@ -16,7 +16,6 @@ import org.eclipse.emf.cdo.CDOSessionConfiguration;
import org.eclipse.emf.cdo.CDOTransaction;
import org.eclipse.emf.cdo.common.model.CDOPackage;
import org.eclipse.emf.cdo.eresource.CDOResource;
-import org.eclipse.emf.cdo.tests.mango.MangoPackage;
import org.eclipse.emf.cdo.tests.mango.Value;
import org.eclipse.emf.cdo.tests.model1.Company;
import org.eclipse.emf.cdo.tests.model1.PurchaseOrder;
@@ -113,8 +112,7 @@ public class PackageRegistryTest extends AbstractCDOTest
}
{
- CDOSession session = openSession();
- session.getPackageRegistry().putEPackage(MangoPackage.eINSTANCE);
+ CDOSession session = openMangoSession();
CDOTransaction transaction = session.openTransaction();
CDOResource res = transaction.getResource("/res");

Back to the top