-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[2189] Added junit checking annotations on clone representation
Bug: 2189 Change-Id: I6a9744957ccf33b9ab1c8b77b0fb713fc983bd8d Signed-off-by: Joacquim Esabe <joacquim.esabe@laposte.net>
- Loading branch information
Showing
8 changed files
with
486 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
tests/plugins/org.polarsys.capella.test.diagram.misc.ju/model/TestCloneDiagram/.project
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>TestCloneDiagram</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.polarsys.capella.project.nature</nature> | ||
</natures> | ||
</projectDescription> |
4 changes: 4 additions & 0 deletions
4
...ins/org.polarsys.capella.test.diagram.misc.ju/model/TestCloneDiagram/TestCloneDiagram.afm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<metadata:Metadata xmi:version="2.0" xmlns:xmi="http://www.omg.org/XMI" xmlns:metadata="http://www.polarsys.org/kitalpha/ad/metadata/1.0.0" id="_FLyuALtEEeiYJvO_5nNSmw"> | ||
<viewpointReferences id="_FMZK8LtEEeiYJvO_5nNSmw" vpId="org.polarsys.capella.core.viewpoint" version="1.3.0"/> | ||
</metadata:Metadata> |
76 changes: 76 additions & 0 deletions
76
...ns/org.polarsys.capella.test.diagram.misc.ju/model/TestCloneDiagram/TestCloneDiagram.aird
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
<?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:concern="http://www.eclipse.org/sirius/diagram/description/concern/1.1.0" xmlns:description="http://www.eclipse.org/sirius/description/1.1.0" xmlns:description_1="http://www.eclipse.org/sirius/diagram/description/1.1.0" xmlns:diagram="http://www.eclipse.org/sirius/diagram/1.1.0" xmlns:filter="http://www.eclipse.org/sirius/diagram/description/filter/1.1.0" xmlns:notation="http://www.eclipse.org/gmf/runtime/1.0.2/notation" xmlns:org.polarsys.capella.core.data.capellacore="http://www.polarsys.org/capella/core/core/1.3.0" xmlns:org.polarsys.capella.core.data.information="http://www.polarsys.org/capella/core/information/1.3.0" xmlns:org.polarsys.capella.core.data.information.datatype="http://www.polarsys.org/capella/core/information/datatype/1.3.0" xmlns:style="http://www.eclipse.org/sirius/diagram/description/style/1.1.0" xmlns:viewpoint="http://www.eclipse.org/sirius/1.1.0" xsi:schemaLocation="http://www.eclipse.org/sirius/diagram/description/concern/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description/concern http://www.eclipse.org/sirius/description/1.1.0 http://www.eclipse.org/sirius/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description http://www.eclipse.org/sirius/diagram/description/filter/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description/filter http://www.polarsys.org/capella/core/information/datatype/1.3.0 http://www.polarsys.org/capella/core/information/1.3.0#//datatype http://www.eclipse.org/sirius/diagram/description/style/1.1.0 http://www.eclipse.org/sirius/diagram/1.1.0#//description/style"> | ||
<viewpoint:DAnalysis uid="_FMAJYLtEEeiYJvO_5nNSmw" selectedViews="_FMsF4LtEEeiYJvO_5nNSmw _FZWo4LtEEeiYJvO_5nNSmw _FZgZ4LtEEeiYJvO_5nNSmw _FaQAwLtEEeiYJvO_5nNSmw _Fai7sLtEEeiYJvO_5nNSmw _FasssLtEEeiYJvO_5nNSmw _Fa_noLtEEeiYJvO_5nNSmw" version="14.1.0.201808300808"> | ||
<semanticResources>TestCloneDiagram.afm</semanticResources> | ||
<semanticResources>TestCloneDiagram.melodymodeller</semanticResources> | ||
<ownedViews xmi:type="viewpoint:DView" uid="_FMsF4LtEEeiYJvO_5nNSmw"> | ||
<viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.polarsys.kitalpha.ad.integration.sirius/description/ad.odesign#//@ownedViewpoints[name='ad']"/> | ||
</ownedViews> | ||
<ownedViews xmi:type="viewpoint:DView" uid="_FZWo4LtEEeiYJvO_5nNSmw"> | ||
<viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/oa.odesign#//@ownedViewpoints[name='Operational%20Analysis']"/> | ||
</ownedViews> | ||
<ownedViews xmi:type="viewpoint:DView" uid="_FZgZ4LtEEeiYJvO_5nNSmw"> | ||
<viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/context.odesign#//@ownedViewpoints[name='System%20Analysis']"/> | ||
</ownedViews> | ||
<ownedViews xmi:type="viewpoint:DView" uid="_FaQAwLtEEeiYJvO_5nNSmw"> | ||
<viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/logical.odesign#//@ownedViewpoints[name='Logical%20Architecture']"/> | ||
</ownedViews> | ||
<ownedViews xmi:type="viewpoint:DView" uid="_Fai7sLtEEeiYJvO_5nNSmw"> | ||
<viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/physical.odesign#//@ownedViewpoints[name='Physical%20Architecture']"/> | ||
</ownedViews> | ||
<ownedViews xmi:type="viewpoint:DView" uid="_FasssLtEEeiYJvO_5nNSmw"> | ||
<viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/common.odesign#//@ownedViewpoints[name='Common']"/> | ||
<ownedRepresentationDescriptors xmi:type="viewpoint:DRepresentationDescriptor" uid="_OCgQA7tEEeiYJvO_5nNSmw" name="[CDB] Play Video Movie - Physical" repPath="#_OCXGELtEEeiYJvO_5nNSmw"> | ||
<eAnnotations xmi:type="description:DAnnotation" uid="_qBGo4LtEEeiYJvO_5nNSmw" source="http://www.polarsys.org/capella/dannotation/ContextualElements"> | ||
<references xmi:type="org.polarsys.capella.core.data.information.datatype:BooleanType" href="TestCloneDiagram.melodymodeller#7dc2a898-96e0-4642-b891-dcfcb52d842a"/> | ||
</eAnnotations> | ||
<eAnnotations xmi:type="description:DAnnotation" uid="_Hi1BYLtFEeiYJvO_5nNSmw" source="https://www.polarsys.org/capella/dannotation/eoi"> | ||
<references xmi:type="org.polarsys.capella.core.data.capellacore:EnumerationPropertyLiteral" href="TestCloneDiagram.melodymodeller#263bc49d-018b-4aa7-9625-b681538bbc35"/> | ||
<references xmi:type="org.polarsys.capella.core.data.capellacore:EnumerationPropertyLiteral" href="TestCloneDiagram.melodymodeller#294de4c6-c908-41b1-9b1f-ea8b01d4c401"/> | ||
<references xmi:type="org.polarsys.capella.core.data.capellacore:EnumerationPropertyLiteral" href="TestCloneDiagram.melodymodeller#5a85d556-9977-4cf4-9a8d-9a40bcdda6aa"/> | ||
</eAnnotations> | ||
<description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/common.odesign#//@ownedViewpoints[name='Common']/@ownedRepresentations[name='Class%20Diagram%20Blank']"/> | ||
<target xmi:type="org.polarsys.capella.core.data.information:DataPkg" href="TestCloneDiagram.melodymodeller#19dc1486-4ec5-4149-a15d-298b4cdf68d6"/> | ||
</ownedRepresentationDescriptors> | ||
</ownedViews> | ||
<ownedViews xmi:type="viewpoint:DView" uid="_Fa_noLtEEeiYJvO_5nNSmw"> | ||
<viewpoint xmi:type="description:Viewpoint" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/EPBS.odesign#//@ownedViewpoints[name='EPBS%20architecture']"/> | ||
</ownedViews> | ||
</viewpoint:DAnalysis> | ||
<diagram:DSemanticDiagram uid="_OCXGELtEEeiYJvO_5nNSmw" documentation="<p>le clone ce fera bien sur</p>
" name="[CDB] Play Video Movie - Physical"> | ||
<ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_OCgQALtEEeiYJvO_5nNSmw" source="DANNOTATION_CUSTOMIZATION_KEY"> | ||
<data xmi:type="diagram:ComputedStyleDescriptionRegistry" uid="_OCgQAbtEEeiYJvO_5nNSmw"/> | ||
</ownedAnnotationEntries> | ||
<ownedAnnotationEntries xmi:type="description:AnnotationEntry" uid="_OCqBALtEEeiYJvO_5nNSmw" source="GMF_DIAGRAMS"> | ||
<data xmi:type="notation:Diagram" xmi:id="_OCqBAbtEEeiYJvO_5nNSmw" type="Sirius" element="_OCXGELtEEeiYJvO_5nNSmw" measurementUnit="Pixel"> | ||
<children xmi:type="notation:Node" xmi:id="_Ce08BLtFEeiYJvO_5nNSmw" type="2003" element="_CeryELtFEeiYJvO_5nNSmw"> | ||
<children xmi:type="notation:Node" xmi:id="_Ce-tALtFEeiYJvO_5nNSmw" type="5007"/> | ||
<children xmi:type="notation:Node" xmi:id="_Ce-tAbtFEeiYJvO_5nNSmw" type="7004"> | ||
<styles xmi:type="notation:SortingStyle" xmi:id="_Ce-tArtFEeiYJvO_5nNSmw"/> | ||
<styles xmi:type="notation:FilteringStyle" xmi:id="_Ce-tA7tFEeiYJvO_5nNSmw"/> | ||
</children> | ||
<styles xmi:type="notation:ShapeStyle" xmi:id="_Ce08BbtFEeiYJvO_5nNSmw" fontName="Segoe UI" fontHeight="8"/> | ||
<layoutConstraint xmi:type="notation:Bounds" xmi:id="_Ce08BrtFEeiYJvO_5nNSmw"/> | ||
</children> | ||
<styles xmi:type="notation:DiagramStyle" xmi:id="_OCqBArtEEeiYJvO_5nNSmw"/> | ||
</data> | ||
</ownedAnnotationEntries> | ||
<ownedDiagramElements xmi:type="diagram:DNodeList" uid="_CeryELtFEeiYJvO_5nNSmw" name="BooleanType 1"> | ||
<target xmi:type="org.polarsys.capella.core.data.information.datatype:BooleanType" href="TestCloneDiagram.melodymodeller#7dc2a898-96e0-4642-b891-dcfcb52d842a"/> | ||
<semanticElements xmi:type="org.polarsys.capella.core.data.information.datatype:BooleanType" href="TestCloneDiagram.melodymodeller#7dc2a898-96e0-4642-b891-dcfcb52d842a"/> | ||
<ownedStyle xmi:type="diagram:FlatContainerStyle" uid="_Ce08ALtFEeiYJvO_5nNSmw" borderSize="1" borderSizeComputationExpression="1" borderColor="103,103,103" backgroundStyle="GradientTopToBottom" backgroundColor="232,224,210" foregroundColor="232,224,210"> | ||
<description xmi:type="style:FlatContainerStyleDescription" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/common.odesign#//@ownedViewpoints[name='Common']/@ownedRepresentations[name='Class%20Diagram%20Blank']/@defaultLayer/@containerMappings[name='DT_BooleanType']/@style"/> | ||
</ownedStyle> | ||
<actualMapping xmi:type="description_1:ContainerMapping" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/common.odesign#//@ownedViewpoints[name='Common']/@ownedRepresentations[name='Class%20Diagram%20Blank']/@defaultLayer/@containerMappings[name='DT_BooleanType']"/> | ||
</ownedDiagramElements> | ||
<description xmi:type="description_1:DiagramDescription" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/common.odesign#//@ownedViewpoints[name='Common']/@ownedRepresentations[name='Class%20Diagram%20Blank']"/> | ||
<currentConcern xmi:type="concern:ConcernDescription" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/common.odesign#//@ownedViewpoints[name='Common']/@ownedRepresentations[name='Class%20Diagram%20Blank']/@concerns/@ownedConcernDescriptions.0"/> | ||
<activatedFilters xmi:type="filter:CompositeFilterDescription" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/common.odesign#//@ownedViewpoints[name='Common']/@ownedRepresentations[name='Class%20Diagram%20Blank']/@filters[name='Hide%20Association%20Labels']"/> | ||
<activatedFilters xmi:type="filter:CompositeFilterDescription" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/common.odesign#//@ownedViewpoints[name='Common']/@ownedRepresentations[name='Class%20Diagram%20Blank']/@filters[name='Hide%20Technical%20Interfaces']"/> | ||
<activatedFilters xmi:type="filter:CompositeFilterDescription" href="platform:/plugin/org.polarsys.kitalpha.ad.integration.sirius/description/ad.odesign#//@ownedViewpoints[name='ad']/@ownedRepresentations[name='AD%20diagram']/@filters[name='ModelExtensionFilter']"/> | ||
<filterVariableHistory xmi:type="diagram:FilterVariableHistory" uid="_OCXGEbtEEeiYJvO_5nNSmw"/> | ||
<activatedLayers xmi:type="description_1:Layer" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/common.odesign#//@ownedViewpoints[name='Common']/@ownedRepresentations[name='Class%20Diagram%20Blank']/@defaultLayer"/> | ||
<activatedLayers xmi:type="description_1:AdditionalLayer" href="platform:/plugin/org.polarsys.capella.core.sirius.analysis/description/common.odesign#//@ownedViewpoints[name='Common']/@ownedRepresentations[name='Class%20Diagram%20Blank']/@additionalLayers[name='Communication%20Model']"/> | ||
<target xmi:type="org.polarsys.capella.core.data.information:DataPkg" href="TestCloneDiagram.melodymodeller#19dc1486-4ec5-4149-a15d-298b4cdf68d6"/> | ||
</diagram:DSemanticDiagram> | ||
</xmi:XMI> |
Oops, something went wrong.