Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCamille Letavernier2015-05-20 10:53:43 -0400
committerCamille Letavernier2015-05-20 11:00:26 -0400
commitcc053e402480989a5929a980722f2baa4b82a99a (patch)
tree00fe5eaf9e357fa09f4fcdccba0bdc04180bb6db /tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources
parent46c87bab0d9b747cccbdaededf9458443af3a047 (diff)
downloadorg.eclipse.papyrus-cc053e402480989a5929a980722f2baa4b82a99a.tar.gz
org.eclipse.papyrus-cc053e402480989a5929a980722f2baa4b82a99a.tar.xz
org.eclipse.papyrus-cc053e402480989a5929a980722f2baa4b82a99a.zip
467716: [CSS] Unnamed references and null references can't be
distinguished https://bugs.eclipse.org/bugs/show_bug.cgi?id=467716 Change-Id: I9fc6ff9abf4732ddc6cba3ff6ca6ef594990d19a Signed-off-by: Camille Letavernier <camille.letavernier@cea.fr>
Diffstat (limited to 'tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources')
-rw-r--r--tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources/model/namedElementsTest/model.di2
-rw-r--r--tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources/model/namedElementsTest/model.notation194
-rw-r--r--tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources/model/namedElementsTest/model.uml30
3 files changed, 226 insertions, 0 deletions
diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources/model/namedElementsTest/model.di b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources/model/namedElementsTest/model.di
new file mode 100644
index 00000000000..8634d4c00e0
--- /dev/null
+++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources/model/namedElementsTest/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/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources/model/namedElementsTest/model.notation b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources/model/namedElementsTest/model.notation
new file mode 100644
index 00000000000..0bd30352cd8
--- /dev/null
+++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources/model/namedElementsTest/model.notation
@@ -0,0 +1,194 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xmi:XMI xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:css="http://www.eclipse.org/papyrus/infra/gmfdiag/css" 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="_bzQ40P76EeSxqMY0na5WMQ" type="PapyrusUMLClassDiagram" name="Class Diagram" measurementUnit="Pixel">
+ <children xmi:type="notation:Shape" xmi:id="_QVnUUP77EeSStPeINaOwzA" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_QV7dYP77EeSStPeINaOwzA" type="5029"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_QV7dYf77EeSStPeINaOwzA" type="8510">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_QV7dYv77EeSStPeINaOwzA" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_QV7dY_77EeSStPeINaOwzA" type="7017">
+ <children xmi:type="notation:Shape" xmi:id="_hxeHMP77EeSStPeINaOwzA" type="3012">
+ <element xmi:type="uml:Property" href="model.uml#_hxLMQP77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_hxeHMf77EeSStPeINaOwzA"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_i3vywP77EeSStPeINaOwzA" type="3012">
+ <element xmi:type="uml:Property" href="model.uml#_i3mBwP77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_i3vywf77EeSStPeINaOwzA"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_jiy64P77EeSStPeINaOwzA" type="3012">
+ <element xmi:type="uml:Property" href="model.uml#_jiyT0P77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_jiy64f77EeSStPeINaOwzA"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_uff5AP77EeSStPeINaOwzA" type="3012">
+ <element xmi:type="uml:Property" href="model.uml#_ufWvEP77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_uff5Af77EeSStPeINaOwzA"/>
+ </children>
+ <styles xmi:type="notation:TitleStyle" xmi:id="_QV7dZP77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_QV7dZf77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_QV7dZv77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QV7dZ_77EeSStPeINaOwzA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_QV7daP77EeSStPeINaOwzA" type="7018">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_QV7daf77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_QV7dav77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_QV7da_77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QV7dbP77EeSStPeINaOwzA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_QV7dbf77EeSStPeINaOwzA" type="7019">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_QV7dbv77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_QV7db_77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_QV7dcP77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QV7dcf77EeSStPeINaOwzA"/>
+ </children>
+ <element xmi:type="uml:Class" href="model.uml#_QTkF4P77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_QVnUUf77EeSStPeINaOwzA" x="262" y="70"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_lXyGkP77EeSStPeINaOwzA" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_lXyGkv77EeSStPeINaOwzA" type="5029"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_lXyGk_77EeSStPeINaOwzA" type="8510">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_lXyGlP77EeSStPeINaOwzA" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_lXyGlf77EeSStPeINaOwzA" type="7017">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_lXyGlv77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_lXyGl_77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_lXyGmP77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lXyGmf77EeSStPeINaOwzA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_lXyGmv77EeSStPeINaOwzA" type="7018">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_lXyGm_77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_lXyGnP77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_lXyGnf77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lXyGnv77EeSStPeINaOwzA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_lXyGn_77EeSStPeINaOwzA" type="7019">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_lXyGoP77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_lXyGof77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_lXyGov77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lXyGo_77EeSStPeINaOwzA"/>
+ </children>
+ <element xmi:type="uml:Class" href="model.uml#_lXoVkP77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lXyGkf77EeSStPeINaOwzA" x="711" y="70"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_lkV74f77EeSStPeINaOwzA" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_lkV74_77EeSStPeINaOwzA" type="5029"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_lkWi8P77EeSStPeINaOwzA" type="8510">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_lkWi8f77EeSStPeINaOwzA" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_lkWi8v77EeSStPeINaOwzA" type="7017">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_lkWi8_77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_lkWi9P77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_lkWi9f77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lkWi9v77EeSStPeINaOwzA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_lkWi9_77EeSStPeINaOwzA" type="7018">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_lkWi-P77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_lkWi-f77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_lkWi-v77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lkWi-_77EeSStPeINaOwzA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_lkWi_P77EeSStPeINaOwzA" type="7019">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_lkWi_f77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_lkWi_v77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_lkWi__77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lkWjAP77EeSStPeINaOwzA"/>
+ </children>
+ <element xmi:type="uml:Class" href="model.uml#_lkV74P77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_lkV74v77EeSStPeINaOwzA" x="711" y="208"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_xZT-wf77EeSStPeINaOwzA" type="2008">
+ <children xmi:type="notation:DecorationNode" xmi:id="_xZT-w_77EeSStPeINaOwzA" type="5029"/>
+ <children xmi:type="notation:DecorationNode" xmi:id="_xZT-xP77EeSStPeINaOwzA" type="8510">
+ <layoutConstraint xmi:type="notation:Location" xmi:id="_xZT-xf77EeSStPeINaOwzA" y="5"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_xZT-xv77EeSStPeINaOwzA" type="7017">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_xZT-x_77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_xZT-yP77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_xZT-yf77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xZT-yv77EeSStPeINaOwzA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_xZT-y_77EeSStPeINaOwzA" type="7018">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_xZT-zP77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_xZT-zf77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_xZT-zv77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xZT-z_77EeSStPeINaOwzA"/>
+ </children>
+ <children xmi:type="notation:BasicCompartment" xmi:id="_xZT-0P77EeSStPeINaOwzA" type="7019">
+ <styles xmi:type="notation:TitleStyle" xmi:id="_xZT-0f77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:SortingStyle" xmi:id="_xZT-0v77EeSStPeINaOwzA"/>
+ <styles xmi:type="notation:FilteringStyle" xmi:id="_xZT-0_77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xZT-1P77EeSStPeINaOwzA"/>
+ </children>
+ <element xmi:type="uml:Class" href="model.uml#_xZT-wP77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_xZT-wv77EeSStPeINaOwzA" x="711" y="349"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_9x2owP77EeSStPeINaOwzA" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_9x2owv77EeSStPeINaOwzA" type="5038"/>
+ <element xmi:type="uml:Comment" href="model.uml#_9xte0P77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_9x2owf77EeSStPeINaOwzA" x="888" y="236" height="22"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_-BeZIP77EeSStPeINaOwzA" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_-BeZIv77EeSStPeINaOwzA" type="5038"/>
+ <element xmi:type="uml:Comment" href="model.uml#_-BdyEP77EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_-BeZIf77EeSStPeINaOwzA" x="888" y="373" height="22"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_APMN4P78EeSStPeINaOwzA" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_APMN4v78EeSStPeINaOwzA" type="5038"/>
+ <element xmi:type="uml:Comment" href="model.uml#_APDD8P78EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_APMN4f78EeSStPeINaOwzA" x="888" y="97" height="22"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_FlpVMf78EeSStPeINaOwzA" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_FlzGMP78EeSStPeINaOwzA" type="5038"/>
+ <element xmi:type="uml:Comment" href="model.uml#_FlpVMP78EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_FlpVMv78EeSStPeINaOwzA" x="42" y="102"/>
+ </children>
+ <children xmi:type="notation:Shape" xmi:id="_N7EIAf78EeSStPeINaOwzA" type="2012">
+ <children xmi:type="notation:DecorationNode" xmi:id="_N7EIA_78EeSStPeINaOwzA" type="5038"/>
+ <element xmi:type="uml:Comment" href="model.uml#_N7EIAP78EeSStPeINaOwzA"/>
+ <layoutConstraint xmi:type="notation:Bounds" xmi:id="_N7EIAv78EeSStPeINaOwzA" x="60" y="236"/>
+ </children>
+ <styles xmi:type="notation:StringValueStyle" xmi:id="_bzQ40f76EeSxqMY0na5WMQ" name="diagram_compatibility_version" stringValue="1.1.0"/>
+ <styles xmi:type="notation:DiagramStyle" xmi:id="_bzQ40v76EeSxqMY0na5WMQ"/>
+ <styles xmi:type="style:PapyrusViewStyle" xmi:id="_bzQ40_76EeSxqMY0na5WMQ">
+ <owner xmi:type="uml:Model" href="model.uml#_bx7cEP76EeSxqMY0na5WMQ"/>
+ </styles>
+ <styles xmi:type="notation:EObjectListValueStyle" xmi:id="_3yJwIP77EeSStPeINaOwzA" name="css_stylesheets" eObjectListValue="_3yK-QP77EeSStPeINaOwzA"/>
+ <element xmi:type="uml:Model" href="model.uml#_bx7cEP76EeSxqMY0na5WMQ"/>
+ <edges xmi:type="notation:Connector" xmi:id="_DwbgAP78EeSStPeINaOwzA" type="4013" source="_APMN4P78EeSStPeINaOwzA" target="_lXyGkP77EeSStPeINaOwzA">
+ <styles xmi:type="notation:FontStyle" xmi:id="_DwbgAf78EeSStPeINaOwzA"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_DwbgAv78EeSStPeINaOwzA" points="[-70, 6, 135, -20]$[-198, -24, 7, -50]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DxCkAP78EeSStPeINaOwzA" id="(0.0,0.3333333333333333)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_DxCkAf78EeSStPeINaOwzA" id="(1.0,0.36)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_ELIfAP78EeSStPeINaOwzA" type="4013" source="_9x2owP77EeSStPeINaOwzA" target="_lkV74f77EeSStPeINaOwzA">
+ <styles xmi:type="notation:FontStyle" xmi:id="_ELIfAf78EeSStPeINaOwzA"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_ELIfAv78EeSStPeINaOwzA" points="[-50, 4, 128, -12]$[-228, 16, -50, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ELS3EP78EeSStPeINaOwzA" id="(0.0,0.6666666666666666)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_ELS3Ef78EeSStPeINaOwzA" id="(1.0,0.46)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_EbkHsP78EeSStPeINaOwzA" type="4013" source="_-BeZIP77EeSStPeINaOwzA" target="_xZT-wf77EeSStPeINaOwzA">
+ <styles xmi:type="notation:FontStyle" xmi:id="_EbkHsf78EeSStPeINaOwzA"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_EbkHsv78EeSStPeINaOwzA" points="[-50, 8, 127, -5]$[-127, 8, 50, -5]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ebt4sP78EeSStPeINaOwzA" id="(0.0,0.4444444444444444)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_Ebt4sf78EeSStPeINaOwzA" id="(1.0,0.42)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_F_rl0P78EeSStPeINaOwzA" type="4013" source="_FlpVMf78EeSStPeINaOwzA" target="_QVnUUP77EeSStPeINaOwzA">
+ <styles xmi:type="notation:FontStyle" xmi:id="_F_rl0f78EeSStPeINaOwzA"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_F_rl0v78EeSStPeINaOwzA" points="[37, 6, -162, 0]$[150, 0, -49, -6]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GAT38P78EeSStPeINaOwzA" id="(1.0,0.4444444444444444)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_GAT38f78EeSStPeINaOwzA" id="(0.0,0.4444444444444444)"/>
+ </edges>
+ <edges xmi:type="notation:Connector" xmi:id="_OSphkP78EeSStPeINaOwzA" type="4013" source="_N7EIAf78EeSStPeINaOwzA" target="_QVnUUP77EeSStPeINaOwzA">
+ <styles xmi:type="notation:FontStyle" xmi:id="_OSphkf78EeSStPeINaOwzA"/>
+ <element xsi:nil="true"/>
+ <bendpoints xmi:type="notation:RelativeBendpoints" xmi:id="_OSphkv78EeSStPeINaOwzA" points="[0, 0, -133, 53]$[133, 0, 0, 53]$[133, -53, 0, 0]"/>
+ <sourceAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OSz5oP78EeSStPeINaOwzA" id="(1.0,0.5166666666666667)"/>
+ <targetAnchor xmi:type="notation:IdentityAnchor" xmi:id="_OSz5of78EeSStPeINaOwzA" id="(0.16080402010050251,1.0)"/>
+ </edges>
+ </notation:Diagram>
+ <css:ModelStyleSheets xmi:id="_1QY-AP77EeSStPeINaOwzA"/>
+ <css:EmbeddedStyleSheet xmi:id="_3yK-QP77EeSStPeINaOwzA" label="" content="Property[type] {&#xD;&#xA;&#x9;bold: true;&#xD;&#xA;}&#xD;&#xA;&#xD;&#xA;[type=NamedClass]{&#xD;&#xA;&#x9;fontColor: red;&#x9;&#xD;&#xA;}&#xD;&#xA;"/>
+</xmi:XMI>
diff --git a/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources/model/namedElementsTest/model.uml b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources/model/namedElementsTest/model.uml
new file mode 100644
index 00000000000..fb950fbbc96
--- /dev/null
+++ b/tests/junit/plugins/infra/gmfdiag/org.eclipse.papyrus.infra.gmfdiag.css.tests/resources/model/namedElementsTest/model.uml
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<uml:Model xmi:version="20131001" xmlns:xmi="http://www.omg.org/spec/XMI/20131001" xmlns:uml="http://www.eclipse.org/uml2/5.0.0/UML" xmi:id="_bx7cEP76EeSxqMY0na5WMQ" name="RootElement">
+ <ownedComment xmi:type="uml:Comment" xmi:id="_9xte0P77EeSStPeINaOwzA" annotatedElement="_lkV74P77EeSStPeINaOwzA">
+ <body>name = null</body>
+ </ownedComment>
+ <ownedComment xmi:type="uml:Comment" xmi:id="_-BdyEP77EeSStPeINaOwzA" annotatedElement="_xZT-wP77EeSStPeINaOwzA">
+ <body>name = &quot;&quot;</body>
+ </ownedComment>
+ <ownedComment xmi:type="uml:Comment" xmi:id="_APDD8P78EeSStPeINaOwzA" annotatedElement="_lXoVkP77EeSStPeINaOwzA">
+ <body>name = &quot;NamedClass&quot;</body>
+ </ownedComment>
+ <ownedComment xmi:type="uml:Comment" xmi:id="_FlpVMP78EeSStPeINaOwzA" annotatedElement="_QTkF4P77EeSStPeINaOwzA">
+ <body>Untyped: not bold&#xD;
+unnamedType: bold&#xD;
+namedType: bold&#xD;
+emptyNameType: bold</body>
+ </ownedComment>
+ <ownedComment xmi:type="uml:Comment" xmi:id="_N7EIAP78EeSStPeINaOwzA" annotatedElement="_QTkF4P77EeSStPeINaOwzA">
+ <body>namedType: red</body>
+ </ownedComment>
+ <packagedElement xmi:type="uml:Class" xmi:id="_QTkF4P77EeSStPeINaOwzA" name="Class1">
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_hxLMQP77EeSStPeINaOwzA" name="untyped"/>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_i3mBwP77EeSStPeINaOwzA" name="unnamedType" type="_lkV74P77EeSStPeINaOwzA"/>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_jiyT0P77EeSStPeINaOwzA" name="namedType" type="_lXoVkP77EeSStPeINaOwzA"/>
+ <ownedAttribute xmi:type="uml:Property" xmi:id="_ufWvEP77EeSStPeINaOwzA" name="emptyNameType" type="_xZT-wP77EeSStPeINaOwzA"/>
+ </packagedElement>
+ <packagedElement xmi:type="uml:Class" xmi:id="_lXoVkP77EeSStPeINaOwzA" name="NamedClass"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_lkV74P77EeSStPeINaOwzA"/>
+ <packagedElement xmi:type="uml:Class" xmi:id="_xZT-wP77EeSStPeINaOwzA" name=""/>
+</uml:Model>

Back to the top