blob: b799d3f3bce7dcdc6e520a15a48e00c0cb8d1957 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_IeEQkPSUEeCE1L2j6bYoFw
Element-Name: FilterSearchContextByContainedProject
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _kl6OgPVkEeCsI4NSS6tu2Q
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:04 PM
Tags: SearchReplace, Context, Project
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. Have a workspace context with Prrr project inside;
2. Type Prrr in filter text search field;
3. Make sure that context is 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 "Q7Project/WorkspaceContext" | double-click -nowait
with [get-editor WorkspaceContext] {
with [get-section Workspace] {
get-button "Create Empty Project" | click
with [get-tree] {
select project1 | activate-cell-edit
with [get-editbox] {
set-text prrr
}
apply-cell-edit
key-type "M1+s"
}
}
close
}
with [get-view "Test Explorer"] {
click -nowait
get-editbox | set-text prrr
}
with [get-view "Test Explorer" | get-tree] {
get-property itemCount | equals 1 | verify-true
get-item "Q7Project/WorkspaceContext" | get-property caption | equals WorkspaceContext | verify-true
}
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--