| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _wFTf0KDsEeKGc-nsvHJqGA,_ZQYygK2sEeCqBbDEJWufvQ,_0_PAAKDoEeKGc-nsvHJqGA |
| Element-Name: CaptureLaunchContext |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _Z-gn0KDsEeKGc-nsvHJqGA |
| Q7-Runtime-Version: 1.5.0.201406131029 |
| Save-Time: 6/13/14 7:10 PM |
| Tags: Context, LaunchContext, 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 |
| -------------------------------------------------------------------------------- |
| |
| 1. Apply empty launch context to clean up existing debug launches. |
| 2. Apply workspace context with java program |
| 3. Apply LaunchContext |
| 4. Capture LaunchContext in an empty LaunchContext |
| |
| ------=_.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/EmptyLaunchContext" | double-click |
| get-editor EmptyLaunchContext | get-section "Launch configurations" | get-tree | get-property itemCount | equals 0 |
| | verify-true |
| get-editor EmptyLaunchContext | get-button Apply | click |
| get-view "Test Explorer" | get-tree | select "TestQ7Prj/JavaProgram" | double-click |
| get-editor JavaProgram | get-button Apply | click |
| get-editor LaunchContextTest | get-button Apply | click |
| get-view "Execution View" | get-editbox -after [get-label "Message:"] | get-property text | equals "" | verify-true |
| get-editor EmptyLaunchContext | get-button Capture | click |
| //get-window "Q7 Debug" | get-button Yes | click |
| get-view "Execution View" | get-editbox -after [get-label "Message:"] | get-property text | equals "" | verify-true |
| get-tab-folder -index 1 | get-property activePage | equals "*EmptyLaunchContext" | verify-true |
| |
| get-editor EmptyLaunchContext | get-section "Launch configurations" | get-tree | get-item "Launches/Main" |
| | get-property caption | equals Main | verify-true |
| get-editor EmptyLaunchContext | get-button Apply | click |
| get-window "Save Resource" | get-button Yes | click |
| get-view "Execution View" | get-editbox -after [get-label "Message:"] | get-property text |
| | equals "" | verify-true |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |