| --- RCPTT testcase --- |
| Format-Version: 1.0 |
| Contexts: _ymiyse5IEeCU6db9MgIBkA,_OKTjMYxiEeK4jYsIiM8Vnw |
| Element-Name: CopyCutPasteDescriptionInDefaultContext |
| Element-Type: testcase |
| Element-Version: 3.0 |
| External-Reference: |
| Id: _Nk5VcDQyEeS8BeHVT1fREw |
| Runtime-Version: 1.5.0.201406020630 |
| Save-Time: 9/4/14 8:05 PM |
| 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 description in Default Context |
| 2. Copy and Paste using hotkeys |
| 3. Make sure that changes are displayed |
| 4. Select all and cut using menu |
| 5. Make sure that description is empty |
| 6. Paste |
| 7. Make sure that cutted text is in description |
| ------=_.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 "TestProject/Project Settings" | double-click |
| with [get-editor "TestProject - Project Settings" | get-section Description | get-text-viewer] { |
| type-text "Test description" |
| key-type "M1+a" |
| select-range 1 1 1 17 |
| key-type "M1+c" |
| key-type Right |
| key-type "M1+v" |
| } |
| get-editor "TestProject - Project Settings" | get-section Description | get-editbox | get-property text |
| | equals "Test descriptionTest description" | verify-true |
| |
| with [get-editor "TestProject - Project Settings" | get-section Description | get-text-viewer] { |
| set-caret-pos 1 33 |
| key-type "M1+a" |
| select-range 1 1 1 33 |
| } |
| get-menu "Edit/Cut" | click |
| get-editor "TestProject - Project Settings" | get-section Description | get-editbox | get-property text |
| | equals "" | verify-true |
| |
| get-menu "Edit/Paste" | click |
| get-editor "TestProject - Project Settings" | get-section Description | get-editbox | get-property text |
| | equals "Test descriptionTest description" | verify-true |
| |
| ------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac-- |