blob: dff508ac799478637c3a0d64af485cdd29c9d385 [file] [log] [blame]
--- Q7 testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _rr2EEFpSEeKcnaHGSt8OwA,_IuFcgFpZEeKcnaHGSt8OwA,_f3qEUVpSEeKcnaHGSt8OwA,__UtTgD-XEeK-yuKsz0Lang
Element-Name: SetMultiRef
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _cga1EIpdEeK80-dAVHg-DA
Save-Time: 3/11/13 4:09 PM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Model Explorer" | get-tree | select "TestProject/Tournament Pro" | double-click
get-editor "Tournament Pro" | get-button "Add an instance of Matchup" | click
get-view "Model Explorer" | get-tree | select [get-item "TestProject/Tournament Pro" | get-item Matchup -index 1]
| double-click
get-editor Matchup | get-button "Add an instance of Game" | click
get-view "Model Explorer" | get-tree | select [get-item "TestProject/Tournament Pro" | get-item Matchup -index 1
| get-item Game] | double-click
with [get-editor Game] {
with [get-button "Add Entry"] {
click
click
click
}
get-editbox -after [get-label Frames] | set-text 1
get-editbox -after [get-label Frames] -index 1 | set-text 2
with [get-editbox -after [get-label Frames] -index 2] {
set-text 3
key-type Enter
}
}
get-view "Model Explorer" | get-tree | select [get-item "TestProject/Tournament Pro" | get-item Matchup -index 1]
| double-click
get-editor Matchup | get-table
| get-item "org.eclipse.emf.emfstore.bowling.impl.MatchupImpl@1ba8da7 \\(nrSpectators: null\\)"
| get-property columns -index 2 | equals "1,2,3" | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--