blob: 36bc5ddf6f500ddce3c5c297d9d19ccdc777cfdd [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_ZQYygK2sEeCqBbDEJWufvQ,_cNRdwDtvEeG8pezHWLcUvg,_lIpZ0SA0EeOgF-UCjAjUMA
Element-Name: Set Breakpoint In Proc_Step Into_Check Variables
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _P7DxkSWhEeOQ58zpl-lVdg
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:04 PM
Tags: selfAUT
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
--------------------------------------------------------------------------------
------=_.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 "MyProject/Dummy" | double-click
select "MyProject/New Java Class Procs" | double-click
}
with [get-editor "New Java Class Procs" | get-section Script | get-left-ruler] {
get-ruler-column AnnotationColumn | click-ruler -line 1
get-menu "Toggle Breakpoint" | click
}
get-view "Test Explorer" | get-tree | select "MyProject/Dummy" | get-menu "Debug As/1 Test Cases" | click
with [get-view Debug] {
with [get-button "Step Over (F6)"] {
click
click
}
with [get-button "Step Into (F5)"] {
click
click
click
click
click
click
click
click
}
}
with [get-view Variables | get-tree] {
get-property itemCount | equals 4 | verify-true
get-item "open-new-context-dialog" | get-property "columns[0]" | equals "open-new-context-dialog" | verify-true
get-item "open-new-context-dialog" | get-property "columns[1]" | equals "" | verify-true
get-item "open-new-context-dialog/project" | get-property "columns[0]" | equals project | verify-true
get-item "open-new-context-dialog/project" | get-property "columns[1]" | equals TestProject | verify-true
get-item "open-new-context-dialog/folder" | get-property "columns[0]" | equals folder | verify-true
get-item "open-new-context-dialog/folder" | get-property "columns[1]" | equals contexts | verify-true
get-item project | get-property "columns[0]" | equals project | verify-true
get-item project | get-property "columns[1]" | equals TestProject | verify-true
get-item folder | get-property "columns[0]" | equals folder | verify-true
get-item folder | get-property "columns[1]" | equals contexts | verify-true
get-item name | get-property "columns[0]" | equals name | verify-true
get-item name | get-property "columns[1]" | equals myContext | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--