| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Q7-vendor: www.xored.com/q7 |
| Contexts: _ymiyse5IEeCU6db9MgIBkA,_ZQYygK2sEeCqBbDEJWufvQ,_cNRdwDtvEeG8pezHWLcUvg,_lIpZ0SA0EeOgF-UCjAjUMA |
| Element-Name: Combo Test_Debug With Super Context |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _8AnpkCBUEeOjX5Yww5t2_A |
| Q7-Runtime-Version: 1.5.0.qualifier |
| Save-Time: 6/15/14 12:55 PM |
| Tags: selfAUT, Debug, 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 |
| -------------------------------------------------------------------------------- |
| ------=_.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/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 5 -button Right |
| get-menu "Toggle Breakpoint" | click |
| } |
| get-view "Test Explorer" | get-tree | select "MyProject/Dummy_Super" | get-menu "Debug As/1 Test Cases" | click |
| with [get-view Debug | get-tree] { |
| get-item "Dummy_Super \\[RCPTT Test Suite\\]/Dummy_Super/ECL Thread/val \\(New Java Class Procs: 5\\)" |
| | get-property caption | equals "val (New Java Class Procs: 5)" | verify-true |
| get-item "Dummy_Super \\[RCPTT Test Suite\\]/Dummy_Super/ECL Thread/proc \\(New Java Class Procs: 5\\)" |
| | get-property caption | equals "proc (New Java Class Procs: 5)" | verify-true |
| } |
| get-view Debug | get-button "Resume (F8)" | click |
| wait 6000 |
| with [get-view Debug | get-tree] { |
| get-item "Dummy_Super \\[RCPTT Test Suite\\]/Dummy_Super/ECL Thread/val \\(New Java Class Procs: 5\\)" |
| | get-property caption | equals "val (New Java Class Procs: 5)" | verify-true |
| get-item "Dummy_Super \\[RCPTT Test Suite\\]/Dummy_Super/ECL Thread/proc \\(New Java Class Procs: 5\\)" |
| | get-property caption | equals "proc (New Java Class Procs: 5)" | verify-true |
| } |
| with [get-view Debug | get-button "Resume (F8)"] { |
| click |
| wait 6000 |
| click |
| wait 6000 |
| click |
| wait 6000 |
| click |
| wait 6000 |
| click |
| wait 6000 |
| click |
| wait 6000 |
| click |
| } |
| wait 6000 |
| get-view Debug | get-tree |
| | get-item "<terminated>Dummy_Super \\[RCPTT Test Suite\\]/<terminated>Dummy_Super/<terminated>ECL Thread" |
| | get-property caption | equals "<terminated>ECL Thread" | verify-true |
| get-button "RCPTT perspective" | click |
| get-view "Execution View" | get-tree | get-property itemCount | equals 8 | verify-true |
| with [get-view "Execution View"] { |
| get-tree | get-item "Dummy_Super \\(EclScriptContextParams\\) .*" | get-property childCount | equals 6 |
| | verify-true |
| get-label "8/8" | get-property caption | equals "8/8" | verify-true |
| get-label 0 | get-property caption | equals 0 | verify-true |
| get-label 0 -after [get-label "Stops:"] | get-property caption | equals 0 | verify-true |
| } |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |