blob: 9f157541d1774e3be2cd5dd4ef1e5ef0985d2b83 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Q7-vendor: www.xored.com/q7
Contexts: _ymiyse5IEeCU6db9MgIBkA,_n1a-kfriEeCQa9Xqo-1T3A
Element-Name: ImportSameNamedButDifferentTypedContextsIsNotAllowed
Element-Type: testcase
Element-Version: 3.0
External-Reference:
Id: _QKkjkf-oEeClj4EtXJwr4Q
Q7-Runtime-Version: 1.5.0.qualifier
Save-Time: 6/14/14 2:11 PM
Tags: ImportExport
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. Have Project1 with TC1 and workspace context C1 (add this context to a TC1); Project2 with workbench context C1;
2. Export TC1 to a clipboard;
3. Import TC1 from a clipboard to Project2;
4. Verify that you don't have two same-imported contexts in one project.
------=_.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/TC1" | get-menu "Export/Test Portable Format" | click
get-window "Export" | get-button Finish | click
get-view "Test Explorer" | get-tree | select Q7Project3 | get-menu "New/Context" | click
with [get-window "New Context Wizard"] {
get-editbox -after [get-label "Name:"] | set-text DebugContext
get-button Finish | click
}
get-view "Test Explorer" | get-tree | select Q7Project3 | get-menu "Import/Test Portable Format" | click
get-window "Import" | get-button Finish | click
with [get-view "Test Explorer" | get-tree] {
get-item "Q7Project3/DebugContext"
get-item "Q7Project3/DebugContext\\(2\\)"
}
get-view "Test Explorer" | get-tree | select "Q7Project3/TC1" | double-click -nowait
get-editor TC1 | get-section Contexts | click -nowait
get-editor TC1 | get-section Contexts | get-table | get-item "DebugContext\\(2\\) \\(Q7Project3\\)"
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--