blob: 26d2740c1f8106fbc8605a0962901b8e97658643 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _4zI9AWpgEeCzId1Gnkds9A,_hVKj4F0JEeGDGrudSYLu8w
Element-Name: ExpandCollapseTreeItems
Element-Type: testcase
Element-Version: 3.0
External-Reference: http://jira4.xored.com/browse/QS-1861
Id: _4-xwMZ5JEeGmRYQaoS4zBQ
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:04 PM
Tags: Q7Explorer
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. Check that tree itemas are not expanded
2. Use "expand" command
3. Check that tree itemas are expanded
4. Use "collapse" command
5. Check that tree itemas are not expanded
TEST RESULT
Tree items are expanded
------=_.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 | get-item MyProject | get-property "getExpanded()" | equals false | verify-true
get-view "Test Explorer" | get-tree | get-item MyProject | expand
get-view "Test Explorer" | get-tree | get-item MyProject | get-property "getExpanded()" | equals true | verify-true
get-view "Test Explorer" | get-tree | get-item MyProject | collapse
get-view "Test Explorer" | get-tree | get-item MyProject | get-property "getExpanded()" | equals false | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--