Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/junit/extraplugins/migration/org.eclipse.papyrus.migration.rsa.tests/resources/bug505330/postprocess.qvto')
-rw-r--r--tests/junit/extraplugins/migration/org.eclipse.papyrus.migration.rsa.tests/resources/bug505330/postprocess.qvto36
1 files changed, 0 insertions, 36 deletions
diff --git a/tests/junit/extraplugins/migration/org.eclipse.papyrus.migration.rsa.tests/resources/bug505330/postprocess.qvto b/tests/junit/extraplugins/migration/org.eclipse.papyrus.migration.rsa.tests/resources/bug505330/postprocess.qvto
deleted file mode 100644
index 407b8b88d63..00000000000
--- a/tests/junit/extraplugins/migration/org.eclipse.papyrus.migration.rsa.tests/resources/bug505330/postprocess.qvto
+++ /dev/null
@@ -1,36 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2017 Christian W. Damus 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:
- * Christian W. Damus - Initial API and implementation
- *
- *****************************************************************************/
-
-modeltype uml "strict" uses 'http://www.eclipse.org/uml2/5.0.0/UML';
-modeltype notation "strict" uses 'http://www.eclipse.org/gmf/runtime/1.0.2/notation';
-
-transformation postprocess(inout semantics : uml, inout graphics : notation);
-
-main() {
- semantics.objects()[uml::NamedElement].map postprocess();
- graphics.rootObjects()[notation::Diagram].map postprocess();
-}
-
-mapping inout uml::NamedElement::postprocess()
-{
- if (self.name <> null) {
- self.name := '123 ' + self.name;
- }
-}
-
-mapping inout notation::Diagram::postprocess()
-{
- if (self.name <> null) {
- self.name := '123 ' + self.name;
- }
-}

Back to the top