blob: c5a5ef78e9e86b4a59ea62cf0c9a713c5a4c9882 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _mY5uUKEgEeKX8e34E6tWIg,_rr2EEFpSEeKcnaHGSt8OwA,_IuFcgFpZEeKcnaHGSt8OwA,_f3qEUVpSEeKcnaHGSt8OwA,__UtTgD-XEeK-yuKsz0Lang
Element-Name: MultiDouble
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _fytq8HXSEeK2tZkPdpUavQ
Runtime-Version: 2.2.0.201706152316
Save-Time: 5/23/18 3:11 PM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
This test case reveals a Bug in the multi double control. It does not update correctly.
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=415207
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Model Explorer" | get-tree | select "TestProject \\[trunk, Version 0\\]/Tournament Pro" | double-click
with [get-editor "Tournament Pro"] {
get-button "Add Entry" | click
with [get-table -after [get-label Type] -index 3] {
select "0.0" | activate-cell-edit -type MouseClickSelection
get-editbox | set-text "500.5"
apply-cell-edit -deactivate
}
get-button "Add Entry" | click
with [get-table -after [get-label Type] -index 3] {
select "0.0" | activate-cell-edit -type MouseClickSelection
get-editbox | set-text "123.11d"
apply-cell-edit
}
}
get-window "Invalid Number" | get-button OK | click
with [get-editor "Tournament Pro"] {
with [get-table -after [get-label Type] -index 3] {
select "0.0" | activate-cell-edit -type MouseClickSelection
get-editbox | set-text "456.666"
apply-cell-edit -deactivate
}
get-button -after [get-label Type] -index 9 | click
}
get-editor "Tournament Pro" | get-table -after [get-label Type] -index 3 | get-property itemCount | equals 2
| verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--