blob: 22a98302833e0d902d9b6fcfd7a8c9446f0bc329 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_tlWZcGphEeCzId1Gnkds9A
Element-Name: CreateLaunchContext
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _a0HzcaDnEeKGc-nsvHJqGA
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:10 PM
Tags: Context, LaunchContext
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. Open Empty project
2. Create Launch context
3. Make sure that context is created
------=_.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 TestQ7Prj | get-menu "New/Context" | click
with [get-window "New Context Wizard"] {
get-table | select Launch
get-editbox -after [get-label "Name:"] | set-text LaunchContextTest
get-button Finish | click
}
with [get-tab-folder -index 1] {
get-property activePage | equals LaunchContextTest | verify-true
get-property tabCount | equals 1 | verify-true
}
get-editor LaunchContextTest | get-editbox -after [get-label "Name:"] | get-property text | equals LaunchContextTest
| verify-true
get-view "Test Explorer" | get-tree | get-item "TestQ7Prj/LaunchContextTest" | get-property caption
| equals LaunchContextTest | verify-true
with [get-editor LaunchContextTest] {
with [get-section Options] {
get-button "Terminate existing launches" | get-property selected | equals true | verify-true
get-button "Clear launch configurations" | get-property selected | equals false | verify-true
get-button "Clear breakpoints" | get-property selected | equals true | verify-true
}
get-section "Launch configurations" | get-tree | get-property itemCount | equals 0 | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--