blob: 539d9e45c2c8a02c15548da5e00e9c4d0c232ece [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _ymiyse5IEeCU6db9MgIBkA,_ZQYygK2sEeCqBbDEJWufvQ,_l1e_wDGmEeSbC7GaRYibkw
Element-Name: 442980_ClassCastExceptions
Element-Type: testcase
Element-Version: 3.0
External-Reference: https://bugs.eclipse.org/bugs/show_bug.cgi?id=442980
Id: _y-nOoDGlEeSbC7GaRYibkw
Runtime-Version: 1.5.0.201406020630
Save-Time: 9/1/14 2:22 PM
Testcase-Type: ecl
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa
Content-Type: text/plain
Entry-Name: .description
Copyright (c) 2009, 2014 Xored Software Inc and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
http://www.eclipse.org/legal/epl-v10.html
Contributors:
Xored Software Inc - initial creation and/or initial documentation
--------------------------------------------------------------------------------
TEST STEPS:
1. Run test with "select-rows", "exclude-rows", "write-csv-file" commands in Debug mode
2. Make sure that test is passed
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
with [get-view "Test Explorer" | get-tree] {
select q7project | double-click
select "q7project/TableTest"
}
get-button Debug | click
with [get-view "Execution View"] {
get-control Any -after [get-label "1/1"] | get-property "getChildren().Control[2].getText()" | equals 0
| verify-true
get-editbox -after [get-label "Message:"] | get-property text
| contains "cannot be cast to org.eclipse.rcptt.ecl.core.Command" | verify-false
get-editbox -after [get-label "Message:"] | get-property text
| equals "" | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--