blob: 270c5aeb3b6e20ab8846d13cfa765cb4398c1116 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_YD1dIG37EeOpKr7OsF8P0g
Element-Name: Delete Content And Check Validation_Same Project
Element-Type: testcase
Element-Version: 3.0
External-Reference: http://jira4.xored.com/browse/QS-3135
Id: _rpfDgG36EeOpKr7OsF8P0g
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:10 PM
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
with [get-view "Test Explorer" | get-tree] {
select "Project1/Context" | double-click
select "Project1/Folder" | get-menu Delete | click
}
get-window "Delete Resources" | get-button OK | click
get-view Problems | click
get-view Problems | get-tree
| get-item "Errors.*/Can not resolve \"Folder\" file or directory from link \"Project1\\/Folder\"."
| get-property caption | equals "Can not resolve \"Folder\" file or directory from link \"Project1/Folder\"."
| verify-true
get-view "Test Explorer" | get-tree | select "Project2/Folder2/TC1"
with [get-editor Context | get-section Workspace] {
get-tree | select "project1/Folder - Project1\\/Folder"
get-button Remove | click
get-button "Create Empty Project" | key-type "M1+s"
}
with [get-editor Context | get-section Workspace] {
get-tree | select "project1/folder1/TC1.test - Project2\\/Folder2\\/TC1.test"
get-button Remove | click
get-tree | key-type "M1+s"
}
get-view Problems | get-tree | get-property itemCount | equals 0 | verify-true
get-view "Test Explorer" | get-tree | select "Project2/Folder2/TC1" | get-menu Delete | click
get-window "Delete Resources" | get-button OK | click
get-editor Context | close
with [get-view "Test Explorer"] {
click
get-tree | select "Project1/Context" | double-click
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--