blob: 0363cdf905b44ef95d74239203e8d3ad613a63d8 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _Qddq0G4WEeSAbJi-ePtrvQ,_UMv60Gu3EeSIB8wfH7YVTw
Element-Name: VerifyErrorCanBeFixed
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _v9x8UGu4EeSIB8wfH7YVTw
Runtime-Version: 1.5.3.201409120955
Save-Time: 11/26/14 5:59 PM
Testcase-Type: ecl
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-problem-messages | length | eq 1 | assert-true "Unexpected error count"
with [get-view Problems | get-tree] {
select "Errors \\(1 item\\)/The public type Main2 must be defined in its own file" | double-click
}
get-eclipse-window | key-type "M1+f"
with [get-window "Find/Replace"] {
get-combo -after [get-label "Replace with:"] | set-text Main
get-button Replace | click
get-button Close | click
}
get-button "Save (M1+S)" | click
get-problem-messages | length | eq 0 | assert-true "Can't fix this error"
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--