| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Contexts: _ymiyse5IEeCU6db9MgIBkA,_ZQYygK2sEeCqBbDEJWufvQ,_cNRdwDtvEeG8pezHWLcUvg,_ksxMcEMsEeGEmKn4hFNAmQ |
| Element-Name: DisableBreakpointViaContextMenu |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _mFQpQDEsEeGmnqpjyhCbeA |
| Runtime-Version: 2.0.0.201505131625 |
| Save-Time: 5/14/15 12:52 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. Open test case and set Breakpoint |
| 2. Set disable breakpoint via context menu |
| 3. Run test case in debug |
| 4. Make sure that that test is run, but breakpoint is not applied |
| ------=_.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 -nowait |
| with [get-editor CreateJavaProject | get-section Script | get-left-ruler] { |
| get-ruler-column | click-ruler -line 6 -button Right |
| get-menu "Toggle Breakpoint" | click |
| get-ruler-column | click-ruler -line 6 -button Right |
| get-menu "Disable Breakpoint" | click |
| } |
| exec-with-options -disableJobWaiting -command { |
| get-menu "Run/Debug As/\\d+ Test Cases" | click |
| try -times 30 -delay 500 -command { |
| with [get-view "Execution View"] { |
| get-tree | get-property itemCount | equals 1 | verify-true |
| get-label "1/1" | get-property caption | equals "1/1" | verify-true |
| } |
| } |
| } |
| get-button "Open Perspective" | click |
| //get-menu "Other..." | click |
| with [get-window "Open Perspective"] { |
| get-table | select Debug |
| get-button OK | click |
| } |
| get-view Breakpoints | click |
| with [get-view Breakpoints | get-tree] { |
| get-property itemCount | equals 1 | verify-true |
| get-item "CreateJavaProject.test \\[line: 6\\]" | get-property caption | equals "CreateJavaProject.test [line: 6]" |
| | verify-true |
| get-item "CreateJavaProject.test \\[line: 6\\]" | get-property selected | equals false | verify-true |
| get-item "CreateJavaProject.test \\[line: 6\\]" | get-property checked | equals false | verify-true |
| } |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |