Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptessier2013-04-02 10:46:40 -0400
committerptessier2013-04-02 10:46:40 -0400
commite3354c77dd6e479bf8d431227b061529214d8bf2 (patch)
tree85d8de7c8e0c7f78254fa28c65e093300ead264e /tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/validation/model.uml
parent04bcc891505d54b20a669bc671ad838a364c2b66 (diff)
downloadorg.eclipse.papyrus-e3354c77dd6e479bf8d431227b061529214d8bf2.tar.gz
org.eclipse.papyrus-e3354c77dd6e479bf8d431227b061529214d8bf2.tar.xz
org.eclipse.papyrus-e3354c77dd6e479bf8d431227b061529214d8bf2.zip
399255: [OCL for Papyrus]The validation options for a UML Class Diagram should show the Constraints contributed by Stereotypes
https://bugs.eclipse.org/bugs/show_bug.cgi?id=399255
Diffstat (limited to 'tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/validation/model.uml')
-rw-r--r--tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/validation/model.uml13
1 files changed, 7 insertions, 6 deletions
diff --git a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/validation/model.uml b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/validation/model.uml
index 0b59bea6983..44b8d030214 100644
--- a/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/validation/model.uml
+++ b/tests/recipes/plugins/uml/org.eclipse.papyrus.uml.ocl.recipetest/models/validation/model.uml
@@ -1,16 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
-<xmi:XMI xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:EditConstraintOnPropertyOfStereotype="http:///schemas/EditConstraintOnPropertyOfStereotype/_-67nAG-6EeK5cr7NUZ6onQ/0" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/EditConstraintOnPropertyOfStereotype/_-67nAG-6EeK5cr7NUZ6onQ/0 ../profileEdition/EditConstraintOnPropertyofSterotype.profile.uml#_-67nAm-6EeK5cr7NUZ6onQ">
+<xmi:XMI xmi:version="20110701" xmlns:xmi="http://www.omg.org/spec/XMI/20110701" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:EditConstraintOnPropertyOfStereotype="http:///schemas/EditConstraintOnPropertyOfStereotype/_-67nAG-6EeK5cr7NUZ6onQ/0" xmlns:EditConstraintOnPropertyOfStereotype_1="http:///schemas/EditConstraintOnPropertyOfStereotype/_KiQ3gJuiEeK-8bwrpj4Hxg/1" xmlns:ecore="http://www.eclipse.org/emf/2002/Ecore" xmlns:uml="http://www.eclipse.org/uml2/4.0.0/UML" xsi:schemaLocation="http:///schemas/EditConstraintOnPropertyOfStereotype/_-67nAG-6EeK5cr7NUZ6onQ/0 ../profileEdition/EditConstraintOnPropertyofSterotype.profile.uml#_-67nAm-6EeK5cr7NUZ6onQ http:///schemas/EditConstraintOnPropertyOfStereotype/_KiQ3gJuiEeK-8bwrpj4Hxg/1 ../profileEdition/EditConstraintOnPropertyofSterotype.profile.uml#_KiQ3gZuiEeK-8bwrpj4Hxg">
<uml:Model xmi:id="_Inyb8G-9EeKko_sFXbAb-Q" name="model">
- <ownedComment xmi:id="_kt05kG-9EeKko_sFXbAb-Q">
+ <ownedComment xmi:type="uml:Comment" xmi:id="_kt05kG-9EeKko_sFXbAb-Q">
<body>Normally this model is not valid, beacause the property of applied sterotype is lower than 10 (constraint defined in the applied profile)</body>
</ownedComment>
<packagedElement xmi:type="uml:Class" xmi:id="_OrBJsG-9EeKko_sFXbAb-Q" name="Class1"/>
- <profileApplication xmi:id="_NITZwG-9EeKko_sFXbAb-Q">
- <eAnnotations xmi:id="_NIV2AG-9EeKko_sFXbAb-Q" source="http://www.eclipse.org/uml2/2.0.0/UML">
- <references xmi:type="ecore:EPackage" href="../profileEdition/EditConstraintOnPropertyofSterotype.profile.uml#_-67nAm-6EeK5cr7NUZ6onQ"/>
+ <profileApplication xmi:type="uml:ProfileApplication" xmi:id="_NITZwG-9EeKko_sFXbAb-Q">
+ <eAnnotations xmi:type="ecore:EAnnotation" xmi:id="_NIV2AG-9EeKko_sFXbAb-Q" source="http://www.eclipse.org/uml2/2.0.0/UML">
+ <references xmi:type="ecore:EPackage" href="../profileEdition/EditConstraintOnPropertyofSterotype.profile.uml#_KiQ3gZuiEeK-8bwrpj4Hxg"/>
</eAnnotations>
- <appliedProfile href="../profileEdition/EditConstraintOnPropertyofSterotype.profile.uml#_929swG-zEeK5cr7NUZ6onQ"/>
+ <appliedProfile xmi:type="uml:Profile" href="../profileEdition/EditConstraintOnPropertyofSterotype.profile.uml#_929swG-zEeK5cr7NUZ6onQ"/>
</profileApplication>
</uml:Model>
<EditConstraintOnPropertyOfStereotype:Stereotype1 xmi:id="_P4UqUG-9EeKko_sFXbAb-Q" Property1="5" base_NamedElement="_OrBJsG-9EeKko_sFXbAb-Q"/>
+ <EditConstraintOnPropertyOfStereotype_1:Stereotype1 xmi:id="_TmLIAJuiEeK-8bwrpj4Hxg" Property1="5" base_NamedElement="_OrBJsG-9EeKko_sFXbAb-Q"/>
</xmi:XMI>

Back to the top