blob: 39b57196a3de6e4d80b8f457150bdd16ba13e842 [file] [log] [blame]
--- RCPTT testcase ---
Format-Version: 1.0
Contexts: _SsJe4EGLEeWqEaLYgRXhIw
Element-Name: Bug 474198_Read-File command
Element-Type: testcase
Element-Version: 3.0
External-Reference: https://bugs.eclipse.org/bugs/show_bug.cgi?id=474198
Id: _DaCmwEGLEeWqEaLYgRXhIw
Runtime-Version: 2.5.0.201907142359
Save-Time: 7/16/19 4:59 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:x
Xored Software Inc - initial creation and/or initial documentation
--------------------------------------------------------------------------------
TEST STEPS
1. Get the file content with read-file command and check it for equality.
------=_.description-216f885c-d591-38ce-8ea2-e4f8cb4d6ffa--
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac
Content-Type: text/ecl
Entry-Name: .content
read-file -uri "workspace:/MyProject/File.txt" | equals "FileContent"
+"\nNextLine" | verify-true
------=_.content-0a7243a0-75d3-3d5f-9791-539de0e5b7ac--