Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_562011_Test.java')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_562011_Test.java34
1 files changed, 34 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_562011_Test.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_562011_Test.java
new file mode 100644
index 0000000000..3a6cb45948
--- /dev/null
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/bugzilla/Bugzilla_562011_Test.java
@@ -0,0 +1,34 @@
+/*
+ * Copyright (c) 2020 Eike Stepper (Loehne, Germany) and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * Robert Schulk - initial API and implementation
+ */
+package org.eclipse.emf.cdo.tests.bugzilla;
+
+import org.eclipse.emf.cdo.tests.AbstractCDOTest;
+import org.eclipse.emf.cdo.tests.bundle.OM;
+
+import org.eclipse.emf.ecore.EObject;
+import org.eclipse.emf.ecore.resource.Resource;
+
+import Testmodel562011.util.Testmodel562011ResourceFactoryImpl;
+
+/**
+ * @author Robert Schulk
+ */
+public class Bugzilla_562011_Test extends AbstractCDOTest
+{
+ public void testDocumentRoot_FeatureMap() throws Exception
+ {
+ Resource resource = new Testmodel562011ResourceFactoryImpl().createResource(null);
+ resource.load(OM.BUNDLE.getInputStream("model/Testmodel_562011.xml"), null);
+
+ EObject eObject = resource.getContents().get(0);
+ System.out.println(eObject);
+ }
+}

Back to the top