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
Id: _y-nOoDGlEeSbC7GaRYibkw
Save-Time: 9/1/14 2:22 PM
Testcase-Type: ecl
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
Xored Software Inc - initial creation and/or initial documentation
1. Run test with "select-rows", "exclude-rows", "write-csv-file" commands in Debug mode
2. Make sure that test is passed
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