blob: 74c3c1ff3f19a6d047c10ccfed8d8908ec03374c [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _ymiyse5IEeCU6db9MgIBkA,_ZQYygK2sEeCqBbDEJWufvQ,_cNRdwDtvEeG8pezHWLcUvg,_ksxMcEMsEeGEmKn4hFNAmQ
Element-Name: ResumeDebugging
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _3L6JYNY5EeG4bYZCjcRwJg
Runtime-Version: 2.4.2.qualifier
Save-Time: 4/24/19 12:11 PM
Tags: selfAUT, Debug
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. Set breakpoints to test
2. Run test in debug
3. Press Resume button in Debug view
4. Make sure that execution of tests is resumed
5. Correct message is displayed in Execution View
------=_.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/CreateJavaProject" | double-click
with [get-editor CreateJavaProject | get-section Script | get-left-ruler] {
get-ruler-column | double-click-ruler 1
}
get-view "Test Explorer" | get-tree | select "MyProject/CreateJavaProject" | get-menu "Debug As/.* Test Cases" | click
with [get-view Debug] {
get-tree | get-item "CreateJavaProject \\[RCPTT Test Suite\\]/CreateJavaProject/ECL Thread/get-view \\(CreateJavaProject: 1\\)"
}
with [get-button "Resume (F8)"] {
get-property enablement | equals true | verify-true
get-property tooltip | equals "Resu&me (F8)" | verify-true
}
with [get-button "Terminate (M1+F2)"] {
get-property enablement | equals true | verify-true
get-property tooltip | equals "&Terminate (M1+F2)" | verify-true
}
get-button "Resume (F8)" | click
get-button "RCPTT perspective" | click
try -times 20 -delay 1000 -command {
with [get-view "Execution View"] {
get-tree | get-property itemCount | equals 1 | verify-true
get-label -after [get-label "Runs:"] | get-property caption | equals "1/1" | verify-true
get-label -after [get-label "Stops:"] | get-property caption | equals 0 | verify-true
get-label -after [get-label "Failures:"] | get-property caption | equals 0 | verify-true
}
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--