blob: be746f7c943b9dae3321cc9c8cb159fdac3ac8eb [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Element-Name: TC_OwnershipCycles
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _GIY1gBB7Eee03ahGL0O-5w
Runtime-Version: 2.3.0.201805302312
Save-Time: 8/28/18 10:14 AM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
Merge addition/deletion in a hierarchy (container-child dependency). Persistence check.
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
/* Copy current test files to Example project */
copy-example "OwnershipCycles/e-CrossedSwaps"
/* Compare Example models */
compare-examples-for-impact-analysis
/* Merge an atomic move */
with [get-editor "Compare ('Ex1' - 'Ex2')"] {
get-tree | select "Root (8)/Element 1 (8)/Element 2 (8)/Element A (8)"
get-table | select "Container"
}
with [get-editor "Compare ('Ex1' - 'Ex2')"] {
get-table -after [get-label "Details of the Element"] -index 2 | select "Element 8 (via Many Content)"
get-button "Apply changes to the left" | click
}
with [get-window "Merge Operation"] {
get-group "Implied changes" | get-tree | select "Element 3"
get-group "Implied changes" | get-tree | select "Element 6"
get-group "Implied changes" | get-tree | select "Element A"
get-group "Implied changes" | get-tree | select "Element C"
get-group "Implied changes" | get-tree | select "Element D"
get-button OK | click
}
/* Check persistency */
check-persistency
check-child-num "Root (3)/Element 1 (3)/Element 2 (3)/Element C (3)" 2
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--