| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Contexts: _4zI9AWpgEeCzId1Gnkds9A,_vp_JkIHtEeC8fpRZXBpN8g |
| Element-Name: UndoRedoDeleteProjectWithoutDeleteFromDiskByHotKey |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _6UOKUILYEeGVWel_bIqsJQ |
| Runtime-Version: 2.4.1.qualifier |
| Save-Time: 4/2/19 12:33 PM |
| Tags: Project, Delete, UndoRedo |
| Testcase-Type: ecl |
| Verifications: _UnfUID8XEeSyDoCDFnaFCg |
| |
| ------=_.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. Delete p3 project without deleting contets from disk |
| 2. Make sure that project is not displayed in Q7 Explorer |
| 3. Press M1+z |
| 4. Make sure that project is created and contet present in project |
| 5. Press M1+y |
| 6. Make sure that project is not displayed in Q7 Explorer |
| ------=_.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 p3 | get-menu Delete | click |
| with [get-window "Delete Resources"] { |
| get-button "Preview >" | click |
| get-button OK | click |
| } |
| with [get-view "Test Explorer" | get-tree] { |
| get-property itemCount | equals 2 | verify-true |
| get-item p1 | get-property caption | equals p1 | verify-true |
| get-item p2 | get-property caption | equals p2 | verify-true |
| } |
| get-view "Test Explorer" | get-tree | key-type "M1+z" |
| |
| get-eclipse-window | key-type "M1+M2+s" |
| |
| with [get-view "Test Explorer" | get-tree] { |
| get-property itemCount | equals 3 | verify-true |
| get-item p1 | get-property caption | equals p1 | verify-true |
| get-item p1 | get-property childCount | equals 4 | verify-true |
| get-item p2 | get-property caption | equals p2 | verify-true |
| get-item p2 | get-property childCount | equals 3 | verify-true |
| get-item p3 | get-property caption | equals p3 | verify-true |
| get-item p3 | get-property childCount | equals 3 | verify-true |
| } |
| |
| get-view "Test Explorer" | get-tree | key-type [get-by-os -win "M1+y" -default "M1+M2+z"] |
| wait 200 |
| with [get-view "Test Explorer" | get-tree] { |
| get-property itemCount | equals 2 | verify-true |
| get-item p1 | get-property caption | equals p1 | verify-true |
| get-item p1 | get-property childCount | equals 4 | verify-true |
| get-item p2 | get-property caption | equals p2 | verify-true |
| get-item p2 | get-property childCount | equals 3 | verify-true |
| } |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |