Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model')
-rw-r--r--tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/ElementTypesTestsProfile.profile.di2
-rw-r--r--tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/ElementTypesTestsProfile.profile.notation107
-rw-r--r--tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/ElementTypesTestsProfile.profile.uml195
-rw-r--r--tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/MyPalette.palette22
-rw-r--r--tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/cyclicAdvices.elementtypesconfigurations18
-rw-r--r--tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/elementtypetest.elementtypesconfigurations108
-rw-r--r--tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/model.di2
-rw-r--r--tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/model.notation220
-rw-r--r--tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/model.uml38
-rw-r--r--tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/validAdvicesOrder.elementtypesconfigurations15
10 files changed, 727 insertions, 0 deletions
diff --git a/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/ElementTypesTestsProfile.profile.di b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/ElementTypesTestsProfile.profile.di
new file mode 100644
index 00000000000..bf9abab340f
--- /dev/null
+++ b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/ElementTypesTestsProfile.profile.di
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
diff --git a/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/ElementTypesTestsProfile.profile.notation b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/ElementTypesTestsProfile.profile.notation
new file mode 100644
index 00000000000..1d458586ccd
--- /dev/null
+++ b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/ElementTypesTestsProfile.profile.notation
@@ -0,0 +1,107 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML">
+ <notation:Diagram xmi:id="_fZB8QLhGEeS0cu6lbJ9jDQ" type="PapyrusUMLProfileDiagram" name="Main" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_624_kLhGEeS0cu6lbJ9jDQ" type="1026">
+ <children xmi:type="notation:DecorationNode" xmi:id="_6260wLhGEeS0cu6lbJ9jDQ" type="1034"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_6260wbhGEeS0cu6lbJ9jDQ" type="1071">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_6260wrhGEeS0cu6lbJ9jDQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_6260w7hGEeS0cu6lbJ9jDQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_6260xLhGEeS0cu6lbJ9jDQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_6260xbhGEeS0cu6lbJ9jDQ"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_627b0LhGEeS0cu6lbJ9jDQ" type="1019">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_627b0bhGEeS0cu6lbJ9jDQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_627b0rhGEeS0cu6lbJ9jDQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_627b07hGEeS0cu6lbJ9jDQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_627b1LhGEeS0cu6lbJ9jDQ"/>
+ </children>
+ <element xmi:type="uml:Stereotype" href="ElementTypesTestsProfile.profile.uml#_62vOkLhGEeS0cu6lbJ9jDQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_624_kbhGEeS0cu6lbJ9jDQ" x="319" y="232"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_HZPs4LhHEeS0cu6lbJ9jDQ" type="1026">
+ <children xmi:type="notation:DecorationNode" xmi:id="_HZPs4rhHEeS0cu6lbJ9jDQ" type="1034"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_HZPs47hHEeS0cu6lbJ9jDQ" type="1071">
+ <children xmi:type="notation:Shape" xmi:id="_9VdsELhMEeSEVa3MHbyMkQ" type="3002">
+ <element xmi:type="uml:Property" href="ElementTypesTestsProfile.profile.uml#_9TmD0LhMEeSEVa3MHbyMkQ"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_9VeTILhMEeSEVa3MHbyMkQ"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_Ckf8wLhNEeSEVa3MHbyMkQ" type="3002">
+ <element xmi:type="uml:Property" href="ElementTypesTestsProfile.profile.uml#_Ckc5cLhNEeSEVa3MHbyMkQ"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_Ckf8wbhNEeSEVa3MHbyMkQ"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_GO_RgLhNEeSEVa3MHbyMkQ" type="3002">
+ <element xmi:type="uml:Property" href="ElementTypesTestsProfile.profile.uml#_GO-qcLhNEeSEVa3MHbyMkQ"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_GO_RgbhNEeSEVa3MHbyMkQ"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_p4wmULhNEeSEVa3MHbyMkQ" type="3002">
+ <element xmi:type="uml:Property" href="ElementTypesTestsProfile.profile.uml#_p4uxILhNEeSEVa3MHbyMkQ"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_p4wmUbhNEeSEVa3MHbyMkQ"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_tFTa0LhNEeSEVa3MHbyMkQ" type="3002">
+ <element xmi:type="uml:Property" href="ElementTypesTestsProfile.profile.uml#_tFSMsLhNEeSEVa3MHbyMkQ"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_tFTa0bhNEeSEVa3MHbyMkQ"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_HZPs5LhHEeS0cu6lbJ9jDQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_HZPs5bhHEeS0cu6lbJ9jDQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_HZPs5rhHEeS0cu6lbJ9jDQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HZPs57hHEeS0cu6lbJ9jDQ"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_HZQT8LhHEeS0cu6lbJ9jDQ" type="1019">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_HZQT8bhHEeS0cu6lbJ9jDQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_HZQT8rhHEeS0cu6lbJ9jDQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_HZQT87hHEeS0cu6lbJ9jDQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HZQT9LhHEeS0cu6lbJ9jDQ"/>
+ </children>
+ <element xmi:type="uml:Stereotype" href="ElementTypesTestsProfile.profile.uml#_HZK0YLhHEeS0cu6lbJ9jDQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_HZPs4bhHEeS0cu6lbJ9jDQ" x="655" y="257" height="211"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_PWJ5ELhHEeS0cu6lbJ9jDQ" type="2006">
+ <children xmi:type="notation:DecorationNode" xmi:id="_PWKgILhHEeS0cu6lbJ9jDQ" type="5023"/>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_PWKgIbhHEeS0cu6lbJ9jDQ" type="1063">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_VgfUYLhHEeS0cu6lbJ9jDQ" source="PapyrusCSSForceValue">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_Vgf7cLhHEeS0cu6lbJ9jDQ" key="collapsed" value="true"/>
+ </eAnnotations>
+ <children xmi:type="notation:Shape" xmi:id="_2Z2IULhNEeSEVa3MHbyMkQ" type="1037">
+ <element xmi:type="uml:EnumerationLiteral" href="ElementTypesTestsProfile.profile.uml#_SSE3oLhHEeS0cu6lbJ9jDQ"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_2Z2IUbhNEeSEVa3MHbyMkQ"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_2Z2vYLhNEeSEVa3MHbyMkQ" type="1037">
+ <element xmi:type="uml:EnumerationLiteral" href="ElementTypesTestsProfile.profile.uml#_T4hRALhHEeS0cu6lbJ9jDQ"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_2Z2vYbhNEeSEVa3MHbyMkQ"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_PWKgIrhHEeS0cu6lbJ9jDQ"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_PWKgI7hHEeS0cu6lbJ9jDQ"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_PWKgJLhHEeS0cu6lbJ9jDQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PWKgJbhHEeS0cu6lbJ9jDQ"/>
+ </children>
+ <element xmi:type="uml:Enumeration" href="ElementTypesTestsProfile.profile.uml#_PVwQcLhHEeS0cu6lbJ9jDQ"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_PWJ5EbhHEeS0cu6lbJ9jDQ" x="953" y="309"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_fSekILhNEeSEVa3MHbyMkQ" type="1031">
+ <children xmi:type="notation:DecorationNode" xmi:id="_fSfLMLhNEeSEVa3MHbyMkQ" type="1084"/>
+ <element xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fSekIbhNEeSEVa3MHbyMkQ" x="425" y="85"/>
+ </children>
+ <styles xmi:type="notation:StringValueStyle" xmi:id="_fZB8QbhGEeS0cu6lbJ9jDQ" name="diagram_compatibility_version" stringValue="1.0.0"/>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_fZB8QrhGEeS0cu6lbJ9jDQ"/>
+ <styles xmi:type="style:PapyrusViewStyle" xmi:id="_fZB8Q7hGEeS0cu6lbJ9jDQ">
+ <owner xmi:type="uml:Profile" href="ElementTypesTestsProfile.profile.uml#_fYQgMLhGEeS0cu6lbJ9jDQ"/>
+ </styles>
+ <element xmi:type="uml:Profile" href="ElementTypesTestsProfile.profile.uml#_fYQgMLhGEeS0cu6lbJ9jDQ"/>
+ <edges xmi:type="notation:Connector" xmi:id="_hIYV0LhNEeSEVa3MHbyMkQ" type="1013" source="_624_kLhGEeS0cu6lbJ9jDQ" target="_fSekILhNEeSEVa3MHbyMkQ">
+ <styles xmi:type="notation:FontStyle" xmi:id="_hIYV0bhNEeSEVa3MHbyMkQ"/>
+ <element xmi:type="uml:Extension" href="ElementTypesTestsProfile.profile.uml#_hIRBELhNEeSEVa3MHbyMkQ"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_hIYV0rhNEeSEVa3MHbyMkQ" points="[7, -9, -15, 128]$[-13, -162, -35, -25]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_hIpbkLhNEeSEVa3MHbyMkQ" id="(0.8064516129032258,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_azM7MLj3EeS4eYQIptruBA" id="(0.43,1.0)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_hrlJgLhNEeSEVa3MHbyMkQ" type="1013" source="_HZPs4LhHEeS0cu6lbJ9jDQ" target="_fSekILhNEeSEVa3MHbyMkQ">
+ <styles xmi:type="notation:FontStyle" xmi:id="_hrlJgbhNEeSEVa3MHbyMkQ"/>
+ <element xmi:type="uml:Extension" href="ElementTypesTestsProfile.profile.uml#_hrjUUbhNEeSEVa3MHbyMkQ"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_hrlJgrhNEeSEVa3MHbyMkQ" points="[-11, -9, 180, 156]$[-170, -168, 21, -3]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_hrnlwLhNEeSEVa3MHbyMkQ" id="(0.0446927374301676,0.0)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_hroM0LhNEeSEVa3MHbyMkQ" id="(1.0,0.82)"/>
+ </edges>
+ </notation:Diagram>
+ <css:ModelStyleSheets xmi:id="_iBsnoLhGEeS0cu6lbJ9jDQ"/>
+</xmi:XMI>
diff --git a/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/ElementTypesTestsProfile.profile.uml b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/ElementTypesTestsProfile.profile.uml
new file mode 100644
index 00000000000..4f1610dae4d
--- /dev/null
+++ b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/ElementTypesTestsProfile.profile.uml
@@ -0,0 +1,195 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Profile xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_fYQgMLhGEeS0cu6lbJ9jDQ" name="ElementTypesTestsProfile" metamodelReference="_fYQgMbhGEeS0cu6lbJ9jDQ">
+ <eAnnotations xmi:id="_FV4G8LhHEeS0cu6lbJ9jDQ" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <contents xmi:type="ecore:EPackage" xmi:id="_ctjvELj3EeS4eYQIptruBA" name="ElementTypesTestsProfile" nsURI="http:///schemas/ElementTypesTestsProfile/_cthS0Lj3EeS4eYQIptruBA/4" nsPrefix="ElementTypesTestsProfile">
+ <eAnnotations xmi:id="_ctlkQbj3EeS4eYQIptruBA" source="PapyrusVersion">
+ <details xmi:id="_ctlkQrj3EeS4eYQIptruBA" key="Version" value="0.0.5"/>
+ <details xmi:id="_ctlkQ7j3EeS4eYQIptruBA" key="Comment" value=""/>
+ <details xmi:id="_ctlkRLj3EeS4eYQIptruBA" key="Copyright" value=""/>
+ <details xmi:id="_ctlkRbj3EeS4eYQIptruBA" key="Date" value="2015-02-20"/>
+ <details xmi:id="_ctlkRrj3EeS4eYQIptruBA" key="Author" value=""/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_ctjvEbj3EeS4eYQIptruBA" name="PackageWithComponents">
+ <eAnnotations xmi:id="_ctjvErj3EeS4eYQIptruBA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_62vOkLhGEeS0cu6lbJ9jDQ"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_ctjvE7j3EeS4eYQIptruBA" name="base_Element" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_ctjvFbj3EeS4eYQIptruBA" name="StereotypeWithFeaturesToSet">
+ <eAnnotations xmi:id="_ctjvFrj3EeS4eYQIptruBA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_HZK0YLhHEeS0cu6lbJ9jDQ"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_ctjvF7j3EeS4eYQIptruBA" name="stringFeature" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/5.0.0/Types#//String"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_ctjvGbj3EeS4eYQIptruBA" name="multiStrings" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/5.0.0/Types#//String"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_ctjvG7j3EeS4eYQIptruBA" name="value" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/5.0.0/Types#//Integer"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_ctjvHbj3EeS4eYQIptruBA" name="base_Element" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_ctjvH7j3EeS4eYQIptruBA" name="boolean" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/5.0.0/Types#//Boolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_ctjvIbj3EeS4eYQIptruBA" name="enumeration" ordered="false" lowerBound="1" eType="_ctjvI7j3EeS4eYQIptruBA"/>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EEnum" xmi:id="_ctjvI7j3EeS4eYQIptruBA" name="Enum">
+ <eAnnotations xmi:id="_ctjvJLj3EeS4eYQIptruBA" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_PVwQcLhHEeS0cu6lbJ9jDQ"/>
+ <eLiterals xmi:id="_ctjvJbj3EeS4eYQIptruBA" name="Enum1"/>
+ <eLiterals xmi:id="_ctjvJrj3EeS4eYQIptruBA" name="Enum2" value="1"/>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_3TZmgLhNEeSEVa3MHbyMkQ" name="ElementTypesTestsProfile" nsURI="http:///schemas/ElementTypesTestsProfile/_3TY_cLhNEeSEVa3MHbyMkQ/3" nsPrefix="ElementTypesTestsProfile">
+ <eAnnotations xmi:id="_3Ta0oLhNEeSEVa3MHbyMkQ" source="PapyrusVersion">
+ <details xmi:id="_3Ta0obhNEeSEVa3MHbyMkQ" key="Version" value="0.0.4"/>
+ <details xmi:id="_3Ta0orhNEeSEVa3MHbyMkQ" key="Comment" value=""/>
+ <details xmi:id="_3Ta0o7hNEeSEVa3MHbyMkQ" key="Copyright" value=""/>
+ <details xmi:id="_3Ta0pLhNEeSEVa3MHbyMkQ" key="Date" value="2015-02-19"/>
+ <details xmi:id="_3Ta0pbhNEeSEVa3MHbyMkQ" key="Author" value=""/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_3TZmgbhNEeSEVa3MHbyMkQ" name="PackageWithComponents">
+ <eAnnotations xmi:id="_3TZmgrhNEeSEVa3MHbyMkQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_62vOkLhGEeS0cu6lbJ9jDQ"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3TZmg7hNEeSEVa3MHbyMkQ" name="base_Element" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_3TZmhbhNEeSEVa3MHbyMkQ" name="StereotypeWithFeaturesToSet">
+ <eAnnotations xmi:id="_3TZmhrhNEeSEVa3MHbyMkQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_HZK0YLhHEeS0cu6lbJ9jDQ"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_3TZmh7hNEeSEVa3MHbyMkQ" name="stringFeature" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/5.0.0/Types#//String"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_3TZmibhNEeSEVa3MHbyMkQ" name="multiStrings" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/5.0.0/Types#//String"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_3TZmi7hNEeSEVa3MHbyMkQ" name="value" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/5.0.0/Types#//Integer"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_3TZmjbhNEeSEVa3MHbyMkQ" name="base_Element" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_3TZmj7hNEeSEVa3MHbyMkQ" name="boolean" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/5.0.0/Types#//Boolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_3TZmkbhNEeSEVa3MHbyMkQ" name="enumeration" ordered="false" lowerBound="1" eType="_3TZmk7hNEeSEVa3MHbyMkQ"/>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EEnum" xmi:id="_3TZmk7hNEeSEVa3MHbyMkQ" name="Enum">
+ <eAnnotations xmi:id="_3TZmlLhNEeSEVa3MHbyMkQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_PVwQcLhHEeS0cu6lbJ9jDQ"/>
+ <eLiterals xmi:id="_3TZmlbhNEeSEVa3MHbyMkQ" name="Enum1"/>
+ <eLiterals xmi:id="_3TZmlrhNEeSEVa3MHbyMkQ" name="Enum2" value="1"/>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_yL120LhNEeSEVa3MHbyMkQ" name="ElementTypesTestsProfile" nsURI="http:///schemas/ElementTypesTestsProfile/_yLzakLhNEeSEVa3MHbyMkQ/2" nsPrefix="ElementTypesTestsProfile">
+ <eAnnotations xmi:id="_yL4TELhNEeSEVa3MHbyMkQ" source="PapyrusVersion">
+ <details xmi:id="_yL4TEbhNEeSEVa3MHbyMkQ" key="Version" value="0.0.3"/>
+ <details xmi:id="_yL4TErhNEeSEVa3MHbyMkQ" key="Comment" value=""/>
+ <details xmi:id="_yL4TE7hNEeSEVa3MHbyMkQ" key="Copyright" value=""/>
+ <details xmi:id="_yL4TFLhNEeSEVa3MHbyMkQ" key="Date" value="2015-02-19"/>
+ <details xmi:id="_yL4TFbhNEeSEVa3MHbyMkQ" key="Author" value=""/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_yL120bhNEeSEVa3MHbyMkQ" name="PackageWithComponents">
+ <eAnnotations xmi:id="_yL120rhNEeSEVa3MHbyMkQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_62vOkLhGEeS0cu6lbJ9jDQ"/>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_yL1207hNEeSEVa3MHbyMkQ" name="base_Element" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/>
+ </eStructuralFeatures>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_yL121bhNEeSEVa3MHbyMkQ" name="StereotypeWithFeaturesToSet">
+ <eAnnotations xmi:id="_yL121rhNEeSEVa3MHbyMkQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_HZK0YLhHEeS0cu6lbJ9jDQ"/>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_yL1217hNEeSEVa3MHbyMkQ" name="stringFeature" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/5.0.0/Types#//String"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_yL122bhNEeSEVa3MHbyMkQ" name="multiStrings" ordered="false" upperBound="-1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/5.0.0/Types#//String"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_yL1227hNEeSEVa3MHbyMkQ" name="value" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/5.0.0/Types#//Integer"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EReference" xmi:id="_yL123bhNEeSEVa3MHbyMkQ" name="base_Element" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EClass" href="http://www.eclipse.org/uml2/5.0.0/UML#//Element"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_yL1237hNEeSEVa3MHbyMkQ" name="boolean" ordered="false" lowerBound="1">
+ <eType xmi:type="ecore:EDataType" href="http://www.eclipse.org/uml2/5.0.0/Types#//Boolean"/>
+ </eStructuralFeatures>
+ <eStructuralFeatures xmi:type="ecore:EAttribute" xmi:id="_yL124bhNEeSEVa3MHbyMkQ" name="enumeration" ordered="false" lowerBound="1" eType="_yL1247hNEeSEVa3MHbyMkQ"/>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EEnum" xmi:id="_yL1247hNEeSEVa3MHbyMkQ" name="Enum">
+ <eAnnotations xmi:id="_yL125LhNEeSEVa3MHbyMkQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_PVwQcLhHEeS0cu6lbJ9jDQ"/>
+ <eLiterals xmi:id="_yL125bhNEeSEVa3MHbyMkQ" name="Enum1"/>
+ <eLiterals xmi:id="_yL125rhNEeSEVa3MHbyMkQ" name="Enum2" value="1"/>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_YYnYELhHEeS0cu6lbJ9jDQ" name="ElementTypesTestsProfile" nsURI="http:///schemas/ElementTypesTestsProfile/_YYmxALhHEeS0cu6lbJ9jDQ/1" nsPrefix="ElementTypesTestsProfile">
+ <eAnnotations xmi:id="_YYn_ILhHEeS0cu6lbJ9jDQ" source="PapyrusVersion">
+ <details xmi:id="_YYn_IbhHEeS0cu6lbJ9jDQ" key="Version" value="0.0.2"/>
+ <details xmi:id="_YYn_IrhHEeS0cu6lbJ9jDQ" key="Comment" value=""/>
+ <details xmi:id="_YYn_I7hHEeS0cu6lbJ9jDQ" key="Copyright" value=""/>
+ <details xmi:id="_YYn_JLhHEeS0cu6lbJ9jDQ" key="Date" value="2015-02-19"/>
+ <details xmi:id="_YYn_JbhHEeS0cu6lbJ9jDQ" key="Author" value=""/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_YYnYEbhHEeS0cu6lbJ9jDQ" name="PackageWithComponents">
+ <eAnnotations xmi:id="_YYnYErhHEeS0cu6lbJ9jDQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_62vOkLhGEeS0cu6lbJ9jDQ"/>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_YYnYE7hHEeS0cu6lbJ9jDQ" name="StereotypeWithFeaturesToSet">
+ <eAnnotations xmi:id="_YYnYFLhHEeS0cu6lbJ9jDQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_HZK0YLhHEeS0cu6lbJ9jDQ"/>
+ </eClassifiers>
+ <eClassifiers xmi:type="ecore:EEnum" xmi:id="_YYnYFbhHEeS0cu6lbJ9jDQ" name="Enum">
+ <eAnnotations xmi:id="_YYnYFrhHEeS0cu6lbJ9jDQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_PVwQcLhHEeS0cu6lbJ9jDQ"/>
+ <eLiterals xmi:id="_YYnYF7hHEeS0cu6lbJ9jDQ" name="Enum1"/>
+ <eLiterals xmi:id="_YYnYGLhHEeS0cu6lbJ9jDQ" name="Enum2" value="1"/>
+ </eClassifiers>
+ </contents>
+ <contents xmi:type="ecore:EPackage" xmi:id="_FV4uALhHEeS0cu6lbJ9jDQ" name="ElementTypesTestsProfile" nsURI="http:///schemas/ElementTypesTestsProfile/_FV240LhHEeS0cu6lbJ9jDQ/0" nsPrefix="ElementTypesTestsProfile">
+ <eAnnotations xmi:id="_FV58ILhHEeS0cu6lbJ9jDQ" source="PapyrusVersion">
+ <details xmi:id="_FV58IbhHEeS0cu6lbJ9jDQ" key="Version" value="0.0.1"/>
+ <details xmi:id="_FV58IrhHEeS0cu6lbJ9jDQ" key="Comment" value=""/>
+ <details xmi:id="_FV58I7hHEeS0cu6lbJ9jDQ" key="Copyright" value=""/>
+ <details xmi:id="_FV58JLhHEeS0cu6lbJ9jDQ" key="Date" value="2015-02-19"/>
+ <details xmi:id="_FV58JbhHEeS0cu6lbJ9jDQ" key="Author" value="Le fevre"/>
+ </eAnnotations>
+ <eClassifiers xmi:type="ecore:EClass" xmi:id="_FV4uAbhHEeS0cu6lbJ9jDQ" name="PackageWithComponents">
+ <eAnnotations xmi:id="_FV4uArhHEeS0cu6lbJ9jDQ" source="http://www.eclipse.org/uml2/2.0.0/UML" references="_62vOkLhGEeS0cu6lbJ9jDQ"/>
+ </eClassifiers>
+ </contents>
+ </eAnnotations>
+ <packageImport xmi:id="_fYQgMbhGEeS0cu6lbJ9jDQ">
+ <importedPackage xmi:type="uml:Model" href="pathmap://UML_METAMODELS/UML.metamodel.uml#_0"/>
+ </packageImport>
+ <packageImport xmi:id="_fYQgMrhGEeS0cu6lbJ9jDQ">
+ <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
+ </packageImport>
+ <packagedElement xmi:type="uml:Stereotype" xmi:id="_62vOkLhGEeS0cu6lbJ9jDQ" name="PackageWithComponents">
+ <ownedAttribute xmi:id="_hIQaALhNEeSEVa3MHbyMkQ" name="base_Element" association="_hIRBELhNEeSEVa3MHbyMkQ">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/>
+ </ownedAttribute>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Stereotype" xmi:id="_HZK0YLhHEeS0cu6lbJ9jDQ" name="StereotypeWithFeaturesToSet">
+ <ownedAttribute xmi:id="_9TmD0LhMEeSEVa3MHbyMkQ" name="stringFeature">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_Ckc5cLhNEeSEVa3MHbyMkQ" name="multiStrings">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#String"/>
+ <lowerValue xmi:type="uml:LiteralInteger" xmi:id="_FY_doLhNEeSEVa3MHbyMkQ"/>
+ <upperValue xmi:type="uml:LiteralUnlimitedNatural" xmi:id="_FZArwLhNEeSEVa3MHbyMkQ" value="*"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_GO-qcLhNEeSEVa3MHbyMkQ" name="value">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Integer"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_hrjUULhNEeSEVa3MHbyMkQ" name="base_Element" association="_hrjUUbhNEeSEVa3MHbyMkQ">
+ <type xmi:type="uml:Class" href="pathmap://UML_METAMODELS/UML.metamodel.uml#Element"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_p4uxILhNEeSEVa3MHbyMkQ" name="boolean">
+ <type xmi:type="uml:PrimitiveType" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#Boolean"/>
+ </ownedAttribute>
+ <ownedAttribute xmi:id="_tFSMsLhNEeSEVa3MHbyMkQ" name="enumeration" type="_PVwQcLhHEeS0cu6lbJ9jDQ"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Enumeration" xmi:id="_PVwQcLhHEeS0cu6lbJ9jDQ" name="Enum">
+ <ownedLiteral xmi:id="_SSE3oLhHEeS0cu6lbJ9jDQ" name="Enum1"/>
+ <ownedLiteral xmi:id="_T4hRALhHEeS0cu6lbJ9jDQ" name="Enum2"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_hIRBELhNEeSEVa3MHbyMkQ" name="E_PackageWithComponents_Element1" memberEnd="_hIRBEbhNEeSEVa3MHbyMkQ _hIQaALhNEeSEVa3MHbyMkQ">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_hIRBEbhNEeSEVa3MHbyMkQ" name="extension_PackageWithComponents" type="_62vOkLhGEeS0cu6lbJ9jDQ" aggregation="composite" association="_hIRBELhNEeSEVa3MHbyMkQ"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Extension" xmi:id="_hrjUUbhNEeSEVa3MHbyMkQ" name="E_StereotypeWithFeaturesToSet_Element1" memberEnd="_hrjUUrhNEeSEVa3MHbyMkQ _hrjUULhNEeSEVa3MHbyMkQ">
+ <ownedEnd xmi:type="uml:ExtensionEnd" xmi:id="_hrjUUrhNEeSEVa3MHbyMkQ" name="extension_StereotypeWithFeaturesToSet" type="_HZK0YLhHEeS0cu6lbJ9jDQ" aggregation="composite" association="_hrjUUbhNEeSEVa3MHbyMkQ"/>
+ </packagedElement>
+</uml:Profile>
diff --git a/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/MyPalette.palette b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/MyPalette.palette
new file mode 100644
index 00000000000..6fe86de2535
--- /dev/null
+++ b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/MyPalette.palette
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<paletteDefinition>
+ <content>
+ <drawer iconpath="/icons/drawer.gif" id="Drawer__1387437837516"
+ name="TestDrawer">
+ <aspectTool description="Create an element with a stereotype"
+ iconpath="platform:/plugin/org.eclipse.uml2.uml.edit/icons/full/obj16/Class.gif"
+ id="clazz.tool.class_1387437855081" name="Electrical Module"
+ refToolId="clazz.tool.class">
+ <postAction id="org.eclipse.papyrus.applystereotypeactionprovider">
+ <stereotypesToApply>
+ <stereotype stereotypeName="ElementTypesTestsProfile::Module">
+ <property propertyName="ElementTypesTestsProfile::Module::kind">
+ <value>Electrical</value>
+ </property>
+ </stereotype>
+ </stereotypesToApply>
+ </postAction>
+ </aspectTool>
+ </drawer>
+ </content>
+</paletteDefinition> \ No newline at end of file
diff --git a/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/cyclicAdvices.elementtypesconfigurations b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/cyclicAdvices.elementtypesconfigurations
new file mode 100644
index 00000000000..f87090fa236
--- /dev/null
+++ b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/cyclicAdvices.elementtypesconfigurations
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="org.eclipse.papyrus.infra.types.tests.cyclicAdvices.elementtypesconfigurations" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML" name="Test cyclic edvices dependencies" xmi:id="_ScP1oFYCEeS0WsAAtVmToA" xmi:version="2.0">
+ <adviceBindingsConfigurations editHelperAdviceClassName="org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice1" identifier="TestEditHelperAdvice1" xmi:id="_SGAo4LK-EeWUIbTgfwAP3g" xsi:type="elementtypesconfigurations:AdviceBindingConfiguration">
+ <after>org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice2</after>
+ <after>org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice3</after>
+ <target href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations editHelperAdviceClassName="org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice2" identifier="TestEditHelperAdvice2" xmi:id="_nSyIoLK-EeWUIbTgfwAP3g" xsi:type="elementtypesconfigurations:AdviceBindingConfiguration">
+ <before>org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice1</before>
+ <after>org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice3</after>
+ <target href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations editHelperAdviceClassName="org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice3" identifier="TestEditHelperAdvice3" xmi:id="_ojuzILK-EeWUIbTgfwAP3g" xsi:type="elementtypesconfigurations:AdviceBindingConfiguration">
+ <before>org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice1</before>
+ <before>org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice2</before>
+ <after>org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice1</after>
+ <target href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/>
+ </adviceBindingsConfigurations>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file
diff --git a/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/elementtypetest.elementtypesconfigurations b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/elementtypetest.elementtypesconfigurations
new file mode 100644
index 00000000000..903c3db5554
--- /dev/null
+++ b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/elementtypetest.elementtypesconfigurations
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:applystereotypeadvice="http://www.eclipse.org/papyrus/uml/types/applystereotypeadvice/1.1" xmlns:invariantcontainerrule="http://www.eclipse.org/papyrus/emf/types/invariantcontainerrule/1.1" xmlns:invariantstereotyperule="http://www.eclipse.org/papyrus/uml/types/invariantstereotyperule/1.1" xmlns:rulebased="http://www.eclipse.org/papyrus/infra/types/rulebased/1.1" xmlns:setvaluesadvice="http://www.eclipse.org/papyrus/emf/types/setvaluesadvice/1.1" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="org.eclipse.papyrus.infra.types.tests.tests" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML" name="Test element types" xmi:id="_ScP1oFYCEeS0WsAAtVmToA" xmi:version="2.0">
+ <elementTypeConfigurations description="" hint="ElementTypes" identifier="org.eclipse.papyrus.infra.types.tests.specificcomponent" name="Component in specific package only" xmi:id="_JIwuQLg9EeS0cu6lbJ9jDQ" xsi:type="rulebased:RuleBasedTypeConfiguration">
+ <iconEntry bundleId="org.eclipse.ui" iconPath="icons/full/obj16/add_obj.gif" xmi:id="_FW5wwLg-EeS0cu6lbJ9jDQ"/>
+ <specializedTypesID>org.eclipse.papyrus.uml.Component</specializedTypesID>
+ <ruleConfiguration xmi:id="_N9YeYLg-EeS0cu6lbJ9jDQ" xsi:type="invariantcontainerrule:InvariantContainerRuleConfiguration">
+ <permissions containerType="org.eclipse.papyrus.uml.Package" xmi:id="_Ow-egLg-EeS0cu6lbJ9jDQ"/>
+ <permissions containerType="org.eclipse.papyrus.infra.types.tests.packagewithcomponentsonly" permitted="true" strict="true" xmi:id="_QsZCULg-EeS0cu6lbJ9jDQ"/>
+ </ruleConfiguration>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations description="Package that can contain only components" hint="ElementTypes" identifier="org.eclipse.papyrus.infra.types.tests.packagewithcomponentsonly" name="PackageWithComponentsOnly" xmi:id="_Zn1TULg-EeS0cu6lbJ9jDQ" xsi:type="rulebased:RuleBasedTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.uml.Package</specializedTypesID>
+ <ruleConfiguration requiredProfile="" stereotypeQualifiedName="ElementTypesTestsProfile::PackageWithComponents" xmi:id="_mzVEQLg-EeS0cu6lbJ9jDQ" xsi:type="invariantstereotyperule:InvariantStereotypeRuleConfiguration"/>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations description="Semantic element type to create abstract classes" hint="Abstract Class Creation Action" identifier="org.eclipse.papyrus.infra.types.tests.aspectabstractclass" name="Abstract Class Creation Action" xmi:id="_mhW74My1EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_qI4JwNLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.types.tests.classSimpleStereotype" name="Class With Stereotype" xmi:id="_CSBmcMy2EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_8kqIkNLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.types.tests.classSimpleStereotypeRename" name="Package With Stereotype And Renamed" xmi:id="_5vXW8My3EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_8yABANLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.types.tests.classSimpleStereotypeSetValues" name="Package With Stereotype And Renamed" xmi:id="_HT1okMy4EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.uml.Class</specializedTypesID>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_8-EHENLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
+ </elementTypeConfigurations>
+ <elementTypeConfigurations description="Test elementTypeConfigurations" hint="ElementElementTypeConfigurations" identifier="org.eclipse.papyrus.infra.types.tests.abstractclassSimpleStereotype" name="Package With Stereotype And Renamed" xmi:id="_mrg2EMy4EeS2aYvfnAB4ZA" xsi:type="elementtypesconfigurations:SpecializationTypeConfiguration">
+ <specializedTypesID>org.eclipse.papyrus.infra.types.tests.aspectabstractclass</specializedTypesID>
+ <matcherConfiguration matcherClassName="org.eclipse.gmf.runtime.emf.type.core.NullElementMatcher" xmi:id="_9KgAkNLXEeSAkKOodzTEYg" xsi:type="elementtypesconfigurations:MatcherConfiguration"/>
+ </elementTypeConfigurations>
+ <adviceBindingsConfigurations description="Aspect Semantic element type to create abstract classes" identifier="org.eclipse.papyrus.infra.types.tests.aspectabstractclass.advice" target="_mhW74My1EeS2aYvfnAB4ZA" xmi:id="_6Zq8QLg_EeS0cu6lbJ9jDQ" xsi:type="setvaluesadvice:SetValuesAdviceConfiguration">
+ <featuresToSet featureName="isAbstract" xmi:id="_7FIUELg_EeS0cu6lbJ9jDQ">
+ <value xmi:id="_-d4_oLg_EeS0cu6lbJ9jDQ" xsi:type="setvaluesadvice:ConstantValue">
+ <valueInstance value="true" xmi:id="__mUnULg_EeS0cu6lbJ9jDQ" xsi:type="uml:LiteralBoolean"/>
+ </value>
+ </featuresToSet>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.types.tests.classSimpleStereotype.advice" target="_CSBmcMy2EeS2aYvfnAB4ZA" xmi:id="_NEmxYLhAEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet" xmi:id="_PuEG8LhAEeS0cu6lbJ9jDQ">
+ <requiredProfiles>ElementTypesTestProfile</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.types.tests.classSimpleStereotypeRename.advice" target="_5vXW8My3EeS2aYvfnAB4ZA" xmi:id="_Z3bfkMy4EeS2aYvfnAB4ZA" xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet" updateName="true" xmi:id="_Z3bfkcy4EeS2aYvfnAB4ZA">
+ <requiredProfiles>ElementTypesTestProfile</requiredProfiles>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.types.tests.classSimpleStereotypeSetValues.advice" target="_HT1okMy4EeS2aYvfnAB4ZA" xmi:id="_havkELhAEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeaturesToSet" updateName="true" xmi:id="_vA53wLhAEeS0cu6lbJ9jDQ">
+ <requiredProfiles>ElementTypesTestsProfile</requiredProfiles>
+ <featuresToSet featureName="stringFeature" xmi:id="__E3qoLhAEeS0cu6lbJ9jDQ">
+ <value xmi:id="_DFSzILhBEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance value="MyStringValue" xmi:id="_MDKGALhBEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralString"/>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="value" xmi:id="_A8odgLhBEeS0cu6lbJ9jDQ">
+ <value xmi:id="_Eb_gULhBEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance value="3" xmi:id="_Gt4qcLhBEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralInteger"/>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="boolean" xmi:id="_BSTykLhBEeS0cu6lbJ9jDQ">
+ <value xmi:id="_ExAHALhBEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance value="true" xmi:id="_QFRQkLhBEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralBoolean"/>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="enumeration" xmi:id="_Bm_pILhBEeS0cu6lbJ9jDQ">
+ <value xmi:id="_FFqIYLhBEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance xmi:id="_VToy4LhBEeS0cu6lbJ9jDQ" xsi:type="uml:InstanceValue">
+ <instance href="ElementTypesTestsProfile.profile.uml#_T4hRALhHEeS0cu6lbJ9jDQ"/>
+ </valueInstance>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="multiStrings" xmi:id="_B7jj4LhBEeS0cu6lbJ9jDQ">
+ <value xmi:id="_rQRXYLhDEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ListValue"/>
+ </featuresToSet>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations identifier="org.eclipse.papyrus.infra.types.tests.abstractclassSimpleStereotype.advice" target="_mrg2EMy4EeS2aYvfnAB4ZA" xmi:id="_ls9AILhAEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ApplyStereotypeAdviceConfiguration">
+ <stereotypesToApply stereotypeQualifiedName="ElementTypesTestsProfile::StereotypeWithFeatureToSet" xmi:id="_u0-NMLhDEeS0cu6lbJ9jDQ">
+ <requiredProfiles>ElementTypesTestsProfile</requiredProfiles>
+ <featuresToSet featureName="stringFeature" xmi:id="_6XspgLhDEeS0cu6lbJ9jDQ">
+ <value xmi:id="_7YVAELhDEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance name="" value="MyOtherValue" xmi:id="_-BmvcLhDEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralString"/>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="value" xmi:id="_Bj7msLhEEeS0cu6lbJ9jDQ">
+ <value xmi:id="_Dd4x8LhEEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance value="18" xmi:id="_HdrBQLhEEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralInteger"/>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="boolean" xmi:id="_CKkv8LhEEeS0cu6lbJ9jDQ">
+ <value xmi:id="_It5TALhEEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance value="true" xmi:id="_JxtgcLhEEeS0cu6lbJ9jDQ" xsi:type="uml:LiteralBoolean"/>
+ </value>
+ </featuresToSet>
+ <featuresToSet featureName="enumeration" xmi:id="_CqCTILhEEeS0cu6lbJ9jDQ">
+ <value xmi:id="_LYi7YLhEEeS0cu6lbJ9jDQ" xsi:type="applystereotypeadvice:ConstantValue">
+ <valueInstance name="" xmi:id="_NPf18LhEEeS0cu6lbJ9jDQ" xsi:type="uml:InstanceValue">
+ <instance href="ElementTypesTestsProfile.profile.uml#_T4hRALhHEeS0cu6lbJ9jDQ"/>
+ </valueInstance>
+ </value>
+ </featuresToSet>
+ </stereotypesToApply>
+ </adviceBindingsConfigurations>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file
diff --git a/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/model.di b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/model.di
new file mode 100644
index 00000000000..bf9abab340f
--- /dev/null
+++ b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/model.di
@@ -0,0 +1,2 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI"/>
diff --git a/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/model.notation b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/model.notation
new file mode 100644
index 00000000000..71ff069b40f
--- /dev/null
+++ b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/model.notation
@@ -0,0 +1,220 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<notation:Diagram xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:style="http://www.eclipse.org/papyrus/infra/viewpoints/policy/style" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_FXBxsLjwEeS4eYQIptruBA" type="PapyrusUMLClassDiagram" name="ClassDiagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_JXbFALjwEeS4eYQIptruBA" type="2007">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_qA_7ELj3EeS4eYQIptruBA" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rTbMQLj3EeS4eYQIptruBA" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rTbMQbj3EeS4eYQIptruBA" key="StereotypeList" value="ElementTypesTestsProfile::PackageWithComponents"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rTbMQrj3EeS4eYQIptruBA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rTbMQ7j3EeS4eYQIptruBA" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_rTbMRLj3EeS4eYQIptruBA" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_JXcTILjwEeS4eYQIptruBA" type="5026"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_JXcTIbjwEeS4eYQIptruBA" type="7016">
+ <children xmi:type="notation:Shape" xmi:id="_QSA4kLjwEeS4eYQIptruBA" type="3021">
+ <children xmi:type="notation:DecorationNode" xmi:id="_QSA4krjwEeS4eYQIptruBA" type="5043"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_QSA4k7jwEeS4eYQIptruBA" type="8513">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_QSA4lLjwEeS4eYQIptruBA" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_QSBfoLjwEeS4eYQIptruBA" type="7023">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_QSBfobjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_QSBforjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_QSBfo7jwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QSBfpLjwEeS4eYQIptruBA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_QSBfpbjwEeS4eYQIptruBA" type="7024">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_QSBfprjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_QSBfp7jwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_QSBfqLjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QSBfqbjwEeS4eYQIptruBA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_QSBfqrjwEeS4eYQIptruBA" type="7025">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_QSBfq7jwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_QSBfrLjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_QSBfrbjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QSBfrrjwEeS4eYQIptruBA"/>
+ </children>
+ <element xmi:type="uml:Component" href="model.uml#_QR8nILjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QSA4kbjwEeS4eYQIptruBA" x="35" y="25"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_RJWwQLjwEeS4eYQIptruBA" type="3021">
+ <children xmi:type="notation:DecorationNode" xmi:id="_RJWwQrjwEeS4eYQIptruBA" type="5043"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_RJWwQ7jwEeS4eYQIptruBA" type="8513">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_RJWwRLjwEeS4eYQIptruBA" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_RJWwRbjwEeS4eYQIptruBA" type="7023">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_RJWwRrjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_RJWwR7jwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_RJWwSLjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RJWwSbjwEeS4eYQIptruBA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_RJWwSrjwEeS4eYQIptruBA" type="7024">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_RJWwS7jwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_RJWwTLjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_RJWwTbjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RJWwTrjwEeS4eYQIptruBA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_RJWwT7jwEeS4eYQIptruBA" type="7025">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_RJWwULjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_RJWwUbjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_RJWwUrjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RJWwU7jwEeS4eYQIptruBA"/>
+ </children>
+ <element xmi:type="uml:Component" href="model.uml#_RJViILjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_RJWwQbjwEeS4eYQIptruBA" x="220" y="23"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_JXcTIrjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JXcTI7jwEeS4eYQIptruBA"/>
+ </children>
+ <element xmi:type="uml:Package" href="model.uml#_JXFt0LjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_JXbFAbjwEeS4eYQIptruBA" x="82" y="52" width="370" height="222"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_L5qYQLjwEeS4eYQIptruBA" type="2007">
+ <children xmi:type="notation:DecorationNode" xmi:id="_L5qYQrjwEeS4eYQIptruBA" type="5026"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_L5qYQ7jwEeS4eYQIptruBA" type="7016">
+ <children xmi:type="notation:Shape" xmi:id="_VvnJsLjwEeS4eYQIptruBA" type="3010">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_v5qXkLj3EeS4eYQIptruBA" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_v5qXkbj3EeS4eYQIptruBA" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_v5qXkrj3EeS4eYQIptruBA" key="StereotypeList" value="ElementTypesTestsProfile::StereotypeWithFeaturesToSet"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_v5q-oLj3EeS4eYQIptruBA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_v5q-obj3EeS4eYQIptruBA" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_v5q-orj3EeS4eYQIptruBA" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_VvnwwLjwEeS4eYQIptruBA" type="5014"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_VvnwwbjwEeS4eYQIptruBA" type="8518">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_VvnwwrjwEeS4eYQIptruBA" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_Vvnww7jwEeS4eYQIptruBA" type="7011">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_VvnwxLjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_VvnwxbjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_VvnwxrjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Vvnwx7jwEeS4eYQIptruBA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_VvnwyLjwEeS4eYQIptruBA" type="7012">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_VvnwybjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_VvnwyrjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_Vvnwy7jwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VvnwzLjwEeS4eYQIptruBA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_VvnwzbjwEeS4eYQIptruBA" type="7013">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_VvnwzrjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_Vvnwz7jwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_Vvnw0LjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_Vvnw0bjwEeS4eYQIptruBA"/>
+ </children>
+ <element xmi:type="uml:Class" href="model.uml#_VvcKkLjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_VvnJsbjwEeS4eYQIptruBA" x="59" y="15"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_cLHNgLjwEeS4eYQIptruBA" type="3010">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_wvGx0Lj3EeS4eYQIptruBA" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_wvGx0bj3EeS4eYQIptruBA" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_wvGx0rj3EeS4eYQIptruBA" key="StereotypeList" value="ElementTypesTestsProfile::StereotypeWithFeaturesToSet"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_wvGx07j3EeS4eYQIptruBA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_wvGx1Lj3EeS4eYQIptruBA" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_wvGx1bj3EeS4eYQIptruBA" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_cLHNgrjwEeS4eYQIptruBA" type="5014"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_cLHNg7jwEeS4eYQIptruBA" type="8518">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_cLHNhLjwEeS4eYQIptruBA" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_cLHNhbjwEeS4eYQIptruBA" type="7011">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_cLHNhrjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_cLHNh7jwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_cLHNiLjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cLHNibjwEeS4eYQIptruBA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_cLH0kLjwEeS4eYQIptruBA" type="7012">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_cLH0kbjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_cLH0krjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_cLH0k7jwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cLH0lLjwEeS4eYQIptruBA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_cLH0lbjwEeS4eYQIptruBA" type="7013">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_cLH0lrjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_cLH0l7jwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_cLH0mLjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cLH0mbjwEeS4eYQIptruBA"/>
+ </children>
+ <element xmi:type="uml:Class" href="model.uml#_cLF_YLjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_cLHNgbjwEeS4eYQIptruBA" x="291" y="66"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_L5qYRLjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_L5qYRbjwEeS4eYQIptruBA"/>
+ </children>
+ <element xmi:type="uml:Package" href="model.uml#_L5pKILjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_L5qYQbjwEeS4eYQIptruBA" x="525" y="59" width="748" height="278"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_N1Cf0LjwEeS4eYQIptruBA" type="2007">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_o_mvgLj3EeS4eYQIptruBA" source="Stereotype_Annotation">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_o_mvgbj3EeS4eYQIptruBA" key="StereotypeWithQualifiedNameList" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_o_mvgrj3EeS4eYQIptruBA" key="StereotypeList" value="ElementTypesTestsProfile::PackageWithComponents"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_o_mvg7j3EeS4eYQIptruBA" key="Stereotype_Presentation_Kind" value="HorizontalStereo"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_o_mvhLj3EeS4eYQIptruBA" key="PropStereoDisplay" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_o_mvhbj3EeS4eYQIptruBA" key="StereotypePropertyLocation" value="Compartment"/>
+ </eAnnotations>
+ <children xmi:type="notation:DecorationNode" xmi:id="_N1DG4LjwEeS4eYQIptruBA" type="5026"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_N1DG4bjwEeS4eYQIptruBA" type="7016">
+ <children xmi:type="notation:Shape" xmi:id="_et_Z8LjwEeS4eYQIptruBA" type="3021">
+ <children xmi:type="notation:DecorationNode" xmi:id="_euABALjwEeS4eYQIptruBA" type="5043"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_euABAbjwEeS4eYQIptruBA" type="8513">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_euABArjwEeS4eYQIptruBA" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_euABA7jwEeS4eYQIptruBA" type="7023">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_euABBLjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_euABBbjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_euABBrjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_euABB7jwEeS4eYQIptruBA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_euABCLjwEeS4eYQIptruBA" type="7024">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_euABCbjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_euABCrjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_euABC7jwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_euABDLjwEeS4eYQIptruBA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_euABDbjwEeS4eYQIptruBA" type="7025">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_euABDrjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_euABD7jwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_euABELjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_euABEbjwEeS4eYQIptruBA"/>
+ </children>
+ <element xmi:type="uml:Component" href="model.uml#_et-y4LjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_et_Z8bjwEeS4eYQIptruBA" x="31" y="21"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_fHYKULjwEeS4eYQIptruBA" type="3021">
+ <children xmi:type="notation:DecorationNode" xmi:id="_fHYKUrjwEeS4eYQIptruBA" type="5043"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_fHYKU7jwEeS4eYQIptruBA" type="8513">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_fHYKVLjwEeS4eYQIptruBA" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_fHYKVbjwEeS4eYQIptruBA" type="7023">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_fHYKVrjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_fHYKV7jwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_fHYKWLjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fHYKWbjwEeS4eYQIptruBA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_fHYKWrjwEeS4eYQIptruBA" type="7024">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_fHYKW7jwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_fHYKXLjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_fHYKXbjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fHYKXrjwEeS4eYQIptruBA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_fHYKX7jwEeS4eYQIptruBA" type="7025">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_fHYKYLjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_fHYKYbjwEeS4eYQIptruBA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_fHYKYrjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fHYKY7jwEeS4eYQIptruBA"/>
+ </children>
+ <element xmi:type="uml:Component" href="model.uml#_fHW8MLjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_fHYKUbjwEeS4eYQIptruBA" x="150" y="41"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_N1DG4rjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_N1DG47jwEeS4eYQIptruBA"/>
+ </children>
+ <element xmi:type="uml:Package" href="model.uml#_N0_cgLjwEeS4eYQIptruBA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_N1Cf0bjwEeS4eYQIptruBA" x="310" y="340" width="417" height="206"/>
+ </children>
+ <styles xmi:type="notation:StringValueStyle" xmi:id="_FXBxsbjwEeS4eYQIptruBA" name="diagram_compatibility_version" stringValue="1.0.0"/>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_FXBxsrjwEeS4eYQIptruBA"/>
+ <styles xmi:type="style:PapyrusViewStyle" xmi:id="_FXBxs7jwEeS4eYQIptruBA">
+ <owner xmi:type="uml:Model" href="model.uml#_FUbJoLjwEeS4eYQIptruBA"/>
+ </styles>
+ <element xmi:type="uml:Model" href="model.uml#_FUbJoLjwEeS4eYQIptruBA"/>
+</notation:Diagram>
diff --git a/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/model.uml b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/model.uml
new file mode 100644
index 00000000000..020393cf651
--- /dev/null
+++ b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/model.uml
@@ -0,0 +1,38 @@
+<?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:ElementTypesTestsProfile="http:///schemas/ElementTypesTestsProfile/_cthS0Lj3EeS4eYQIptruBA/4" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xsi:schemaLocation="http:///schemas/ElementTypesTestsProfile/_cthS0Lj3EeS4eYQIptruBA/4 ElementTypesTestsProfile.profile.uml#_ctjvELj3EeS4eYQIptruBA">
+ <uml:Model xmi:id="_FUbJoLjwEeS4eYQIptruBA" name="Model">
+ <packageImport xmi:type="uml:PackageImport" xmi:id="_FUbJobjwEeS4eYQIptruBA">
+ <importedPackage xmi:type="uml:Model" href="pathmap://UML_LIBRARIES/UMLPrimitiveTypes.library.uml#_0"/>
+ </packageImport>
+ <packagedElement xmi:type="uml:Package" xmi:id="_JXFt0LjwEeS4eYQIptruBA" name="PackageWithComponents">
+ <packagedElement xmi:type="uml:Component" xmi:id="_QR8nILjwEeS4eYQIptruBA" name="Component1"/>
+ <packagedElement xmi:type="uml:Component" xmi:id="_RJViILjwEeS4eYQIptruBA" name="Component2"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Package" xmi:id="_L5pKILjwEeS4eYQIptruBA" name="PackageWithAllElements">
+ <packagedElement xmi:type="uml:Class" xmi:id="_VvcKkLjwEeS4eYQIptruBA" name="Class"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_cLF_YLjwEeS4eYQIptruBA" name="StereotypeWithFeaturesToSetClass1"/>
+ <packagedElement xmi:type="uml:Component" xmi:id="_n7iHkLjwEeS4eYQIptruBA" name="Component1"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Package" xmi:id="_N0_cgLjwEeS4eYQIptruBA" name="OtherPackageWithComponents">
+ <packagedElement xmi:type="uml:Component" xmi:id="_et-y4LjwEeS4eYQIptruBA" name="Component1"/>
+ <packagedElement xmi:type="uml:Component" xmi:id="_fHW8MLjwEeS4eYQIptruBA" name="Component"/>
+ </packagedElement>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_hUQ0cLj3EeS4eYQIptruBA">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hVGh8bj3EeS4eYQIptruBA" source="PapyrusVersion">
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hVGh8rj3EeS4eYQIptruBA" key="Version" value="0.0.5"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hVHJALj3EeS4eYQIptruBA" key="Comment" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hVHJAbj3EeS4eYQIptruBA" key="Copyright" value=""/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hVHJArj3EeS4eYQIptruBA" key="Date" value="2015-02-20"/>
+ <details xmi:type="ecore:EStringToStringMapEntry" xmi:id="_hVHJA7j3EeS4eYQIptruBA" key="Author" value=""/>
+ </eAnnotations>
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_hVGh8Lj3EeS4eYQIptruBA" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="ElementTypesTestsProfile.profile.uml#_ctjvELj3EeS4eYQIptruBA"/>
+ </eAnnotations>
+ <appliedProfile xmi:type="uml:Profile" href="ElementTypesTestsProfile.profile.uml#_fYQgMLhGEeS0cu6lbJ9jDQ"/>
+ </profileApplication>
+ </uml:Model>
+ <ElementTypesTestsProfile:PackageWithComponents xmi:id="_o_kTQLj3EeS4eYQIptruBA" base_Element="_N0_cgLjwEeS4eYQIptruBA"/>
+ <ElementTypesTestsProfile:PackageWithComponents xmi:id="_rTZXELj3EeS4eYQIptruBA" base_Element="_JXFt0LjwEeS4eYQIptruBA"/>
+ <ElementTypesTestsProfile:StereotypeWithFeaturesToSet xmi:id="_v5nUQLj3EeS4eYQIptruBA" base_Element="_VvcKkLjwEeS4eYQIptruBA"/>
+ <ElementTypesTestsProfile:StereotypeWithFeaturesToSet xmi:id="_wvE8oLj3EeS4eYQIptruBA" base_Element="_cLF_YLjwEeS4eYQIptruBA"/>
+</xmi:XMI>
diff --git a/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/validAdvicesOrder.elementtypesconfigurations b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/validAdvicesOrder.elementtypesconfigurations
new file mode 100644
index 00000000000..0a40140a8d6
--- /dev/null
+++ b/tests/junit/plugins/infra/types/org.eclipse.papyrus.infra.types.tests/model/validAdvicesOrder.elementtypesconfigurations
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="ASCII" standalone="no"?><elementtypesconfigurations:ElementTypeSetConfiguration xmlns:elementtypesconfigurations="http://www.eclipse.org/papyrus/infra/elementtypesconfigurations/1.1" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" identifier="org.eclipse.papyrus.infra.types.tests.validAdvices.elementtypesconfigurations" metamodelNsURI="http://www.eclipse.org/uml2/5.0.0/UML" name="Test cyclic edvices dependencies" xmi:id="_ScP1oFYCEeS0WsAAtVmToA" xmi:version="2.0">
+ <adviceBindingsConfigurations editHelperAdviceClassName="org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice1" identifier="TestEditHelperAdvice1" xmi:id="_SGAo4LK-EeWUIbTgfwAP3g" xsi:type="elementtypesconfigurations:AdviceBindingConfiguration">
+ <before>org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice2</before>
+ <target href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations editHelperAdviceClassName="org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice2" identifier="TestEditHelperAdvice2" xmi:id="_nSyIoLK-EeWUIbTgfwAP3g" xsi:type="elementtypesconfigurations:AdviceBindingConfiguration">
+ <before>org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice3</before>
+ <after>org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice1</after>
+ <target href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/>
+ </adviceBindingsConfigurations>
+ <adviceBindingsConfigurations editHelperAdviceClassName="org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice3" identifier="TestEditHelperAdvice3" xmi:id="_ojuzILK-EeWUIbTgfwAP3g" xsi:type="elementtypesconfigurations:AdviceBindingConfiguration">
+ <after>org.eclipse.papyrus.infra.types.tests.TestEditHelperAdvice2</after>
+ <target href="../../../plugin/org.eclipse.papyrus.uml.service.types/model/uml.elementtypesconfigurations#_Sca0wVYCEeS0WsAAtVmToA" xsi:type="elementtypesconfigurations:MetamodelTypeConfiguration"/>
+ </adviceBindingsConfigurations>
+</elementtypesconfigurations:ElementTypeSetConfiguration> \ No newline at end of file

Back to the top