Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Fluegge2011-05-09 16:39:20 +0000
committerMartin Fluegge2011-05-09 16:39:20 +0000
commit637bbeff72e4c82953be6bf019e14da6c95a2557 (patch)
treeaed5b41ab4d09ffecfb7684083d8c0ae8c01d58d /plugins/org.eclipse.emf.cdo.dawn.tests
parenta5c1ac1dbe2bcd33af49c034b8d74222c081528f (diff)
downloadcdo-637bbeff72e4c82953be6bf019e14da6c95a2557.tar.gz
cdo-637bbeff72e4c82953be6bf019e14da6c95a2557.tar.xz
cdo-637bbeff72e4c82953be6bf019e14da6c95a2557.zip
[344403] [Dawn] Separated Dawn Codegen from specific implementations
https://bugs.eclipse.org/bugs/show_bug.cgi?id=344403
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.dawn.tests')
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.tests/META-INF/MANIFEST.MF3
-rw-r--r--plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/common/DawnCodeGenGMFFragmentTest.java7
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/org.eclipse.emf.cdo.dawn.tests/META-INF/MANIFEST.MF b/plugins/org.eclipse.emf.cdo.dawn.tests/META-INF/MANIFEST.MF
index bde80ec009..9cd8f0d06d 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.tests/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.emf.cdo.dawn.tests/META-INF/MANIFEST.MF
@@ -32,7 +32,8 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.4.0,4.0.0)",
org.eclipse.emf.cdo.dawn.codegen;bundle-version="[1.0.0,2.0.0)",
org.eclipse.emf.cdo.tests.ui;bundle-version="[4.0.0,5.0.0)",
org.eclipse.emf.cdo.dawn.examples.acore.editor;bundle-version="[1.0.0,2.0.0)",
- org.eclipse.emf.cdo.dawn.examples.acore.diagram;bundle-version="[1.0.0,2.0.0)"
+ org.eclipse.emf.cdo.dawn.examples.acore.diagram;bundle-version="[1.0.0,2.0.0)",
+ org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf.ui;bundle-version="1.0.0"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: J2SE-1.5
Bundle-Vendor: %providerName
diff --git a/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/common/DawnCodeGenGMFFragmentTest.java b/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/common/DawnCodeGenGMFFragmentTest.java
index c9c3c4e9a2..1899df4058 100644
--- a/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/common/DawnCodeGenGMFFragmentTest.java
+++ b/plugins/org.eclipse.emf.cdo.dawn.tests/src/org/eclipse/emf/cdo/dawn/tests/common/DawnCodeGenGMFFragmentTest.java
@@ -10,12 +10,12 @@
*/
package org.eclipse.emf.cdo.dawn.tests.common;
-import org.eclipse.emf.cdo.dawn.codegen.creators.impl.GMFFragmentCreator;
+import org.eclipse.emf.cdo.dawn.codegen.dawngenmodel.gmf.ui.creators.GMFFragmentCreator;
import org.eclipse.emf.cdo.dawn.examples.acore.diagram.part.DawnAcoreDiagramEditor;
import org.eclipse.emf.cdo.dawn.tests.AbstractDawnTest;
import org.eclipse.emf.cdo.dawn.tests.DawnTestPlatform;
-import org.eclipse.emf.mwe.core.WorkflowRunner;
+import org.eclipse.emf.mwe.core.WorkflowEngine;
import org.eclipse.emf.mwe.core.monitor.NullProgressMonitor;
import java.io.BufferedReader;
@@ -44,11 +44,10 @@ public class DawnCodeGenGMFFragmentTest extends AbstractDawnTest
properties.put("model", dawnGenFile.toURI().toString());
properties.put("src-gen", ouputFolder);
- WorkflowRunner workflowRunner = new WorkflowRunner();
String workflowPath = getWorkflowPath("workflow/gmfFragmentGenerator.oaw");// FileLocator.toFileURL(workFlowURL).getFile();
System.out.println(workflowPath);
- workflowRunner.run(workflowPath, new NullProgressMonitor(), properties, slotMap);
+ new WorkflowEngine().run(workflowPath, new NullProgressMonitor(), properties, slotMap);
String outputFolder = DawnTestPlatform.instance.getTestFolder();
String diagramFolder = ouputFolder + "/" + "src/org/eclipse/emf/cdo/dawn/examples/acore/diagram";

Back to the top