blob: 16726f4429437d550fdf5de6a06f16ce278b05ae [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_IeEQkPSUEeCE1L2j6bYoFw
Element-Name: FilterSearchContextByName
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _QBw_kPVlEeCsI4NSS6tu2Q
Q7-Runtime-Version: 1.5.0.201406131029
Save-Time: 6/13/14 7:04 PM
Tags: SearchReplace, Context
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. Enter "ontext" in Filter Searh field;
2. Make sure that all contexts are displayed;
3. Type "workspacecontext";
4. Make sure that context with WorkspaceContext name is displayed only.
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
get-view "Test Explorer" | get-editbox | set-text onte
with [get-view "Test Explorer" | get-tree] {
get-property itemCount | equals 1 | verify-true
get-item Q7Project | get-property childCount | equals 6 | verify-true
get-item "Q7Project/DebugContext" | get-property caption | equals DebugContext | verify-true
get-item "Q7Project/EclContext" | get-property caption | equals EclContext | verify-true
get-item "Q7Project/GroupContext" | get-property caption | equals GroupContext | verify-true
get-item "Q7Project/PreferenceContext" | get-property caption | equals PreferenceContext | verify-true
get-item "Q7Project/WorkbenchContext" | get-property caption | equals WorkbenchContext | verify-true
get-item "Q7Project/WorkspaceContext" | get-property caption | equals WorkspaceContext | verify-true
}
get-view "Test Explorer" | get-editbox | set-text workspacecontext
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--