| --- Q7 testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _SapwEL4pEeOsAoUpt_cnqw,_LOMGYGrvEeK_JdLra2Bk5A,_r_QpAFLlEeS4zYvVAxx5Mg |
| Element-Name: ts013_tc001_labels |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _MaurQFLlEeS4zYvVAxx5Mg |
| Q7-Runtime-Version: 1.3.15.201412220512 |
| Save-Time: 5/28/15 5:34 PM |
| Testcase-Type: ecl |
| |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa |
| Content-Type: text/plain |
| Entry-Name: .description |
| |
| Checks that the labels of stereotypes and property of stereotypes are correct. It is based on the SysML profile. |
| |
| 1. Opens the comparison |
| 2. Compares the tree to the expected tree to checks that the labels are corrects. It should use the profile item providers provided by the UML extension of EMF Compare. For example, a Class with a Block stereotype should be displayed using "<Block> blockName" instead of "<Class><<Block>> blockname". |
| |
| ------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa-- |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac |
| Content-Type: text/ecl |
| Entry-Name: .content |
| |
| with [get-view "Package Explorer" | get-tree] { |
| select "SysMLModel/left/model.uml" "SysMLModel/right/model.uml" |
| get-menu "Compare With/Each Other" | click |
| } |
| with [get-editor "Compare (\'SysMLModel/left/model.uml\' - \'SysMLModel/right/model.uml\')"] { |
| get-button "Expand All" | click |
| get-tree | get-table-data | eq[read-csv-file "workspace:/SysMLModel/ExpectedTreeWithCustomization.csv"] | assert-true "Unexpected label in the tree" |
| } |
| |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |