blob: 75de277349ee316975ccb2c19e3de7a48c153312 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _4zI9AWpgEeCzId1Gnkds9A,_vp_JkIHtEeC8fpRZXBpN8g
Element-Name: DisableMoveFeatureForProject
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _wC7VIMlWEeCVO9X7TqWdlg
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:10 PM
Tags: Q7Explorer, Project, Move
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
--------------------------------------------------------------------------------
1. Select project in Q7 Explorer
2. Open context menu
3. Make sure that Move point is disabled in context menu
------=_.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 p2
with [get-view "Test Explorer" | get-tree] {
get-menu "Move..." | get-property caption | equals "Mo&ve..." | verify-true
get-menu "Move..." | get-property enablement | equals false | verify-true
}
get-view "Test Explorer" | get-tree | select "p1/context1"
with [get-view "Test Explorer" | get-tree] {
get-menu "Move..." | get-property caption | equals "Mo&ve..." | verify-true
get-menu "Move..." | get-property enablement | equals true | verify-true
}
get-view "Test Explorer" | get-tree | select p3
with [get-view "Test Explorer" | get-tree] {
get-menu "Move..." | get-property caption | equals "Mo&ve..." | verify-true
get-menu "Move..." | get-property enablement | equals false | verify-true
}
with [get-view "Test Explorer" | get-tree] {
select p2
get-item p2 | drag-start "-6" 11
get-item "p1/scenario1" | drag-enter "-26" 14 -detail 2 -operation 7
get-item "p1/scenario1" | drag-over "-28" 1 -operation 7
get-item "p1/group1" | drag-over "-30" -operation 7
get-item "p1/context1" | drag-over "-30" -operation 7
get-item p1 | drag-over "-10" 6 -operation 7
get-item "p1/scenario1" | drag-exit
get-item p1 | drag-end "-41"
}
get-view "Test Explorer" | get-tree | get-property itemCount | equals 3 | verify-true
with [get-view "Test Explorer" | get-tree] {
get-item p1 | get-property caption | equals p1 | verify-true
get-item p2 | get-property caption | equals p2 | verify-true
get-item p3 | get-property caption | equals p3 | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--