| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _wFTf0KDsEeKGc-nsvHJqGA,_ZQYygK2sEeCqBbDEJWufvQ,_0_PAAKDoEeKGc-nsvHJqGA |
| Element-Name: FilteringAtTerminatingLaunches |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _jtSqgavSEeKhFfhAE-FJzg |
| Q7-Runtime-Version: 1.5.0.201406131029 |
| Save-Time: 6/13/14 7:10 PM |
| Tags: Context, LaunchContext, selfAUT, skipExecution |
| 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. Check "Terminate existing launches" in Launch Context |
| 2. Set launches, which are filtered |
| 3. Make sure that launches are filtered |
| ------=_.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/PrefContext" | double-click |
| get-editor PrefContext | get-button Apply | click |
| get-view "Test Explorer" | get-tree | select "TestQ7Prj/JavaProgram" | double-click |
| get-editor JavaProgram | get-button Apply | click |
| get-view "Test Explorer" | get-tree | select "TestQ7Prj/LaunchContextTest" | double-click |
| get-editor LaunchContextTest | get-button Apply | click |
| get-view "Test Explorer" | get-tree | select "TestQ7Prj/EmptyLaunchContext" | double-click |
| with [get-editor EmptyLaunchContext] { |
| with [get-section Options | get-editbox |
| -after [get-label "Do not terminate launches of following configurations:"]] { |
| set-text Main |
| key-type "M1+s" |
| set-focus |
| } |
| get-button Apply | click |
| } |
| get-view "Test Explorer" | get-tree | select "TestQ7Prj/EmptyLaunchContext2" | double-click |
| get-editor EmptyLaunchContext2 | get-button Capture | click |
| with [get-editor EmptyLaunchContext2 | get-section "Launch configurations" | get-tree] { |
| get-item Launches | get-property childCount | equals 1 | verify-true |
| get-item "Launches/Main" | get-property caption | equals Main | verify-true |
| } |
| with [get-editor EmptyLaunchContext] { |
| click |
| with [get-section Options | get-editbox |
| -after [get-label "Do not terminate launches of following configurations:"]] { |
| set-text main |
| key-type "M1+s" |
| set-focus |
| } |
| get-button Apply | click |
| } |
| with [get-editor EmptyLaunchContext2] { |
| click |
| get-button Capture | click |
| } |
| get-editor EmptyLaunchContext2 | get-section "Launch configurations" | get-tree | verify-error { get-item "Launches/Main" } |
| with [get-editor LaunchContextTest] { |
| click |
| get-button Apply | click |
| } |
| with [get-editor EmptyLaunchContext] { |
| click |
| with [get-section Options | get-editbox |
| -after [get-label "Do not terminate launches of following configurations:"]] { |
| set-text "M*n" |
| key-type "M1+s" |
| set-focus |
| } |
| get-button Apply | click |
| } |
| with [get-editor EmptyLaunchContext2] { |
| click |
| get-button Capture | click |
| } |
| with [get-editor EmptyLaunchContext2 | get-section "Launch configurations" | get-tree] { |
| get-item Launches | get-property childCount | equals 1 | verify-true |
| get-item "Launches/Main" | get-property caption | equals Main | verify-true |
| } |
| |
| |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |