blob: 20043876338008d094796d3ce7821e33ea8901ed [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_ZQYygK2sEeCqBbDEJWufvQ,_cNRdwDtvEeG8pezHWLcUvg,_ksxMcEMsEeGEmKn4hFNAmQ
Element-Name: DebugTestContainingCommaInName
Element-Type: testcase
Element-Version: 3.0
External-Reference: http://jira4.xored.com/browse/QS-2363
Id: _o45OMHTTEeKZ8acQ_IBh0w
Q7-Runtime-Version: 1.5.0.qualifier
Save-Time: 6/15/14 12:48 PM
Tags: selfAUT, Debug
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. Set breakpoint in test with comma in name
2. Run test in debug
3. Verify that exception is not added to Error Log
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Test Explorer" | get-tree | select "MyProject/CreateJavaProject" | get-menu "Rename..." | click
with [get-window "Rename Resource"] {
get-editbox -after [get-label "New name:"] | set-text "List.set(index, element) test"
get-button OK | click
}
get-view "Test Explorer" | get-tree | select "MyProject/List.set\\(index, element\\) test" | double-click
clear-log-view
with [get-editor "List.set(index, element) test" | get-section Script] {
get-left-ruler | get-ruler-column AnnotationColumn | double-click-ruler 2
with [get-text-viewer] {
hover-text 3 9
get-menu "Debug As/.* Test Cases" | click
}
}
get-view Debug | get-tree
| get-item "List.set\\(index, element\\) test \\[RCPTT Test Suite\\]/List.set\\(index, element\\) test/ECL Thread/get-window \\(List.set\\(index, element\\) test: 2\\)"
| get-property caption | equals "get-window (List.set(index, element) test: 2)" | verify-true
get-view Debug | get-button "Resume (F8)" | click
get-button "RCPTT perspective" | click
get-menu "Window/Show View/Other..." | click
with [get-window "Show View"] {
get-editbox | set-text er
get-tree | select "General/Error Log"
get-button OK | click
}
with [get-view "Error Log" | get-editbox] {
set-text "*Invalid stack format"
key-type Enter
}
get-view "Error Log" | get-tree | get-property itemCount | equals 0 | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--