Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorashatalin2009-11-05 18:25:30 -0500
committerashatalin2009-11-05 18:25:30 -0500
commit84f5279263a39c4b03631a333333172086608676 (patch)
tree21b7cc6cb5aef13f6088b62cb7d1664840a5f282
parentab91791b049b058c8259ee3959a0a96fb79b2245 (diff)
downloadorg.eclipse.gmf-tooling-84f5279263a39c4b03631a333333172086608676.tar.gz
org.eclipse.gmf-tooling-84f5279263a39c4b03631a333333172086608676.tar.xz
org.eclipse.gmf-tooling-84f5279263a39c4b03631a333333172086608676.zip
adopting xpand to the OCL version.
-rw-r--r--tests/org.eclipse.gmf.tests.xpand.migration/META-INF/MANIFEST.MF6
-rw-r--r--tests/org.eclipse.gmf.tests.xpand.migration/src/org/eclipse/gmf/tests/xpand/migration/XtendMigrationTest.java3
2 files changed, 5 insertions, 4 deletions
diff --git a/tests/org.eclipse.gmf.tests.xpand.migration/META-INF/MANIFEST.MF b/tests/org.eclipse.gmf.tests.xpand.migration/META-INF/MANIFEST.MF
index e484cd1b7..25e50a331 100644
--- a/tests/org.eclipse.gmf.tests.xpand.migration/META-INF/MANIFEST.MF
+++ b/tests/org.eclipse.gmf.tests.xpand.migration/META-INF/MANIFEST.MF
@@ -2,13 +2,13 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: GMF Xpand Migration Tests Plug-in
Bundle-SymbolicName: org.eclipse.gmf.tests.xpand.migration;singleton:=true
-Bundle-Version: 1.0.0.qualifier
+Bundle-Version: 1.0.100.qualifier
Require-Bundle: org.eclipse.gmf.xpand.migration;bundle-version="1.0.0",
org.junit,
org.eclipse.emf.ecore;bundle-version="2.4.0",
org.eclipse.core.filesystem;bundle-version="1.2.0",
- org.eclipse.m2m.qvt.oml.common;bundle-version="1.0.100",
- org.eclipse.m2m.qvt.oml;bundle-version="1.0.100",
+ org.eclipse.m2m.qvt.oml.common;bundle-version="[2.1.0,3.0.0)",
+ org.eclipse.m2m.qvt.oml;bundle-version="[3.0.0,4.0.0)",
org.eclipse.m2m.qvt.oml.emf.util;bundle-version="1.0.100",
org.eclipse.core.runtime;bundle-version="3.4.0",
org.eclipse.emf.codegen.ecore;bundle-version="2.4.0"
diff --git a/tests/org.eclipse.gmf.tests.xpand.migration/src/org/eclipse/gmf/tests/xpand/migration/XtendMigrationTest.java b/tests/org.eclipse.gmf.tests.xpand.migration/src/org/eclipse/gmf/tests/xpand/migration/XtendMigrationTest.java
index 5e2768548..b6065d77b 100644
--- a/tests/org.eclipse.gmf.tests.xpand.migration/src/org/eclipse/gmf/tests/xpand/migration/XtendMigrationTest.java
+++ b/tests/org.eclipse.gmf.tests.xpand.migration/src/org/eclipse/gmf/tests/xpand/migration/XtendMigrationTest.java
@@ -21,6 +21,7 @@ import junit.framework.TestCase;
import org.eclipse.emf.codegen.ecore.genmodel.GenModelPackage;
import org.eclipse.emf.common.util.URI;
+import org.eclipse.emf.ecore.EPackage;
import org.eclipse.gmf.internal.xpand.migration.MigrationException;
import org.eclipse.gmf.internal.xpand.migration.MigrationExecutionContextImpl;
import org.eclipse.gmf.internal.xpand.migration.XtendMigrationFacade;
@@ -319,7 +320,7 @@ public class XtendMigrationTest extends TestCase {
}
};
- QVTOCompiler qvtCompiler = new QVTOCompiler(resolver);
+ QVTOCompiler qvtCompiler = QVTOCompiler.createCompiler(resolver, EPackage.Registry.INSTANCE);
QvtCompilerOptions options = new QvtCompilerOptions();
options.setGenerateCompletionData(false);
options.setShowAnnotations(false);

Back to the top