diff options
Diffstat (limited to 'tests/junit/plugins/uml/alf/org.eclipse.papyrus.uml.alf.tests/UML/ElementImportResolutionTest.uml')
-rw-r--r-- | tests/junit/plugins/uml/alf/org.eclipse.papyrus.uml.alf.tests/UML/ElementImportResolutionTest.uml | 75 |
1 files changed, 75 insertions, 0 deletions
diff --git a/tests/junit/plugins/uml/alf/org.eclipse.papyrus.uml.alf.tests/UML/ElementImportResolutionTest.uml b/tests/junit/plugins/uml/alf/org.eclipse.papyrus.uml.alf.tests/UML/ElementImportResolutionTest.uml new file mode 100644 index 00000000000..501ccc750f2 --- /dev/null +++ b/tests/junit/plugins/uml/alf/org.eclipse.papyrus.uml.alf.tests/UML/ElementImportResolutionTest.uml @@ -0,0 +1,75 @@ +<?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:standard="http://www.eclipse.org/uml2/5.0.0/UML/Profile/Standard" 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="_-ms5EMOSEeSiR-ar9ioVjA" name="Model"> + <packagedElement xmi:type="uml:Class" xmi:id="_-m_M8MOSEeSiR-ar9ioVjA" name="ElementImportResolution"> + <elementImport xmi:id="_-m_NAcOSEeSiR-ar9ioVjA" visibility="private"> + <alias xsi:nil="true"/> + <importedElement xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/> + </elementImport> + <elementImport xmi:id="_-m_NAsOSEeSiR-ar9ioVjA" visibility="private"> + <alias xsi:nil="true"/> + <importedElement xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/> + </elementImport> + <elementImport xmi:id="_-m_NAMOSEeSiR-ar9ioVjA" visibility="private"> + <alias xsi:nil="true"/> + <importedElement xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/> + </elementImport> + <ownedAttribute xmi:id="_-m_M8cOSEeSiR-ar9ioVjA" name="ElementImportResolution$initializationFlag$1" visibility="protected"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_-m_M8sOSEeSiR-ar9ioVjA"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_-m_M88OSEeSiR-ar9ioVjA" value="1"/> + </ownedAttribute> + <ownedBehavior xmi:type="uml:Activity" xmi:id="_-m_M9MOSEeSiR-ar9ioVjA" name="ElementImportResolution$initialization$1" visibility="protected" specification="_-m_M9cOSEeSiR-ar9ioVjA"> + <ownedComment xmi:id="_-m_NBMOSEeSiR-ar9ioVjA" annotatedElement="_-m_M9MOSEeSiR-ar9ioVjA"> + <body>activity 'ElementImportResolution$initialization$1'(){ + if (this.'ElementImportResolution$initializationFlag$1' == null) { + this.'ElementImportResolution$initializationFlag$1' = true; + } +} +</body> + </ownedComment> + </ownedBehavior> + <ownedBehavior xmi:type="uml:Activity" xmi:id="_-m_M9sOSEeSiR-ar9ioVjA" name="ElementImportResolution$method$1" specification="_-m_M-sOSEeSiR-ar9ioVjA"> + <ownedComment xmi:id="_-m_NBcOSEeSiR-ar9ioVjA" annotatedElement="_-m_M9sOSEeSiR-ar9ioVjA"> + <body>activity 'ElementImportResolution$method$1'(): ElementImportResolution { + this.'ElementImportResolution$initialization$1'(); + return this; +}</body> + </ownedComment> + <ownedParameter xmi:id="_-m_M98OSEeSiR-ar9ioVjA" type="_-m_M8MOSEeSiR-ar9ioVjA" direction="return"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_-m_M-MOSEeSiR-ar9ioVjA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_-m_M-cOSEeSiR-ar9ioVjA" value="1"/> + </ownedParameter> + </ownedBehavior> + <ownedBehavior xmi:type="uml:Activity" xmi:id="_-m_M_sOSEeSiR-ar9ioVjA" name="destroy$method$1" specification="_-m_M_8OSEeSiR-ar9ioVjA"> + <ownedComment xmi:id="_-m_NA8OSEeSiR-ar9ioVjA" annotatedElement="_-m_M_sOSEeSiR-ar9ioVjA"> + <body>activity 'destroy$method$1'() { }</body> + </ownedComment> + </ownedBehavior> + <ownedOperation xmi:id="_-m_M9cOSEeSiR-ar9ioVjA" name="ElementImportResolution$initialization$1" visibility="protected" method="_-m_M9MOSEeSiR-ar9ioVjA"/> + <ownedOperation xmi:id="_-m_M-sOSEeSiR-ar9ioVjA" name="ElementImportResolution" method="_-m_M9sOSEeSiR-ar9ioVjA"> + <ownedParameter xmi:id="_-m_M-8OSEeSiR-ar9ioVjA" type="_-m_M8MOSEeSiR-ar9ioVjA" direction="return"> + <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_-m_M_MOSEeSiR-ar9ioVjA" value="1"/> + <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_-m_M_cOSEeSiR-ar9ioVjA" value="1"/> + </ownedParameter> + </ownedOperation> + <ownedOperation xmi:id="_-m_M_8OSEeSiR-ar9ioVjA" name="destroy" method="_-m_M_sOSEeSiR-ar9ioVjA"/> + </packagedElement> + <profileApplication xmi:id="_-ms5EcOSEeSiR-ar9ioVjA"> + <eAnnotations xmi:id="_-ms5EsOSEeSiR-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="_-ms5E8OSEeSiR-ar9ioVjA"> + <eAnnotations xmi:id="_-ms5FMOSEeSiR-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> + <standard:Destroy xmi:id="_-m_NBsOSEeSiR-ar9ioVjA" base_BehavioralFeature="_-m_M_8OSEeSiR-ar9ioVjA"/> + <standard:Create xmi:id="_-m_NB8OSEeSiR-ar9ioVjA" base_BehavioralFeature="_-m_M-sOSEeSiR-ar9ioVjA"/> + <ActionLanguage:TextualRepresentation xmi:id="_-m_NCMOSEeSiR-ar9ioVjA" base_Comment="_-m_NA8OSEeSiR-ar9ioVjA" language="Alf"/> + <ActionLanguage:TextualRepresentation xmi:id="_-m_NCcOSEeSiR-ar9ioVjA" base_Comment="_-m_NBMOSEeSiR-ar9ioVjA" language="Alf"/> + <ActionLanguage:TextualRepresentation xmi:id="_-m_NCsOSEeSiR-ar9ioVjA" base_Comment="_-m_NBcOSEeSiR-ar9ioVjA" language="Alf"/> +</xmi:XMI> |