diff options
Diffstat (limited to 'tests/junit/plugins/uml/alf/org.eclipse.papyrus.uml.alf.tests/UML/TestActivity.uml')
-rw-r--r-- | tests/junit/plugins/uml/alf/org.eclipse.papyrus.uml.alf.tests/UML/TestActivity.uml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/tests/junit/plugins/uml/alf/org.eclipse.papyrus.uml.alf.tests/UML/TestActivity.uml b/tests/junit/plugins/uml/alf/org.eclipse.papyrus.uml.alf.tests/UML/TestActivity.uml new file mode 100644 index 00000000000..f165dc2223d --- /dev/null +++ b/tests/junit/plugins/uml/alf/org.eclipse.papyrus.uml.alf.tests/UML/TestActivity.uml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="UTF-8"?> +<xmi:XMI xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ActionLanguage="http://www.omg.org/spec/ALF/20120827/ActionLanguage-Profile" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http://www.omg.org/spec/ALF/20120827/ActionLanguage-Profile pathmap://PAPYRUS_ACTIONLANGUAGE_PROFILE/ActionLanguage-Profile.profile.uml#_Kv8EIKFXEeS_KNX0nfvIVQ"> + <uml:Model xmi:id="_NY0pkMOTEeSiR-ar9ioVjA" name="Model"> + <packagedElement xmi:type="uml:Activity" xmi:id="_Nj204MOTEeSiR-ar9ioVjA" name="TestActivity" visibility="protected"> + <ownedComment xmi:id="_Nj205cOTEeSiR-ar9ioVjA" annotatedElement="_Nj204MOTEeSiR-ar9ioVjA"> + <body>activity TestActivity(): Integer { + WriteLine("Hello Test!"); +}</body> + </ownedComment> + <packageImport xmi:id="_Nj205MOTEeSiR-ar9ioVjA" visibility="private"> + <importedPackage href="pathmap://PAPYRUS_ALF_LIBRARY/Alf.library.uml#Alf-Library-BasicInputOutput"/> + </packageImport> + <ownedParameter xmi:id="_Nj204cOTEeSiR-ar9ioVjA" direction="return"> + <name xsi:nil="true"/> + <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_Nj204sOTEeSiR-ar9ioVjA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_Nj2048OTEeSiR-ar9ioVjA" value="1"/> + </ownedParameter> + </packagedElement> + <profileApplication xmi:id="_NY0pkcOTEeSiR-ar9ioVjA"> + <eAnnotations xmi:id="_NY0pksOTEeSiR-ar9ioVjA" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard#/"/> + </eAnnotations> + <appliedProfile href="pathmap://UML_PROFILES/Standard.profile.uml#_0"/> + </profileApplication> + <profileApplication xmi:id="_NY0pk8OTEeSiR-ar9ioVjA"> + <eAnnotations xmi:id="_NY0plMOTEeSiR-ar9ioVjA" source="http://www.eclipse.org/uml2/2.0.0/UML"> + <references xmi:type="ecore:EPackage" href="pathmap://PAPYRUS_ACTIONLANGUAGE_PROFILE/ActionLanguage-Profile.profile.uml#_Kv8EIKFXEeS_KNX0nfvIVQ"/> + </eAnnotations> + <appliedProfile href="pathmap://PAPYRUS_ACTIONLANGUAGE_PROFILE/ActionLanguage-Profile.profile.uml#ActionLanguage"/> + </profileApplication> + </uml:Model> + <ActionLanguage:TextualRepresentation xmi:id="_Nj3b8MOTEeSiR-ar9ioVjA" base_Comment="_Nj205cOTEeSiR-ar9ioVjA" language="Alf"/> +</xmi:XMI> |