sl@0
|
1 |
// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
// f32test\cfileman\t_cfileman_cases.h
|
sl@0
|
15 |
//
|
sl@0
|
16 |
//
|
sl@0
|
17 |
|
sl@0
|
18 |
// Define Test Cases
|
sl@0
|
19 |
#ifndef T_CFILEMAN_CASES_H
|
sl@0
|
20 |
#define T_CFILEMAN_CASES_H
|
sl@0
|
21 |
|
sl@0
|
22 |
#include "t_cfileman_aux.h"
|
sl@0
|
23 |
|
sl@0
|
24 |
extern CFileMan* gFileMan;
|
sl@0
|
25 |
extern RPointerArray<RFile>* gFileHandles;
|
sl@0
|
26 |
extern TBool gAsynch;
|
sl@0
|
27 |
extern TRequestStatus gStat;
|
sl@0
|
28 |
|
sl@0
|
29 |
TChar gFixedDriveValid = 'C';
|
sl@0
|
30 |
TChar gFixedDriveInvalid = '?';
|
sl@0
|
31 |
TChar gFixedDriveReadOnly = 'Z';
|
sl@0
|
32 |
TChar gFixedDriveNotReady = 'A';
|
sl@0
|
33 |
|
sl@0
|
34 |
////////////////////////////////////////////////////////////
|
sl@0
|
35 |
// Test case definitions
|
sl@0
|
36 |
////////////////////////////////////////////////////////////
|
sl@0
|
37 |
static const TTestCaseUnitaryBasic gBasicUnitaryTestCases[] =
|
sl@0
|
38 |
{
|
sl@0
|
39 |
//*****************************Delete API**************************
|
sl@0
|
40 |
//---------------------------------------------
|
sl@0
|
41 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0816
|
sl@0
|
42 |
//! @SYMTestType CIT
|
sl@0
|
43 |
//!
|
sl@0
|
44 |
//! @SYMAPI CFileMan::Delete()
|
sl@0
|
45 |
//! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
|
sl@0
|
46 |
//! The condition is deleting a file 'FILE01.TXT'
|
sl@0
|
47 |
//! @SYMTestActions Deletes the specified file
|
sl@0
|
48 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
49 |
//! @SYMTestPriority High
|
sl@0
|
50 |
//! @SYMTestStatus Implemented
|
sl@0
|
51 |
//---------------------------------------------
|
sl@0
|
52 |
|
sl@0
|
53 |
{
|
sl@0
|
54 |
{816, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
55 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
56 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
57 |
(TText*)L"?:\\SrcCom\\", {ALL,{2,EOB}}},
|
sl@0
|
58 |
},
|
sl@0
|
59 |
|
sl@0
|
60 |
//---------------------------------------------
|
sl@0
|
61 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0817
|
sl@0
|
62 |
//! @SYMTestType CIT
|
sl@0
|
63 |
//!
|
sl@0
|
64 |
//! @SYMAPI CFileMan::Delete()
|
sl@0
|
65 |
//! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
|
sl@0
|
66 |
//! The condition is deleting files with wildcard combination '*.*'
|
sl@0
|
67 |
//! @SYMTestActions Deletes the specified files
|
sl@0
|
68 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
69 |
//! @SYMTestPriority High
|
sl@0
|
70 |
//! @SYMTestStatus Implemented
|
sl@0
|
71 |
//---------------------------------------------
|
sl@0
|
72 |
{
|
sl@0
|
73 |
{817, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
74 |
{&gDriveToTest, (TText*)L"?:\\Src\\*",
|
sl@0
|
75 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
76 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
|
sl@0
|
77 |
},
|
sl@0
|
78 |
|
sl@0
|
79 |
//---------------------------------------------
|
sl@0
|
80 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0818
|
sl@0
|
81 |
//! @SYMTestType CIT
|
sl@0
|
82 |
//!
|
sl@0
|
83 |
//! @SYMAPI CFileMan::Delete()
|
sl@0
|
84 |
//! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
|
sl@0
|
85 |
//! The condition is deleting files with wildcard combination 'FILE*.TXT'
|
sl@0
|
86 |
//! @SYMTestActions Deletes the specified files
|
sl@0
|
87 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
88 |
//! @SYMTestPriority High
|
sl@0
|
89 |
//! @SYMTestStatus Implemented
|
sl@0
|
90 |
//---------------------------------------------
|
sl@0
|
91 |
{
|
sl@0
|
92 |
{818, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
93 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
94 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
95 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
|
sl@0
|
96 |
},
|
sl@0
|
97 |
|
sl@0
|
98 |
//---------------------------------------------
|
sl@0
|
99 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0819
|
sl@0
|
100 |
//! @SYMTestType CIT
|
sl@0
|
101 |
//!
|
sl@0
|
102 |
//! @SYMAPI CFileMan::Delete()
|
sl@0
|
103 |
//! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
|
sl@0
|
104 |
//! The condition is deleting files with wildcard combination 'FILE?.TXT'
|
sl@0
|
105 |
//! @SYMTestActions Deletes the specified files
|
sl@0
|
106 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
107 |
//! @SYMTestPriority High
|
sl@0
|
108 |
//! @SYMTestStatus Implemented
|
sl@0
|
109 |
//---------------------------------------------
|
sl@0
|
110 |
{
|
sl@0
|
111 |
{819, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
112 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
113 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
114 |
(TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
|
sl@0
|
115 |
},
|
sl@0
|
116 |
|
sl@0
|
117 |
//---------------------------------------------
|
sl@0
|
118 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0820
|
sl@0
|
119 |
//! @SYMTestType CIT
|
sl@0
|
120 |
//!
|
sl@0
|
121 |
//! @SYMAPI CFileMan::Delete()
|
sl@0
|
122 |
//! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
|
sl@0
|
123 |
//! The condition is deleting files with wildcard combination '*.TXT'
|
sl@0
|
124 |
//! @SYMTestActions Deletes the specified files
|
sl@0
|
125 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
126 |
//! @SYMTestPriority High
|
sl@0
|
127 |
//! @SYMTestStatus Implemented
|
sl@0
|
128 |
//---------------------------------------------
|
sl@0
|
129 |
{
|
sl@0
|
130 |
{820, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
131 |
{&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
132 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
133 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
|
sl@0
|
134 |
},
|
sl@0
|
135 |
|
sl@0
|
136 |
//---------------------------------------------
|
sl@0
|
137 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0821
|
sl@0
|
138 |
//! @SYMTestType CIT
|
sl@0
|
139 |
//!
|
sl@0
|
140 |
//! @SYMAPI CFileMan::Delete()
|
sl@0
|
141 |
//! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
|
sl@0
|
142 |
//! The condition is deleting files with wildcard combination '*.TXT'
|
sl@0
|
143 |
//! @SYMTestActions Deletes the specified files
|
sl@0
|
144 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
145 |
//! @SYMTestPriority High
|
sl@0
|
146 |
//! @SYMTestStatus Implemented
|
sl@0
|
147 |
//---------------------------------------------
|
sl@0
|
148 |
{
|
sl@0
|
149 |
{821, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
150 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
151 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
152 |
(TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
|
sl@0
|
153 |
},
|
sl@0
|
154 |
|
sl@0
|
155 |
//---------------------------------------------
|
sl@0
|
156 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0822
|
sl@0
|
157 |
//! @SYMTestType CIT
|
sl@0
|
158 |
//!
|
sl@0
|
159 |
//! @SYMAPI CFileMan::Delete()
|
sl@0
|
160 |
//! @SYMTestCaseDesc 1.Tests API with Recursive option
|
sl@0
|
161 |
//! The condition is deleting files with combination 'FILE01.TXT'
|
sl@0
|
162 |
//! @SYMTestActions Deletes the specified files
|
sl@0
|
163 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
164 |
//! @SYMTestPriority High
|
sl@0
|
165 |
//! @SYMTestStatus Implemented
|
sl@0
|
166 |
//---------------------------------------------
|
sl@0
|
167 |
{
|
sl@0
|
168 |
{822, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
169 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
170 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
171 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
|
sl@0
|
172 |
},
|
sl@0
|
173 |
|
sl@0
|
174 |
//---------------------------------------------
|
sl@0
|
175 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0823
|
sl@0
|
176 |
//! @SYMTestType CIT
|
sl@0
|
177 |
//!
|
sl@0
|
178 |
//! @SYMAPI CFileMan::Delete()
|
sl@0
|
179 |
//! @SYMTestCaseDesc 1.Tests API with Recursive option
|
sl@0
|
180 |
//! The condition is deleting files with wildcard combination 'FILE.*'
|
sl@0
|
181 |
//! @SYMTestActions Deletes the specified files
|
sl@0
|
182 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
183 |
//! @SYMTestPriority High
|
sl@0
|
184 |
//! @SYMTestStatus Implemented
|
sl@0
|
185 |
//---------------------------------------------
|
sl@0
|
186 |
{
|
sl@0
|
187 |
{823, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
188 |
{&gDriveToTest, (TText*)L"?:\\Src\\*",
|
sl@0
|
189 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
190 |
(TText*)L"?:\\SrcCom\\", {{8,17,26,35,EOB},EMPTY}},
|
sl@0
|
191 |
},
|
sl@0
|
192 |
|
sl@0
|
193 |
//---------------------------------------------
|
sl@0
|
194 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0824
|
sl@0
|
195 |
//! @SYMTestType CIT
|
sl@0
|
196 |
//!
|
sl@0
|
197 |
//! @SYMAPI CFileMan::Delete()
|
sl@0
|
198 |
//! @SYMTestCaseDesc 1.Tests API with Recursive option
|
sl@0
|
199 |
//! The condition is deleting files with wildcard combination 'FILE*.TXT'
|
sl@0
|
200 |
//! @SYMTestActions Deletes the specified files
|
sl@0
|
201 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
202 |
//! @SYMTestPriority High
|
sl@0
|
203 |
//! @SYMTestStatus Implemented
|
sl@0
|
204 |
//---------------------------------------------
|
sl@0
|
205 |
{
|
sl@0
|
206 |
{824, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
207 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
208 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
209 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK05}},
|
sl@0
|
210 |
},
|
sl@0
|
211 |
|
sl@0
|
212 |
//---------------------------------------------
|
sl@0
|
213 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0825
|
sl@0
|
214 |
//! @SYMTestType CIT
|
sl@0
|
215 |
//!
|
sl@0
|
216 |
//! @SYMAPI CFileMan::Delete()
|
sl@0
|
217 |
//! @SYMTestCaseDesc 1.Tests API with Recursive option
|
sl@0
|
218 |
//! The condition is deleting files with wildcard combination 'FILE?.TXT'
|
sl@0
|
219 |
//! @SYMTestActions Deletes the specified files
|
sl@0
|
220 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
221 |
//! @SYMTestPriority High
|
sl@0
|
222 |
//! @SYMTestStatus Implemented
|
sl@0
|
223 |
//---------------------------------------------
|
sl@0
|
224 |
{
|
sl@0
|
225 |
{825, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
226 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
227 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
228 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
|
sl@0
|
229 |
},
|
sl@0
|
230 |
|
sl@0
|
231 |
//---------------------------------------------
|
sl@0
|
232 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0826
|
sl@0
|
233 |
//! @SYMTestType CIT
|
sl@0
|
234 |
//!
|
sl@0
|
235 |
//! @SYMAPI CFileMan::Delete()
|
sl@0
|
236 |
//! @SYMTestCaseDesc 1.Tests API with Recursive option
|
sl@0
|
237 |
//! The condition is deleting files with wildcard combination '*.TXT'
|
sl@0
|
238 |
//! @SYMTestActions Deletes the specified files
|
sl@0
|
239 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
240 |
//! @SYMTestPriority High
|
sl@0
|
241 |
//! @SYMTestStatus Implemented
|
sl@0
|
242 |
//---------------------------------------------
|
sl@0
|
243 |
{
|
sl@0
|
244 |
{826, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
245 |
{&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
246 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
247 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK36}},
|
sl@0
|
248 |
},
|
sl@0
|
249 |
|
sl@0
|
250 |
//---------------------------------------------
|
sl@0
|
251 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0827
|
sl@0
|
252 |
//! @SYMTestType CIT
|
sl@0
|
253 |
//!
|
sl@0
|
254 |
//! @SYMAPI CFileMan::Delete()
|
sl@0
|
255 |
//! @SYMTestCaseDesc 1.Tests API with Recursive option
|
sl@0
|
256 |
//! The condition is deleting files with wildcard combination 'FILE.*'
|
sl@0
|
257 |
//! @SYMTestActions Deletes the specified files
|
sl@0
|
258 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
259 |
//! @SYMTestPriority High
|
sl@0
|
260 |
//! @SYMTestStatus Implemented
|
sl@0
|
261 |
//---------------------------------------------
|
sl@0
|
262 |
{
|
sl@0
|
263 |
{827, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
264 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
265 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
266 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK37}},
|
sl@0
|
267 |
},
|
sl@0
|
268 |
|
sl@0
|
269 |
|
sl@0
|
270 |
//*****************************RmDir API**************************
|
sl@0
|
271 |
//---------------------------------------------
|
sl@0
|
272 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0828
|
sl@0
|
273 |
//! @SYMTestType CIT
|
sl@0
|
274 |
//!
|
sl@0
|
275 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
276 |
//! @SYMTestCaseDesc 1.Tests API with Recursive option
|
sl@0
|
277 |
//! Removes directory and all files directory structure.
|
sl@0
|
278 |
//! @SYMTestActions Removes the specified directory and its contents.
|
sl@0
|
279 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
280 |
//! @SYMTestPriority High
|
sl@0
|
281 |
//! @SYMTestStatus Implemented
|
sl@0
|
282 |
//---------------------------------------------
|
sl@0
|
283 |
{
|
sl@0
|
284 |
{828, ECFMRmDir, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
285 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\",
|
sl@0
|
286 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
287 |
(TText*)L"?:\\SrcCom\\", {ALL,BLOCK39}},
|
sl@0
|
288 |
},
|
sl@0
|
289 |
|
sl@0
|
290 |
//---------------------------------------------
|
sl@0
|
291 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0829
|
sl@0
|
292 |
//! @SYMTestType CIT
|
sl@0
|
293 |
//!
|
sl@0
|
294 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
295 |
//! @SYMTestCaseDesc 1.Tests API with Recursive option
|
sl@0
|
296 |
//! Deletes directories with wildcard combination 'DIR*' and directory structure.
|
sl@0
|
297 |
//! @SYMTestActions Removes the specified directory and its contents.
|
sl@0
|
298 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
299 |
//! @SYMTestPriority High
|
sl@0
|
300 |
//! @SYMTestStatus Implemented
|
sl@0
|
301 |
//---------------------------------------------
|
sl@0
|
302 |
//case 101 :Wild card case. This case shows,directory is considered only if '\\' is given
|
sl@0
|
303 |
{
|
sl@0
|
304 |
{829, ECFMRmDir, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
305 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\DIR*",
|
sl@0
|
306 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
307 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK39}},
|
sl@0
|
308 |
},
|
sl@0
|
309 |
|
sl@0
|
310 |
//Basic Negative test case for RmDir:
|
sl@0
|
311 |
//---------------------------------------------
|
sl@0
|
312 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0955
|
sl@0
|
313 |
//! @SYMTestType CIT
|
sl@0
|
314 |
//!
|
sl@0
|
315 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
316 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
317 |
//! Remove a directory with longpath name from Src.
|
sl@0
|
318 |
//! @SYMTestActions Remove directory does not happen, returns the error code.
|
sl@0
|
319 |
//! @SYMTestExpectedResults 1.KErrBadName in success case
|
sl@0
|
320 |
//! @SYMTestPriority High
|
sl@0
|
321 |
//! @SYMTestStatus Implemented
|
sl@0
|
322 |
//---------------------------------------------
|
sl@0
|
323 |
{
|
sl@0
|
324 |
{955, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
325 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\\\",
|
sl@0
|
326 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
327 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
328 |
},
|
sl@0
|
329 |
|
sl@0
|
330 |
//---------------------------------------------
|
sl@0
|
331 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0956
|
sl@0
|
332 |
//! @SYMTestType CIT
|
sl@0
|
333 |
//!
|
sl@0
|
334 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
335 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
336 |
//! Remove a File with long name from Src.
|
sl@0
|
337 |
//! @SYMTestActions Remove directory does not happen, returns the error code.
|
sl@0
|
338 |
//! @SYMTestExpectedResults 1.KErrBadName in success case
|
sl@0
|
339 |
//! @SYMTestPriority High
|
sl@0
|
340 |
//! @SYMTestStatus Implemented
|
sl@0
|
341 |
//---------------------------------------------
|
sl@0
|
342 |
{
|
sl@0
|
343 |
{956, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
344 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asfdsa21asfdsa22asfdsa23asfdsa24asfdsa25asfdsa26",
|
sl@0
|
345 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
346 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
347 |
},
|
sl@0
|
348 |
|
sl@0
|
349 |
//---------------------------------------------
|
sl@0
|
350 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0957
|
sl@0
|
351 |
//! @SYMTestType CIT
|
sl@0
|
352 |
//!
|
sl@0
|
353 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
354 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
355 |
//! Remove a directory that doesnot exist.
|
sl@0
|
356 |
//! @SYMTestActions Remove directory does not happen, returns the error code.
|
sl@0
|
357 |
//! @SYMTestExpectedResults 1.KErrNotReady in success case
|
sl@0
|
358 |
//! @SYMTestPriority High
|
sl@0
|
359 |
//! @SYMTestStatus Implemented
|
sl@0
|
360 |
//---------------------------------------------
|
sl@0
|
361 |
|
sl@0
|
362 |
{
|
sl@0
|
363 |
{957, ECFMRmDir, 0, KErrNotReady, KErrNone, KErrNotReady},
|
sl@0
|
364 |
{&gFixedDriveNotReady, (TText*)L"?:\\Src\\",
|
sl@0
|
365 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
366 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
367 |
},
|
sl@0
|
368 |
|
sl@0
|
369 |
//---------------------------------------------
|
sl@0
|
370 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0958
|
sl@0
|
371 |
//! @SYMTestType CIT
|
sl@0
|
372 |
//!
|
sl@0
|
373 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
374 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
375 |
//! Remove 'Readonly' directory.
|
sl@0
|
376 |
//! @SYMTestActions Remove directory does not happen, returns the error code.
|
sl@0
|
377 |
//! @SYMTestExpectedResults 1.KErrInUse in success case
|
sl@0
|
378 |
//! @SYMTestPriority High
|
sl@0
|
379 |
//! @SYMTestStatus Implemented
|
sl@0
|
380 |
//---------------------------------------------
|
sl@0
|
381 |
|
sl@0
|
382 |
{
|
sl@0
|
383 |
{958, ECFMRmDir, 0, KErrInUse, KErrNone, KErrInUse},
|
sl@0
|
384 |
{&gFixedDriveReadOnly, (TText*)L"?:\\",
|
sl@0
|
385 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
386 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
387 |
},
|
sl@0
|
388 |
|
sl@0
|
389 |
//---------------------------------------------
|
sl@0
|
390 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0959
|
sl@0
|
391 |
//! @SYMTestType CIT
|
sl@0
|
392 |
//!
|
sl@0
|
393 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
394 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
395 |
//! Remove 'non-available' directory.
|
sl@0
|
396 |
//! @SYMTestActions Remove directory does not happen, returns the error code.
|
sl@0
|
397 |
//! @SYMTestExpectedResults 1.KErrPathNotFound in success case
|
sl@0
|
398 |
//! @SYMTestPriority High
|
sl@0
|
399 |
//! @SYMTestStatus Implemented
|
sl@0
|
400 |
//---------------------------------------------
|
sl@0
|
401 |
|
sl@0
|
402 |
{
|
sl@0
|
403 |
{959, ECFMRmDir, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
|
sl@0
|
404 |
{&gDriveToTest, (TText*)L"?:\\Src\\NODIR\\",
|
sl@0
|
405 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
406 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
407 |
},
|
sl@0
|
408 |
|
sl@0
|
409 |
//---------------------------------------------
|
sl@0
|
410 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0960
|
sl@0
|
411 |
//! @SYMTestType CIT
|
sl@0
|
412 |
//!
|
sl@0
|
413 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
414 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
415 |
//! Remove 'Invalid' directory pathname.
|
sl@0
|
416 |
//! @SYMTestActions Remove directory does not happen, returns the error code.
|
sl@0
|
417 |
//! @SYMTestExpectedResults 1.KErrBadName in success case
|
sl@0
|
418 |
//! @SYMTestPriority High
|
sl@0
|
419 |
//! @SYMTestStatus Implemented
|
sl@0
|
420 |
//---------------------------------------------
|
sl@0
|
421 |
|
sl@0
|
422 |
{
|
sl@0
|
423 |
{960, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
424 |
{&gDriveToTest, (TText*)L"C\\Src\\Dir?",
|
sl@0
|
425 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
426 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
427 |
},
|
sl@0
|
428 |
|
sl@0
|
429 |
//---------------------------------------------
|
sl@0
|
430 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0961
|
sl@0
|
431 |
//! @SYMTestType CIT
|
sl@0
|
432 |
//!
|
sl@0
|
433 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
434 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
435 |
//! Remove 'Invalid' directory pathname.
|
sl@0
|
436 |
//! @SYMTestActions Remove directory does not happen, returns the error code.
|
sl@0
|
437 |
//! @SYMTestExpectedResults 1.KErrBadName in success case
|
sl@0
|
438 |
//! @SYMTestPriority High
|
sl@0
|
439 |
//! @SYMTestStatus Implemented
|
sl@0
|
440 |
//---------------------------------------------
|
sl@0
|
441 |
|
sl@0
|
442 |
{
|
sl@0
|
443 |
{961, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
444 |
{&gFixedDriveInvalid, (TText*)L"::C:",
|
sl@0
|
445 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
446 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
447 |
},
|
sl@0
|
448 |
|
sl@0
|
449 |
//Basic Negative test case for Delete:
|
sl@0
|
450 |
//---------------------------------------------
|
sl@0
|
451 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0962
|
sl@0
|
452 |
//! @SYMTestType CIT
|
sl@0
|
453 |
//!
|
sl@0
|
454 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
455 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
456 |
//! Delete a file with longpath name from Src.
|
sl@0
|
457 |
//! @SYMTestActions Delete files does not happen, returns the error code.
|
sl@0
|
458 |
//! @SYMTestExpectedResults 1.KErrBadName in success case
|
sl@0
|
459 |
//! @SYMTestPriority High
|
sl@0
|
460 |
//! @SYMTestStatus Implemented
|
sl@0
|
461 |
//---------------------------------------------
|
sl@0
|
462 |
|
sl@0
|
463 |
{
|
sl@0
|
464 |
{962, ECFMDelete, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
465 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\\\",
|
sl@0
|
466 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
467 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
468 |
},
|
sl@0
|
469 |
|
sl@0
|
470 |
//---------------------------------------------
|
sl@0
|
471 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0963
|
sl@0
|
472 |
//! @SYMTestType CIT
|
sl@0
|
473 |
//!
|
sl@0
|
474 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
475 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
476 |
//! Delete a file with longname from Src.
|
sl@0
|
477 |
//! @SYMTestActions Delete files does not happen, returns the error code.
|
sl@0
|
478 |
//! @SYMTestExpectedResults 1.KErrBadName in success case
|
sl@0
|
479 |
//! @SYMTestPriority High
|
sl@0
|
480 |
//! @SYMTestStatus Implemented
|
sl@0
|
481 |
//---------------------------------------------
|
sl@0
|
482 |
|
sl@0
|
483 |
{
|
sl@0
|
484 |
{963, ECFMDelete, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
485 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26",
|
sl@0
|
486 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
487 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
488 |
},
|
sl@0
|
489 |
|
sl@0
|
490 |
|
sl@0
|
491 |
//---------------------------------------------
|
sl@0
|
492 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0964
|
sl@0
|
493 |
//! @SYMTestType CIT
|
sl@0
|
494 |
//!
|
sl@0
|
495 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
496 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
497 |
//! Delete a drives not ready.
|
sl@0
|
498 |
//! @SYMTestActions Delete files does not happen, returns the error code.
|
sl@0
|
499 |
//! @SYMTestExpectedResults 1.KErrNotReady in success case
|
sl@0
|
500 |
//! @SYMTestPriority High
|
sl@0
|
501 |
//! @SYMTestStatus Implemented
|
sl@0
|
502 |
//---------------------------------------------
|
sl@0
|
503 |
|
sl@0
|
504 |
{
|
sl@0
|
505 |
{964, ECFMDelete, 0, KErrNotReady, KErrNone, KErrNotReady},
|
sl@0
|
506 |
{&gFixedDriveNotReady, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
507 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
508 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
509 |
},
|
sl@0
|
510 |
|
sl@0
|
511 |
//---------------------------------------------
|
sl@0
|
512 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0965
|
sl@0
|
513 |
//! @SYMTestType CIT
|
sl@0
|
514 |
//!
|
sl@0
|
515 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
516 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
517 |
//! Delete a file from directory from source that is 'ReadOnly'.
|
sl@0
|
518 |
//! @SYMTestActions Delete files does not happen, returns the error code.
|
sl@0
|
519 |
//! @SYMTestExpectedResults 1.KErrAccessDenied in success case
|
sl@0
|
520 |
//! @SYMTestPriority High
|
sl@0
|
521 |
//! @SYMTestStatus Implemented
|
sl@0
|
522 |
//---------------------------------------------
|
sl@0
|
523 |
|
sl@0
|
524 |
{
|
sl@0
|
525 |
{965, ECFMDelete, 0, KErrAccessDenied, KErrNone, KErrAccessDenied},
|
sl@0
|
526 |
{&gFixedDriveReadOnly, (TText*)L"?:\\test\\",
|
sl@0
|
527 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
528 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
529 |
},
|
sl@0
|
530 |
|
sl@0
|
531 |
//---------------------------------------------
|
sl@0
|
532 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0966
|
sl@0
|
533 |
//! @SYMTestType CIT
|
sl@0
|
534 |
//!
|
sl@0
|
535 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
536 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
537 |
//! Delete a directory from source doesnot exist.
|
sl@0
|
538 |
//! @SYMTestActions Delete files does not happen, returns the error code.
|
sl@0
|
539 |
//! @SYMTestExpectedResults 1.KErrPathNotFound in success case
|
sl@0
|
540 |
//! @SYMTestPriority High
|
sl@0
|
541 |
//! @SYMTestStatus Implemented
|
sl@0
|
542 |
//---------------------------------------------
|
sl@0
|
543 |
|
sl@0
|
544 |
{
|
sl@0
|
545 |
{966, ECFMDelete, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
|
sl@0
|
546 |
{&gDriveToTest, (TText*)L"?:\\Src\\NODIR\\",
|
sl@0
|
547 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
548 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
549 |
},
|
sl@0
|
550 |
|
sl@0
|
551 |
//---------------------------------------------
|
sl@0
|
552 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0967
|
sl@0
|
553 |
//! @SYMTestType CIT
|
sl@0
|
554 |
//!
|
sl@0
|
555 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
556 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
557 |
//! Delete a directory with invalid pathname.
|
sl@0
|
558 |
//! @SYMTestActions Delete files does not happen, returns the error code.
|
sl@0
|
559 |
//! @SYMTestExpectedResults 1.KErrBadName in success case
|
sl@0
|
560 |
//! @SYMTestPriority High
|
sl@0
|
561 |
//! @SYMTestStatus Implemented
|
sl@0
|
562 |
//---------------------------------------------
|
sl@0
|
563 |
|
sl@0
|
564 |
{
|
sl@0
|
565 |
{967, ECFMDelete, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
566 |
{&gDriveToTest, (TText*)L"C\\Src\\Dir",
|
sl@0
|
567 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
568 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
569 |
},
|
sl@0
|
570 |
|
sl@0
|
571 |
//---------------------------------------------
|
sl@0
|
572 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0968
|
sl@0
|
573 |
//! @SYMTestType CIT
|
sl@0
|
574 |
//!
|
sl@0
|
575 |
//! @SYMAPI CFileMan::RmDir()
|
sl@0
|
576 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
|
sl@0
|
577 |
//! Delete a directory with invalid pathname.
|
sl@0
|
578 |
//! @SYMTestActions Delete files does not happen, returns the error code.
|
sl@0
|
579 |
//! @SYMTestExpectedResults 1.KErrBadName in success case
|
sl@0
|
580 |
//! @SYMTestPriority High
|
sl@0
|
581 |
//! @SYMTestStatus Implemented
|
sl@0
|
582 |
//---------------------------------------------
|
sl@0
|
583 |
|
sl@0
|
584 |
{
|
sl@0
|
585 |
{968, ECFMDelete, 0, KErrBadName, KErrNone, KErrBadName},
|
sl@0
|
586 |
{&gDriveToTest, (TText*)L"::C:",
|
sl@0
|
587 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
588 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
589 |
},
|
sl@0
|
590 |
|
sl@0
|
591 |
//End unary API test cases
|
sl@0
|
592 |
{{0}}
|
sl@0
|
593 |
|
sl@0
|
594 |
};
|
sl@0
|
595 |
|
sl@0
|
596 |
static TTestCaseBinaryBasic gBasicBinaryTestCases[] =
|
sl@0
|
597 |
{
|
sl@0
|
598 |
//*****************************Copy API**************************
|
sl@0
|
599 |
|
sl@0
|
600 |
//---------------------------------------------
|
sl@0
|
601 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0830
|
sl@0
|
602 |
//! @SYMTestType CIT
|
sl@0
|
603 |
//!
|
sl@0
|
604 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
605 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
606 |
//! Copy a file FILE2.TXT from source to the target.
|
sl@0
|
607 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
608 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
609 |
//! @SYMTestPriority High
|
sl@0
|
610 |
//! @SYMTestStatus Implemented
|
sl@0
|
611 |
//---------------------------------------------
|
sl@0
|
612 |
|
sl@0
|
613 |
{
|
sl@0
|
614 |
{830, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
615 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE2.TXT",
|
sl@0
|
616 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
617 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
618 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
619 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
620 |
(TText*)L"?:\\TrgCom\\", {{1,EOB}, EMPTY}}
|
sl@0
|
621 |
},
|
sl@0
|
622 |
|
sl@0
|
623 |
//---------------------------------------------
|
sl@0
|
624 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0831
|
sl@0
|
625 |
//! @SYMTestType CIT
|
sl@0
|
626 |
//!
|
sl@0
|
627 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
628 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
629 |
//! Copy files with wildcard combination '*.*' from source to the target.
|
sl@0
|
630 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
631 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
632 |
//! @SYMTestPriority High
|
sl@0
|
633 |
//! @SYMTestStatus Implemented
|
sl@0
|
634 |
//---------------------------------------------
|
sl@0
|
635 |
|
sl@0
|
636 |
{
|
sl@0
|
637 |
{831, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
638 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*",
|
sl@0
|
639 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
640 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
641 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
642 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
643 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
644 |
},
|
sl@0
|
645 |
|
sl@0
|
646 |
//---------------------------------------------
|
sl@0
|
647 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0832
|
sl@0
|
648 |
//! @SYMTestType CIT
|
sl@0
|
649 |
//!
|
sl@0
|
650 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
651 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
652 |
//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
|
sl@0
|
653 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
654 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
655 |
//! @SYMTestPriority High
|
sl@0
|
656 |
//! @SYMTestStatus Implemented
|
sl@0
|
657 |
//---------------------------------------------
|
sl@0
|
658 |
|
sl@0
|
659 |
{
|
sl@0
|
660 |
{832, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
661 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
662 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
663 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
664 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
665 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
666 |
(TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
|
sl@0
|
667 |
},
|
sl@0
|
668 |
|
sl@0
|
669 |
//---------------------------------------------
|
sl@0
|
670 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0833
|
sl@0
|
671 |
//! @SYMTestType CIT
|
sl@0
|
672 |
//!
|
sl@0
|
673 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
674 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
675 |
//! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
|
sl@0
|
676 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
677 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
678 |
//! @SYMTestPriority High
|
sl@0
|
679 |
//! @SYMTestStatus Implemented
|
sl@0
|
680 |
//---------------------------------------------
|
sl@0
|
681 |
|
sl@0
|
682 |
{
|
sl@0
|
683 |
{833, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
684 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
685 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
686 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
687 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
688 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
689 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
690 |
},
|
sl@0
|
691 |
|
sl@0
|
692 |
//---------------------------------------------
|
sl@0
|
693 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0834
|
sl@0
|
694 |
//! @SYMTestType CIT
|
sl@0
|
695 |
//!
|
sl@0
|
696 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
697 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
698 |
//! Copy files with wildcard combination '*.TXT' from source to the target.
|
sl@0
|
699 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
700 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
701 |
//! @SYMTestPriority High
|
sl@0
|
702 |
//! @SYMTestStatus Implemented
|
sl@0
|
703 |
//---------------------------------------------
|
sl@0
|
704 |
|
sl@0
|
705 |
{
|
sl@0
|
706 |
{834, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
707 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
708 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
709 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
710 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
711 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
712 |
(TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
|
sl@0
|
713 |
},
|
sl@0
|
714 |
|
sl@0
|
715 |
//---------------------------------------------
|
sl@0
|
716 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0835
|
sl@0
|
717 |
//! @SYMTestType CIT
|
sl@0
|
718 |
//!
|
sl@0
|
719 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
720 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
721 |
//! Copy files with wildcard combination 'FILE.*' from source to the target.
|
sl@0
|
722 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
723 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
724 |
//! @SYMTestPriority High
|
sl@0
|
725 |
//! @SYMTestStatus Implemented
|
sl@0
|
726 |
//---------------------------------------------
|
sl@0
|
727 |
|
sl@0
|
728 |
{
|
sl@0
|
729 |
{835, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
730 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
731 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
732 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
733 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
734 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
735 |
(TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
|
sl@0
|
736 |
},
|
sl@0
|
737 |
|
sl@0
|
738 |
//---------------------------------------------
|
sl@0
|
739 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0836
|
sl@0
|
740 |
//! @SYMTestType CIT
|
sl@0
|
741 |
//!
|
sl@0
|
742 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
743 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
744 |
//! Copy file with combination 'FILE01.TXT' from source to the target.
|
sl@0
|
745 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
746 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
747 |
//! @SYMTestPriority High
|
sl@0
|
748 |
//! @SYMTestStatus Implemented
|
sl@0
|
749 |
//---------------------------------------------
|
sl@0
|
750 |
|
sl@0
|
751 |
{
|
sl@0
|
752 |
{836, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
753 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
754 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
755 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
756 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
757 |
(TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
|
sl@0
|
758 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
759 |
},
|
sl@0
|
760 |
|
sl@0
|
761 |
//---------------------------------------------
|
sl@0
|
762 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0837
|
sl@0
|
763 |
//! @SYMTestType CIT
|
sl@0
|
764 |
//!
|
sl@0
|
765 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
766 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
767 |
//! Copy files with wildcard combination '*.*' from source to the target.
|
sl@0
|
768 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
769 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
770 |
//! @SYMTestPriority High
|
sl@0
|
771 |
//! @SYMTestStatus Implemented
|
sl@0
|
772 |
//---------------------------------------------
|
sl@0
|
773 |
|
sl@0
|
774 |
{
|
sl@0
|
775 |
{837, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
776 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*",
|
sl@0
|
777 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
778 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
779 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
780 |
(TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
|
sl@0
|
781 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
782 |
},
|
sl@0
|
783 |
|
sl@0
|
784 |
//---------------------------------------------
|
sl@0
|
785 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0838
|
sl@0
|
786 |
//! @SYMTestType CIT
|
sl@0
|
787 |
//!
|
sl@0
|
788 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
789 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
790 |
//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
|
sl@0
|
791 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
792 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
793 |
//! @SYMTestPriority High
|
sl@0
|
794 |
//! @SYMTestStatus Implemented
|
sl@0
|
795 |
//---------------------------------------------
|
sl@0
|
796 |
|
sl@0
|
797 |
{
|
sl@0
|
798 |
{838, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
799 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
800 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
801 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
802 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
803 |
(TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
|
sl@0
|
804 |
(TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
|
sl@0
|
805 |
},
|
sl@0
|
806 |
|
sl@0
|
807 |
//---------------------------------------------
|
sl@0
|
808 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0839
|
sl@0
|
809 |
//! @SYMTestType CIT
|
sl@0
|
810 |
//!
|
sl@0
|
811 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
812 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
813 |
//! Copies files with wildcard combination 'FILE?.TXT' from source to the target.
|
sl@0
|
814 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
815 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
816 |
//! @SYMTestPriority High
|
sl@0
|
817 |
//! @SYMTestStatus Implemented
|
sl@0
|
818 |
//---------------------------------------------
|
sl@0
|
819 |
|
sl@0
|
820 |
{
|
sl@0
|
821 |
{839, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
822 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
823 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
824 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
825 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
826 |
(TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
|
sl@0
|
827 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
828 |
},
|
sl@0
|
829 |
|
sl@0
|
830 |
//---------------------------------------------
|
sl@0
|
831 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0840
|
sl@0
|
832 |
//! @SYMTestType CIT
|
sl@0
|
833 |
//!
|
sl@0
|
834 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
835 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
836 |
//! Copies files with wildcard combination '*.TXT' from source to the target.
|
sl@0
|
837 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
838 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
839 |
//! @SYMTestPriority High
|
sl@0
|
840 |
//! @SYMTestStatus Implemented
|
sl@0
|
841 |
//---------------------------------------------
|
sl@0
|
842 |
|
sl@0
|
843 |
{
|
sl@0
|
844 |
{840, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
845 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
846 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
847 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
848 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
849 |
(TText*)L"?:\\Trg\\", {BLOCK29, EMPTY},
|
sl@0
|
850 |
(TText*)L"?:\\TrgCom\\", {BLOCK29, EMPTY}}
|
sl@0
|
851 |
},
|
sl@0
|
852 |
|
sl@0
|
853 |
//---------------------------------------------
|
sl@0
|
854 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0841
|
sl@0
|
855 |
//! @SYMTestType CIT
|
sl@0
|
856 |
//!
|
sl@0
|
857 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
858 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
859 |
//! Copies files with wildcard combination 'FILE.*' from source to the target.
|
sl@0
|
860 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
861 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
862 |
//! @SYMTestPriority High
|
sl@0
|
863 |
//! @SYMTestStatus Implemented
|
sl@0
|
864 |
//---------------------------------------------
|
sl@0
|
865 |
|
sl@0
|
866 |
{
|
sl@0
|
867 |
{841, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
868 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
869 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
870 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
871 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
872 |
(TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
|
sl@0
|
873 |
(TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
|
sl@0
|
874 |
},
|
sl@0
|
875 |
|
sl@0
|
876 |
//---------------------------------------------
|
sl@0
|
877 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0842
|
sl@0
|
878 |
//! @SYMTestType CIT
|
sl@0
|
879 |
//!
|
sl@0
|
880 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
881 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
|
sl@0
|
882 |
//! Copy file 'FILE01.TXT' from source to the target.
|
sl@0
|
883 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
884 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
885 |
//! @SYMTestPriority High
|
sl@0
|
886 |
//! @SYMTestStatus Implemented
|
sl@0
|
887 |
//---------------------------------------------
|
sl@0
|
888 |
|
sl@0
|
889 |
{
|
sl@0
|
890 |
{842, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
891 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
892 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
893 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
894 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
895 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
896 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
897 |
},
|
sl@0
|
898 |
|
sl@0
|
899 |
//---------------------------------------------
|
sl@0
|
900 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0843
|
sl@0
|
901 |
//! @SYMTestType CIT
|
sl@0
|
902 |
//!
|
sl@0
|
903 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
904 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
|
sl@0
|
905 |
//! Copy files with wildcard combination '*.*' from source to the target.
|
sl@0
|
906 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
907 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
908 |
//! @SYMTestPriority High
|
sl@0
|
909 |
//! @SYMTestStatus Implemented
|
sl@0
|
910 |
//---------------------------------------------
|
sl@0
|
911 |
|
sl@0
|
912 |
{
|
sl@0
|
913 |
{843, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
914 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*",
|
sl@0
|
915 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
916 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
917 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
918 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
919 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
920 |
},
|
sl@0
|
921 |
|
sl@0
|
922 |
//---------------------------------------------
|
sl@0
|
923 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0844
|
sl@0
|
924 |
//! @SYMTestType CIT
|
sl@0
|
925 |
//!
|
sl@0
|
926 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
927 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
|
sl@0
|
928 |
//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
|
sl@0
|
929 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
930 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
931 |
//! @SYMTestPriority High
|
sl@0
|
932 |
//! @SYMTestStatus Implemented
|
sl@0
|
933 |
//---------------------------------------------
|
sl@0
|
934 |
|
sl@0
|
935 |
{
|
sl@0
|
936 |
{844, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
937 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
938 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
939 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
940 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
941 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
942 |
(TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
|
sl@0
|
943 |
},
|
sl@0
|
944 |
|
sl@0
|
945 |
//---------------------------------------------
|
sl@0
|
946 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0845
|
sl@0
|
947 |
//! @SYMTestType CIT
|
sl@0
|
948 |
//!
|
sl@0
|
949 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
950 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
|
sl@0
|
951 |
//! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
|
sl@0
|
952 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
953 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
954 |
//! @SYMTestPriority High
|
sl@0
|
955 |
//! @SYMTestStatus Implemented
|
sl@0
|
956 |
//---------------------------------------------
|
sl@0
|
957 |
|
sl@0
|
958 |
{
|
sl@0
|
959 |
{845, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
960 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
961 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
962 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
963 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
964 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
965 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
966 |
},
|
sl@0
|
967 |
|
sl@0
|
968 |
//---------------------------------------------
|
sl@0
|
969 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0846
|
sl@0
|
970 |
//! @SYMTestType CIT
|
sl@0
|
971 |
//!
|
sl@0
|
972 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
973 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
|
sl@0
|
974 |
//! Copy files with wildcard combination '*.TXT' from source to the target.
|
sl@0
|
975 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
976 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
977 |
//! @SYMTestPriority High
|
sl@0
|
978 |
//! @SYMTestStatus Implemented
|
sl@0
|
979 |
//---------------------------------------------
|
sl@0
|
980 |
|
sl@0
|
981 |
{
|
sl@0
|
982 |
{846, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
983 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
984 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
985 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
986 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
987 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
988 |
(TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
|
sl@0
|
989 |
},
|
sl@0
|
990 |
|
sl@0
|
991 |
//---------------------------------------------
|
sl@0
|
992 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0847
|
sl@0
|
993 |
//! @SYMTestType CIT
|
sl@0
|
994 |
//!
|
sl@0
|
995 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
996 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
|
sl@0
|
997 |
//! Copy files with wildcard combination 'FILE.*' from source to the target.
|
sl@0
|
998 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
999 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1000 |
//! @SYMTestPriority High
|
sl@0
|
1001 |
//! @SYMTestStatus Implemented
|
sl@0
|
1002 |
//---------------------------------------------
|
sl@0
|
1003 |
|
sl@0
|
1004 |
{
|
sl@0
|
1005 |
{847, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1006 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
1007 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1008 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1009 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1010 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1011 |
(TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
|
sl@0
|
1012 |
},
|
sl@0
|
1013 |
|
sl@0
|
1014 |
//---------------------------------------------
|
sl@0
|
1015 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0848
|
sl@0
|
1016 |
//! @SYMTestType CIT
|
sl@0
|
1017 |
//!
|
sl@0
|
1018 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1019 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
1020 |
//! Copy file with combination 'FILE01.TXT' from source to the target.
|
sl@0
|
1021 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1022 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1023 |
//! @SYMTestPriority High
|
sl@0
|
1024 |
//! @SYMTestStatus Implemented
|
sl@0
|
1025 |
//---------------------------------------------
|
sl@0
|
1026 |
|
sl@0
|
1027 |
{
|
sl@0
|
1028 |
{848, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1029 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
1030 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1031 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1032 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1033 |
(TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
|
sl@0
|
1034 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
1035 |
},
|
sl@0
|
1036 |
|
sl@0
|
1037 |
//---------------------------------------------
|
sl@0
|
1038 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0849
|
sl@0
|
1039 |
//! @SYMTestType CIT
|
sl@0
|
1040 |
//!
|
sl@0
|
1041 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1042 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
1043 |
//! Copy files with wildcard combination '*.*' from source to the target.
|
sl@0
|
1044 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1045 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1046 |
//! @SYMTestPriority High
|
sl@0
|
1047 |
//! @SYMTestStatus Implemented
|
sl@0
|
1048 |
//---------------------------------------------
|
sl@0
|
1049 |
|
sl@0
|
1050 |
{
|
sl@0
|
1051 |
{849, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1052 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*",
|
sl@0
|
1053 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1054 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1055 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1056 |
(TText*)L"?:\\Trg\\", {BLOCK01, EMPTY},
|
sl@0
|
1057 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
1058 |
},
|
sl@0
|
1059 |
|
sl@0
|
1060 |
//---------------------------------------------
|
sl@0
|
1061 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0850
|
sl@0
|
1062 |
//! @SYMTestType CIT
|
sl@0
|
1063 |
//!
|
sl@0
|
1064 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1065 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
1066 |
//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
|
sl@0
|
1067 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1068 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1069 |
//! @SYMTestPriority High
|
sl@0
|
1070 |
//! @SYMTestStatus Implemented
|
sl@0
|
1071 |
//---------------------------------------------
|
sl@0
|
1072 |
|
sl@0
|
1073 |
{
|
sl@0
|
1074 |
{850, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1075 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
1076 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1077 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1078 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1079 |
(TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
|
sl@0
|
1080 |
(TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
|
sl@0
|
1081 |
},
|
sl@0
|
1082 |
|
sl@0
|
1083 |
//---------------------------------------------
|
sl@0
|
1084 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0851
|
sl@0
|
1085 |
//! @SYMTestType CIT
|
sl@0
|
1086 |
//!
|
sl@0
|
1087 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1088 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
1089 |
//! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
|
sl@0
|
1090 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1091 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1092 |
//! @SYMTestPriority High
|
sl@0
|
1093 |
//! @SYMTestStatus Implemented
|
sl@0
|
1094 |
//---------------------------------------------
|
sl@0
|
1095 |
|
sl@0
|
1096 |
{
|
sl@0
|
1097 |
{851, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1098 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
1099 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1100 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1101 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1102 |
(TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
|
sl@0
|
1103 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
1104 |
},
|
sl@0
|
1105 |
|
sl@0
|
1106 |
//---------------------------------------------
|
sl@0
|
1107 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0852
|
sl@0
|
1108 |
//! @SYMTestType CIT
|
sl@0
|
1109 |
//!
|
sl@0
|
1110 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1111 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
1112 |
//! Copy files with wildcard combination '*.TXT' from source to the target.
|
sl@0
|
1113 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1114 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1115 |
//! @SYMTestPriority High
|
sl@0
|
1116 |
//! @SYMTestStatus Implemented
|
sl@0
|
1117 |
//---------------------------------------------
|
sl@0
|
1118 |
|
sl@0
|
1119 |
{
|
sl@0
|
1120 |
{852, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1121 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
1122 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1123 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1124 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1125 |
(TText*)L"?:\\Trg\\", {BLOCK03, EMPTY},
|
sl@0
|
1126 |
(TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
|
sl@0
|
1127 |
},
|
sl@0
|
1128 |
|
sl@0
|
1129 |
//---------------------------------------------
|
sl@0
|
1130 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0853
|
sl@0
|
1131 |
//! @SYMTestType CIT
|
sl@0
|
1132 |
//!
|
sl@0
|
1133 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1134 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
1135 |
//! Copy files with wildcard combination 'FILE.*' from source to the target.
|
sl@0
|
1136 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1137 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1138 |
//! @SYMTestPriority High
|
sl@0
|
1139 |
//! @SYMTestStatus Implemented
|
sl@0
|
1140 |
//---------------------------------------------
|
sl@0
|
1141 |
|
sl@0
|
1142 |
{
|
sl@0
|
1143 |
{853, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1144 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
1145 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1146 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1147 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1148 |
(TText*)L"?:\\Trg\\", {{4,6,EOB}, EMPTY},
|
sl@0
|
1149 |
(TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
|
sl@0
|
1150 |
},
|
sl@0
|
1151 |
|
sl@0
|
1152 |
//---------------------------------------------
|
sl@0
|
1153 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0854
|
sl@0
|
1154 |
//! @SYMTestType CIT
|
sl@0
|
1155 |
//!
|
sl@0
|
1156 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1157 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1158 |
//! Copy file with combination 'FILE01.TXT' from source to the target.
|
sl@0
|
1159 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1160 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1161 |
//! @SYMTestPriority High
|
sl@0
|
1162 |
//! @SYMTestStatus Implemented
|
sl@0
|
1163 |
//---------------------------------------------
|
sl@0
|
1164 |
|
sl@0
|
1165 |
{
|
sl@0
|
1166 |
{854, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1167 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
1168 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1169 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1170 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1171 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1172 |
(TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
|
sl@0
|
1173 |
},
|
sl@0
|
1174 |
|
sl@0
|
1175 |
//---------------------------------------------
|
sl@0
|
1176 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0855
|
sl@0
|
1177 |
//! @SYMTestType CIT
|
sl@0
|
1178 |
//!
|
sl@0
|
1179 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1180 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1181 |
//! Copy files with wildcard combination '*.*' from source to the target.
|
sl@0
|
1182 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1183 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1184 |
//! @SYMTestPriority High
|
sl@0
|
1185 |
//! @SYMTestStatus Implemented
|
sl@0
|
1186 |
//---------------------------------------------
|
sl@0
|
1187 |
|
sl@0
|
1188 |
{
|
sl@0
|
1189 |
{855, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1190 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*",
|
sl@0
|
1191 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1192 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1193 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1194 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1195 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
1196 |
},
|
sl@0
|
1197 |
|
sl@0
|
1198 |
//---------------------------------------------
|
sl@0
|
1199 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0856
|
sl@0
|
1200 |
//! @SYMTestType CIT
|
sl@0
|
1201 |
//!
|
sl@0
|
1202 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1203 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1204 |
//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
|
sl@0
|
1205 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1206 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1207 |
//! @SYMTestPriority High
|
sl@0
|
1208 |
//! @SYMTestStatus Implemented
|
sl@0
|
1209 |
//---------------------------------------------
|
sl@0
|
1210 |
|
sl@0
|
1211 |
{
|
sl@0
|
1212 |
{856, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1213 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
1214 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1215 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1216 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1217 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1218 |
(TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
|
sl@0
|
1219 |
},
|
sl@0
|
1220 |
|
sl@0
|
1221 |
//---------------------------------------------
|
sl@0
|
1222 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0857
|
sl@0
|
1223 |
//! @SYMTestType CIT
|
sl@0
|
1224 |
//!
|
sl@0
|
1225 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1226 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1227 |
//! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
|
sl@0
|
1228 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1229 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1230 |
//! @SYMTestPriority High
|
sl@0
|
1231 |
//! @SYMTestStatus Implemented
|
sl@0
|
1232 |
//---------------------------------------------
|
sl@0
|
1233 |
|
sl@0
|
1234 |
{
|
sl@0
|
1235 |
{857, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1236 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
1237 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1238 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1239 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1240 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1241 |
(TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
|
sl@0
|
1242 |
},
|
sl@0
|
1243 |
|
sl@0
|
1244 |
//---------------------------------------------
|
sl@0
|
1245 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0858
|
sl@0
|
1246 |
//! @SYMTestType CIT
|
sl@0
|
1247 |
//!
|
sl@0
|
1248 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1249 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1250 |
//! Copy files with wildcard combination '*.TXT' from source to the target.
|
sl@0
|
1251 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1252 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1253 |
//! @SYMTestPriority High
|
sl@0
|
1254 |
//! @SYMTestStatus Implemented
|
sl@0
|
1255 |
//---------------------------------------------
|
sl@0
|
1256 |
|
sl@0
|
1257 |
{
|
sl@0
|
1258 |
{858, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1259 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
1260 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1261 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1262 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1263 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1264 |
(TText*)L"?:\\TrgCom\\", {BLOCK36, EMPTY}}
|
sl@0
|
1265 |
},
|
sl@0
|
1266 |
|
sl@0
|
1267 |
//---------------------------------------------
|
sl@0
|
1268 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0859
|
sl@0
|
1269 |
//! @SYMTestType CIT
|
sl@0
|
1270 |
//!
|
sl@0
|
1271 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1272 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1273 |
//! Copy files with wildcard combination 'FILE.*' from source to the target.
|
sl@0
|
1274 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1275 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1276 |
//! @SYMTestPriority High
|
sl@0
|
1277 |
//! @SYMTestStatus Implemented
|
sl@0
|
1278 |
//---------------------------------------------
|
sl@0
|
1279 |
|
sl@0
|
1280 |
{
|
sl@0
|
1281 |
{859, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1282 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
1283 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1284 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1285 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1286 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1287 |
(TText*)L"?:\\TrgCom\\", {BLOCK37, EMPTY}}
|
sl@0
|
1288 |
},
|
sl@0
|
1289 |
|
sl@0
|
1290 |
//---------------------------------------------
|
sl@0
|
1291 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0860
|
sl@0
|
1292 |
//! @SYMTestType CIT
|
sl@0
|
1293 |
//!
|
sl@0
|
1294 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1295 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1296 |
//! Copy files with combination 'FILE01.TXT' from source to the target.
|
sl@0
|
1297 |
//! @SYMTestActions Copy does not happen just returns the error code.
|
sl@0
|
1298 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1299 |
//! @SYMTestPriority High
|
sl@0
|
1300 |
//! @SYMTestStatus Implemented
|
sl@0
|
1301 |
//---------------------------------------------
|
sl@0
|
1302 |
|
sl@0
|
1303 |
{
|
sl@0
|
1304 |
{860, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1305 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
1306 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1307 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1308 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1309 |
(TText*)L"?:\\Trg\\", {{2,11,20,29,38,EOB}, EMPTY},
|
sl@0
|
1310 |
(TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
|
sl@0
|
1311 |
},
|
sl@0
|
1312 |
|
sl@0
|
1313 |
//---------------------------------------------
|
sl@0
|
1314 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0861
|
sl@0
|
1315 |
//! @SYMTestType CIT
|
sl@0
|
1316 |
//!
|
sl@0
|
1317 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1318 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1319 |
//! Copy files with wildcard combination '*.*' from source to the target.
|
sl@0
|
1320 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
1321 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1322 |
//! @SYMTestPriority High
|
sl@0
|
1323 |
//! @SYMTestStatus Implemented
|
sl@0
|
1324 |
//---------------------------------------------
|
sl@0
|
1325 |
|
sl@0
|
1326 |
{
|
sl@0
|
1327 |
{861, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1328 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*",
|
sl@0
|
1329 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1330 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1331 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1332 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
1333 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
1334 |
},
|
sl@0
|
1335 |
//---------------------------------------------
|
sl@0
|
1336 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0862
|
sl@0
|
1337 |
//! @SYMTestType CIT
|
sl@0
|
1338 |
//!
|
sl@0
|
1339 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1340 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1341 |
//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
|
sl@0
|
1342 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
1343 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1344 |
//! @SYMTestPriority High
|
sl@0
|
1345 |
//! @SYMTestStatus Implemented
|
sl@0
|
1346 |
//---------------------------------------------
|
sl@0
|
1347 |
|
sl@0
|
1348 |
{
|
sl@0
|
1349 |
{862, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1350 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
1351 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1352 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1353 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1354 |
(TText*)L"?:\\Trg\\", {BLOCK05, EMPTY},
|
sl@0
|
1355 |
(TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
|
sl@0
|
1356 |
},
|
sl@0
|
1357 |
|
sl@0
|
1358 |
//---------------------------------------------
|
sl@0
|
1359 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0863
|
sl@0
|
1360 |
//! @SYMTestType CIT
|
sl@0
|
1361 |
//!
|
sl@0
|
1362 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1363 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1364 |
//! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
|
sl@0
|
1365 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
1366 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1367 |
//! @SYMTestPriority High
|
sl@0
|
1368 |
//! @SYMTestStatus Implemented
|
sl@0
|
1369 |
//---------------------------------------------
|
sl@0
|
1370 |
|
sl@0
|
1371 |
{
|
sl@0
|
1372 |
{863, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1373 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
1374 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1375 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1376 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1377 |
(TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
|
sl@0
|
1378 |
(TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
|
sl@0
|
1379 |
},
|
sl@0
|
1380 |
|
sl@0
|
1381 |
//---------------------------------------------
|
sl@0
|
1382 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0864
|
sl@0
|
1383 |
//! @SYMTestType CIT
|
sl@0
|
1384 |
//!
|
sl@0
|
1385 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1386 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1387 |
//! Copy files with wildcard combination '*.TXT' from source to the target.
|
sl@0
|
1388 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
1389 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1390 |
//! @SYMTestPriority High
|
sl@0
|
1391 |
//! @SYMTestStatus Implemented
|
sl@0
|
1392 |
//---------------------------------------------
|
sl@0
|
1393 |
|
sl@0
|
1394 |
{
|
sl@0
|
1395 |
{864, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1396 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
1397 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1398 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1399 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1400 |
(TText*)L"?:\\Trg\\", {BLOCK34, EMPTY},
|
sl@0
|
1401 |
(TText*)L"?:\\TrgCom\\", {BLOCK34, EMPTY}}
|
sl@0
|
1402 |
},
|
sl@0
|
1403 |
|
sl@0
|
1404 |
//---------------------------------------------
|
sl@0
|
1405 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0865
|
sl@0
|
1406 |
//! @SYMTestType CIT
|
sl@0
|
1407 |
//!
|
sl@0
|
1408 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1409 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1410 |
//! Copy files with wildcard combination 'FILE.*' from source to the target.
|
sl@0
|
1411 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
1412 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1413 |
//! @SYMTestPriority High
|
sl@0
|
1414 |
//! @SYMTestStatus Implemented
|
sl@0
|
1415 |
//---------------------------------------------
|
sl@0
|
1416 |
|
sl@0
|
1417 |
{
|
sl@0
|
1418 |
{865, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1419 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
1420 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1421 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1422 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1423 |
(TText*)L"?:\\Trg\\", {BLOCK37, EMPTY},
|
sl@0
|
1424 |
(TText*)L"?:\\TrgCom\\", {BLOCK37, EMPTY}}
|
sl@0
|
1425 |
},
|
sl@0
|
1426 |
|
sl@0
|
1427 |
//---------------------------------------------
|
sl@0
|
1428 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0866
|
sl@0
|
1429 |
//! @SYMTestType CIT
|
sl@0
|
1430 |
//!
|
sl@0
|
1431 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1432 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
1433 |
//! Copy files with combination 'FILE01.TXT' from source to the target.
|
sl@0
|
1434 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1435 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1436 |
//! @SYMTestPriority High
|
sl@0
|
1437 |
//! @SYMTestStatus Implemented
|
sl@0
|
1438 |
//---------------------------------------------
|
sl@0
|
1439 |
|
sl@0
|
1440 |
{
|
sl@0
|
1441 |
{866, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1442 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
1443 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1444 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1445 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1446 |
(TText*)L"?:\\Trg\\", {{2,11,20,29,38,EOB}, EMPTY},
|
sl@0
|
1447 |
(TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
|
sl@0
|
1448 |
},
|
sl@0
|
1449 |
|
sl@0
|
1450 |
//---------------------------------------------
|
sl@0
|
1451 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0867
|
sl@0
|
1452 |
//! @SYMTestType CIT
|
sl@0
|
1453 |
//!
|
sl@0
|
1454 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1455 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
1456 |
//! Copy files with wildcard combination '*.*' from source to the target.
|
sl@0
|
1457 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1458 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1459 |
//! @SYMTestPriority High
|
sl@0
|
1460 |
//! @SYMTestStatus Implemented
|
sl@0
|
1461 |
//---------------------------------------------
|
sl@0
|
1462 |
|
sl@0
|
1463 |
{
|
sl@0
|
1464 |
{867, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1465 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*",
|
sl@0
|
1466 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1467 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1468 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1469 |
(TText*)L"?:\\Trg\\", {BLOCK04, EMPTY},
|
sl@0
|
1470 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
1471 |
},
|
sl@0
|
1472 |
|
sl@0
|
1473 |
//---------------------------------------------
|
sl@0
|
1474 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0868
|
sl@0
|
1475 |
//! @SYMTestType CIT
|
sl@0
|
1476 |
//!
|
sl@0
|
1477 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1478 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
1479 |
//! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
|
sl@0
|
1480 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1481 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1482 |
//! @SYMTestPriority High
|
sl@0
|
1483 |
//! @SYMTestStatus Implemented
|
sl@0
|
1484 |
//---------------------------------------------
|
sl@0
|
1485 |
|
sl@0
|
1486 |
{
|
sl@0
|
1487 |
{868, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1488 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
1489 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1490 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1491 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1492 |
(TText*)L"?:\\Trg\\", {BLOCK05, EMPTY},
|
sl@0
|
1493 |
(TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
|
sl@0
|
1494 |
},
|
sl@0
|
1495 |
|
sl@0
|
1496 |
//---------------------------------------------
|
sl@0
|
1497 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0869
|
sl@0
|
1498 |
//! @SYMTestType CIT
|
sl@0
|
1499 |
//!
|
sl@0
|
1500 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1501 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
1502 |
//! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
|
sl@0
|
1503 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1504 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1505 |
//! @SYMTestPriority High
|
sl@0
|
1506 |
//! @SYMTestStatus Implemented
|
sl@0
|
1507 |
//---------------------------------------------
|
sl@0
|
1508 |
|
sl@0
|
1509 |
{
|
sl@0
|
1510 |
{869, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1511 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
1512 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1513 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1514 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1515 |
(TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
|
sl@0
|
1516 |
(TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
|
sl@0
|
1517 |
},
|
sl@0
|
1518 |
|
sl@0
|
1519 |
//---------------------------------------------
|
sl@0
|
1520 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0870
|
sl@0
|
1521 |
//! @SYMTestType CIT
|
sl@0
|
1522 |
//!
|
sl@0
|
1523 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1524 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
1525 |
//! Copy files with wildcard combination '*.TXT' from source to the target.
|
sl@0
|
1526 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1527 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1528 |
//! @SYMTestPriority High
|
sl@0
|
1529 |
//! @SYMTestStatus Implemented
|
sl@0
|
1530 |
//---------------------------------------------
|
sl@0
|
1531 |
|
sl@0
|
1532 |
{
|
sl@0
|
1533 |
{870, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1534 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
1535 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1536 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1537 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1538 |
(TText*)L"?:\\Trg\\", {BLOCK36, EMPTY},
|
sl@0
|
1539 |
(TText*)L"?:\\TrgCom\\", {BLOCK36, EMPTY}}
|
sl@0
|
1540 |
},
|
sl@0
|
1541 |
|
sl@0
|
1542 |
//---------------------------------------------
|
sl@0
|
1543 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0871
|
sl@0
|
1544 |
//! @SYMTestType CIT
|
sl@0
|
1545 |
//!
|
sl@0
|
1546 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1547 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
1548 |
//! Copy files with wildcard combination 'FILE.*' from source to the target.
|
sl@0
|
1549 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1550 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1551 |
//! @SYMTestPriority High
|
sl@0
|
1552 |
//! @SYMTestStatus Implemented
|
sl@0
|
1553 |
//---------------------------------------------
|
sl@0
|
1554 |
|
sl@0
|
1555 |
{
|
sl@0
|
1556 |
{871, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1557 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
1558 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1559 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1560 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1561 |
(TText*)L"?:\\Trg\\", {BLOCK37, EMPTY},
|
sl@0
|
1562 |
(TText*)L"?:\\TrgCom\\", {BLOCK37, EMPTY}}
|
sl@0
|
1563 |
},
|
sl@0
|
1564 |
|
sl@0
|
1565 |
//*******************Special Cases for Copy*************************
|
sl@0
|
1566 |
//---------------------------------------------
|
sl@0
|
1567 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0872
|
sl@0
|
1568 |
//! @SYMTestType CIT
|
sl@0
|
1569 |
//!
|
sl@0
|
1570 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1571 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1572 |
//! Copy files from Src directory without backward slash to the target.
|
sl@0
|
1573 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1574 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1575 |
//! @SYMTestPriority High
|
sl@0
|
1576 |
//! @SYMTestStatus Implemented
|
sl@0
|
1577 |
//---------------------------------------------
|
sl@0
|
1578 |
|
sl@0
|
1579 |
{
|
sl@0
|
1580 |
{872, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1581 |
{&gFixedDriveValid, (TText*)L"?:\\Src",
|
sl@0
|
1582 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1583 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1584 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1585 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1586 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
1587 |
},
|
sl@0
|
1588 |
|
sl@0
|
1589 |
//---------------------------------------------
|
sl@0
|
1590 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0873
|
sl@0
|
1591 |
//! @SYMTestType CIT
|
sl@0
|
1592 |
//!
|
sl@0
|
1593 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1594 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1595 |
//! Copy files from Src directory without backward slash to the target directory without backward slash.
|
sl@0
|
1596 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1597 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1598 |
//! @SYMTestPriority High
|
sl@0
|
1599 |
//! @SYMTestStatus Implemented
|
sl@0
|
1600 |
//---------------------------------------------
|
sl@0
|
1601 |
|
sl@0
|
1602 |
{
|
sl@0
|
1603 |
{873, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1604 |
{&gFixedDriveValid, (TText*)L"?:\\Src",
|
sl@0
|
1605 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1606 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1607 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
1608 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1609 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
1610 |
},
|
sl@0
|
1611 |
|
sl@0
|
1612 |
//---------------------------------------------
|
sl@0
|
1613 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0874
|
sl@0
|
1614 |
//! @SYMTestType CIT
|
sl@0
|
1615 |
//!
|
sl@0
|
1616 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1617 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1618 |
//! Copy files from Src to the unspecified(NULL) target path.
|
sl@0
|
1619 |
//! @SYMTestActions Copies the specified files from source to the target (default session path is taken as target path).
|
sl@0
|
1620 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1621 |
//! @SYMTestPriority High
|
sl@0
|
1622 |
//! @SYMTestStatus Implemented
|
sl@0
|
1623 |
//---------------------------------------------
|
sl@0
|
1624 |
|
sl@0
|
1625 |
{
|
sl@0
|
1626 |
{874, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1627 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\",
|
sl@0
|
1628 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1629 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1630 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
1631 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
|
sl@0
|
1632 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
1633 |
},
|
sl@0
|
1634 |
|
sl@0
|
1635 |
//---------------------------------------------
|
sl@0
|
1636 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0875
|
sl@0
|
1637 |
//! @SYMTestType CIT
|
sl@0
|
1638 |
//!
|
sl@0
|
1639 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1640 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1641 |
//! Copy files from unspecified(NULL) Src to the target.
|
sl@0
|
1642 |
//! @SYMTestActions Copies the specified files from source(default session path is taken as source path) to the target.
|
sl@0
|
1643 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1644 |
//! @SYMTestPriority High
|
sl@0
|
1645 |
//! @SYMTestStatus Implemented
|
sl@0
|
1646 |
//---------------------------------------------
|
sl@0
|
1647 |
|
sl@0
|
1648 |
{
|
sl@0
|
1649 |
{875, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1650 |
{&gFixedDriveValid, (TText*)L"",
|
sl@0
|
1651 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
1652 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1653 |
{&gDriveToTest, (TText*)L"?:\\Trg",
|
sl@0
|
1654 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1655 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
1656 |
},
|
sl@0
|
1657 |
|
sl@0
|
1658 |
//---------------------------------------------
|
sl@0
|
1659 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0876
|
sl@0
|
1660 |
//! @SYMTestType CIT
|
sl@0
|
1661 |
//!
|
sl@0
|
1662 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1663 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1664 |
//! Copy Src to the target while renaming with wildcard condition 'FILE*.TXT'.
|
sl@0
|
1665 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1666 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1667 |
//! @SYMTestPriority High
|
sl@0
|
1668 |
//! @SYMTestStatus Implemented
|
sl@0
|
1669 |
//---------------------------------------------
|
sl@0
|
1670 |
|
sl@0
|
1671 |
{
|
sl@0
|
1672 |
{876, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1673 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
|
sl@0
|
1674 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
1675 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1676 |
{&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
|
sl@0
|
1677 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1678 |
(TText*)L"?:\\TrgCom\\", {BLOCK14, EMPTY}}
|
sl@0
|
1679 |
},
|
sl@0
|
1680 |
|
sl@0
|
1681 |
//---------------------------------------------
|
sl@0
|
1682 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0877
|
sl@0
|
1683 |
//! @SYMTestType CIT
|
sl@0
|
1684 |
//!
|
sl@0
|
1685 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1686 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1687 |
//! Copy Src to the target while renaming without wildcard condition.
|
sl@0
|
1688 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1689 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1690 |
//! @SYMTestPriority High
|
sl@0
|
1691 |
//! @SYMTestStatus Implemented
|
sl@0
|
1692 |
//---------------------------------------------
|
sl@0
|
1693 |
|
sl@0
|
1694 |
{
|
sl@0
|
1695 |
{877, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1696 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
1697 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
1698 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1699 |
{&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
|
sl@0
|
1700 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1701 |
(TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
|
sl@0
|
1702 |
},
|
sl@0
|
1703 |
|
sl@0
|
1704 |
//---------------------------------------------
|
sl@0
|
1705 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0878
|
sl@0
|
1706 |
//! @SYMTestType CIT
|
sl@0
|
1707 |
//!
|
sl@0
|
1708 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1709 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1710 |
//! Copy from Src to same Src location .
|
sl@0
|
1711 |
//! @SYMTestActions Copy does not happen, returns the error code..
|
sl@0
|
1712 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1713 |
//! @SYMTestPriority High
|
sl@0
|
1714 |
//! @SYMTestStatus Implemented
|
sl@0
|
1715 |
//---------------------------------------------
|
sl@0
|
1716 |
|
sl@0
|
1717 |
{
|
sl@0
|
1718 |
{878, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1719 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
1720 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
1721 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1722 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
1723 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
1724 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
1725 |
},
|
sl@0
|
1726 |
|
sl@0
|
1727 |
//---------------------------------------------
|
sl@0
|
1728 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0879
|
sl@0
|
1729 |
//! @SYMTestType CIT
|
sl@0
|
1730 |
//!
|
sl@0
|
1731 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1732 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1733 |
//! Copy a file 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
|
sl@0
|
1734 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1735 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1736 |
//! @SYMTestPriority High
|
sl@0
|
1737 |
//! @SYMTestStatus Implemented
|
sl@0
|
1738 |
//---------------------------------------------
|
sl@0
|
1739 |
|
sl@0
|
1740 |
{
|
sl@0
|
1741 |
{879, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1742 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
1743 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1744 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1745 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
|
sl@0
|
1746 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1747 |
(TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
|
sl@0
|
1748 |
},
|
sl@0
|
1749 |
|
sl@0
|
1750 |
//---------------------------------------------
|
sl@0
|
1751 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0882
|
sl@0
|
1752 |
//! @SYMTestType CIT
|
sl@0
|
1753 |
//!
|
sl@0
|
1754 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1755 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1756 |
//! Copy files '*.TXT' from Src and rename file to '*.REN' on the target.
|
sl@0
|
1757 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1758 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1759 |
//! @SYMTestPriority High
|
sl@0
|
1760 |
//! @SYMTestStatus Implemented
|
sl@0
|
1761 |
//---------------------------------------------
|
sl@0
|
1762 |
|
sl@0
|
1763 |
{
|
sl@0
|
1764 |
{882, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1765 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
1766 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1767 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1768 |
{&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
|
sl@0
|
1769 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1770 |
(TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
|
sl@0
|
1771 |
},
|
sl@0
|
1772 |
|
sl@0
|
1773 |
//---------------------------------------------
|
sl@0
|
1774 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0883
|
sl@0
|
1775 |
//! @SYMTestType CIT
|
sl@0
|
1776 |
//!
|
sl@0
|
1777 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1778 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
1779 |
//! Copy files 'FILE.*' from Src and rename file to 'RENAMED.*' on the target.
|
sl@0
|
1780 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1781 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
1782 |
//! @SYMTestPriority High
|
sl@0
|
1783 |
//! @SYMTestStatus Implemented
|
sl@0
|
1784 |
//---------------------------------------------
|
sl@0
|
1785 |
|
sl@0
|
1786 |
{
|
sl@0
|
1787 |
{883, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
1788 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
1789 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1790 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1791 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
|
sl@0
|
1792 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
1793 |
(TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
|
sl@0
|
1794 |
},
|
sl@0
|
1795 |
|
sl@0
|
1796 |
//---------------------------------------------
|
sl@0
|
1797 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0885
|
sl@0
|
1798 |
//! @SYMTestType CIT
|
sl@0
|
1799 |
//!
|
sl@0
|
1800 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1801 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1802 |
//! Copy files from Src directory without backward slash to the target
|
sl@0
|
1803 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
1804 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1805 |
//! @SYMTestPriority High
|
sl@0
|
1806 |
//! @SYMTestStatus Implemented
|
sl@0
|
1807 |
//---------------------------------------------
|
sl@0
|
1808 |
|
sl@0
|
1809 |
{
|
sl@0
|
1810 |
{885, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1811 |
{&gFixedDriveValid, (TText*)L"?:\\Src",
|
sl@0
|
1812 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1813 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1814 |
{&gDriveToTest, (TText*)L"?:\\Trg\\FILE02.TXT",
|
sl@0
|
1815 |
(TText*)L"?:\\Trg\\", {{3,EOB}, EMPTY},
|
sl@0
|
1816 |
(TText*)L"?:\\TrgCom\\", {{3,EOB}, EMPTY}}
|
sl@0
|
1817 |
},
|
sl@0
|
1818 |
|
sl@0
|
1819 |
//---------------------------------------------
|
sl@0
|
1820 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0886
|
sl@0
|
1821 |
//! @SYMTestType CIT
|
sl@0
|
1822 |
//!
|
sl@0
|
1823 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1824 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1825 |
//! Copy files from Src directory without backward slash to the target directory without backward slash.
|
sl@0
|
1826 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
1827 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1828 |
//! @SYMTestPriority High
|
sl@0
|
1829 |
//! @SYMTestStatus Implemented
|
sl@0
|
1830 |
//---------------------------------------------
|
sl@0
|
1831 |
|
sl@0
|
1832 |
{
|
sl@0
|
1833 |
{886, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1834 |
{&gFixedDriveValid, (TText*)L"?:\\Src",
|
sl@0
|
1835 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1836 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1837 |
{&gDriveToTest, (TText*)L"?:\\Trg",
|
sl@0
|
1838 |
(TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
|
sl@0
|
1839 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
1840 |
},
|
sl@0
|
1841 |
|
sl@0
|
1842 |
//---------------------------------------------
|
sl@0
|
1843 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0887
|
sl@0
|
1844 |
//! @SYMTestType CIT
|
sl@0
|
1845 |
//!
|
sl@0
|
1846 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1847 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1848 |
//! Copy files from Src to the unspecified(NULL) target path.
|
sl@0
|
1849 |
//! @SYMTestActions Copies the specified files from source to the target (default session path is taken as target path).
|
sl@0
|
1850 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1851 |
//! @SYMTestPriority High
|
sl@0
|
1852 |
//! @SYMTestStatus Implemented
|
sl@0
|
1853 |
//---------------------------------------------
|
sl@0
|
1854 |
|
sl@0
|
1855 |
{
|
sl@0
|
1856 |
{887, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1857 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\",
|
sl@0
|
1858 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1859 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1860 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
1861 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK24, EMPTY},
|
sl@0
|
1862 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
1863 |
},
|
sl@0
|
1864 |
|
sl@0
|
1865 |
//---------------------------------------------
|
sl@0
|
1866 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0888
|
sl@0
|
1867 |
//! @SYMTestType CIT
|
sl@0
|
1868 |
//!
|
sl@0
|
1869 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1870 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1871 |
//! Copy files from unspecified(NULL) Src to the target.
|
sl@0
|
1872 |
//! @SYMTestActions Copies the specified files from source(default session path is taken as source path) to the target.
|
sl@0
|
1873 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1874 |
//! @SYMTestPriority High
|
sl@0
|
1875 |
//! @SYMTestStatus Implemented
|
sl@0
|
1876 |
//---------------------------------------------
|
sl@0
|
1877 |
|
sl@0
|
1878 |
{
|
sl@0
|
1879 |
{888, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1880 |
{&gFixedDriveValid, (TText*)L"",
|
sl@0
|
1881 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
1882 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1883 |
{&gDriveToTest, (TText*)L"?:\\Trg",
|
sl@0
|
1884 |
(TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
|
sl@0
|
1885 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
1886 |
},
|
sl@0
|
1887 |
|
sl@0
|
1888 |
//---------------------------------------------
|
sl@0
|
1889 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0889
|
sl@0
|
1890 |
//! @SYMTestType CIT
|
sl@0
|
1891 |
//!
|
sl@0
|
1892 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1893 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1894 |
//! Copy Src file?.TXT to the target while renaming with wildcard condition 'FILE*.TXT'.
|
sl@0
|
1895 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1896 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1897 |
//! @SYMTestPriority High
|
sl@0
|
1898 |
//! @SYMTestStatus Implemented
|
sl@0
|
1899 |
//---------------------------------------------
|
sl@0
|
1900 |
|
sl@0
|
1901 |
{
|
sl@0
|
1902 |
{889, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1903 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
|
sl@0
|
1904 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
1905 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1906 |
{&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
|
sl@0
|
1907 |
(TText*)L"?:\\Trg\\", {BLOCK14, EMPTY},
|
sl@0
|
1908 |
(TText*)L"?:\\TrgCom\\", {BLOCK14, EMPTY}}
|
sl@0
|
1909 |
},
|
sl@0
|
1910 |
|
sl@0
|
1911 |
//---------------------------------------------
|
sl@0
|
1912 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0890
|
sl@0
|
1913 |
//! @SYMTestType CIT
|
sl@0
|
1914 |
//!
|
sl@0
|
1915 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1916 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1917 |
//! Copy Src to the target while renaming without wildcard condition.
|
sl@0
|
1918 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
1919 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1920 |
//! @SYMTestPriority High
|
sl@0
|
1921 |
//! @SYMTestStatus Implemented
|
sl@0
|
1922 |
//---------------------------------------------
|
sl@0
|
1923 |
|
sl@0
|
1924 |
{
|
sl@0
|
1925 |
{890, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1926 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
1927 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
1928 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1929 |
{&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
|
sl@0
|
1930 |
(TText*)L"?:\\Trg\\", {{5,EOB}, EMPTY},
|
sl@0
|
1931 |
(TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
|
sl@0
|
1932 |
},
|
sl@0
|
1933 |
|
sl@0
|
1934 |
//---------------------------------------------
|
sl@0
|
1935 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0891
|
sl@0
|
1936 |
//! @SYMTestType CIT
|
sl@0
|
1937 |
//!
|
sl@0
|
1938 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1939 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1940 |
//! Copy from Src to same Src location.
|
sl@0
|
1941 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
1942 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1943 |
//! @SYMTestPriority High
|
sl@0
|
1944 |
//! @SYMTestStatus Implemented
|
sl@0
|
1945 |
//---------------------------------------------
|
sl@0
|
1946 |
|
sl@0
|
1947 |
{
|
sl@0
|
1948 |
{891, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1949 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\",
|
sl@0
|
1950 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1951 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1952 |
{&gDriveToTest, (TText*)L"?:\\Src\\",
|
sl@0
|
1953 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1954 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
1955 |
},
|
sl@0
|
1956 |
|
sl@0
|
1957 |
//---------------------------------------------
|
sl@0
|
1958 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0892
|
sl@0
|
1959 |
//! @SYMTestType CIT
|
sl@0
|
1960 |
//!
|
sl@0
|
1961 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1962 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1963 |
//! Copy a file 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
|
sl@0
|
1964 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
1965 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1966 |
//! @SYMTestPriority High
|
sl@0
|
1967 |
//! @SYMTestStatus Implemented
|
sl@0
|
1968 |
//---------------------------------------------
|
sl@0
|
1969 |
|
sl@0
|
1970 |
{
|
sl@0
|
1971 |
{892, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1972 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
1973 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1974 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1975 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
|
sl@0
|
1976 |
(TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
|
sl@0
|
1977 |
(TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
|
sl@0
|
1978 |
},
|
sl@0
|
1979 |
|
sl@0
|
1980 |
//---------------------------------------------
|
sl@0
|
1981 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0893
|
sl@0
|
1982 |
//! @SYMTestType CIT
|
sl@0
|
1983 |
//!
|
sl@0
|
1984 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
1985 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
1986 |
//! Copy files 'FILE*.TXT' from Src and rename file to 'RENAMED*.TXT' on the target.
|
sl@0
|
1987 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
1988 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
1989 |
//! @SYMTestPriority High
|
sl@0
|
1990 |
//! @SYMTestStatus Implemented
|
sl@0
|
1991 |
//---------------------------------------------
|
sl@0
|
1992 |
|
sl@0
|
1993 |
{
|
sl@0
|
1994 |
{893, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
1995 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
1996 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
1997 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
1998 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED*.TXT",
|
sl@0
|
1999 |
(TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
|
sl@0
|
2000 |
(TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
|
sl@0
|
2001 |
},
|
sl@0
|
2002 |
|
sl@0
|
2003 |
//---------------------------------------------
|
sl@0
|
2004 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0894
|
sl@0
|
2005 |
//! @SYMTestType CIT
|
sl@0
|
2006 |
//!
|
sl@0
|
2007 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2008 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
2009 |
//! Copy files 'FILE?.TXT' from Src and rename file to 'RENAMED?.TXT' on the target.
|
sl@0
|
2010 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2011 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
2012 |
//! @SYMTestPriority High
|
sl@0
|
2013 |
//! @SYMTestStatus Implemented
|
sl@0
|
2014 |
//---------------------------------------------
|
sl@0
|
2015 |
|
sl@0
|
2016 |
{
|
sl@0
|
2017 |
{894, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
2018 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
2019 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2020 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2021 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED?.TXT",
|
sl@0
|
2022 |
(TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
|
sl@0
|
2023 |
(TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
|
sl@0
|
2024 |
},
|
sl@0
|
2025 |
|
sl@0
|
2026 |
//---------------------------------------------
|
sl@0
|
2027 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0895
|
sl@0
|
2028 |
//! @SYMTestType CIT
|
sl@0
|
2029 |
//!
|
sl@0
|
2030 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2031 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
2032 |
//! Copy files '*.TXT' from Src and rename file to '*.REN' on the target.
|
sl@0
|
2033 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2034 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
2035 |
//! @SYMTestPriority High
|
sl@0
|
2036 |
//! @SYMTestStatus Implemented
|
sl@0
|
2037 |
//---------------------------------------------
|
sl@0
|
2038 |
|
sl@0
|
2039 |
{
|
sl@0
|
2040 |
{895, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
2041 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
2042 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2043 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2044 |
{&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
|
sl@0
|
2045 |
(TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
|
sl@0
|
2046 |
(TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
|
sl@0
|
2047 |
},
|
sl@0
|
2048 |
|
sl@0
|
2049 |
//---------------------------------------------
|
sl@0
|
2050 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0896
|
sl@0
|
2051 |
//! @SYMTestType CIT
|
sl@0
|
2052 |
//!
|
sl@0
|
2053 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2054 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
2055 |
//! Copy files from Src directory without backward slash to the target.
|
sl@0
|
2056 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
2057 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2058 |
//! @SYMTestPriority High
|
sl@0
|
2059 |
//! @SYMTestStatus Implemented
|
sl@0
|
2060 |
//---------------------------------------------
|
sl@0
|
2061 |
|
sl@0
|
2062 |
{
|
sl@0
|
2063 |
{896, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2064 |
{&gFixedDriveValid, (TText*)L"?:\\Src",
|
sl@0
|
2065 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2066 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2067 |
{&gDriveToTest, (TText*)L"?:\\Trg\\FILE02.TXT",
|
sl@0
|
2068 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2069 |
(TText*)L"?:\\TrgCom\\", {{3,EOB}, EMPTY}}
|
sl@0
|
2070 |
},
|
sl@0
|
2071 |
|
sl@0
|
2072 |
//---------------------------------------------
|
sl@0
|
2073 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0939
|
sl@0
|
2074 |
//! @SYMTestType CIT
|
sl@0
|
2075 |
//!
|
sl@0
|
2076 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2077 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
2078 |
//! Copy Src to the target while renaming without wildcard condition.
|
sl@0
|
2079 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
2080 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2081 |
//! @SYMTestPriority High
|
sl@0
|
2082 |
//! @SYMTestStatus Implemented
|
sl@0
|
2083 |
//---------------------------------------------
|
sl@0
|
2084 |
|
sl@0
|
2085 |
{
|
sl@0
|
2086 |
{939, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2087 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
2088 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
2089 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2090 |
{&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
|
sl@0
|
2091 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2092 |
(TText*)L"?:\\TrgCom\\", {BLOCK16, EMPTY}}
|
sl@0
|
2093 |
},
|
sl@0
|
2094 |
|
sl@0
|
2095 |
//---------------------------------------------
|
sl@0
|
2096 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0940
|
sl@0
|
2097 |
//! @SYMTestType CIT
|
sl@0
|
2098 |
//!
|
sl@0
|
2099 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2100 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
2101 |
//! Copy from Src to same Src location .
|
sl@0
|
2102 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
2103 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2104 |
//! @SYMTestPriority High
|
sl@0
|
2105 |
//! @SYMTestStatus Implemented
|
sl@0
|
2106 |
//---------------------------------------------
|
sl@0
|
2107 |
|
sl@0
|
2108 |
{
|
sl@0
|
2109 |
{940, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2110 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
2111 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
2112 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2113 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
2114 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
2115 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
2116 |
},
|
sl@0
|
2117 |
|
sl@0
|
2118 |
//---------------------------------------------
|
sl@0
|
2119 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0941
|
sl@0
|
2120 |
//! @SYMTestType CIT
|
sl@0
|
2121 |
//!
|
sl@0
|
2122 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2123 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
2124 |
//! Copy a file 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
|
sl@0
|
2125 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
2126 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2127 |
//! @SYMTestPriority High
|
sl@0
|
2128 |
//! @SYMTestStatus Implemented
|
sl@0
|
2129 |
//---------------------------------------------
|
sl@0
|
2130 |
|
sl@0
|
2131 |
{
|
sl@0
|
2132 |
{941, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2133 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2134 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2135 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2136 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
|
sl@0
|
2137 |
(TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
|
sl@0
|
2138 |
(TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
|
sl@0
|
2139 |
},
|
sl@0
|
2140 |
|
sl@0
|
2141 |
//---------------------------------------------
|
sl@0
|
2142 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0942
|
sl@0
|
2143 |
//! @SYMTestType CIT
|
sl@0
|
2144 |
//!
|
sl@0
|
2145 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2146 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
2147 |
//! Copy files 'FILE*.TXT' from Src and rename file to 'RENAMED*.TXT' on the target.
|
sl@0
|
2148 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
2149 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2150 |
//! @SYMTestPriority High
|
sl@0
|
2151 |
//! @SYMTestStatus Implemented
|
sl@0
|
2152 |
//---------------------------------------------
|
sl@0
|
2153 |
|
sl@0
|
2154 |
{
|
sl@0
|
2155 |
{942, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2156 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
2157 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2158 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2159 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED*.TXT",
|
sl@0
|
2160 |
(TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
|
sl@0
|
2161 |
(TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
|
sl@0
|
2162 |
},
|
sl@0
|
2163 |
|
sl@0
|
2164 |
//---------------------------------------------
|
sl@0
|
2165 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0943
|
sl@0
|
2166 |
//! @SYMTestType CIT
|
sl@0
|
2167 |
//!
|
sl@0
|
2168 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2169 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
2170 |
//! Copy files 'FILE?.TXT' from Src and rename file to 'RENAMED?.TXT' on the target.
|
sl@0
|
2171 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
2172 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2173 |
//! @SYMTestPriority High
|
sl@0
|
2174 |
//! @SYMTestStatus Implemented
|
sl@0
|
2175 |
//---------------------------------------------
|
sl@0
|
2176 |
|
sl@0
|
2177 |
{
|
sl@0
|
2178 |
{943, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2179 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
2180 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2181 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2182 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED?.TXT",
|
sl@0
|
2183 |
(TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
|
sl@0
|
2184 |
(TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
|
sl@0
|
2185 |
},
|
sl@0
|
2186 |
|
sl@0
|
2187 |
//---------------------------------------------
|
sl@0
|
2188 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0944
|
sl@0
|
2189 |
//! @SYMTestType CIT
|
sl@0
|
2190 |
//!
|
sl@0
|
2191 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2192 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
2193 |
//! Copy files '*.TXT' from Src and rename file to '*.REN' on the target.
|
sl@0
|
2194 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
2195 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2196 |
//! @SYMTestPriority High
|
sl@0
|
2197 |
//! @SYMTestStatus Implemented
|
sl@0
|
2198 |
//---------------------------------------------
|
sl@0
|
2199 |
|
sl@0
|
2200 |
{
|
sl@0
|
2201 |
{944, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2202 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
2203 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2204 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2205 |
{&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
|
sl@0
|
2206 |
(TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
|
sl@0
|
2207 |
(TText*)L"?:\\TrgCom\\", {BLOCK32, EMPTY}}
|
sl@0
|
2208 |
},
|
sl@0
|
2209 |
|
sl@0
|
2210 |
|
sl@0
|
2211 |
//---------------------------------------------
|
sl@0
|
2212 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0945
|
sl@0
|
2213 |
//! @SYMTestType CIT
|
sl@0
|
2214 |
//!
|
sl@0
|
2215 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2216 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
2217 |
//! Copy files 'FILE.*' from Src and rename file to 'RENAMED.*' on the target.
|
sl@0
|
2218 |
//! @SYMTestActions Copies the specified files from source to the target.
|
sl@0
|
2219 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2220 |
//! @SYMTestPriority High
|
sl@0
|
2221 |
//! @SYMTestStatus Implemented
|
sl@0
|
2222 |
//---------------------------------------------
|
sl@0
|
2223 |
|
sl@0
|
2224 |
{
|
sl@0
|
2225 |
{945, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2226 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
2227 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2228 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2229 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
|
sl@0
|
2230 |
(TText*)L"?:\\Trg\\", {BLOCK46, EMPTY},
|
sl@0
|
2231 |
(TText*)L"?:\\TrgCom\\", {BLOCK46, EMPTY}}
|
sl@0
|
2232 |
},
|
sl@0
|
2233 |
|
sl@0
|
2234 |
//---------------------------------------------
|
sl@0
|
2235 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0947
|
sl@0
|
2236 |
//! @SYMTestType CIT
|
sl@0
|
2237 |
//!
|
sl@0
|
2238 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2239 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
2240 |
//! Copy files Cyclically.
|
sl@0
|
2241 |
//! @SYMTestActions Cyclically Copies the specified files from source to the target.
|
sl@0
|
2242 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2243 |
//! @SYMTestPriority High
|
sl@0
|
2244 |
//! @SYMTestStatus Implemented
|
sl@0
|
2245 |
//---------------------------------------------
|
sl@0
|
2246 |
|
sl@0
|
2247 |
{
|
sl@0
|
2248 |
{947, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2249 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\*.*",
|
sl@0
|
2250 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2251 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2252 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\DIR11\\",
|
sl@0
|
2253 |
(TText*)L"?:\\Src\\DIR1\\DIR11\\", {EMPTY, EMPTY},
|
sl@0
|
2254 |
(TText*)L"?:\\TrgCom\\", {BLOCK42, EMPTY}}
|
sl@0
|
2255 |
},
|
sl@0
|
2256 |
|
sl@0
|
2257 |
//---------------------------------------------
|
sl@0
|
2258 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0948
|
sl@0
|
2259 |
//! @SYMTestType CIT
|
sl@0
|
2260 |
//!
|
sl@0
|
2261 |
//! @SYMAPI CFileMan::Copy() (overloaded Copy)
|
sl@0
|
2262 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
2263 |
//! Copy file 'FILE01.TXT'from source to target .
|
sl@0
|
2264 |
//! @SYMTestActions Copies the specified file from source to the target.
|
sl@0
|
2265 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2266 |
//! @SYMTestPriority High
|
sl@0
|
2267 |
//! @SYMTestStatus Implemented
|
sl@0
|
2268 |
//---------------------------------------------
|
sl@0
|
2269 |
|
sl@0
|
2270 |
{
|
sl@0
|
2271 |
{948, ECFMCopyHandle, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2272 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2273 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2274 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2275 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2276 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2277 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
2278 |
},
|
sl@0
|
2279 |
|
sl@0
|
2280 |
//---------------------------------------------
|
sl@0
|
2281 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0949
|
sl@0
|
2282 |
//! @SYMTestType CIT
|
sl@0
|
2283 |
//!
|
sl@0
|
2284 |
//! @SYMAPI CFileMan::Copy() (overloaded Copy)
|
sl@0
|
2285 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
2286 |
//! Copy file 'FILE01.TXT'from source to target .
|
sl@0
|
2287 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2288 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
2289 |
//! @SYMTestPriority High
|
sl@0
|
2290 |
//! @SYMTestStatus Implemented
|
sl@0
|
2291 |
//---------------------------------------------
|
sl@0
|
2292 |
|
sl@0
|
2293 |
{
|
sl@0
|
2294 |
{949, ECFMCopyHandle, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
2295 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2296 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2297 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2298 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2299 |
(TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
|
sl@0
|
2300 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
2301 |
},
|
sl@0
|
2302 |
|
sl@0
|
2303 |
|
sl@0
|
2304 |
//---------------------------------------------
|
sl@0
|
2305 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0950
|
sl@0
|
2306 |
//! @SYMTestType CIT
|
sl@0
|
2307 |
//!
|
sl@0
|
2308 |
//! @SYMAPI CFileMan::Copy() (overloaded Copy)
|
sl@0
|
2309 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
|
sl@0
|
2310 |
//! Copy file 'FILE01.TXT'from source to target .
|
sl@0
|
2311 |
//! @SYMTestActions Copies the specified file from source to the target.
|
sl@0
|
2312 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2313 |
//! @SYMTestPriority High
|
sl@0
|
2314 |
//! @SYMTestStatus Implemented
|
sl@0
|
2315 |
//---------------------------------------------
|
sl@0
|
2316 |
|
sl@0
|
2317 |
{
|
sl@0
|
2318 |
{950, ECFMCopyHandle, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2319 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2320 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2321 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2322 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2323 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2324 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
2325 |
},
|
sl@0
|
2326 |
|
sl@0
|
2327 |
|
sl@0
|
2328 |
//---------------------------------------------
|
sl@0
|
2329 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0951
|
sl@0
|
2330 |
//! @SYMTestType CIT
|
sl@0
|
2331 |
//!
|
sl@0
|
2332 |
//! @SYMAPI CFileMan::Copy() (overloaded Copy)
|
sl@0
|
2333 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
|
sl@0
|
2334 |
//! Copy file 'FILE01.TXT'from source to target .
|
sl@0
|
2335 |
//! @SYMTestActions Copies the specified file from source to the target.
|
sl@0
|
2336 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2337 |
//! @SYMTestPriority High
|
sl@0
|
2338 |
//! @SYMTestStatus Implemented
|
sl@0
|
2339 |
//---------------------------------------------
|
sl@0
|
2340 |
|
sl@0
|
2341 |
{
|
sl@0
|
2342 |
{951, ECFMCopyHandle, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2343 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2344 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2345 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2346 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2347 |
(TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
|
sl@0
|
2348 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
2349 |
},
|
sl@0
|
2350 |
|
sl@0
|
2351 |
//---------------------------------------------
|
sl@0
|
2352 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0952
|
sl@0
|
2353 |
//! @SYMTestType CIT
|
sl@0
|
2354 |
//!
|
sl@0
|
2355 |
//! @SYMAPI CFileMan::Copy() (overloaded Copy)
|
sl@0
|
2356 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
|
sl@0
|
2357 |
//! Copy file 'FILE01.TXT'from source to target .
|
sl@0
|
2358 |
//! @SYMTestActions Copies the specified file from source to the target.
|
sl@0
|
2359 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2360 |
//! @SYMTestPriority High
|
sl@0
|
2361 |
//! @SYMTestStatus Implemented
|
sl@0
|
2362 |
//---------------------------------------------
|
sl@0
|
2363 |
|
sl@0
|
2364 |
{
|
sl@0
|
2365 |
{952, ECFMCopyHandle, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2366 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2367 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2368 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2369 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
2370 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
|
sl@0
|
2371 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
2372 |
},
|
sl@0
|
2373 |
|
sl@0
|
2374 |
|
sl@0
|
2375 |
//---------------------------------------------
|
sl@0
|
2376 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0953
|
sl@0
|
2377 |
//! @SYMTestType CIT
|
sl@0
|
2378 |
//!
|
sl@0
|
2379 |
//! @SYMAPI CFileMan::Copy() (overloaded Copy)
|
sl@0
|
2380 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
|
sl@0
|
2381 |
//! Copy files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
|
sl@0
|
2382 |
//! @SYMTestActions Copies the specified file from source to the target.
|
sl@0
|
2383 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2384 |
//! @SYMTestPriority High
|
sl@0
|
2385 |
//! @SYMTestStatus Implemented
|
sl@0
|
2386 |
//---------------------------------------------
|
sl@0
|
2387 |
|
sl@0
|
2388 |
{
|
sl@0
|
2389 |
{953, ECFMCopyHandle, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2390 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2391 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2392 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2393 |
{&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
|
sl@0
|
2394 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2395 |
(TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
|
sl@0
|
2396 |
},
|
sl@0
|
2397 |
|
sl@0
|
2398 |
//---------------------------------------------
|
sl@0
|
2399 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0954
|
sl@0
|
2400 |
//! @SYMTestType CIT
|
sl@0
|
2401 |
//!
|
sl@0
|
2402 |
//! @SYMAPI CFileMan::Copy() (overloaded Copy)
|
sl@0
|
2403 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
|
sl@0
|
2404 |
//! Copy from Src to same Src location .
|
sl@0
|
2405 |
//! @SYMTestActions Copies the specified file from source to the target.
|
sl@0
|
2406 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2407 |
//! @SYMTestPriority High
|
sl@0
|
2408 |
//! @SYMTestStatus Implemented
|
sl@0
|
2409 |
//---------------------------------------------
|
sl@0
|
2410 |
|
sl@0
|
2411 |
{
|
sl@0
|
2412 |
{954, ECFMCopyHandle, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
2413 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2414 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2415 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2416 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2417 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
2418 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
2419 |
},
|
sl@0
|
2420 |
|
sl@0
|
2421 |
//Basic Negative test case for Copy:
|
sl@0
|
2422 |
//---------------------------------------------
|
sl@0
|
2423 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0970
|
sl@0
|
2424 |
//! @SYMTestType CIT
|
sl@0
|
2425 |
//!
|
sl@0
|
2426 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2427 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
|
sl@0
|
2428 |
//! Copy a directory with longpath name from Src to the target.
|
sl@0
|
2429 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2430 |
//! @SYMTestExpectedResults 1.KErrBadName in success case
|
sl@0
|
2431 |
//! @SYMTestPriority High
|
sl@0
|
2432 |
//! @SYMTestStatus Implemented
|
sl@0
|
2433 |
//---------------------------------------------
|
sl@0
|
2434 |
|
sl@0
|
2435 |
{
|
sl@0
|
2436 |
{970, ECFMCopy, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
2437 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\\\",
|
sl@0
|
2438 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
2439 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
2440 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2441 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2442 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
2443 |
},
|
sl@0
|
2444 |
|
sl@0
|
2445 |
|
sl@0
|
2446 |
//---------------------------------------------
|
sl@0
|
2447 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0971
|
sl@0
|
2448 |
//! @SYMTestType CIT
|
sl@0
|
2449 |
//!
|
sl@0
|
2450 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2451 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
|
sl@0
|
2452 |
//! Copy a file with longname from Src to the target.
|
sl@0
|
2453 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2454 |
//! @SYMTestExpectedResults 1.KErrBadName in success case
|
sl@0
|
2455 |
//! @SYMTestPriority High
|
sl@0
|
2456 |
//! @SYMTestStatus Implemented
|
sl@0
|
2457 |
//---------------------------------------------
|
sl@0
|
2458 |
|
sl@0
|
2459 |
{
|
sl@0
|
2460 |
{971, ECFMCopy, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
2461 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asfdsa21asfdsa22asfdsa23asfdsa24asfdsa25asfdsa26",
|
sl@0
|
2462 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
2463 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
2464 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2465 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2466 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
2467 |
},
|
sl@0
|
2468 |
|
sl@0
|
2469 |
//---------------------------------------------
|
sl@0
|
2470 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0972
|
sl@0
|
2471 |
//! @SYMTestType CIT
|
sl@0
|
2472 |
//!
|
sl@0
|
2473 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2474 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
|
sl@0
|
2475 |
//! Copy a directory from non available Src drive to the target.
|
sl@0
|
2476 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2477 |
//! @SYMTestExpectedResults 1.KErrNotReady in success case
|
sl@0
|
2478 |
//! @SYMTestPriority High
|
sl@0
|
2479 |
//! @SYMTestStatus Implemented
|
sl@0
|
2480 |
//---------------------------------------------
|
sl@0
|
2481 |
|
sl@0
|
2482 |
{
|
sl@0
|
2483 |
{972, ECFMCopy, 0, KErrNotReady, KErrNone, KErrNotReady},
|
sl@0
|
2484 |
{&gFixedDriveNotReady, (TText*)L"?:\\Src\\",
|
sl@0
|
2485 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
2486 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
2487 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2488 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2489 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
2490 |
},
|
sl@0
|
2491 |
|
sl@0
|
2492 |
//---------------------------------------------
|
sl@0
|
2493 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0973
|
sl@0
|
2494 |
//! @SYMTestType CIT
|
sl@0
|
2495 |
//!
|
sl@0
|
2496 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2497 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
|
sl@0
|
2498 |
//! Copy a directory from Src drive to the non available target.
|
sl@0
|
2499 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2500 |
//! @SYMTestExpectedResults 1.KErrNotReady in success case
|
sl@0
|
2501 |
//! @SYMTestPriority High
|
sl@0
|
2502 |
//! @SYMTestStatus Implemented
|
sl@0
|
2503 |
//---------------------------------------------
|
sl@0
|
2504 |
|
sl@0
|
2505 |
{
|
sl@0
|
2506 |
{973, ECFMCopy, 0, KErrNotReady, KErrNone, KErrNotReady},
|
sl@0
|
2507 |
{&gDriveToTest, (TText*)L"?:\\Src\\",
|
sl@0
|
2508 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2509 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2510 |
{&gFixedDriveNotReady, (TText*)L"?:\\Trg\\",
|
sl@0
|
2511 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2512 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
2513 |
},
|
sl@0
|
2514 |
|
sl@0
|
2515 |
//---------------------------------------------
|
sl@0
|
2516 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0974
|
sl@0
|
2517 |
//! @SYMTestType CIT
|
sl@0
|
2518 |
//!
|
sl@0
|
2519 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2520 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
|
sl@0
|
2521 |
//! Copy a directory from Src drive to the Readonly target drive.
|
sl@0
|
2522 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2523 |
//! @SYMTestExpectedResults 1.KErrAccessDenied in success case
|
sl@0
|
2524 |
//! @SYMTestPriority High
|
sl@0
|
2525 |
//! @SYMTestStatus Implemented
|
sl@0
|
2526 |
//---------------------------------------------
|
sl@0
|
2527 |
|
sl@0
|
2528 |
{
|
sl@0
|
2529 |
{974, ECFMCopy, 0, KErrAccessDenied, KErrNone, KErrAccessDenied},
|
sl@0
|
2530 |
{&gDriveToTest, (TText*)L"?:\\Src\\",
|
sl@0
|
2531 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2532 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2533 |
{&gFixedDriveReadOnly, (TText*)L"?:\\test\\",
|
sl@0
|
2534 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2535 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
2536 |
},
|
sl@0
|
2537 |
|
sl@0
|
2538 |
//---------------------------------------------
|
sl@0
|
2539 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0975
|
sl@0
|
2540 |
//! @SYMTestType CIT
|
sl@0
|
2541 |
//!
|
sl@0
|
2542 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2543 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
|
sl@0
|
2544 |
//! Copy a directory from non available Src directory to the target.
|
sl@0
|
2545 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2546 |
//! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
|
sl@0
|
2547 |
//! @SYMTestPriority High
|
sl@0
|
2548 |
//! @SYMTestStatus Implemented
|
sl@0
|
2549 |
//---------------------------------------------
|
sl@0
|
2550 |
|
sl@0
|
2551 |
{
|
sl@0
|
2552 |
{975, ECFMCopy, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
|
sl@0
|
2553 |
{&gFixedDriveValid, (TText*)L"?:\\src\\NODIR\\",
|
sl@0
|
2554 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2555 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2556 |
{&gDriveToTest, (TText*)L"?:\\test\\",
|
sl@0
|
2557 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
2558 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
2559 |
},
|
sl@0
|
2560 |
|
sl@0
|
2561 |
//---------------------------------------------
|
sl@0
|
2562 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0976
|
sl@0
|
2563 |
//! @SYMTestType CIT
|
sl@0
|
2564 |
//!
|
sl@0
|
2565 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2566 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
|
sl@0
|
2567 |
//! Copy a directory from non available Src directory to the target.
|
sl@0
|
2568 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2569 |
//! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
|
sl@0
|
2570 |
//! @SYMTestPriority High
|
sl@0
|
2571 |
//! @SYMTestStatus Implemented
|
sl@0
|
2572 |
//---------------------------------------------
|
sl@0
|
2573 |
|
sl@0
|
2574 |
{
|
sl@0
|
2575 |
{976, ECFMCopy, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
|
sl@0
|
2576 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\Dir1\\",
|
sl@0
|
2577 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2578 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2579 |
{&gDriveToTest, (TText*)L"?:\\Trg\\test\\",
|
sl@0
|
2580 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
2581 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
2582 |
},
|
sl@0
|
2583 |
|
sl@0
|
2584 |
//---------------------------------------------
|
sl@0
|
2585 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0977
|
sl@0
|
2586 |
//! @SYMTestType CIT
|
sl@0
|
2587 |
//!
|
sl@0
|
2588 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2589 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
|
sl@0
|
2590 |
//! Copy a invaid directory path from Src directory to the target.
|
sl@0
|
2591 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2592 |
//! @SYMTestExpectedResults 1.KErrBadName in success case.
|
sl@0
|
2593 |
//! @SYMTestPriority High
|
sl@0
|
2594 |
//! @SYMTestStatus Implemented
|
sl@0
|
2595 |
//---------------------------------------------
|
sl@0
|
2596 |
|
sl@0
|
2597 |
{
|
sl@0
|
2598 |
{977, ECFMCopy, 0, KErrBadName, KErrNone, KErrBadName},
|
sl@0
|
2599 |
{&gFixedDriveValid, (TText*)L"::C:",
|
sl@0
|
2600 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
2601 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
2602 |
{&gDriveToTest, (TText*)L"?:\\test\\",
|
sl@0
|
2603 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2604 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
2605 |
},
|
sl@0
|
2606 |
|
sl@0
|
2607 |
//---------------------------------------------
|
sl@0
|
2608 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0979
|
sl@0
|
2609 |
//! @SYMTestType CIT
|
sl@0
|
2610 |
//!
|
sl@0
|
2611 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2612 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
|
sl@0
|
2613 |
//! Copy a invaid directory path with single from Src directory to the target.
|
sl@0
|
2614 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2615 |
//! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
|
sl@0
|
2616 |
//! @SYMTestPriority High
|
sl@0
|
2617 |
//! @SYMTestStatus Implemented
|
sl@0
|
2618 |
//---------------------------------------------
|
sl@0
|
2619 |
|
sl@0
|
2620 |
{
|
sl@0
|
2621 |
{979, ECFMCopy, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
|
sl@0
|
2622 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01zz.txt\\",
|
sl@0
|
2623 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2624 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2625 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2626 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2627 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
2628 |
},
|
sl@0
|
2629 |
|
sl@0
|
2630 |
//---------------------------------------------
|
sl@0
|
2631 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0980
|
sl@0
|
2632 |
//! @SYMTestType CIT
|
sl@0
|
2633 |
//!
|
sl@0
|
2634 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2635 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
|
sl@0
|
2636 |
//! Copy files from Src directory to the non available target directory.
|
sl@0
|
2637 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2638 |
//! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
|
sl@0
|
2639 |
//! @SYMTestPriority High
|
sl@0
|
2640 |
//! @SYMTestStatus Implemented
|
sl@0
|
2641 |
//---------------------------------------------
|
sl@0
|
2642 |
|
sl@0
|
2643 |
{
|
sl@0
|
2644 |
{980, ECFMCopy, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
|
sl@0
|
2645 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\*.*",
|
sl@0
|
2646 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2647 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2648 |
{&gDriveToTest, (TText*)L"?:\\Trg\\Dummy\\",
|
sl@0
|
2649 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2650 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
2651 |
},
|
sl@0
|
2652 |
|
sl@0
|
2653 |
//---------------------------------------------
|
sl@0
|
2654 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0981
|
sl@0
|
2655 |
//! @SYMTestType CIT
|
sl@0
|
2656 |
//!
|
sl@0
|
2657 |
//! @SYMAPI CFileMan::Copy()
|
sl@0
|
2658 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
|
sl@0
|
2659 |
//! Copy files from Src directory to the target directory with a long paths.
|
sl@0
|
2660 |
//! @SYMTestActions Copy does not happen, returns the error code.
|
sl@0
|
2661 |
//! @SYMTestExpectedResults 1.KErrBadName in success case.
|
sl@0
|
2662 |
//! @SYMTestPriority High
|
sl@0
|
2663 |
//! @SYMTestStatus Implemented
|
sl@0
|
2664 |
//---------------------------------------------
|
sl@0
|
2665 |
|
sl@0
|
2666 |
{
|
sl@0
|
2667 |
{981, ECFMCopy, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
2668 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2669 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
2670 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
2671 |
{&gDriveToTest, (TText*)L"?:\\Trg\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\",
|
sl@0
|
2672 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2673 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
2674 |
},
|
sl@0
|
2675 |
|
sl@0
|
2676 |
//---------------------------------------------
|
sl@0
|
2677 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0982
|
sl@0
|
2678 |
//! @SYMTestType CIT
|
sl@0
|
2679 |
//!
|
sl@0
|
2680 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2681 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
2682 |
//! Move a file 'FILE01.TXT' from source to the target.
|
sl@0
|
2683 |
//! @SYMTestActions Moves specified files from source to the target.
|
sl@0
|
2684 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2685 |
//! @SYMTestPriority High
|
sl@0
|
2686 |
//! @SYMTestStatus Implemented
|
sl@0
|
2687 |
//---------------------------------------------
|
sl@0
|
2688 |
|
sl@0
|
2689 |
{
|
sl@0
|
2690 |
{982, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2691 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2692 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2693 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
|
sl@0
|
2694 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2695 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2696 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
2697 |
},
|
sl@0
|
2698 |
|
sl@0
|
2699 |
//---------------------------------------------
|
sl@0
|
2700 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0983
|
sl@0
|
2701 |
//! @SYMTestType CIT
|
sl@0
|
2702 |
//!
|
sl@0
|
2703 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2704 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
2705 |
//! Move files with wildcard combination '*.*' from source to the target.
|
sl@0
|
2706 |
//! @SYMTestActions Moves specified files from source to the target.
|
sl@0
|
2707 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2708 |
//! @SYMTestPriority High
|
sl@0
|
2709 |
//! @SYMTestStatus Implemented
|
sl@0
|
2710 |
//---------------------------------------------
|
sl@0
|
2711 |
|
sl@0
|
2712 |
{
|
sl@0
|
2713 |
{983, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2714 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*",
|
sl@0
|
2715 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2716 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
|
sl@0
|
2717 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2718 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2719 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
2720 |
},
|
sl@0
|
2721 |
|
sl@0
|
2722 |
//---------------------------------------------
|
sl@0
|
2723 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0984
|
sl@0
|
2724 |
//! @SYMTestType CIT
|
sl@0
|
2725 |
//!
|
sl@0
|
2726 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2727 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
2728 |
//! Move files with wildcard combination 'FILE*.TXT' from source to the target.
|
sl@0
|
2729 |
//! @SYMTestActions Moves specified files from source to the target.
|
sl@0
|
2730 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2731 |
//! @SYMTestPriority High
|
sl@0
|
2732 |
//! @SYMTestStatus Implemented
|
sl@0
|
2733 |
//---------------------------------------------
|
sl@0
|
2734 |
|
sl@0
|
2735 |
{
|
sl@0
|
2736 |
{984, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2737 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
2738 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2739 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
|
sl@0
|
2740 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2741 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2742 |
(TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
|
sl@0
|
2743 |
},
|
sl@0
|
2744 |
|
sl@0
|
2745 |
//---------------------------------------------
|
sl@0
|
2746 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0985
|
sl@0
|
2747 |
//! @SYMTestType CIT
|
sl@0
|
2748 |
//!
|
sl@0
|
2749 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2750 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
2751 |
//! Move files with wildcard combination 'FILE?.TXT' from source to the target.
|
sl@0
|
2752 |
//! @SYMTestActions Moves specified files from source to the target.
|
sl@0
|
2753 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2754 |
//! @SYMTestPriority High
|
sl@0
|
2755 |
//! @SYMTestStatus Implemented
|
sl@0
|
2756 |
//---------------------------------------------
|
sl@0
|
2757 |
|
sl@0
|
2758 |
{
|
sl@0
|
2759 |
{985, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2760 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
2761 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2762 |
(TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
|
sl@0
|
2763 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2764 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2765 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
2766 |
},
|
sl@0
|
2767 |
|
sl@0
|
2768 |
//---------------------------------------------
|
sl@0
|
2769 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0986
|
sl@0
|
2770 |
//! @SYMTestType CIT
|
sl@0
|
2771 |
//!
|
sl@0
|
2772 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2773 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
2774 |
//! Move files with wildcard combination '*.TXT' from source to the target.
|
sl@0
|
2775 |
//! @SYMTestActions Moves specified files from source to the target.
|
sl@0
|
2776 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2777 |
//! @SYMTestPriority High
|
sl@0
|
2778 |
//! @SYMTestStatus Implemented
|
sl@0
|
2779 |
//---------------------------------------------
|
sl@0
|
2780 |
|
sl@0
|
2781 |
{
|
sl@0
|
2782 |
{986, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2783 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
2784 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2785 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK29}},
|
sl@0
|
2786 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2787 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2788 |
(TText*)L"?:\\TrgCom\\", {BLOCK29, EMPTY}}
|
sl@0
|
2789 |
},
|
sl@0
|
2790 |
|
sl@0
|
2791 |
//---------------------------------------------
|
sl@0
|
2792 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0987
|
sl@0
|
2793 |
//! @SYMTestType CIT
|
sl@0
|
2794 |
//!
|
sl@0
|
2795 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2796 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
2797 |
//! Move files with wildcard combination 'FILE.*' from source to the target.
|
sl@0
|
2798 |
//! @SYMTestActions Moves specified files from source to the target.
|
sl@0
|
2799 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2800 |
//! @SYMTestPriority High
|
sl@0
|
2801 |
//! @SYMTestStatus Implemented
|
sl@0
|
2802 |
//---------------------------------------------
|
sl@0
|
2803 |
|
sl@0
|
2804 |
{
|
sl@0
|
2805 |
{987, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2806 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
2807 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2808 |
(TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
|
sl@0
|
2809 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2810 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
2811 |
(TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
|
sl@0
|
2812 |
},
|
sl@0
|
2813 |
|
sl@0
|
2814 |
|
sl@0
|
2815 |
//---------------------------------------------
|
sl@0
|
2816 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0988
|
sl@0
|
2817 |
//! @SYMTestType CIT
|
sl@0
|
2818 |
//!
|
sl@0
|
2819 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2820 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
2821 |
//! Move files with combination 'FILE01.TXT' from source to the target.
|
sl@0
|
2822 |
//! @SYMTestActions Move does not happen just returns the error code.
|
sl@0
|
2823 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
2824 |
//! @SYMTestPriority High
|
sl@0
|
2825 |
//! @SYMTestStatus Implemented
|
sl@0
|
2826 |
//---------------------------------------------
|
sl@0
|
2827 |
|
sl@0
|
2828 |
{
|
sl@0
|
2829 |
{988, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
2830 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2831 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2832 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2833 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2834 |
(TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
|
sl@0
|
2835 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
2836 |
},
|
sl@0
|
2837 |
|
sl@0
|
2838 |
//---------------------------------------------
|
sl@0
|
2839 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0989
|
sl@0
|
2840 |
//! @SYMTestType CIT
|
sl@0
|
2841 |
//!
|
sl@0
|
2842 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2843 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
2844 |
//! Move files with combination '*.*' from source to the target.
|
sl@0
|
2845 |
//! @SYMTestActions Move does not happen just returns the error code.
|
sl@0
|
2846 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
2847 |
//! @SYMTestPriority High
|
sl@0
|
2848 |
//! @SYMTestStatus Implemented
|
sl@0
|
2849 |
//---------------------------------------------
|
sl@0
|
2850 |
|
sl@0
|
2851 |
{
|
sl@0
|
2852 |
{989, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
2853 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*",
|
sl@0
|
2854 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2855 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2856 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2857 |
(TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
|
sl@0
|
2858 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
2859 |
},
|
sl@0
|
2860 |
|
sl@0
|
2861 |
//---------------------------------------------
|
sl@0
|
2862 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0990
|
sl@0
|
2863 |
//! @SYMTestType CIT
|
sl@0
|
2864 |
//!
|
sl@0
|
2865 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2866 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
2867 |
//! Move files with combination 'FILE*.TXT' from source to the target.
|
sl@0
|
2868 |
//! @SYMTestActions Move does not happen just returns the error code.
|
sl@0
|
2869 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
2870 |
//! @SYMTestPriority High
|
sl@0
|
2871 |
//! @SYMTestStatus Implemented
|
sl@0
|
2872 |
//---------------------------------------------
|
sl@0
|
2873 |
|
sl@0
|
2874 |
{
|
sl@0
|
2875 |
{990, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
2876 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
2877 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2878 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2879 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2880 |
(TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
|
sl@0
|
2881 |
(TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
|
sl@0
|
2882 |
},
|
sl@0
|
2883 |
|
sl@0
|
2884 |
//---------------------------------------------
|
sl@0
|
2885 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0991
|
sl@0
|
2886 |
//! @SYMTestType CIT
|
sl@0
|
2887 |
//!
|
sl@0
|
2888 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2889 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
2890 |
//! Move files with combination 'FILE?.TXT' from source to the target.
|
sl@0
|
2891 |
//! @SYMTestActions Move does not happen just returns the error code.
|
sl@0
|
2892 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
2893 |
//! @SYMTestPriority High
|
sl@0
|
2894 |
//! @SYMTestStatus Implemented
|
sl@0
|
2895 |
//---------------------------------------------
|
sl@0
|
2896 |
|
sl@0
|
2897 |
{
|
sl@0
|
2898 |
{991, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
2899 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
2900 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2901 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2902 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2903 |
(TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
|
sl@0
|
2904 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
2905 |
},
|
sl@0
|
2906 |
|
sl@0
|
2907 |
//---------------------------------------------
|
sl@0
|
2908 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0992
|
sl@0
|
2909 |
//! @SYMTestType CIT
|
sl@0
|
2910 |
//!
|
sl@0
|
2911 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2912 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
2913 |
//! Move files with combination '*.TXT' from source to the target.
|
sl@0
|
2914 |
//! @SYMTestActions Move does not happen just returns the error code.
|
sl@0
|
2915 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
2916 |
//! @SYMTestPriority High
|
sl@0
|
2917 |
//! @SYMTestStatus Implemented
|
sl@0
|
2918 |
//---------------------------------------------
|
sl@0
|
2919 |
|
sl@0
|
2920 |
{
|
sl@0
|
2921 |
{992, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
2922 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
2923 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2924 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2925 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2926 |
(TText*)L"?:\\Trg\\", {BLOCK29, EMPTY},
|
sl@0
|
2927 |
(TText*)L"?:\\TrgCom\\", {BLOCK29, EMPTY}}
|
sl@0
|
2928 |
},
|
sl@0
|
2929 |
|
sl@0
|
2930 |
//---------------------------------------------
|
sl@0
|
2931 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0993
|
sl@0
|
2932 |
//! @SYMTestType CIT
|
sl@0
|
2933 |
//!
|
sl@0
|
2934 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2935 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
2936 |
//! Move files with combination 'FILE.*' from source to the target.
|
sl@0
|
2937 |
//! @SYMTestActions Move does not happen just returns the error code.
|
sl@0
|
2938 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
2939 |
//! @SYMTestPriority High
|
sl@0
|
2940 |
//! @SYMTestStatus Implemented
|
sl@0
|
2941 |
//---------------------------------------------
|
sl@0
|
2942 |
|
sl@0
|
2943 |
{
|
sl@0
|
2944 |
{993, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
2945 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
2946 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2947 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
2948 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2949 |
(TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
|
sl@0
|
2950 |
(TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
|
sl@0
|
2951 |
},
|
sl@0
|
2952 |
|
sl@0
|
2953 |
//---------------------------------------------
|
sl@0
|
2954 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0994
|
sl@0
|
2955 |
//! @SYMTestType CIT
|
sl@0
|
2956 |
//!
|
sl@0
|
2957 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2958 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
2959 |
//! Move files with combination 'FILE01.TXT' from source to the target.
|
sl@0
|
2960 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
2961 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2962 |
//! @SYMTestPriority High
|
sl@0
|
2963 |
//! @SYMTestStatus Implemented
|
sl@0
|
2964 |
//---------------------------------------------
|
sl@0
|
2965 |
|
sl@0
|
2966 |
{
|
sl@0
|
2967 |
{994, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2968 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
2969 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2970 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
|
sl@0
|
2971 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2972 |
(TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
|
sl@0
|
2973 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
2974 |
},
|
sl@0
|
2975 |
|
sl@0
|
2976 |
//---------------------------------------------
|
sl@0
|
2977 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0995
|
sl@0
|
2978 |
//! @SYMTestType CIT
|
sl@0
|
2979 |
//!
|
sl@0
|
2980 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
2981 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
2982 |
//! Move files with combination '*.*' from source to the target.
|
sl@0
|
2983 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
2984 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
2985 |
//! @SYMTestPriority High
|
sl@0
|
2986 |
//! @SYMTestStatus Implemented
|
sl@0
|
2987 |
//---------------------------------------------
|
sl@0
|
2988 |
|
sl@0
|
2989 |
{
|
sl@0
|
2990 |
{995, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
2991 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*",
|
sl@0
|
2992 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
2993 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
|
sl@0
|
2994 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
2995 |
(TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
|
sl@0
|
2996 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
2997 |
},
|
sl@0
|
2998 |
|
sl@0
|
2999 |
//---------------------------------------------
|
sl@0
|
3000 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0996
|
sl@0
|
3001 |
//! @SYMTestType CIT
|
sl@0
|
3002 |
//!
|
sl@0
|
3003 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3004 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
3005 |
//! Move files with combination 'FILE*.TXT' from source to the target.
|
sl@0
|
3006 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3007 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
3008 |
//! @SYMTestPriority High
|
sl@0
|
3009 |
//! @SYMTestStatus Implemented
|
sl@0
|
3010 |
//---------------------------------------------
|
sl@0
|
3011 |
|
sl@0
|
3012 |
{
|
sl@0
|
3013 |
{996, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3014 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
3015 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3016 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
|
sl@0
|
3017 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3018 |
(TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
|
sl@0
|
3019 |
(TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
|
sl@0
|
3020 |
},
|
sl@0
|
3021 |
|
sl@0
|
3022 |
//---------------------------------------------
|
sl@0
|
3023 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0997
|
sl@0
|
3024 |
//! @SYMTestType CIT
|
sl@0
|
3025 |
//!
|
sl@0
|
3026 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3027 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
3028 |
//! Move files with combination 'FILE?.TXT' from source to the target.
|
sl@0
|
3029 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3030 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
3031 |
//! @SYMTestPriority High
|
sl@0
|
3032 |
//! @SYMTestStatus Implemented
|
sl@0
|
3033 |
//---------------------------------------------
|
sl@0
|
3034 |
|
sl@0
|
3035 |
{
|
sl@0
|
3036 |
{997, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3037 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
3038 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3039 |
(TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
|
sl@0
|
3040 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3041 |
(TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
|
sl@0
|
3042 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
3043 |
},
|
sl@0
|
3044 |
|
sl@0
|
3045 |
//---------------------------------------------
|
sl@0
|
3046 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0998
|
sl@0
|
3047 |
//! @SYMTestType CIT
|
sl@0
|
3048 |
//!
|
sl@0
|
3049 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3050 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
3051 |
//! Move files with combination '*.TXT' from source to the target.
|
sl@0
|
3052 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3053 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
3054 |
//! @SYMTestPriority High
|
sl@0
|
3055 |
//! @SYMTestStatus Implemented
|
sl@0
|
3056 |
//---------------------------------------------
|
sl@0
|
3057 |
|
sl@0
|
3058 |
{
|
sl@0
|
3059 |
{998, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3060 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
3061 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3062 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK29}},
|
sl@0
|
3063 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3064 |
(TText*)L"?:\\Trg\\", {BLOCK29, EMPTY},
|
sl@0
|
3065 |
(TText*)L"?:\\TrgCom\\", {BLOCK29, EMPTY}}
|
sl@0
|
3066 |
},
|
sl@0
|
3067 |
|
sl@0
|
3068 |
//---------------------------------------------
|
sl@0
|
3069 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-0999
|
sl@0
|
3070 |
//! @SYMTestType CIT
|
sl@0
|
3071 |
//!
|
sl@0
|
3072 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3073 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
3074 |
//! Move files with combination 'FILE.*' from source to the target.
|
sl@0
|
3075 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3076 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
3077 |
//! @SYMTestPriority High
|
sl@0
|
3078 |
//! @SYMTestStatus Implemented
|
sl@0
|
3079 |
//---------------------------------------------
|
sl@0
|
3080 |
|
sl@0
|
3081 |
{
|
sl@0
|
3082 |
{999, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3083 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
3084 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3085 |
(TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
|
sl@0
|
3086 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3087 |
(TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
|
sl@0
|
3088 |
(TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
|
sl@0
|
3089 |
},
|
sl@0
|
3090 |
|
sl@0
|
3091 |
//---------------------------------------------
|
sl@0
|
3092 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1000
|
sl@0
|
3093 |
//! @SYMTestType CIT
|
sl@0
|
3094 |
//!
|
sl@0
|
3095 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3096 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3097 |
//! Move files with combination 'FILE01.TXT' from source to the target.
|
sl@0
|
3098 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3099 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
3100 |
//! @SYMTestPriority High
|
sl@0
|
3101 |
//! @SYMTestStatus Implemented
|
sl@0
|
3102 |
//---------------------------------------------
|
sl@0
|
3103 |
|
sl@0
|
3104 |
{
|
sl@0
|
3105 |
{1000, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3106 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
3107 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3108 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
|
sl@0
|
3109 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3110 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3111 |
(TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
|
sl@0
|
3112 |
},
|
sl@0
|
3113 |
|
sl@0
|
3114 |
//---------------------------------------------
|
sl@0
|
3115 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1001
|
sl@0
|
3116 |
//! @SYMTestType CIT
|
sl@0
|
3117 |
//!
|
sl@0
|
3118 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3119 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3120 |
//! Move files with combination 'FILE01.TXT' from source to the target.
|
sl@0
|
3121 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3122 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
3123 |
//! @SYMTestPriority High
|
sl@0
|
3124 |
//! @SYMTestStatus Implemented
|
sl@0
|
3125 |
//---------------------------------------------
|
sl@0
|
3126 |
|
sl@0
|
3127 |
{
|
sl@0
|
3128 |
{1001, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3129 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*",
|
sl@0
|
3130 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3131 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
3132 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3133 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3134 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
3135 |
},
|
sl@0
|
3136 |
|
sl@0
|
3137 |
//---------------------------------------------
|
sl@0
|
3138 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1002
|
sl@0
|
3139 |
//! @SYMTestType CIT
|
sl@0
|
3140 |
//!
|
sl@0
|
3141 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3142 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3143 |
//! Move files with combination 'FILE*.TXT' from source to the target.
|
sl@0
|
3144 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3145 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
3146 |
//! @SYMTestPriority High
|
sl@0
|
3147 |
//! @SYMTestStatus Implemented
|
sl@0
|
3148 |
//---------------------------------------------
|
sl@0
|
3149 |
|
sl@0
|
3150 |
{
|
sl@0
|
3151 |
{1002, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3152 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
3153 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3154 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK05}},
|
sl@0
|
3155 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3156 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3157 |
(TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
|
sl@0
|
3158 |
},
|
sl@0
|
3159 |
|
sl@0
|
3160 |
//---------------------------------------------
|
sl@0
|
3161 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1003
|
sl@0
|
3162 |
//! @SYMTestType CIT
|
sl@0
|
3163 |
//!
|
sl@0
|
3164 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3165 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3166 |
//! Move files with combination 'FILE?.TXT' from source to the target.
|
sl@0
|
3167 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3168 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
3169 |
//! @SYMTestPriority High
|
sl@0
|
3170 |
//! @SYMTestStatus Implemented
|
sl@0
|
3171 |
//---------------------------------------------
|
sl@0
|
3172 |
|
sl@0
|
3173 |
{
|
sl@0
|
3174 |
{1003, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3175 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
3176 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3177 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
|
sl@0
|
3178 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3179 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3180 |
(TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
|
sl@0
|
3181 |
},
|
sl@0
|
3182 |
|
sl@0
|
3183 |
//---------------------------------------------
|
sl@0
|
3184 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1004
|
sl@0
|
3185 |
//! @SYMTestType CIT
|
sl@0
|
3186 |
//!
|
sl@0
|
3187 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3188 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3189 |
//! Move files with combination '*.TXT' from source to the target.
|
sl@0
|
3190 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3191 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
3192 |
//! @SYMTestPriority High
|
sl@0
|
3193 |
//! @SYMTestStatus Implemented
|
sl@0
|
3194 |
//---------------------------------------------
|
sl@0
|
3195 |
|
sl@0
|
3196 |
{
|
sl@0
|
3197 |
{1004, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3198 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
3199 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3200 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK34}},
|
sl@0
|
3201 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3202 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3203 |
(TText*)L"?:\\TrgCom\\", {BLOCK34, EMPTY}}
|
sl@0
|
3204 |
},
|
sl@0
|
3205 |
|
sl@0
|
3206 |
//---------------------------------------------
|
sl@0
|
3207 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1005
|
sl@0
|
3208 |
//! @SYMTestType CIT
|
sl@0
|
3209 |
//!
|
sl@0
|
3210 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3211 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3212 |
//! Move files with combination 'FILE.*' from source to the target.
|
sl@0
|
3213 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3214 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
3215 |
//! @SYMTestPriority High
|
sl@0
|
3216 |
//! @SYMTestStatus Implemented
|
sl@0
|
3217 |
//---------------------------------------------
|
sl@0
|
3218 |
|
sl@0
|
3219 |
{
|
sl@0
|
3220 |
{1005, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3221 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
3222 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3223 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK35}},
|
sl@0
|
3224 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3225 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3226 |
(TText*)L"?:\\TrgCom\\", {BLOCK35, EMPTY}}
|
sl@0
|
3227 |
},
|
sl@0
|
3228 |
|
sl@0
|
3229 |
//---------------------------------------------
|
sl@0
|
3230 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1006
|
sl@0
|
3231 |
//! @SYMTestType CIT
|
sl@0
|
3232 |
//!
|
sl@0
|
3233 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3234 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3235 |
//! Move files with combination 'FILE01.TXT' from source to the target.
|
sl@0
|
3236 |
//! @SYMTestActions Move does not happen just returns the error code.
|
sl@0
|
3237 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3238 |
//! @SYMTestPriority High
|
sl@0
|
3239 |
//! @SYMTestStatus Implemented
|
sl@0
|
3240 |
//---------------------------------------------
|
sl@0
|
3241 |
|
sl@0
|
3242 |
{
|
sl@0
|
3243 |
{1006, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
3244 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
3245 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3246 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3247 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3248 |
(TText*)L"?:\\Trg\\", {{2,11,20,29,38,EOB}, EMPTY},
|
sl@0
|
3249 |
(TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
|
sl@0
|
3250 |
},
|
sl@0
|
3251 |
|
sl@0
|
3252 |
//---------------------------------------------
|
sl@0
|
3253 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1007
|
sl@0
|
3254 |
//! @SYMTestType CIT
|
sl@0
|
3255 |
//!
|
sl@0
|
3256 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3257 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3258 |
//! Move files with combination '*.*' from source to the target.
|
sl@0
|
3259 |
//! @SYMTestActions Move does not happen just returns the error code.
|
sl@0
|
3260 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3261 |
//! @SYMTestPriority High
|
sl@0
|
3262 |
//! @SYMTestStatus Implemented
|
sl@0
|
3263 |
//---------------------------------------------
|
sl@0
|
3264 |
|
sl@0
|
3265 |
{
|
sl@0
|
3266 |
{1007, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
3267 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*",
|
sl@0
|
3268 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3269 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3270 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3271 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
3272 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
3273 |
},
|
sl@0
|
3274 |
|
sl@0
|
3275 |
//---------------------------------------------
|
sl@0
|
3276 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1008
|
sl@0
|
3277 |
//! @SYMTestType CIT
|
sl@0
|
3278 |
//!
|
sl@0
|
3279 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3280 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3281 |
//! Move files with combination 'FILE*.TXT' from source to the target.
|
sl@0
|
3282 |
//! @SYMTestActions Move does not happen just returns the error code.
|
sl@0
|
3283 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3284 |
//! @SYMTestPriority High
|
sl@0
|
3285 |
//! @SYMTestStatus Implemented
|
sl@0
|
3286 |
//---------------------------------------------
|
sl@0
|
3287 |
|
sl@0
|
3288 |
{
|
sl@0
|
3289 |
{1008, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
3290 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
3291 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3292 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3293 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3294 |
(TText*)L"?:\\Trg\\", {BLOCK05, EMPTY},
|
sl@0
|
3295 |
(TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
|
sl@0
|
3296 |
},
|
sl@0
|
3297 |
|
sl@0
|
3298 |
//---------------------------------------------
|
sl@0
|
3299 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1009
|
sl@0
|
3300 |
//! @SYMTestType CIT
|
sl@0
|
3301 |
//!
|
sl@0
|
3302 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3303 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3304 |
//! Move files with combination 'FILE?.TXT' from source to the target.
|
sl@0
|
3305 |
//! @SYMTestActions Move does not happen just returns the error code.
|
sl@0
|
3306 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3307 |
//! @SYMTestPriority High
|
sl@0
|
3308 |
//! @SYMTestStatus Implemented
|
sl@0
|
3309 |
//---------------------------------------------
|
sl@0
|
3310 |
|
sl@0
|
3311 |
{
|
sl@0
|
3312 |
{1009, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
3313 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
3314 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3315 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3316 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3317 |
(TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
|
sl@0
|
3318 |
(TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
|
sl@0
|
3319 |
},
|
sl@0
|
3320 |
|
sl@0
|
3321 |
//---------------------------------------------
|
sl@0
|
3322 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1010
|
sl@0
|
3323 |
//! @SYMTestType CIT
|
sl@0
|
3324 |
//!
|
sl@0
|
3325 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3326 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3327 |
//! Move files with combination '*.TXT' from source to the target.
|
sl@0
|
3328 |
//! @SYMTestActions Move does not happen just returns the error code.
|
sl@0
|
3329 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3330 |
//! @SYMTestPriority High
|
sl@0
|
3331 |
//! @SYMTestStatus Implemented
|
sl@0
|
3332 |
//---------------------------------------------
|
sl@0
|
3333 |
|
sl@0
|
3334 |
{
|
sl@0
|
3335 |
{1010, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
3336 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
3337 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3338 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3339 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3340 |
(TText*)L"?:\\Trg\\", {BLOCK34, EMPTY},
|
sl@0
|
3341 |
(TText*)L"?:\\TrgCom\\", {BLOCK34, EMPTY}}
|
sl@0
|
3342 |
},
|
sl@0
|
3343 |
|
sl@0
|
3344 |
//---------------------------------------------
|
sl@0
|
3345 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1011
|
sl@0
|
3346 |
//! @SYMTestType CIT
|
sl@0
|
3347 |
//!
|
sl@0
|
3348 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3349 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3350 |
//! Move files with combination 'FILE.*' from source to the target.
|
sl@0
|
3351 |
//! @SYMTestActions Move does not happen just returns the error code.
|
sl@0
|
3352 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3353 |
//! @SYMTestPriority High
|
sl@0
|
3354 |
//! @SYMTestStatus Implemented
|
sl@0
|
3355 |
//---------------------------------------------
|
sl@0
|
3356 |
|
sl@0
|
3357 |
{
|
sl@0
|
3358 |
{1011, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
3359 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
3360 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3361 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3362 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3363 |
(TText*)L"?:\\Trg\\", {BLOCK35, EMPTY},
|
sl@0
|
3364 |
(TText*)L"?:\\TrgCom\\", {BLOCK35, EMPTY}}
|
sl@0
|
3365 |
},
|
sl@0
|
3366 |
|
sl@0
|
3367 |
//---------------------------------------------
|
sl@0
|
3368 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1012
|
sl@0
|
3369 |
//! @SYMTestType CIT
|
sl@0
|
3370 |
//!
|
sl@0
|
3371 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3372 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
3373 |
//! Move files with combination 'FILE01.TXT' from source to the target.
|
sl@0
|
3374 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3375 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3376 |
//! @SYMTestPriority High
|
sl@0
|
3377 |
//! @SYMTestStatus Implemented
|
sl@0
|
3378 |
//---------------------------------------------
|
sl@0
|
3379 |
|
sl@0
|
3380 |
{
|
sl@0
|
3381 |
{1012, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3382 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
3383 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3384 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
|
sl@0
|
3385 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3386 |
(TText*)L"?:\\Trg\\", {{2,11,20,29,38,EOB}, EMPTY},
|
sl@0
|
3387 |
(TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
|
sl@0
|
3388 |
},
|
sl@0
|
3389 |
|
sl@0
|
3390 |
//---------------------------------------------
|
sl@0
|
3391 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1013
|
sl@0
|
3392 |
//! @SYMTestType CIT
|
sl@0
|
3393 |
//! @SYMREQ NA
|
sl@0
|
3394 |
//! @SYMTestPurpose CFileMan::Move()
|
sl@0
|
3395 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
3396 |
//! Move files with combination '*' from source to the target.
|
sl@0
|
3397 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3398 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3399 |
//! @SYMTestPriority High
|
sl@0
|
3400 |
//! @SYMTestStatus Implemented
|
sl@0
|
3401 |
//---------------------------------------------
|
sl@0
|
3402 |
|
sl@0
|
3403 |
{
|
sl@0
|
3404 |
{1013, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3405 |
{&gDriveToTest, (TText*)L"?:\\Src\\*",
|
sl@0
|
3406 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3407 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
3408 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3409 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
3410 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
3411 |
},
|
sl@0
|
3412 |
|
sl@0
|
3413 |
//---------------------------------------------
|
sl@0
|
3414 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1014
|
sl@0
|
3415 |
//! @SYMTestType CIT
|
sl@0
|
3416 |
//!
|
sl@0
|
3417 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3418 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
3419 |
//! Move files with combination 'FILE*.TXT' from source to the target.
|
sl@0
|
3420 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3421 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3422 |
//! @SYMTestPriority High
|
sl@0
|
3423 |
//! @SYMTestStatus Implemented
|
sl@0
|
3424 |
//---------------------------------------------
|
sl@0
|
3425 |
|
sl@0
|
3426 |
{
|
sl@0
|
3427 |
{1014, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3428 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
3429 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3430 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK05}},
|
sl@0
|
3431 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3432 |
(TText*)L"?:\\Trg\\", {BLOCK05, EMPTY},
|
sl@0
|
3433 |
(TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
|
sl@0
|
3434 |
},
|
sl@0
|
3435 |
|
sl@0
|
3436 |
//---------------------------------------------
|
sl@0
|
3437 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1015
|
sl@0
|
3438 |
//! @SYMTestType CIT
|
sl@0
|
3439 |
//!
|
sl@0
|
3440 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3441 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
3442 |
//! Move files with combination 'FILE?.TXT' from source to the target.
|
sl@0
|
3443 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3444 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3445 |
//! @SYMTestPriority High
|
sl@0
|
3446 |
//! @SYMTestStatus Implemented
|
sl@0
|
3447 |
//---------------------------------------------
|
sl@0
|
3448 |
|
sl@0
|
3449 |
{
|
sl@0
|
3450 |
{1015, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3451 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
3452 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3453 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
|
sl@0
|
3454 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3455 |
(TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
|
sl@0
|
3456 |
(TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
|
sl@0
|
3457 |
},
|
sl@0
|
3458 |
|
sl@0
|
3459 |
//---------------------------------------------
|
sl@0
|
3460 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1016
|
sl@0
|
3461 |
//! @SYMTestType CIT
|
sl@0
|
3462 |
//!
|
sl@0
|
3463 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3464 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
3465 |
//! Move files with combination '*.TXT' from source to the target.
|
sl@0
|
3466 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3467 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3468 |
//! @SYMTestPriority High
|
sl@0
|
3469 |
//! @SYMTestStatus Implemented
|
sl@0
|
3470 |
//---------------------------------------------
|
sl@0
|
3471 |
|
sl@0
|
3472 |
{
|
sl@0
|
3473 |
{1016, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3474 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
3475 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3476 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK34}},
|
sl@0
|
3477 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3478 |
(TText*)L"?:\\Trg\\", {BLOCK34, EMPTY},
|
sl@0
|
3479 |
(TText*)L"?:\\TrgCom\\", {BLOCK34, EMPTY}}
|
sl@0
|
3480 |
},
|
sl@0
|
3481 |
|
sl@0
|
3482 |
//---------------------------------------------
|
sl@0
|
3483 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1017
|
sl@0
|
3484 |
//! @SYMTestType CIT
|
sl@0
|
3485 |
//!
|
sl@0
|
3486 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3487 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
3488 |
//! Move files with combination 'FILE.*' from source to the target.
|
sl@0
|
3489 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3490 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3491 |
//! @SYMTestPriority High
|
sl@0
|
3492 |
//! @SYMTestStatus Implemented
|
sl@0
|
3493 |
//---------------------------------------------
|
sl@0
|
3494 |
|
sl@0
|
3495 |
{
|
sl@0
|
3496 |
{1017, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3497 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
3498 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3499 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK35}},
|
sl@0
|
3500 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3501 |
(TText*)L"?:\\Trg\\", {BLOCK35, EMPTY},
|
sl@0
|
3502 |
(TText*)L"?:\\TrgCom\\", {BLOCK35, EMPTY}}
|
sl@0
|
3503 |
},
|
sl@0
|
3504 |
|
sl@0
|
3505 |
//---------------------------------------------
|
sl@0
|
3506 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1018
|
sl@0
|
3507 |
//! @SYMTestType CIT
|
sl@0
|
3508 |
//!
|
sl@0
|
3509 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3510 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3511 |
//! Move files from Src directory without backward slash to the target.
|
sl@0
|
3512 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3513 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3514 |
//! @SYMTestPriority High
|
sl@0
|
3515 |
//! @SYMTestStatus Implemented
|
sl@0
|
3516 |
//---------------------------------------------
|
sl@0
|
3517 |
|
sl@0
|
3518 |
{
|
sl@0
|
3519 |
{1018, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3520 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
3521 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3522 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
3523 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3524 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3525 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
3526 |
},
|
sl@0
|
3527 |
|
sl@0
|
3528 |
//---------------------------------------------
|
sl@0
|
3529 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1019
|
sl@0
|
3530 |
//! @SYMTestType CIT
|
sl@0
|
3531 |
//!
|
sl@0
|
3532 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3533 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3534 |
//! Move files from Src directory without backward slash to the target directory without backward slash.
|
sl@0
|
3535 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3536 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3537 |
//! @SYMTestPriority High
|
sl@0
|
3538 |
//! @SYMTestStatus Implemented
|
sl@0
|
3539 |
//---------------------------------------------
|
sl@0
|
3540 |
|
sl@0
|
3541 |
{
|
sl@0
|
3542 |
{1019, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3543 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
3544 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3545 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
3546 |
{&gDriveToTest, (TText*)L"?:\\Trg",
|
sl@0
|
3547 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3548 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
3549 |
},
|
sl@0
|
3550 |
|
sl@0
|
3551 |
//---------------------------------------------
|
sl@0
|
3552 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1020
|
sl@0
|
3553 |
//! @SYMTestType CIT
|
sl@0
|
3554 |
//!
|
sl@0
|
3555 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3556 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3557 |
//! Move files from Src to the unspecified(NULL) target path.
|
sl@0
|
3558 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3559 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3560 |
//! @SYMTestPriority High
|
sl@0
|
3561 |
//! @SYMTestStatus Implemented
|
sl@0
|
3562 |
//---------------------------------------------
|
sl@0
|
3563 |
|
sl@0
|
3564 |
{
|
sl@0
|
3565 |
{1020, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3566 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
3567 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3568 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
3569 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
3570 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
|
sl@0
|
3571 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
3572 |
},
|
sl@0
|
3573 |
|
sl@0
|
3574 |
//---------------------------------------------
|
sl@0
|
3575 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1021
|
sl@0
|
3576 |
//! @SYMTestType CIT
|
sl@0
|
3577 |
//!
|
sl@0
|
3578 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3579 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3580 |
//! Move files from unspecified(NULL) Src to the target.
|
sl@0
|
3581 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3582 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3583 |
//! @SYMTestPriority High
|
sl@0
|
3584 |
//! @SYMTestStatus Implemented
|
sl@0
|
3585 |
//---------------------------------------------
|
sl@0
|
3586 |
|
sl@0
|
3587 |
{
|
sl@0
|
3588 |
{1021, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3589 |
{&gFixedDriveValid, (TText*)L"",
|
sl@0
|
3590 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
3591 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
|
sl@0
|
3592 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3593 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3594 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
3595 |
},
|
sl@0
|
3596 |
|
sl@0
|
3597 |
//---------------------------------------------
|
sl@0
|
3598 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1022
|
sl@0
|
3599 |
//! @SYMTestType CIT
|
sl@0
|
3600 |
//!
|
sl@0
|
3601 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3602 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3603 |
//! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
|
sl@0
|
3604 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3605 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3606 |
//! @SYMTestPriority High
|
sl@0
|
3607 |
//! @SYMTestStatus Implemented
|
sl@0
|
3608 |
//---------------------------------------------
|
sl@0
|
3609 |
|
sl@0
|
3610 |
{
|
sl@0
|
3611 |
{1022, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3612 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
|
sl@0
|
3613 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
3614 |
(TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
|
sl@0
|
3615 |
{&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
|
sl@0
|
3616 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3617 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
3618 |
},
|
sl@0
|
3619 |
|
sl@0
|
3620 |
//---------------------------------------------
|
sl@0
|
3621 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1023
|
sl@0
|
3622 |
//! @SYMTestType CIT
|
sl@0
|
3623 |
//!
|
sl@0
|
3624 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3625 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3626 |
//! Move files 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
|
sl@0
|
3627 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3628 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3629 |
//! @SYMTestPriority High
|
sl@0
|
3630 |
//! @SYMTestStatus Implemented
|
sl@0
|
3631 |
//---------------------------------------------
|
sl@0
|
3632 |
|
sl@0
|
3633 |
{
|
sl@0
|
3634 |
{1023, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3635 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
3636 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3637 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
|
sl@0
|
3638 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
|
sl@0
|
3639 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3640 |
(TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
|
sl@0
|
3641 |
},
|
sl@0
|
3642 |
|
sl@0
|
3643 |
//---------------------------------------------
|
sl@0
|
3644 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1026
|
sl@0
|
3645 |
//! @SYMTestType CIT
|
sl@0
|
3646 |
//!
|
sl@0
|
3647 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3648 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3649 |
//! Move files '*.TXT' from Src and rename file to '*.REN' on the target.
|
sl@0
|
3650 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3651 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3652 |
//! @SYMTestPriority High
|
sl@0
|
3653 |
//! @SYMTestStatus Implemented
|
sl@0
|
3654 |
//---------------------------------------------
|
sl@0
|
3655 |
|
sl@0
|
3656 |
{
|
sl@0
|
3657 |
{1026, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3658 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
3659 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3660 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
|
sl@0
|
3661 |
{&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
|
sl@0
|
3662 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3663 |
(TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
|
sl@0
|
3664 |
},
|
sl@0
|
3665 |
|
sl@0
|
3666 |
//---------------------------------------------
|
sl@0
|
3667 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1027
|
sl@0
|
3668 |
//! @SYMTestType CIT
|
sl@0
|
3669 |
//!
|
sl@0
|
3670 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3671 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3672 |
//! Move files 'FILE.*' from Src and rename file to 'RENAMED.*' on the target.
|
sl@0
|
3673 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3674 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3675 |
//! @SYMTestPriority High
|
sl@0
|
3676 |
//! @SYMTestStatus Implemented
|
sl@0
|
3677 |
//---------------------------------------------
|
sl@0
|
3678 |
|
sl@0
|
3679 |
{
|
sl@0
|
3680 |
{1027, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3681 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
3682 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3683 |
(TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
|
sl@0
|
3684 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
|
sl@0
|
3685 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3686 |
(TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
|
sl@0
|
3687 |
},
|
sl@0
|
3688 |
|
sl@0
|
3689 |
//---------------------------------------------
|
sl@0
|
3690 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1029
|
sl@0
|
3691 |
//! @SYMTestType CIT
|
sl@0
|
3692 |
//!
|
sl@0
|
3693 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3694 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3695 |
//! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
|
sl@0
|
3696 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3697 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3698 |
//! @SYMTestPriority High
|
sl@0
|
3699 |
//! @SYMTestStatus Implemented
|
sl@0
|
3700 |
//---------------------------------------------
|
sl@0
|
3701 |
|
sl@0
|
3702 |
{
|
sl@0
|
3703 |
{1029, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3704 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
3705 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
3706 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
|
sl@0
|
3707 |
{&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
|
sl@0
|
3708 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3709 |
(TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
|
sl@0
|
3710 |
},
|
sl@0
|
3711 |
|
sl@0
|
3712 |
|
sl@0
|
3713 |
//---------------------------------------------
|
sl@0
|
3714 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1030
|
sl@0
|
3715 |
//! @SYMTestType CIT
|
sl@0
|
3716 |
//!
|
sl@0
|
3717 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3718 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
3719 |
//! Move files from Src to same Src location.
|
sl@0
|
3720 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3721 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3722 |
//! @SYMTestPriority High
|
sl@0
|
3723 |
//! @SYMTestStatus Implemented
|
sl@0
|
3724 |
//---------------------------------------------
|
sl@0
|
3725 |
|
sl@0
|
3726 |
{
|
sl@0
|
3727 |
{1030, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3728 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
3729 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
3730 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3731 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
3732 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3733 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
3734 |
},
|
sl@0
|
3735 |
|
sl@0
|
3736 |
//---------------------------------------------
|
sl@0
|
3737 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1031
|
sl@0
|
3738 |
//! @SYMTestType CIT
|
sl@0
|
3739 |
//!
|
sl@0
|
3740 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3741 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3742 |
//! Move files from Src directory without backward slash to the target.
|
sl@0
|
3743 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
3744 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3745 |
//! @SYMTestPriority High
|
sl@0
|
3746 |
//! @SYMTestStatus Implemented
|
sl@0
|
3747 |
//---------------------------------------------
|
sl@0
|
3748 |
|
sl@0
|
3749 |
{
|
sl@0
|
3750 |
{1031, ECFMMove, 0, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
|
sl@0
|
3751 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
3752 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3753 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3754 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3755 |
(TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
|
sl@0
|
3756 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
3757 |
},
|
sl@0
|
3758 |
|
sl@0
|
3759 |
//---------------------------------------------
|
sl@0
|
3760 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1032
|
sl@0
|
3761 |
//! @SYMTestType CIT
|
sl@0
|
3762 |
//!
|
sl@0
|
3763 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3764 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3765 |
//! Move files from Src directory without backward slash to the target directory without backward slash.
|
sl@0
|
3766 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
3767 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3768 |
//! @SYMTestPriority High
|
sl@0
|
3769 |
//! @SYMTestStatus Implemented
|
sl@0
|
3770 |
//---------------------------------------------
|
sl@0
|
3771 |
|
sl@0
|
3772 |
{
|
sl@0
|
3773 |
{1032, ECFMMove, 0, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
|
sl@0
|
3774 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
3775 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
3776 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3777 |
{&gDriveToTest, (TText*)L"?:\\Trg",
|
sl@0
|
3778 |
(TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
|
sl@0
|
3779 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
3780 |
},
|
sl@0
|
3781 |
|
sl@0
|
3782 |
//---------------------------------------------
|
sl@0
|
3783 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1033
|
sl@0
|
3784 |
//! @SYMTestType CIT
|
sl@0
|
3785 |
//!
|
sl@0
|
3786 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3787 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3788 |
//! Move files from Src to the unspecified(NULL) target path.
|
sl@0
|
3789 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
3790 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3791 |
//! @SYMTestPriority High
|
sl@0
|
3792 |
//! @SYMTestStatus Implemented
|
sl@0
|
3793 |
//---------------------------------------------
|
sl@0
|
3794 |
|
sl@0
|
3795 |
{
|
sl@0
|
3796 |
{1033, ECFMMove, 0, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
|
sl@0
|
3797 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
3798 |
(TText*)L"?:\\SRC\\", {ALL, EMPTY},
|
sl@0
|
3799 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3800 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
3801 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
|
sl@0
|
3802 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
3803 |
},
|
sl@0
|
3804 |
|
sl@0
|
3805 |
//---------------------------------------------
|
sl@0
|
3806 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1034
|
sl@0
|
3807 |
//! @SYMTestType CIT
|
sl@0
|
3808 |
//!
|
sl@0
|
3809 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3810 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3811 |
//! Move files from unspecified(NULL) Src to the target.
|
sl@0
|
3812 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
3813 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3814 |
//! @SYMTestPriority High
|
sl@0
|
3815 |
//! @SYMTestStatus Implemented
|
sl@0
|
3816 |
//---------------------------------------------
|
sl@0
|
3817 |
|
sl@0
|
3818 |
{
|
sl@0
|
3819 |
{1034, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
3820 |
{&gFixedDriveValid, (TText*)L"",
|
sl@0
|
3821 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
3822 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3823 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3824 |
(TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
|
sl@0
|
3825 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
3826 |
},
|
sl@0
|
3827 |
|
sl@0
|
3828 |
//---------------------------------------------
|
sl@0
|
3829 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1035
|
sl@0
|
3830 |
//! @SYMTestType CIT
|
sl@0
|
3831 |
//!
|
sl@0
|
3832 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3833 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3834 |
//! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
|
sl@0
|
3835 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
3836 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3837 |
//! @SYMTestPriority High
|
sl@0
|
3838 |
//! @SYMTestStatus Implemented
|
sl@0
|
3839 |
//---------------------------------------------
|
sl@0
|
3840 |
|
sl@0
|
3841 |
{
|
sl@0
|
3842 |
{1035, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
3843 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
|
sl@0
|
3844 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
3845 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3846 |
{&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
|
sl@0
|
3847 |
(TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
|
sl@0
|
3848 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
3849 |
},
|
sl@0
|
3850 |
|
sl@0
|
3851 |
//---------------------------------------------
|
sl@0
|
3852 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1036
|
sl@0
|
3853 |
//! @SYMTestType CIT
|
sl@0
|
3854 |
//!
|
sl@0
|
3855 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3856 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3857 |
//! Move files 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
|
sl@0
|
3858 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
3859 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3860 |
//! @SYMTestPriority High
|
sl@0
|
3861 |
//! @SYMTestStatus Implemented
|
sl@0
|
3862 |
//---------------------------------------------
|
sl@0
|
3863 |
|
sl@0
|
3864 |
{
|
sl@0
|
3865 |
{1036, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
3866 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
3867 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3868 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3869 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
|
sl@0
|
3870 |
(TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
|
sl@0
|
3871 |
(TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
|
sl@0
|
3872 |
},
|
sl@0
|
3873 |
|
sl@0
|
3874 |
//---------------------------------------------
|
sl@0
|
3875 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1039
|
sl@0
|
3876 |
//! @SYMTestType CIT
|
sl@0
|
3877 |
//!
|
sl@0
|
3878 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3879 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3880 |
//! Move files '*.TXT' from Src and rename file to '*.REN' on the target.
|
sl@0
|
3881 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
3882 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3883 |
//! @SYMTestPriority High
|
sl@0
|
3884 |
//! @SYMTestStatus Implemented
|
sl@0
|
3885 |
//---------------------------------------------
|
sl@0
|
3886 |
|
sl@0
|
3887 |
{
|
sl@0
|
3888 |
{1039, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
3889 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
3890 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3891 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3892 |
{&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
|
sl@0
|
3893 |
(TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
|
sl@0
|
3894 |
(TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
|
sl@0
|
3895 |
},
|
sl@0
|
3896 |
|
sl@0
|
3897 |
//---------------------------------------------
|
sl@0
|
3898 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1040
|
sl@0
|
3899 |
//! @SYMTestType CIT
|
sl@0
|
3900 |
//!
|
sl@0
|
3901 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3902 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3903 |
//! Move files 'FILE.*' from Src and rename file to 'RENAMED.*' on the target.
|
sl@0
|
3904 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
3905 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3906 |
//! @SYMTestPriority High
|
sl@0
|
3907 |
//! @SYMTestStatus Implemented
|
sl@0
|
3908 |
//---------------------------------------------
|
sl@0
|
3909 |
|
sl@0
|
3910 |
{
|
sl@0
|
3911 |
{1040, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
3912 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
3913 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3914 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3915 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
|
sl@0
|
3916 |
(TText*)L"?:\\Trg\\", {{44,49,57,EOB}, EMPTY},
|
sl@0
|
3917 |
(TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
|
sl@0
|
3918 |
},
|
sl@0
|
3919 |
|
sl@0
|
3920 |
//---------------------------------------------
|
sl@0
|
3921 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1042
|
sl@0
|
3922 |
//! @SYMTestType CIT
|
sl@0
|
3923 |
//!
|
sl@0
|
3924 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3925 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3926 |
//! Move files from Src and rename file on the target without wildcard.
|
sl@0
|
3927 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
3928 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
3929 |
//! @SYMTestPriority High
|
sl@0
|
3930 |
//! @SYMTestStatus Implemented
|
sl@0
|
3931 |
//---------------------------------------------
|
sl@0
|
3932 |
|
sl@0
|
3933 |
{
|
sl@0
|
3934 |
{1042, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
3935 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
3936 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
3937 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3938 |
{&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
|
sl@0
|
3939 |
(TText*)L"?:\\Trg\\", {{5,EOB}, EMPTY},
|
sl@0
|
3940 |
(TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
|
sl@0
|
3941 |
},
|
sl@0
|
3942 |
|
sl@0
|
3943 |
//---------------------------------------------
|
sl@0
|
3944 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1043
|
sl@0
|
3945 |
//! @SYMTestType CIT
|
sl@0
|
3946 |
//!
|
sl@0
|
3947 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3948 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
3949 |
//! Move files from Src to same Src location.
|
sl@0
|
3950 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
3951 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3952 |
//! @SYMTestPriority High
|
sl@0
|
3953 |
//! @SYMTestStatus Implemented
|
sl@0
|
3954 |
//---------------------------------------------
|
sl@0
|
3955 |
|
sl@0
|
3956 |
{
|
sl@0
|
3957 |
{1043, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3958 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
3959 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
3960 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
3961 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
3962 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
3963 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
3964 |
},
|
sl@0
|
3965 |
|
sl@0
|
3966 |
//---------------------------------------------
|
sl@0
|
3967 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1044
|
sl@0
|
3968 |
//! @SYMTestType CIT
|
sl@0
|
3969 |
//!
|
sl@0
|
3970 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3971 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
3972 |
//! Move files from Src directory without backward slash to the target.
|
sl@0
|
3973 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3974 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3975 |
//! @SYMTestPriority High
|
sl@0
|
3976 |
//! @SYMTestStatus Implemented
|
sl@0
|
3977 |
//---------------------------------------------
|
sl@0
|
3978 |
|
sl@0
|
3979 |
{
|
sl@0
|
3980 |
{1044, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
3981 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
3982 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
3983 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
3984 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
3985 |
(TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
|
sl@0
|
3986 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
3987 |
},
|
sl@0
|
3988 |
|
sl@0
|
3989 |
//---------------------------------------------
|
sl@0
|
3990 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1045
|
sl@0
|
3991 |
//! @SYMTestType CIT
|
sl@0
|
3992 |
//!
|
sl@0
|
3993 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
3994 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
3995 |
//! Move files from Src directory without backward slash to the target directory without backward slash.
|
sl@0
|
3996 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
3997 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
3998 |
//! @SYMTestPriority High
|
sl@0
|
3999 |
//! @SYMTestStatus Implemented
|
sl@0
|
4000 |
//---------------------------------------------
|
sl@0
|
4001 |
|
sl@0
|
4002 |
{
|
sl@0
|
4003 |
{1045, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4004 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
4005 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4006 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
4007 |
{&gDriveToTest, (TText*)L"?:\\Trg",
|
sl@0
|
4008 |
(TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
|
sl@0
|
4009 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
4010 |
},
|
sl@0
|
4011 |
|
sl@0
|
4012 |
//---------------------------------------------
|
sl@0
|
4013 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1046
|
sl@0
|
4014 |
//! @SYMTestType CIT
|
sl@0
|
4015 |
//!
|
sl@0
|
4016 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4017 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4018 |
//! Move files from Src to the unspecified(NULL) target path.
|
sl@0
|
4019 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4020 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4021 |
//! @SYMTestPriority High
|
sl@0
|
4022 |
//! @SYMTestStatus Implemented
|
sl@0
|
4023 |
//---------------------------------------------
|
sl@0
|
4024 |
|
sl@0
|
4025 |
{
|
sl@0
|
4026 |
{1046, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4027 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
4028 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4029 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
4030 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
4031 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
|
sl@0
|
4032 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
4033 |
},
|
sl@0
|
4034 |
|
sl@0
|
4035 |
//---------------------------------------------
|
sl@0
|
4036 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1047
|
sl@0
|
4037 |
//! @SYMTestType CIT
|
sl@0
|
4038 |
//!
|
sl@0
|
4039 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4040 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4041 |
//! Move files from unspecified(NULL) Src to the target.
|
sl@0
|
4042 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4043 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4044 |
//! @SYMTestPriority High
|
sl@0
|
4045 |
//! @SYMTestStatus Implemented
|
sl@0
|
4046 |
//---------------------------------------------
|
sl@0
|
4047 |
|
sl@0
|
4048 |
{
|
sl@0
|
4049 |
{1047, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4050 |
{&gFixedDriveValid, (TText*)L"",
|
sl@0
|
4051 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4052 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
|
sl@0
|
4053 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
4054 |
(TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
|
sl@0
|
4055 |
(TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
|
sl@0
|
4056 |
},
|
sl@0
|
4057 |
|
sl@0
|
4058 |
//---------------------------------------------
|
sl@0
|
4059 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1048
|
sl@0
|
4060 |
//! @SYMTestType CIT
|
sl@0
|
4061 |
//!
|
sl@0
|
4062 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4063 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4064 |
//! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
|
sl@0
|
4065 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4066 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4067 |
//! @SYMTestPriority High
|
sl@0
|
4068 |
//! @SYMTestStatus Implemented
|
sl@0
|
4069 |
//---------------------------------------------
|
sl@0
|
4070 |
|
sl@0
|
4071 |
{
|
sl@0
|
4072 |
{1048, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4073 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
|
sl@0
|
4074 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4075 |
(TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
|
sl@0
|
4076 |
{&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
|
sl@0
|
4077 |
(TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
|
sl@0
|
4078 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
4079 |
},
|
sl@0
|
4080 |
|
sl@0
|
4081 |
//---------------------------------------------
|
sl@0
|
4082 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1049
|
sl@0
|
4083 |
//! @SYMTestType CIT
|
sl@0
|
4084 |
//!
|
sl@0
|
4085 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4086 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4087 |
//! Move Src 'FILE01.TXT' to the target while renaming with wildcard condition 'RENAMED.TXT'.
|
sl@0
|
4088 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4089 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4090 |
//! @SYMTestPriority High
|
sl@0
|
4091 |
//! @SYMTestStatus Implemented
|
sl@0
|
4092 |
//---------------------------------------------
|
sl@0
|
4093 |
|
sl@0
|
4094 |
{
|
sl@0
|
4095 |
{1049, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4096 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
4097 |
(TText*)L"?:\\SRC\\", {ALL, EMPTY},
|
sl@0
|
4098 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
|
sl@0
|
4099 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
|
sl@0
|
4100 |
(TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
|
sl@0
|
4101 |
(TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
|
sl@0
|
4102 |
},
|
sl@0
|
4103 |
|
sl@0
|
4104 |
//---------------------------------------------
|
sl@0
|
4105 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1052
|
sl@0
|
4106 |
//! @SYMTestType CIT
|
sl@0
|
4107 |
//!
|
sl@0
|
4108 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4109 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4110 |
//! Move Src '*.TXT' to the target while renaming with wildcard condition '*.REN'.
|
sl@0
|
4111 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4112 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4113 |
//! @SYMTestPriority High
|
sl@0
|
4114 |
//! @SYMTestStatus Implemented
|
sl@0
|
4115 |
//---------------------------------------------
|
sl@0
|
4116 |
|
sl@0
|
4117 |
{
|
sl@0
|
4118 |
{1052, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4119 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
4120 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4121 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
|
sl@0
|
4122 |
{&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
|
sl@0
|
4123 |
(TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
|
sl@0
|
4124 |
(TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
|
sl@0
|
4125 |
},
|
sl@0
|
4126 |
|
sl@0
|
4127 |
//---------------------------------------------
|
sl@0
|
4128 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1053
|
sl@0
|
4129 |
//! @SYMTestType CIT
|
sl@0
|
4130 |
//!
|
sl@0
|
4131 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4132 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4133 |
//! Move Src 'FILE.*' to the target while renaming with wildcard condition 'RENAMED.*'.
|
sl@0
|
4134 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4135 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4136 |
//! @SYMTestPriority High
|
sl@0
|
4137 |
//! @SYMTestStatus Implemented
|
sl@0
|
4138 |
//---------------------------------------------
|
sl@0
|
4139 |
|
sl@0
|
4140 |
{
|
sl@0
|
4141 |
{1053, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4142 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
4143 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4144 |
(TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
|
sl@0
|
4145 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
|
sl@0
|
4146 |
(TText*)L"?:\\Trg\\", {{44,49,57,EOB}, EMPTY},
|
sl@0
|
4147 |
(TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
|
sl@0
|
4148 |
},
|
sl@0
|
4149 |
|
sl@0
|
4150 |
//---------------------------------------------
|
sl@0
|
4151 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1055
|
sl@0
|
4152 |
//! @SYMTestType CIT
|
sl@0
|
4153 |
//!
|
sl@0
|
4154 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4155 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4156 |
//! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
|
sl@0
|
4157 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4158 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4159 |
//! @SYMTestPriority High
|
sl@0
|
4160 |
//! @SYMTestStatus Implemented
|
sl@0
|
4161 |
//---------------------------------------------
|
sl@0
|
4162 |
|
sl@0
|
4163 |
{
|
sl@0
|
4164 |
{1055, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4165 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
4166 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4167 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
|
sl@0
|
4168 |
{&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
|
sl@0
|
4169 |
(TText*)L"?:\\Trg\\", {{5,EOB}, EMPTY},
|
sl@0
|
4170 |
(TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
|
sl@0
|
4171 |
},
|
sl@0
|
4172 |
|
sl@0
|
4173 |
//---------------------------------------------
|
sl@0
|
4174 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1056
|
sl@0
|
4175 |
//! @SYMTestType CIT
|
sl@0
|
4176 |
//!
|
sl@0
|
4177 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4178 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4179 |
//! Move files from Src to same Src location.
|
sl@0
|
4180 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4181 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4182 |
//! @SYMTestPriority High
|
sl@0
|
4183 |
//! @SYMTestStatus Implemented
|
sl@0
|
4184 |
//---------------------------------------------
|
sl@0
|
4185 |
|
sl@0
|
4186 |
{
|
sl@0
|
4187 |
{1056, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4188 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\CFILEMAN\\FILE01.TXT",
|
sl@0
|
4189 |
(TText*)L"?:\\F32-TST\\CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4190 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4191 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\CFILEMAN\\FILE01.TXT",
|
sl@0
|
4192 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
4193 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
4194 |
},
|
sl@0
|
4195 |
|
sl@0
|
4196 |
//---------------------------------------------
|
sl@0
|
4197 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1057
|
sl@0
|
4198 |
//! @SYMTestType CIT
|
sl@0
|
4199 |
//!
|
sl@0
|
4200 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4201 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
4202 |
//! Move files from Src directory without backward slash to the target.
|
sl@0
|
4203 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4204 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4205 |
//! @SYMTestPriority High
|
sl@0
|
4206 |
//! @SYMTestStatus Implemented
|
sl@0
|
4207 |
//---------------------------------------------
|
sl@0
|
4208 |
|
sl@0
|
4209 |
{
|
sl@0
|
4210 |
{1057, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4211 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
4212 |
(TText*)L"?:\\SRC\\", {ALL, EMPTY},
|
sl@0
|
4213 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
4214 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
4215 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4216 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
4217 |
},
|
sl@0
|
4218 |
|
sl@0
|
4219 |
//---------------------------------------------
|
sl@0
|
4220 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1058
|
sl@0
|
4221 |
//! @SYMTestType CIT
|
sl@0
|
4222 |
//!
|
sl@0
|
4223 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4224 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
4225 |
//! Move files from Src directory without backward slash to the target directory without backward slash.
|
sl@0
|
4226 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4227 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4228 |
//! @SYMTestPriority High
|
sl@0
|
4229 |
//! @SYMTestStatus Implemented
|
sl@0
|
4230 |
//---------------------------------------------
|
sl@0
|
4231 |
|
sl@0
|
4232 |
{
|
sl@0
|
4233 |
{1058, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4234 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
4235 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4236 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
4237 |
{&gDriveToTest, (TText*)L"?:\\Trg",
|
sl@0
|
4238 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4239 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
4240 |
},
|
sl@0
|
4241 |
|
sl@0
|
4242 |
//---------------------------------------------
|
sl@0
|
4243 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1059
|
sl@0
|
4244 |
//! @SYMTestType CIT
|
sl@0
|
4245 |
//!
|
sl@0
|
4246 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4247 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
4248 |
//! Move files from Src to the unspecified(NULL) target path.
|
sl@0
|
4249 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4250 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4251 |
//! @SYMTestPriority High
|
sl@0
|
4252 |
//! @SYMTestStatus Implemented
|
sl@0
|
4253 |
//---------------------------------------------
|
sl@0
|
4254 |
|
sl@0
|
4255 |
{
|
sl@0
|
4256 |
{1059, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4257 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
4258 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4259 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
4260 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
4261 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
|
sl@0
|
4262 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
4263 |
},
|
sl@0
|
4264 |
|
sl@0
|
4265 |
//---------------------------------------------
|
sl@0
|
4266 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1060
|
sl@0
|
4267 |
//! @SYMTestType CIT
|
sl@0
|
4268 |
//!
|
sl@0
|
4269 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4270 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
4271 |
//! Move files from unspecified(NULL) Src to the target.
|
sl@0
|
4272 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4273 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4274 |
//! @SYMTestPriority High
|
sl@0
|
4275 |
//! @SYMTestStatus Implemented
|
sl@0
|
4276 |
//---------------------------------------------
|
sl@0
|
4277 |
|
sl@0
|
4278 |
{
|
sl@0
|
4279 |
{1060, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4280 |
{&gFixedDriveValid, (TText*)L"",
|
sl@0
|
4281 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4282 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
4283 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
4284 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4285 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
4286 |
},
|
sl@0
|
4287 |
|
sl@0
|
4288 |
//---------------------------------------------
|
sl@0
|
4289 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1061
|
sl@0
|
4290 |
//! @SYMTestType CIT
|
sl@0
|
4291 |
//!
|
sl@0
|
4292 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4293 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
4294 |
//! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
|
sl@0
|
4295 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4296 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4297 |
//! @SYMTestPriority High
|
sl@0
|
4298 |
//! @SYMTestStatus Implemented
|
sl@0
|
4299 |
//---------------------------------------------
|
sl@0
|
4300 |
|
sl@0
|
4301 |
{
|
sl@0
|
4302 |
{1061, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4303 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
|
sl@0
|
4304 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4305 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
|
sl@0
|
4306 |
{&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
|
sl@0
|
4307 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4308 |
(TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
|
sl@0
|
4309 |
},
|
sl@0
|
4310 |
|
sl@0
|
4311 |
//---------------------------------------------
|
sl@0
|
4312 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1062
|
sl@0
|
4313 |
//! @SYMTestType CIT
|
sl@0
|
4314 |
//!
|
sl@0
|
4315 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4316 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
4317 |
//! Move Src 'FILE01.TXT' to the target while renaming with wildcard condition 'RENAMED.TXT'.
|
sl@0
|
4318 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4319 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4320 |
//! @SYMTestPriority High
|
sl@0
|
4321 |
//! @SYMTestStatus Implemented
|
sl@0
|
4322 |
//---------------------------------------------
|
sl@0
|
4323 |
|
sl@0
|
4324 |
{
|
sl@0
|
4325 |
{1062, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4326 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
4327 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4328 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
|
sl@0
|
4329 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
|
sl@0
|
4330 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4331 |
(TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
|
sl@0
|
4332 |
},
|
sl@0
|
4333 |
|
sl@0
|
4334 |
//---------------------------------------------
|
sl@0
|
4335 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1065
|
sl@0
|
4336 |
//! @SYMTestType CIT
|
sl@0
|
4337 |
//!
|
sl@0
|
4338 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4339 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
4340 |
//! Move Src '*.TXT' to the target while renaming with wildcard condition '*.REN'.
|
sl@0
|
4341 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4342 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4343 |
//! @SYMTestPriority High
|
sl@0
|
4344 |
//! @SYMTestStatus Implemented
|
sl@0
|
4345 |
//---------------------------------------------
|
sl@0
|
4346 |
|
sl@0
|
4347 |
{
|
sl@0
|
4348 |
{1065, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4349 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
4350 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4351 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK34}},
|
sl@0
|
4352 |
{&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
|
sl@0
|
4353 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4354 |
(TText*)L"?:\\TrgCom\\", {BLOCK32, EMPTY}}
|
sl@0
|
4355 |
},
|
sl@0
|
4356 |
|
sl@0
|
4357 |
//---------------------------------------------
|
sl@0
|
4358 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1066
|
sl@0
|
4359 |
//! @SYMTestType CIT
|
sl@0
|
4360 |
//!
|
sl@0
|
4361 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4362 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
4363 |
//! Move Src 'FILE.*' to the target while renaming with wildcard condition 'RENAMED.*'.
|
sl@0
|
4364 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4365 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4366 |
//! @SYMTestPriority High
|
sl@0
|
4367 |
//! @SYMTestStatus Implemented
|
sl@0
|
4368 |
//---------------------------------------------
|
sl@0
|
4369 |
|
sl@0
|
4370 |
{
|
sl@0
|
4371 |
{1066, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4372 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
4373 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4374 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK35}},
|
sl@0
|
4375 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
|
sl@0
|
4376 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4377 |
(TText*)L"?:\\TrgCom\\", {BLOCK40, EMPTY}}
|
sl@0
|
4378 |
},
|
sl@0
|
4379 |
|
sl@0
|
4380 |
//---------------------------------------------
|
sl@0
|
4381 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1068
|
sl@0
|
4382 |
//! @SYMTestType CIT
|
sl@0
|
4383 |
//!
|
sl@0
|
4384 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4385 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
4386 |
//! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
|
sl@0
|
4387 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4388 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4389 |
//! @SYMTestPriority High
|
sl@0
|
4390 |
//! @SYMTestStatus Implemented
|
sl@0
|
4391 |
//---------------------------------------------
|
sl@0
|
4392 |
|
sl@0
|
4393 |
{
|
sl@0
|
4394 |
{1068, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4395 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
4396 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4397 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
|
sl@0
|
4398 |
{&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
|
sl@0
|
4399 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4400 |
(TText*)L"?:\\TrgCom\\", {{5,14,23,32,41,EOB}, EMPTY}}
|
sl@0
|
4401 |
},
|
sl@0
|
4402 |
|
sl@0
|
4403 |
//---------------------------------------------
|
sl@0
|
4404 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1069
|
sl@0
|
4405 |
//! @SYMTestType CIT
|
sl@0
|
4406 |
//!
|
sl@0
|
4407 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4408 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
4409 |
//! Move files from Src to same Src location.
|
sl@0
|
4410 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4411 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
4412 |
//! @SYMTestPriority High
|
sl@0
|
4413 |
//! @SYMTestStatus Implemented
|
sl@0
|
4414 |
//---------------------------------------------
|
sl@0
|
4415 |
|
sl@0
|
4416 |
{
|
sl@0
|
4417 |
{1069, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4418 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
4419 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4420 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4421 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
4422 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4423 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
4424 |
},
|
sl@0
|
4425 |
|
sl@0
|
4426 |
//---------------------------------------------
|
sl@0
|
4427 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1070
|
sl@0
|
4428 |
//! @SYMTestType CIT
|
sl@0
|
4429 |
//!
|
sl@0
|
4430 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4431 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
4432 |
//! Move files from Src directory without backward slash to the target.
|
sl@0
|
4433 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
4434 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
4435 |
//! @SYMTestPriority High
|
sl@0
|
4436 |
//! @SYMTestStatus Implemented
|
sl@0
|
4437 |
//---------------------------------------------
|
sl@0
|
4438 |
|
sl@0
|
4439 |
{
|
sl@0
|
4440 |
{1070, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
|
sl@0
|
4441 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
4442 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4443 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4444 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
4445 |
(TText*)L"?:\\Trg\\", {BLOCK09, EMPTY},
|
sl@0
|
4446 |
(TText*)L"?:\\TrgCom\\", {BLOCK09, EMPTY}}
|
sl@0
|
4447 |
},
|
sl@0
|
4448 |
|
sl@0
|
4449 |
//---------------------------------------------
|
sl@0
|
4450 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1071
|
sl@0
|
4451 |
//! @SYMTestType CIT
|
sl@0
|
4452 |
//!
|
sl@0
|
4453 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4454 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
4455 |
//! Move files from Src directory without backward slash to the target directory without backward slash.
|
sl@0
|
4456 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
4457 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
4458 |
//! @SYMTestPriority High
|
sl@0
|
4459 |
//! @SYMTestStatus Implemented
|
sl@0
|
4460 |
//---------------------------------------------
|
sl@0
|
4461 |
|
sl@0
|
4462 |
{
|
sl@0
|
4463 |
{1071, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
|
sl@0
|
4464 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
4465 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4466 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4467 |
{&gDriveToTest, (TText*)L"?:\\Trg",
|
sl@0
|
4468 |
(TText*)L"?:\\Trg\\", {BLOCK09, EMPTY},
|
sl@0
|
4469 |
(TText*)L"?:\\TrgCom\\", {BLOCK09, EMPTY}}
|
sl@0
|
4470 |
},
|
sl@0
|
4471 |
|
sl@0
|
4472 |
//---------------------------------------------
|
sl@0
|
4473 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1072
|
sl@0
|
4474 |
//! @SYMTestType CIT
|
sl@0
|
4475 |
//!
|
sl@0
|
4476 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4477 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
4478 |
//! Move files from Src to the unspecified(NULL) target path.
|
sl@0
|
4479 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
4480 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
4481 |
//! @SYMTestPriority High
|
sl@0
|
4482 |
//! @SYMTestStatus Implemented
|
sl@0
|
4483 |
//---------------------------------------------
|
sl@0
|
4484 |
|
sl@0
|
4485 |
{
|
sl@0
|
4486 |
{1072, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
|
sl@0
|
4487 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
4488 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4489 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4490 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
4491 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK09, EMPTY},
|
sl@0
|
4492 |
(TText*)L"?:\\TrgCom\\", {BLOCK09, EMPTY}}
|
sl@0
|
4493 |
},
|
sl@0
|
4494 |
|
sl@0
|
4495 |
//---------------------------------------------
|
sl@0
|
4496 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1073
|
sl@0
|
4497 |
//! @SYMTestType CIT
|
sl@0
|
4498 |
//!
|
sl@0
|
4499 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4500 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
4501 |
//! Move files from unspecified(NULL) Src to the target.
|
sl@0
|
4502 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
4503 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
4504 |
//! @SYMTestPriority High
|
sl@0
|
4505 |
//! @SYMTestStatus Implemented
|
sl@0
|
4506 |
//---------------------------------------------
|
sl@0
|
4507 |
|
sl@0
|
4508 |
{
|
sl@0
|
4509 |
{1073, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
4510 |
{&gFixedDriveValid, (TText*)L"",
|
sl@0
|
4511 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4512 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4513 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
4514 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
4515 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
4516 |
},
|
sl@0
|
4517 |
|
sl@0
|
4518 |
//---------------------------------------------
|
sl@0
|
4519 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1074
|
sl@0
|
4520 |
//! @SYMTestType CIT
|
sl@0
|
4521 |
//!
|
sl@0
|
4522 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4523 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
4524 |
//! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
|
sl@0
|
4525 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
4526 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
4527 |
//! @SYMTestPriority High
|
sl@0
|
4528 |
//! @SYMTestStatus Implemented
|
sl@0
|
4529 |
//---------------------------------------------
|
sl@0
|
4530 |
|
sl@0
|
4531 |
{
|
sl@0
|
4532 |
{1074, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
4533 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
|
sl@0
|
4534 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4535 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4536 |
{&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
|
sl@0
|
4537 |
(TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
|
sl@0
|
4538 |
(TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
|
sl@0
|
4539 |
},
|
sl@0
|
4540 |
|
sl@0
|
4541 |
//---------------------------------------------
|
sl@0
|
4542 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1075
|
sl@0
|
4543 |
//! @SYMTestType CIT
|
sl@0
|
4544 |
//!
|
sl@0
|
4545 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4546 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
4547 |
//! Move Src 'FILE01.TXT' to the target while renaming with wildcard condition 'RENAMED.TXT'.
|
sl@0
|
4548 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
4549 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
4550 |
//! @SYMTestPriority High
|
sl@0
|
4551 |
//! @SYMTestStatus Implemented
|
sl@0
|
4552 |
//---------------------------------------------
|
sl@0
|
4553 |
|
sl@0
|
4554 |
{
|
sl@0
|
4555 |
{1075, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
4556 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
4557 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4558 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4559 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
|
sl@0
|
4560 |
(TText*)L"?:\\Trg\\", {BLOCK30, EMPTY},
|
sl@0
|
4561 |
(TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
|
sl@0
|
4562 |
},
|
sl@0
|
4563 |
|
sl@0
|
4564 |
//---------------------------------------------
|
sl@0
|
4565 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1078
|
sl@0
|
4566 |
//! @SYMTestType CIT
|
sl@0
|
4567 |
//!
|
sl@0
|
4568 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4569 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
4570 |
//! Move Src '*.TXT' to the target while renaming with wildcard condition '*.REN'.
|
sl@0
|
4571 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
4572 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
4573 |
//! @SYMTestPriority High
|
sl@0
|
4574 |
//! @SYMTestStatus Implemented
|
sl@0
|
4575 |
//---------------------------------------------
|
sl@0
|
4576 |
|
sl@0
|
4577 |
{
|
sl@0
|
4578 |
{1078, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
4579 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
4580 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4581 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4582 |
{&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
|
sl@0
|
4583 |
(TText*)L"?:\\Trg\\", {BLOCK32, EMPTY},
|
sl@0
|
4584 |
(TText*)L"?:\\TrgCom\\", {BLOCK32, EMPTY}}
|
sl@0
|
4585 |
},
|
sl@0
|
4586 |
|
sl@0
|
4587 |
//---------------------------------------------
|
sl@0
|
4588 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1079
|
sl@0
|
4589 |
//! @SYMTestType CIT
|
sl@0
|
4590 |
//!
|
sl@0
|
4591 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4592 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
4593 |
//! Move Src 'FILE.*' to the target while renaming with wildcard condition 'RENAMED.*'.
|
sl@0
|
4594 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
4595 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
4596 |
//! @SYMTestPriority High
|
sl@0
|
4597 |
//! @SYMTestStatus Implemented
|
sl@0
|
4598 |
//--------------------------------------------
|
sl@0
|
4599 |
|
sl@0
|
4600 |
{
|
sl@0
|
4601 |
{1079, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
4602 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
4603 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4604 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4605 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
|
sl@0
|
4606 |
(TText*)L"?:\\Trg\\", {BLOCK40, EMPTY},
|
sl@0
|
4607 |
(TText*)L"?:\\TrgCom\\", {BLOCK40, EMPTY}}
|
sl@0
|
4608 |
},
|
sl@0
|
4609 |
|
sl@0
|
4610 |
//---------------------------------------------
|
sl@0
|
4611 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1081
|
sl@0
|
4612 |
//! @SYMTestType CIT
|
sl@0
|
4613 |
//!
|
sl@0
|
4614 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4615 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
4616 |
//! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
|
sl@0
|
4617 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
4618 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
4619 |
//! @SYMTestPriority High
|
sl@0
|
4620 |
//! @SYMTestStatus Implemented
|
sl@0
|
4621 |
//--------------------------------------------
|
sl@0
|
4622 |
|
sl@0
|
4623 |
{
|
sl@0
|
4624 |
{1081, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
4625 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
4626 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4627 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4628 |
{&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
|
sl@0
|
4629 |
(TText*)L"?:\\Trg\\", {{5,14,23,32,41,EOB}, EMPTY},
|
sl@0
|
4630 |
(TText*)L"?:\\TrgCom\\", {{5,14,23,32,41,EOB}, EMPTY}}
|
sl@0
|
4631 |
},
|
sl@0
|
4632 |
|
sl@0
|
4633 |
//---------------------------------------------
|
sl@0
|
4634 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1082
|
sl@0
|
4635 |
//! @SYMTestType CIT
|
sl@0
|
4636 |
//!
|
sl@0
|
4637 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4638 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
4639 |
//! Move files from Src to same Src location.
|
sl@0
|
4640 |
//! @SYMTestActions Move does not happen, returns the error code.
|
sl@0
|
4641 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
|
sl@0
|
4642 |
//! @SYMTestPriority High
|
sl@0
|
4643 |
//! @SYMTestStatus Implemented
|
sl@0
|
4644 |
//--------------------------------------------
|
sl@0
|
4645 |
|
sl@0
|
4646 |
{
|
sl@0
|
4647 |
{1082, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4648 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
4649 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4650 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4651 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
4652 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
4653 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
4654 |
},
|
sl@0
|
4655 |
|
sl@0
|
4656 |
//---------------------------------------------
|
sl@0
|
4657 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1083
|
sl@0
|
4658 |
//! @SYMTestType CIT
|
sl@0
|
4659 |
//!
|
sl@0
|
4660 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4661 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4662 |
//! Move files from Src directory without backward slash to the target.
|
sl@0
|
4663 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4664 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4665 |
//! @SYMTestPriority High
|
sl@0
|
4666 |
//! @SYMTestStatus Implemented
|
sl@0
|
4667 |
//--------------------------------------------
|
sl@0
|
4668 |
|
sl@0
|
4669 |
{
|
sl@0
|
4670 |
{1083, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4671 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
4672 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4673 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
4674 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
4675 |
(TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
|
sl@0
|
4676 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
4677 |
},
|
sl@0
|
4678 |
|
sl@0
|
4679 |
//---------------------------------------------
|
sl@0
|
4680 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1084
|
sl@0
|
4681 |
//! @SYMTestType CIT
|
sl@0
|
4682 |
//!
|
sl@0
|
4683 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4684 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4685 |
//! Move files from Src directory without backward slash to the target directory without backward slash.
|
sl@0
|
4686 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4687 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4688 |
//! @SYMTestPriority High
|
sl@0
|
4689 |
//! @SYMTestStatus Implemented
|
sl@0
|
4690 |
//--------------------------------------------
|
sl@0
|
4691 |
|
sl@0
|
4692 |
{
|
sl@0
|
4693 |
{1084, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4694 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
4695 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4696 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
4697 |
{&gDriveToTest, (TText*)L"?:\\Trg",
|
sl@0
|
4698 |
(TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
|
sl@0
|
4699 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
4700 |
},
|
sl@0
|
4701 |
|
sl@0
|
4702 |
//---------------------------------------------
|
sl@0
|
4703 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1085
|
sl@0
|
4704 |
//! @SYMTestType CIT
|
sl@0
|
4705 |
//!
|
sl@0
|
4706 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4707 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4708 |
//! Move files from Src to the unspecified(NULL) target path.
|
sl@0
|
4709 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4710 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4711 |
//! @SYMTestPriority High
|
sl@0
|
4712 |
//! @SYMTestStatus Implemented
|
sl@0
|
4713 |
//--------------------------------------------
|
sl@0
|
4714 |
|
sl@0
|
4715 |
{
|
sl@0
|
4716 |
{1085, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4717 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
4718 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4719 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
4720 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
4721 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
|
sl@0
|
4722 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
4723 |
},
|
sl@0
|
4724 |
|
sl@0
|
4725 |
//---------------------------------------------
|
sl@0
|
4726 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1086
|
sl@0
|
4727 |
//! @SYMTestType CIT
|
sl@0
|
4728 |
//! @SYMREQ NA
|
sl@0
|
4729 |
//! @SYMTestPurpose CFileMan::Move()
|
sl@0
|
4730 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4731 |
//! Move files from unspecified(NULL) Src to the target.
|
sl@0
|
4732 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4733 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4734 |
//! @SYMTestPriority High
|
sl@0
|
4735 |
//! @SYMTestStatus Implemented
|
sl@0
|
4736 |
//--------------------------------------------
|
sl@0
|
4737 |
|
sl@0
|
4738 |
{
|
sl@0
|
4739 |
{1086, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4740 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
4741 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4742 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
4743 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
4744 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
4745 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
4746 |
},
|
sl@0
|
4747 |
//---------------------------------------------
|
sl@0
|
4748 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1087
|
sl@0
|
4749 |
//! @SYMTestType CIT
|
sl@0
|
4750 |
//!
|
sl@0
|
4751 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4752 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4753 |
//! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
|
sl@0
|
4754 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4755 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4756 |
//! @SYMTestPriority High
|
sl@0
|
4757 |
//! @SYMTestStatus Implemented
|
sl@0
|
4758 |
//--------------------------------------------
|
sl@0
|
4759 |
|
sl@0
|
4760 |
{
|
sl@0
|
4761 |
{1087, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4762 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
|
sl@0
|
4763 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4764 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
|
sl@0
|
4765 |
{&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
|
sl@0
|
4766 |
(TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
|
sl@0
|
4767 |
(TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
|
sl@0
|
4768 |
},
|
sl@0
|
4769 |
|
sl@0
|
4770 |
//---------------------------------------------
|
sl@0
|
4771 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1088
|
sl@0
|
4772 |
//! @SYMTestType CIT
|
sl@0
|
4773 |
//!
|
sl@0
|
4774 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4775 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4776 |
//! Move Src 'FILE01.TXT' to the target while renaming with wildcard condition 'RENAMED.TXT'.
|
sl@0
|
4777 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4778 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4779 |
//! @SYMTestPriority High
|
sl@0
|
4780 |
//! @SYMTestStatus Implemented
|
sl@0
|
4781 |
//--------------------------------------------
|
sl@0
|
4782 |
|
sl@0
|
4783 |
{
|
sl@0
|
4784 |
{1088, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4785 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
4786 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4787 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
|
sl@0
|
4788 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
|
sl@0
|
4789 |
(TText*)L"?:\\Trg\\", {BLOCK30, EMPTY},
|
sl@0
|
4790 |
(TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
|
sl@0
|
4791 |
},
|
sl@0
|
4792 |
|
sl@0
|
4793 |
//---------------------------------------------
|
sl@0
|
4794 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1091
|
sl@0
|
4795 |
//! @SYMTestType CIT
|
sl@0
|
4796 |
//!
|
sl@0
|
4797 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4798 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4799 |
//! Move Src '*.TXT' to the target while renaming with wildcard condition '*.REN'.
|
sl@0
|
4800 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4801 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4802 |
//! @SYMTestPriority High
|
sl@0
|
4803 |
//! @SYMTestStatus Implemented
|
sl@0
|
4804 |
//--------------------------------------------
|
sl@0
|
4805 |
|
sl@0
|
4806 |
{
|
sl@0
|
4807 |
{1091, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4808 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
4809 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4810 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK34}},
|
sl@0
|
4811 |
{&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
|
sl@0
|
4812 |
(TText*)L"?:\\Trg\\", {BLOCK32, EMPTY},
|
sl@0
|
4813 |
(TText*)L"?:\\TrgCom\\", {BLOCK32, EMPTY}}
|
sl@0
|
4814 |
},
|
sl@0
|
4815 |
|
sl@0
|
4816 |
//---------------------------------------------
|
sl@0
|
4817 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1092
|
sl@0
|
4818 |
//! @SYMTestType CIT
|
sl@0
|
4819 |
//!
|
sl@0
|
4820 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4821 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4822 |
//! Move Src 'FILE.*' to the target while renaming with wildcard condition 'RENAMED.*'.
|
sl@0
|
4823 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4824 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4825 |
//! @SYMTestPriority High
|
sl@0
|
4826 |
//! @SYMTestStatus Implemented
|
sl@0
|
4827 |
//--------------------------------------------
|
sl@0
|
4828 |
|
sl@0
|
4829 |
{
|
sl@0
|
4830 |
{1092, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4831 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
4832 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4833 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK35}},
|
sl@0
|
4834 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
|
sl@0
|
4835 |
(TText*)L"?:\\Trg\\", {BLOCK33, EMPTY},
|
sl@0
|
4836 |
(TText*)L"?:\\TrgCom\\", {BLOCK40, EMPTY}}
|
sl@0
|
4837 |
},
|
sl@0
|
4838 |
|
sl@0
|
4839 |
//---------------------------------------------
|
sl@0
|
4840 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1094
|
sl@0
|
4841 |
//! @SYMTestType CIT
|
sl@0
|
4842 |
//!
|
sl@0
|
4843 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4844 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4845 |
//! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
|
sl@0
|
4846 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4847 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4848 |
//! @SYMTestPriority High
|
sl@0
|
4849 |
//! @SYMTestStatus Implemented
|
sl@0
|
4850 |
//--------------------------------------------
|
sl@0
|
4851 |
|
sl@0
|
4852 |
{
|
sl@0
|
4853 |
{1094, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4854 |
{&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
4855 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4856 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
|
sl@0
|
4857 |
{&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
|
sl@0
|
4858 |
(TText*)L"?:\\Trg\\", {{5,14,23,32,41,EOB}, EMPTY},
|
sl@0
|
4859 |
(TText*)L"?:\\TrgCom\\", {{5,14,23,32,41,EOB}, EMPTY}}
|
sl@0
|
4860 |
},
|
sl@0
|
4861 |
//---------------------------------------------
|
sl@0
|
4862 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1095
|
sl@0
|
4863 |
//! @SYMTestType CIT
|
sl@0
|
4864 |
//!
|
sl@0
|
4865 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
4866 |
//! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
4867 |
//! Move files from Src to same Src location.
|
sl@0
|
4868 |
//! @SYMTestActions Moves the specified files from source to the target.
|
sl@0
|
4869 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4870 |
//! @SYMTestPriority High
|
sl@0
|
4871 |
//! @SYMTestStatus Implemented
|
sl@0
|
4872 |
//--------------------------------------------
|
sl@0
|
4873 |
|
sl@0
|
4874 |
{
|
sl@0
|
4875 |
{1095, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4876 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
4877 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
4878 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
4879 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
4880 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
4881 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
4882 |
},
|
sl@0
|
4883 |
|
sl@0
|
4884 |
//---------------------------------------------
|
sl@0
|
4885 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1096
|
sl@0
|
4886 |
//! @SYMTestType CIT
|
sl@0
|
4887 |
//!
|
sl@0
|
4888 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
4889 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
4890 |
//! Rename a file 'FILE01.TXT' from source to the target.
|
sl@0
|
4891 |
//! @SYMTestActions Renames specified files from source to the target.
|
sl@0
|
4892 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4893 |
//! @SYMTestPriority High
|
sl@0
|
4894 |
//! @SYMTestStatus Implemented
|
sl@0
|
4895 |
//---------------------------------------------
|
sl@0
|
4896 |
|
sl@0
|
4897 |
{
|
sl@0
|
4898 |
{1096, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4899 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
4900 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4901 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
|
sl@0
|
4902 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
4903 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4904 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
4905 |
},
|
sl@0
|
4906 |
|
sl@0
|
4907 |
//---------------------------------------------
|
sl@0
|
4908 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1097
|
sl@0
|
4909 |
//! @SYMTestType CIT
|
sl@0
|
4910 |
//!
|
sl@0
|
4911 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
4912 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
4913 |
//! Rename files with wildcard combination '*.*' from source to the target.
|
sl@0
|
4914 |
//! @SYMTestActions Renames specified files from source to the target.
|
sl@0
|
4915 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4916 |
//! @SYMTestPriority High
|
sl@0
|
4917 |
//! @SYMTestStatus Implemented
|
sl@0
|
4918 |
//---------------------------------------------
|
sl@0
|
4919 |
|
sl@0
|
4920 |
{
|
sl@0
|
4921 |
{1097, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4922 |
{&gDriveToTest, (TText*)L"?:\\Src\\*.*",
|
sl@0
|
4923 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4924 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
4925 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
4926 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4927 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
4928 |
},
|
sl@0
|
4929 |
|
sl@0
|
4930 |
//---------------------------------------------
|
sl@0
|
4931 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1098
|
sl@0
|
4932 |
//! @SYMTestType CIT
|
sl@0
|
4933 |
//!
|
sl@0
|
4934 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
4935 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
4936 |
//! Rename files with wildcard combination 'FILE*.TXT' from source to the target.
|
sl@0
|
4937 |
//! @SYMTestActions Renames specified files from source to the target.
|
sl@0
|
4938 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4939 |
//! @SYMTestPriority High
|
sl@0
|
4940 |
//! @SYMTestStatus Implemented
|
sl@0
|
4941 |
//---------------------------------------------
|
sl@0
|
4942 |
|
sl@0
|
4943 |
{
|
sl@0
|
4944 |
{1098, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4945 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
4946 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4947 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
|
sl@0
|
4948 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
4949 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4950 |
(TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
|
sl@0
|
4951 |
},
|
sl@0
|
4952 |
|
sl@0
|
4953 |
//---------------------------------------------
|
sl@0
|
4954 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1099
|
sl@0
|
4955 |
//! @SYMTestType CIT
|
sl@0
|
4956 |
//!
|
sl@0
|
4957 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
4958 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
4959 |
//! Rename files with wildcard combination 'FILE?.TXT' from source to the target.
|
sl@0
|
4960 |
//! @SYMTestActions Renames specified files from source to the target.
|
sl@0
|
4961 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4962 |
//! @SYMTestPriority High
|
sl@0
|
4963 |
//! @SYMTestStatus Implemented
|
sl@0
|
4964 |
//---------------------------------------------
|
sl@0
|
4965 |
|
sl@0
|
4966 |
{
|
sl@0
|
4967 |
{1099, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4968 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
4969 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4970 |
(TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
|
sl@0
|
4971 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
4972 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4973 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
4974 |
},
|
sl@0
|
4975 |
|
sl@0
|
4976 |
//---------------------------------------------
|
sl@0
|
4977 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1100
|
sl@0
|
4978 |
//! @SYMTestType CIT
|
sl@0
|
4979 |
//!
|
sl@0
|
4980 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
4981 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
4982 |
//! Rename files with wildcard combination '*.TXT' from source to the target.
|
sl@0
|
4983 |
//! @SYMTestActions Renames specified files from source to the target.
|
sl@0
|
4984 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
4985 |
//! @SYMTestPriority High
|
sl@0
|
4986 |
//! @SYMTestStatus Implemented
|
sl@0
|
4987 |
//---------------------------------------------
|
sl@0
|
4988 |
|
sl@0
|
4989 |
{
|
sl@0
|
4990 |
{1100, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
4991 |
{&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
4992 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
4993 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
|
sl@0
|
4994 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
4995 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
4996 |
(TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
|
sl@0
|
4997 |
},
|
sl@0
|
4998 |
|
sl@0
|
4999 |
//---------------------------------------------
|
sl@0
|
5000 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1101
|
sl@0
|
5001 |
//! @SYMTestType CIT
|
sl@0
|
5002 |
//!
|
sl@0
|
5003 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5004 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
5005 |
//! Rename files with wildcard combination 'FILE.*' from source to the target.
|
sl@0
|
5006 |
//! @SYMTestActions Renames specified files from source to the target.
|
sl@0
|
5007 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
5008 |
//! @SYMTestPriority High
|
sl@0
|
5009 |
//! @SYMTestStatus Implemented
|
sl@0
|
5010 |
//---------------------------------------------
|
sl@0
|
5011 |
|
sl@0
|
5012 |
{
|
sl@0
|
5013 |
{1101, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5014 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
5015 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5016 |
(TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
|
sl@0
|
5017 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5018 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5019 |
(TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
|
sl@0
|
5020 |
},
|
sl@0
|
5021 |
|
sl@0
|
5022 |
//---------------------------------------------
|
sl@0
|
5023 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1102
|
sl@0
|
5024 |
//! @SYMTestType CIT
|
sl@0
|
5025 |
//!
|
sl@0
|
5026 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5027 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
5028 |
//! Rename files with wildcard combination 'FILE01.TXT' from source to the target.
|
sl@0
|
5029 |
//! @SYMTestActions Renames specified files from source to the target.
|
sl@0
|
5030 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
5031 |
//! @SYMTestPriority High
|
sl@0
|
5032 |
//! @SYMTestStatus Implemented
|
sl@0
|
5033 |
//---------------------------------------------
|
sl@0
|
5034 |
|
sl@0
|
5035 |
{
|
sl@0
|
5036 |
{1102, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5037 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
5038 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5039 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
|
sl@0
|
5040 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
|
sl@0
|
5041 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5042 |
(TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
|
sl@0
|
5043 |
},
|
sl@0
|
5044 |
|
sl@0
|
5045 |
//---------------------------------------------
|
sl@0
|
5046 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1105
|
sl@0
|
5047 |
//! @SYMTestType CIT
|
sl@0
|
5048 |
//!
|
sl@0
|
5049 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5050 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
5051 |
//! Rename files with wildcard combination '*.TXT' from source to the '*.REN' in target.
|
sl@0
|
5052 |
//! @SYMTestActions Renames specified files from source to the target.
|
sl@0
|
5053 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
5054 |
//! @SYMTestPriority High
|
sl@0
|
5055 |
//! @SYMTestStatus Implemented
|
sl@0
|
5056 |
//---------------------------------------------
|
sl@0
|
5057 |
|
sl@0
|
5058 |
{
|
sl@0
|
5059 |
{1105, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5060 |
{&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
5061 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5062 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
|
sl@0
|
5063 |
{&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
|
sl@0
|
5064 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5065 |
(TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
|
sl@0
|
5066 |
},
|
sl@0
|
5067 |
|
sl@0
|
5068 |
//---------------------------------------------
|
sl@0
|
5069 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1106
|
sl@0
|
5070 |
//! @SYMTestType CIT
|
sl@0
|
5071 |
//!
|
sl@0
|
5072 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5073 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
5074 |
//! Rename files with wildcard combination 'FILE.*' from source to the '*.REN' in target.
|
sl@0
|
5075 |
//! @SYMTestActions Renames specified files from source to the target.
|
sl@0
|
5076 |
//! @SYMTestExpectedResults 1.KErrNone in success case
|
sl@0
|
5077 |
//! @SYMTestPriority High
|
sl@0
|
5078 |
//! @SYMTestStatus Implemented
|
sl@0
|
5079 |
//---------------------------------------------
|
sl@0
|
5080 |
|
sl@0
|
5081 |
{
|
sl@0
|
5082 |
{1106, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5083 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
5084 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5085 |
(TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
|
sl@0
|
5086 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
|
sl@0
|
5087 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5088 |
(TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
|
sl@0
|
5089 |
},
|
sl@0
|
5090 |
|
sl@0
|
5091 |
//---------------------------------------------
|
sl@0
|
5092 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1108
|
sl@0
|
5093 |
//! @SYMTestType CIT
|
sl@0
|
5094 |
//!
|
sl@0
|
5095 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5096 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
5097 |
//! Rename files with wildcard combination 'FILE01.TXT' from source to target.
|
sl@0
|
5098 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5099 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5100 |
//! @SYMTestPriority High
|
sl@0
|
5101 |
//! @SYMTestStatus Implemented
|
sl@0
|
5102 |
//---------------------------------------------
|
sl@0
|
5103 |
|
sl@0
|
5104 |
{
|
sl@0
|
5105 |
{1108, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5106 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
5107 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5108 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5109 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5110 |
(TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
|
sl@0
|
5111 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
5112 |
},
|
sl@0
|
5113 |
|
sl@0
|
5114 |
//---------------------------------------------
|
sl@0
|
5115 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1109
|
sl@0
|
5116 |
//! @SYMTestType CIT
|
sl@0
|
5117 |
//!
|
sl@0
|
5118 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5119 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
5120 |
//! Rename files with wildcard combination '*.*' from source to target.
|
sl@0
|
5121 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5122 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5123 |
//! @SYMTestPriority High
|
sl@0
|
5124 |
//! @SYMTestStatus Implemented
|
sl@0
|
5125 |
//---------------------------------------------
|
sl@0
|
5126 |
|
sl@0
|
5127 |
{
|
sl@0
|
5128 |
{1109, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5129 |
{&gDriveToTest, (TText*)L"?:\\Src\\*",
|
sl@0
|
5130 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5131 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5132 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5133 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
5134 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
5135 |
},
|
sl@0
|
5136 |
|
sl@0
|
5137 |
//---------------------------------------------
|
sl@0
|
5138 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1110
|
sl@0
|
5139 |
//! @SYMTestType CIT
|
sl@0
|
5140 |
//!
|
sl@0
|
5141 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5142 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
5143 |
//! Rename files with wildcard combination 'FILE*.TXT' from source to target.
|
sl@0
|
5144 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5145 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5146 |
//! @SYMTestPriority High
|
sl@0
|
5147 |
//! @SYMTestStatus Implemented
|
sl@0
|
5148 |
//---------------------------------------------
|
sl@0
|
5149 |
|
sl@0
|
5150 |
{
|
sl@0
|
5151 |
{1110, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5152 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
5153 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5154 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5155 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5156 |
(TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
|
sl@0
|
5157 |
(TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
|
sl@0
|
5158 |
},
|
sl@0
|
5159 |
|
sl@0
|
5160 |
|
sl@0
|
5161 |
|
sl@0
|
5162 |
//---------------------------------------------
|
sl@0
|
5163 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1111
|
sl@0
|
5164 |
//! @SYMTestType CIT
|
sl@0
|
5165 |
//!
|
sl@0
|
5166 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5167 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
5168 |
//! Rename files with wildcard combination 'FILE?.TXT' from source to target.
|
sl@0
|
5169 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5170 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5171 |
//! @SYMTestPriority High
|
sl@0
|
5172 |
//! @SYMTestStatus Implemented
|
sl@0
|
5173 |
//---------------------------------------------
|
sl@0
|
5174 |
|
sl@0
|
5175 |
{
|
sl@0
|
5176 |
{1111, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5177 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
5178 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5179 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5180 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5181 |
(TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
|
sl@0
|
5182 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
5183 |
},
|
sl@0
|
5184 |
|
sl@0
|
5185 |
//---------------------------------------------
|
sl@0
|
5186 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1112
|
sl@0
|
5187 |
//! @SYMTestType CIT
|
sl@0
|
5188 |
//!
|
sl@0
|
5189 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5190 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
5191 |
//! Rename files with wildcard combination '*.TXT' from source to target.
|
sl@0
|
5192 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5193 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5194 |
//! @SYMTestPriority High
|
sl@0
|
5195 |
//! @SYMTestStatus Implemented
|
sl@0
|
5196 |
//---------------------------------------------
|
sl@0
|
5197 |
|
sl@0
|
5198 |
{
|
sl@0
|
5199 |
{1112, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5200 |
{&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
5201 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5202 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5203 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5204 |
(TText*)L"?:\\Trg\\", {BLOCK20, EMPTY},
|
sl@0
|
5205 |
(TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
|
sl@0
|
5206 |
},
|
sl@0
|
5207 |
|
sl@0
|
5208 |
//---------------------------------------------
|
sl@0
|
5209 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1113
|
sl@0
|
5210 |
//! @SYMTestType CIT
|
sl@0
|
5211 |
//!
|
sl@0
|
5212 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5213 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
5214 |
//! Rename files with wildcard combination 'FILE.*' from source to target.
|
sl@0
|
5215 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5216 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5217 |
//! @SYMTestPriority High
|
sl@0
|
5218 |
//! @SYMTestStatus Implemented
|
sl@0
|
5219 |
//---------------------------------------------
|
sl@0
|
5220 |
|
sl@0
|
5221 |
{
|
sl@0
|
5222 |
{1113, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5223 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
5224 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5225 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5226 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5227 |
(TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
|
sl@0
|
5228 |
(TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
|
sl@0
|
5229 |
},
|
sl@0
|
5230 |
|
sl@0
|
5231 |
//---------------------------------------------
|
sl@0
|
5232 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1114
|
sl@0
|
5233 |
//! @SYMTestType CIT
|
sl@0
|
5234 |
//!
|
sl@0
|
5235 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5236 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
5237 |
//! Rename files with wildcard combination 'FILE01.TXT' from source to 'RENAMED.TXT' in target.
|
sl@0
|
5238 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5239 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5240 |
//! @SYMTestPriority High
|
sl@0
|
5241 |
//! @SYMTestStatus Implemented
|
sl@0
|
5242 |
//---------------------------------------------
|
sl@0
|
5243 |
|
sl@0
|
5244 |
{
|
sl@0
|
5245 |
{1114, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5246 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
5247 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5248 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5249 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
|
sl@0
|
5250 |
(TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
|
sl@0
|
5251 |
(TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
|
sl@0
|
5252 |
},
|
sl@0
|
5253 |
|
sl@0
|
5254 |
//---------------------------------------------
|
sl@0
|
5255 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1117
|
sl@0
|
5256 |
//! @SYMTestType CIT
|
sl@0
|
5257 |
//!
|
sl@0
|
5258 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5259 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
5260 |
//! Rename files with wildcard combination '*.TXT' from source to '*.REN' in target.
|
sl@0
|
5261 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5262 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5263 |
//! @SYMTestPriority High
|
sl@0
|
5264 |
//! @SYMTestStatus Implemented
|
sl@0
|
5265 |
//---------------------------------------------
|
sl@0
|
5266 |
|
sl@0
|
5267 |
{
|
sl@0
|
5268 |
{1117, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5269 |
{&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
5270 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5271 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5272 |
{&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
|
sl@0
|
5273 |
(TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
|
sl@0
|
5274 |
(TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
|
sl@0
|
5275 |
},
|
sl@0
|
5276 |
|
sl@0
|
5277 |
//---------------------------------------------
|
sl@0
|
5278 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1118
|
sl@0
|
5279 |
//! @SYMTestType CIT
|
sl@0
|
5280 |
//!
|
sl@0
|
5281 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5282 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
|
sl@0
|
5283 |
//! Rename files with wildcard combination 'FILE.*' from source to 'RENAMED.*' in target.
|
sl@0
|
5284 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5285 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5286 |
//! @SYMTestPriority High
|
sl@0
|
5287 |
//! @SYMTestStatus Implemented
|
sl@0
|
5288 |
//---------------------------------------------
|
sl@0
|
5289 |
|
sl@0
|
5290 |
{
|
sl@0
|
5291 |
{1118, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5292 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
5293 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5294 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5295 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
|
sl@0
|
5296 |
(TText*)L"?:\\Trg\\", {{44,49,57,EOB}, EMPTY},
|
sl@0
|
5297 |
(TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
|
sl@0
|
5298 |
},
|
sl@0
|
5299 |
|
sl@0
|
5300 |
//---------------------------------------------
|
sl@0
|
5301 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1120
|
sl@0
|
5302 |
//! @SYMTestType CIT
|
sl@0
|
5303 |
//!
|
sl@0
|
5304 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5305 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
5306 |
//! Rename files with wildcard combination 'FILE01.TXT' from source to target.
|
sl@0
|
5307 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5308 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5309 |
//! @SYMTestPriority High
|
sl@0
|
5310 |
//! @SYMTestStatus Implemented
|
sl@0
|
5311 |
//---------------------------------------------
|
sl@0
|
5312 |
|
sl@0
|
5313 |
{
|
sl@0
|
5314 |
{1120, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5315 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
5316 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5317 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
|
sl@0
|
5318 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5319 |
(TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
|
sl@0
|
5320 |
(TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
|
sl@0
|
5321 |
},
|
sl@0
|
5322 |
|
sl@0
|
5323 |
//---------------------------------------------
|
sl@0
|
5324 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1121
|
sl@0
|
5325 |
//! @SYMTestType CIT
|
sl@0
|
5326 |
//!
|
sl@0
|
5327 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5328 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
5329 |
//! Rename files with wildcard combination '*.*' from source to target.
|
sl@0
|
5330 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5331 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5332 |
//! @SYMTestPriority High
|
sl@0
|
5333 |
//! @SYMTestStatus Implemented
|
sl@0
|
5334 |
//---------------------------------------------
|
sl@0
|
5335 |
|
sl@0
|
5336 |
{
|
sl@0
|
5337 |
{1121, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5338 |
{&gDriveToTest, (TText*)L"?:\\Src\\*",
|
sl@0
|
5339 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5340 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
|
sl@0
|
5341 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5342 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
5343 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
5344 |
},
|
sl@0
|
5345 |
|
sl@0
|
5346 |
//---------------------------------------------
|
sl@0
|
5347 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1122
|
sl@0
|
5348 |
//! @SYMTestType CIT
|
sl@0
|
5349 |
//!
|
sl@0
|
5350 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5351 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
5352 |
//! Rename files with wildcard combination 'FILE*.TXT' from source to target.
|
sl@0
|
5353 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5354 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5355 |
//! @SYMTestPriority High
|
sl@0
|
5356 |
//! @SYMTestStatus Implemented
|
sl@0
|
5357 |
//---------------------------------------------
|
sl@0
|
5358 |
|
sl@0
|
5359 |
{
|
sl@0
|
5360 |
{1122, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5361 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
|
sl@0
|
5362 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5363 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
|
sl@0
|
5364 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5365 |
(TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
|
sl@0
|
5366 |
(TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
|
sl@0
|
5367 |
},
|
sl@0
|
5368 |
|
sl@0
|
5369 |
//---------------------------------------------
|
sl@0
|
5370 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1123
|
sl@0
|
5371 |
//! @SYMTestType CIT
|
sl@0
|
5372 |
//!
|
sl@0
|
5373 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5374 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
5375 |
//! Rename files with wildcard combination 'FILE?.TXT' from source to target.
|
sl@0
|
5376 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5377 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5378 |
//! @SYMTestPriority High
|
sl@0
|
5379 |
//! @SYMTestStatus Implemented
|
sl@0
|
5380 |
//---------------------------------------------
|
sl@0
|
5381 |
|
sl@0
|
5382 |
{
|
sl@0
|
5383 |
{1123, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5384 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
|
sl@0
|
5385 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5386 |
(TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
|
sl@0
|
5387 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5388 |
(TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
|
sl@0
|
5389 |
(TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
|
sl@0
|
5390 |
},
|
sl@0
|
5391 |
//---------------------------------------------
|
sl@0
|
5392 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1124
|
sl@0
|
5393 |
//! @SYMTestType CIT
|
sl@0
|
5394 |
//!
|
sl@0
|
5395 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5396 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
5397 |
//! Rename files with wildcard combination '*.TXT' from source to target.
|
sl@0
|
5398 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5399 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5400 |
//! @SYMTestPriority High
|
sl@0
|
5401 |
//! @SYMTestStatus Implemented
|
sl@0
|
5402 |
//---------------------------------------------
|
sl@0
|
5403 |
|
sl@0
|
5404 |
{
|
sl@0
|
5405 |
{1124, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5406 |
{&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
5407 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5408 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
|
sl@0
|
5409 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5410 |
(TText*)L"?:\\Trg\\", {BLOCK20, EMPTY},
|
sl@0
|
5411 |
(TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
|
sl@0
|
5412 |
},
|
sl@0
|
5413 |
|
sl@0
|
5414 |
//---------------------------------------------
|
sl@0
|
5415 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1125
|
sl@0
|
5416 |
//! @SYMTestType CIT
|
sl@0
|
5417 |
//!
|
sl@0
|
5418 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5419 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
5420 |
//! Rename files with wildcard combination 'FILE.*' from source to target.
|
sl@0
|
5421 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5422 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5423 |
//! @SYMTestPriority High
|
sl@0
|
5424 |
//! @SYMTestStatus Implemented
|
sl@0
|
5425 |
//---------------------------------------------
|
sl@0
|
5426 |
|
sl@0
|
5427 |
{
|
sl@0
|
5428 |
{1125, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5429 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
5430 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5431 |
(TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
|
sl@0
|
5432 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5433 |
(TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
|
sl@0
|
5434 |
(TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
|
sl@0
|
5435 |
},
|
sl@0
|
5436 |
|
sl@0
|
5437 |
//---------------------------------------------
|
sl@0
|
5438 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1126
|
sl@0
|
5439 |
//! @SYMTestType CIT
|
sl@0
|
5440 |
//!
|
sl@0
|
5441 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5442 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
5443 |
//! Rename files with wildcard combination 'FILE01.TXT' from source to 'RENAMED.TXT' in target.
|
sl@0
|
5444 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5445 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5446 |
//! @SYMTestPriority High
|
sl@0
|
5447 |
//! @SYMTestStatus Implemented
|
sl@0
|
5448 |
//---------------------------------------------
|
sl@0
|
5449 |
|
sl@0
|
5450 |
{
|
sl@0
|
5451 |
{1126, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5452 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
5453 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5454 |
(TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
|
sl@0
|
5455 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
|
sl@0
|
5456 |
(TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
|
sl@0
|
5457 |
(TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
|
sl@0
|
5458 |
},
|
sl@0
|
5459 |
|
sl@0
|
5460 |
|
sl@0
|
5461 |
|
sl@0
|
5462 |
//---------------------------------------------
|
sl@0
|
5463 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1129
|
sl@0
|
5464 |
//! @SYMTestType CIT
|
sl@0
|
5465 |
//!
|
sl@0
|
5466 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5467 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
5468 |
//! Rename files with wildcard combination '*.TXT' from source to '*.REN' in target.
|
sl@0
|
5469 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5470 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5471 |
//! @SYMTestPriority High
|
sl@0
|
5472 |
//! @SYMTestStatus Implemented
|
sl@0
|
5473 |
//---------------------------------------------
|
sl@0
|
5474 |
|
sl@0
|
5475 |
{
|
sl@0
|
5476 |
{1129, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5477 |
{&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
|
sl@0
|
5478 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5479 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
|
sl@0
|
5480 |
{&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
|
sl@0
|
5481 |
(TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
|
sl@0
|
5482 |
(TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
|
sl@0
|
5483 |
},
|
sl@0
|
5484 |
|
sl@0
|
5485 |
//---------------------------------------------
|
sl@0
|
5486 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1130
|
sl@0
|
5487 |
//! @SYMTestType CIT
|
sl@0
|
5488 |
//!
|
sl@0
|
5489 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5490 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
|
sl@0
|
5491 |
//! Rename files with wildcard combination 'FILE.*' from source to 'RENAMED.*' in target.
|
sl@0
|
5492 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5493 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5494 |
//! @SYMTestPriority High
|
sl@0
|
5495 |
//! @SYMTestStatus Implemented
|
sl@0
|
5496 |
//---------------------------------------------
|
sl@0
|
5497 |
|
sl@0
|
5498 |
{
|
sl@0
|
5499 |
{1130, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5500 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
|
sl@0
|
5501 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5502 |
(TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
|
sl@0
|
5503 |
{&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
|
sl@0
|
5504 |
(TText*)L"?:\\Trg\\", {{44,49,57,EOB}, EMPTY},
|
sl@0
|
5505 |
(TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
|
sl@0
|
5506 |
},
|
sl@0
|
5507 |
|
sl@0
|
5508 |
//---------------------------------------------
|
sl@0
|
5509 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1132
|
sl@0
|
5510 |
//! @SYMTestType CIT
|
sl@0
|
5511 |
//!
|
sl@0
|
5512 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5513 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
5514 |
//! Rename files from Src directory without backward slash to the target.
|
sl@0
|
5515 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5516 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5517 |
//! @SYMTestPriority High
|
sl@0
|
5518 |
//! @SYMTestStatus Implemented
|
sl@0
|
5519 |
//---------------------------------------------
|
sl@0
|
5520 |
|
sl@0
|
5521 |
{
|
sl@0
|
5522 |
{1132, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5523 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
5524 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5525 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
5526 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5527 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5528 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
5529 |
},
|
sl@0
|
5530 |
|
sl@0
|
5531 |
//---------------------------------------------
|
sl@0
|
5532 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1133
|
sl@0
|
5533 |
//! @SYMTestType CIT
|
sl@0
|
5534 |
//!
|
sl@0
|
5535 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5536 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
5537 |
//! Rename files from Src directory without backward slash to the target directory without backward slash.
|
sl@0
|
5538 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5539 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5540 |
//! @SYMTestPriority High
|
sl@0
|
5541 |
//! @SYMTestStatus Implemented
|
sl@0
|
5542 |
//---------------------------------------------
|
sl@0
|
5543 |
|
sl@0
|
5544 |
{
|
sl@0
|
5545 |
{1133, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5546 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
5547 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5548 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5549 |
{&gDriveToTest, (TText*)L"?:\\Trg",
|
sl@0
|
5550 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5551 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
5552 |
},
|
sl@0
|
5553 |
|
sl@0
|
5554 |
//---------------------------------------------
|
sl@0
|
5555 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1134
|
sl@0
|
5556 |
//! @SYMTestType CIT
|
sl@0
|
5557 |
//!
|
sl@0
|
5558 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5559 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
5560 |
//! Rename files from Src to the unspecified(NULL) target path.
|
sl@0
|
5561 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5562 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5563 |
//! @SYMTestPriority High
|
sl@0
|
5564 |
//! @SYMTestStatus Implemented
|
sl@0
|
5565 |
//---------------------------------------------
|
sl@0
|
5566 |
|
sl@0
|
5567 |
{
|
sl@0
|
5568 |
{1134, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5569 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
5570 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5571 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
|
sl@0
|
5572 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
5573 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
|
sl@0
|
5574 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
5575 |
},
|
sl@0
|
5576 |
|
sl@0
|
5577 |
//---------------------------------------------
|
sl@0
|
5578 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1135
|
sl@0
|
5579 |
//! @SYMTestType CIT
|
sl@0
|
5580 |
//!
|
sl@0
|
5581 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5582 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
5583 |
//! Rename files from unspecified(NULL) Src to the target.
|
sl@0
|
5584 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5585 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5586 |
//! @SYMTestPriority High
|
sl@0
|
5587 |
//! @SYMTestStatus Implemented
|
sl@0
|
5588 |
//---------------------------------------------
|
sl@0
|
5589 |
|
sl@0
|
5590 |
{
|
sl@0
|
5591 |
{1135, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5592 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
5593 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
5594 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
5595 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5596 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5597 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
5598 |
},
|
sl@0
|
5599 |
|
sl@0
|
5600 |
//---------------------------------------------
|
sl@0
|
5601 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1136
|
sl@0
|
5602 |
//! @SYMTestType CIT
|
sl@0
|
5603 |
//!
|
sl@0
|
5604 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5605 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
|
sl@0
|
5606 |
//! Rename files from Src to same Src location.
|
sl@0
|
5607 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5608 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5609 |
//! @SYMTestPriority High
|
sl@0
|
5610 |
//! @SYMTestStatus Implemented
|
sl@0
|
5611 |
//---------------------------------------------
|
sl@0
|
5612 |
|
sl@0
|
5613 |
{
|
sl@0
|
5614 |
{1136, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5615 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
5616 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
5617 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5618 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
5619 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
5620 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
5621 |
},
|
sl@0
|
5622 |
|
sl@0
|
5623 |
//---------------------------------------------
|
sl@0
|
5624 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1137
|
sl@0
|
5625 |
//! @SYMTestType CIT
|
sl@0
|
5626 |
//!
|
sl@0
|
5627 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5628 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
|
sl@0
|
5629 |
//! Rename files from Src directory without backward slash to the target.
|
sl@0
|
5630 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5631 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5632 |
//! @SYMTestPriority High
|
sl@0
|
5633 |
//! @SYMTestStatus Implemented
|
sl@0
|
5634 |
//---------------------------------------------
|
sl@0
|
5635 |
|
sl@0
|
5636 |
{
|
sl@0
|
5637 |
{1137, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5638 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
5639 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5640 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5641 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5642 |
(TText*)L"?:\\Trg\\", {BLOCK09, EMPTY},
|
sl@0
|
5643 |
(TText*)L"?:\\TrgCom\\", {BLOCK09, EMPTY}}
|
sl@0
|
5644 |
},
|
sl@0
|
5645 |
|
sl@0
|
5646 |
//---------------------------------------------
|
sl@0
|
5647 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1138
|
sl@0
|
5648 |
//! @SYMTestType CIT
|
sl@0
|
5649 |
//!
|
sl@0
|
5650 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5651 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
|
sl@0
|
5652 |
//! Rename files from Src directory without backward slash to the target directory without backward slash.
|
sl@0
|
5653 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5654 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5655 |
//! @SYMTestPriority High
|
sl@0
|
5656 |
//! @SYMTestStatus Implemented
|
sl@0
|
5657 |
//---------------------------------------------
|
sl@0
|
5658 |
|
sl@0
|
5659 |
{
|
sl@0
|
5660 |
{1138, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5661 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
5662 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5663 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5664 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5665 |
(TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
|
sl@0
|
5666 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
5667 |
},
|
sl@0
|
5668 |
|
sl@0
|
5669 |
//---------------------------------------------
|
sl@0
|
5670 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1139
|
sl@0
|
5671 |
//! @SYMTestType CIT
|
sl@0
|
5672 |
//!
|
sl@0
|
5673 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5674 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
|
sl@0
|
5675 |
//! Rename files from Src to the unspecified(NULL) target path.
|
sl@0
|
5676 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5677 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5678 |
//! @SYMTestPriority High
|
sl@0
|
5679 |
//! @SYMTestStatus Implemented
|
sl@0
|
5680 |
//---------------------------------------------
|
sl@0
|
5681 |
|
sl@0
|
5682 |
{
|
sl@0
|
5683 |
{1139, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5684 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
5685 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5686 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5687 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
5688 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
|
sl@0
|
5689 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
5690 |
},
|
sl@0
|
5691 |
|
sl@0
|
5692 |
//---------------------------------------------
|
sl@0
|
5693 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1140
|
sl@0
|
5694 |
//! @SYMTestType CIT
|
sl@0
|
5695 |
//!
|
sl@0
|
5696 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5697 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
|
sl@0
|
5698 |
//! Rename files from unspecified(NULL) Src to the target.
|
sl@0
|
5699 |
//! @SYMTestActions Rename does not happen, returns the error code.
|
sl@0
|
5700 |
//! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
|
sl@0
|
5701 |
//! @SYMTestPriority High
|
sl@0
|
5702 |
//! @SYMTestStatus Implemented
|
sl@0
|
5703 |
//---------------------------------------------
|
sl@0
|
5704 |
|
sl@0
|
5705 |
{
|
sl@0
|
5706 |
{1140, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5707 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
5708 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
5709 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5710 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5711 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
5712 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
5713 |
},
|
sl@0
|
5714 |
|
sl@0
|
5715 |
//---------------------------------------------
|
sl@0
|
5716 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1141
|
sl@0
|
5717 |
//! @SYMTestType CIT
|
sl@0
|
5718 |
//!
|
sl@0
|
5719 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5720 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
|
sl@0
|
5721 |
//! Rename files from Src to same Src location.
|
sl@0
|
5722 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5723 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5724 |
//! @SYMTestPriority High
|
sl@0
|
5725 |
//! @SYMTestStatus Implemented
|
sl@0
|
5726 |
//---------------------------------------------
|
sl@0
|
5727 |
|
sl@0
|
5728 |
{
|
sl@0
|
5729 |
{1141, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5730 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
5731 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
5732 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5733 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
5734 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5735 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
5736 |
},
|
sl@0
|
5737 |
|
sl@0
|
5738 |
//---------------------------------------------
|
sl@0
|
5739 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1142
|
sl@0
|
5740 |
//! @SYMTestType CIT
|
sl@0
|
5741 |
//!
|
sl@0
|
5742 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5743 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
|
sl@0
|
5744 |
//! Rename files from Src directory without backward slash to the target.
|
sl@0
|
5745 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5746 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5747 |
//! @SYMTestPriority High
|
sl@0
|
5748 |
//! @SYMTestStatus Implemented
|
sl@0
|
5749 |
//---------------------------------------------
|
sl@0
|
5750 |
|
sl@0
|
5751 |
{
|
sl@0
|
5752 |
{1142, ECFMRename, CFileMan::EOverWrite, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5753 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
5754 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5755 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5756 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5757 |
(TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
|
sl@0
|
5758 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
5759 |
},
|
sl@0
|
5760 |
|
sl@0
|
5761 |
//---------------------------------------------
|
sl@0
|
5762 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1143
|
sl@0
|
5763 |
//! @SYMTestType CIT
|
sl@0
|
5764 |
//!
|
sl@0
|
5765 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5766 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
|
sl@0
|
5767 |
//! Rename files from Src directory without backward slash to the target directory without backward slash.
|
sl@0
|
5768 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5769 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5770 |
//! @SYMTestPriority High
|
sl@0
|
5771 |
//! @SYMTestStatus Implemented
|
sl@0
|
5772 |
//---------------------------------------------
|
sl@0
|
5773 |
|
sl@0
|
5774 |
{
|
sl@0
|
5775 |
{1143, ECFMRename, CFileMan::EOverWrite, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5776 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
5777 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5778 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5779 |
{&gDriveToTest, (TText*)L"?:\\Trg",
|
sl@0
|
5780 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
5781 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
5782 |
},
|
sl@0
|
5783 |
|
sl@0
|
5784 |
//---------------------------------------------
|
sl@0
|
5785 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1144
|
sl@0
|
5786 |
//! @SYMTestType CIT
|
sl@0
|
5787 |
//!
|
sl@0
|
5788 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5789 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
|
sl@0
|
5790 |
//! Rename files from Src to the unspecified(NULL) target path.
|
sl@0
|
5791 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5792 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5793 |
//! @SYMTestPriority High
|
sl@0
|
5794 |
//! @SYMTestStatus Implemented
|
sl@0
|
5795 |
//---------------------------------------------
|
sl@0
|
5796 |
|
sl@0
|
5797 |
{
|
sl@0
|
5798 |
{1144, ECFMRename, CFileMan::EOverWrite, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
|
sl@0
|
5799 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
|
sl@0
|
5800 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5801 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5802 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
5803 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
|
sl@0
|
5804 |
(TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
|
sl@0
|
5805 |
},
|
sl@0
|
5806 |
|
sl@0
|
5807 |
|
sl@0
|
5808 |
//---------------------------------------------
|
sl@0
|
5809 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1145
|
sl@0
|
5810 |
//! @SYMTestType CIT
|
sl@0
|
5811 |
//!
|
sl@0
|
5812 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5813 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
|
sl@0
|
5814 |
//! Rename files from unspecified(NULL) Src to the target.
|
sl@0
|
5815 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5816 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5817 |
//! @SYMTestPriority High
|
sl@0
|
5818 |
//! @SYMTestStatus Implemented
|
sl@0
|
5819 |
//---------------------------------------------
|
sl@0
|
5820 |
|
sl@0
|
5821 |
{
|
sl@0
|
5822 |
{1145, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5823 |
{&gDriveToTest, (TText*)L"",
|
sl@0
|
5824 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
5825 |
(TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
|
sl@0
|
5826 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5827 |
(TText*)L"?:\\Trg\\", {ALL, EMPTY},
|
sl@0
|
5828 |
(TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
|
sl@0
|
5829 |
},
|
sl@0
|
5830 |
//---------------------------------------------
|
sl@0
|
5831 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1146
|
sl@0
|
5832 |
//! @SYMTestType CIT
|
sl@0
|
5833 |
//!
|
sl@0
|
5834 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
5835 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
|
sl@0
|
5836 |
//! Rename files from Src to same Src location.
|
sl@0
|
5837 |
//! @SYMTestActions Renames the specified files from source to the target.
|
sl@0
|
5838 |
//! @SYMTestExpectedResults 1.KErrNone in success case.
|
sl@0
|
5839 |
//! @SYMTestPriority High
|
sl@0
|
5840 |
//! @SYMTestStatus Implemented
|
sl@0
|
5841 |
//---------------------------------------------
|
sl@0
|
5842 |
|
sl@0
|
5843 |
{
|
sl@0
|
5844 |
{1146, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
|
sl@0
|
5845 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
5846 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
|
sl@0
|
5847 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5848 |
{&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
|
sl@0
|
5849 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5850 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
5851 |
},
|
sl@0
|
5852 |
|
sl@0
|
5853 |
//---------------------------------------------
|
sl@0
|
5854 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1147
|
sl@0
|
5855 |
//! @SYMTestType CIT
|
sl@0
|
5856 |
//!
|
sl@0
|
5857 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
5858 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
5859 |
//! Move files with invalid path 'C\\Src\\FILE01.TXT' from Src to target.
|
sl@0
|
5860 |
//! @SYMTestActions Move does not happen, returns the error code..
|
sl@0
|
5861 |
//! @SYMTestExpectedResults 1.KErrBadName in success case.
|
sl@0
|
5862 |
//! @SYMTestPriority High
|
sl@0
|
5863 |
//! @SYMTestStatus Implemented
|
sl@0
|
5864 |
//---------------------------------------------
|
sl@0
|
5865 |
|
sl@0
|
5866 |
{
|
sl@0
|
5867 |
{1147, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
5868 |
{&gFixedDriveValid, (TText*)L"C\\Src\\FILE01.TXT",
|
sl@0
|
5869 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
|
sl@0
|
5870 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
5871 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5872 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5873 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
5874 |
},
|
sl@0
|
5875 |
|
sl@0
|
5876 |
//---------------------------------------------
|
sl@0
|
5877 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1148
|
sl@0
|
5878 |
//! @SYMTestType CIT
|
sl@0
|
5879 |
//!
|
sl@0
|
5880 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
5881 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
5882 |
//! Move files with invalid path 'C:Src\\FILE01.TXT'from Src to target.
|
sl@0
|
5883 |
//! @SYMTestActions Move does not happen, returns the error code..
|
sl@0
|
5884 |
//! @SYMTestExpectedResults 1.KErrBadName in success case.
|
sl@0
|
5885 |
//! @SYMTestPriority High
|
sl@0
|
5886 |
//! @SYMTestStatus Implemented
|
sl@0
|
5887 |
//---------------------------------------------
|
sl@0
|
5888 |
|
sl@0
|
5889 |
{
|
sl@0
|
5890 |
{1148, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
5891 |
{&gFixedDriveValid, (TText*)L"C:Src\\FILE01.TXT",
|
sl@0
|
5892 |
(TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
|
sl@0
|
5893 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
5894 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5895 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5896 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
5897 |
},
|
sl@0
|
5898 |
|
sl@0
|
5899 |
|
sl@0
|
5900 |
//---------------------------------------------
|
sl@0
|
5901 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1150
|
sl@0
|
5902 |
//! @SYMTestType CIT
|
sl@0
|
5903 |
//!
|
sl@0
|
5904 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
5905 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
5906 |
//! Move file with long filename from Src to target.
|
sl@0
|
5907 |
//! @SYMTestActions Move does not happen, returns the error code..
|
sl@0
|
5908 |
//! @SYMTestExpectedResults 1.KErrBadName in success case.
|
sl@0
|
5909 |
//! @SYMTestPriority High
|
sl@0
|
5910 |
//! @SYMTestStatus Implemented
|
sl@0
|
5911 |
//---------------------------------------------
|
sl@0
|
5912 |
|
sl@0
|
5913 |
{
|
sl@0
|
5914 |
{1150, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
5915 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26",
|
sl@0
|
5916 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
5917 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
5918 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5919 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5920 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
5921 |
},
|
sl@0
|
5922 |
|
sl@0
|
5923 |
//---------------------------------------------
|
sl@0
|
5924 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1151
|
sl@0
|
5925 |
//! @SYMTestType CIT
|
sl@0
|
5926 |
//!
|
sl@0
|
5927 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
5928 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
5929 |
//! Move file with long pathname from Src to target.
|
sl@0
|
5930 |
//! @SYMTestActions Move does not happen, returns the error code..
|
sl@0
|
5931 |
//! @SYMTestExpectedResults 1.KErrBadName in success case.
|
sl@0
|
5932 |
//! @SYMTestPriority High
|
sl@0
|
5933 |
//! @SYMTestStatus Implemented
|
sl@0
|
5934 |
//---------------------------------------------
|
sl@0
|
5935 |
|
sl@0
|
5936 |
{
|
sl@0
|
5937 |
{1151, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
5938 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\TEST\\",
|
sl@0
|
5939 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5940 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5941 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5942 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5943 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
5944 |
},
|
sl@0
|
5945 |
|
sl@0
|
5946 |
//---------------------------------------------
|
sl@0
|
5947 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1152
|
sl@0
|
5948 |
//! @SYMTestType CIT
|
sl@0
|
5949 |
//!
|
sl@0
|
5950 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
5951 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
5952 |
//! Move file from path that doesnot exist in Src to target.
|
sl@0
|
5953 |
//! @SYMTestActions Move does not happen, returns the error code..
|
sl@0
|
5954 |
//! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
|
sl@0
|
5955 |
//! @SYMTestPriority High
|
sl@0
|
5956 |
//! @SYMTestStatus Implemented
|
sl@0
|
5957 |
//---------------------------------------------
|
sl@0
|
5958 |
|
sl@0
|
5959 |
/*{
|
sl@0
|
5960 |
{1152, ECFMMove, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
|
sl@0
|
5961 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\NODIR\\*.*",
|
sl@0
|
5962 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5963 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5964 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
5965 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5966 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
5967 |
},*/
|
sl@0
|
5968 |
|
sl@0
|
5969 |
//---------------------------------------------
|
sl@0
|
5970 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1153
|
sl@0
|
5971 |
//! @SYMTestType CIT
|
sl@0
|
5972 |
//!
|
sl@0
|
5973 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
5974 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
5975 |
//! Move file from Src to path that doesnot exist in target.
|
sl@0
|
5976 |
//! @SYMTestActions Move does not happen, returns the error code..
|
sl@0
|
5977 |
//! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
|
sl@0
|
5978 |
//! @SYMTestPriority High
|
sl@0
|
5979 |
//! @SYMTestStatus Implemented
|
sl@0
|
5980 |
//---------------------------------------------
|
sl@0
|
5981 |
|
sl@0
|
5982 |
{
|
sl@0
|
5983 |
{1153, ECFMMove, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
|
sl@0
|
5984 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\*.*",
|
sl@0
|
5985 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
5986 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
5987 |
{&gDriveToTest, (TText*)L"?:\\NOTARGET\\",
|
sl@0
|
5988 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
5989 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
5990 |
},
|
sl@0
|
5991 |
|
sl@0
|
5992 |
|
sl@0
|
5993 |
//---------------------------------------------
|
sl@0
|
5994 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1154
|
sl@0
|
5995 |
//! @SYMTestType CIT
|
sl@0
|
5996 |
//!
|
sl@0
|
5997 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
5998 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
5999 |
//! Move file from Src to target with longpath.
|
sl@0
|
6000 |
//! @SYMTestActions Move does not happen, returns the error code..
|
sl@0
|
6001 |
//! @SYMTestExpectedResults 1.KErrBadName in success case.
|
sl@0
|
6002 |
//! @SYMTestPriority High
|
sl@0
|
6003 |
//! @SYMTestStatus Implemented
|
sl@0
|
6004 |
//---------------------------------------------
|
sl@0
|
6005 |
|
sl@0
|
6006 |
{
|
sl@0
|
6007 |
{1154, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
6008 |
{&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
6009 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
6010 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
6011 |
{&gDriveToTest, (TText*)L"?:\\TRG\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\",
|
sl@0
|
6012 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
6013 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
6014 |
},
|
sl@0
|
6015 |
|
sl@0
|
6016 |
//---------------------------------------------
|
sl@0
|
6017 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1155
|
sl@0
|
6018 |
//! @SYMTestType CIT
|
sl@0
|
6019 |
//!
|
sl@0
|
6020 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
6021 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
6022 |
//! Move file from ReadOnly Drive Src to target.
|
sl@0
|
6023 |
//! @SYMTestActions Move does not happen, returns the error code..
|
sl@0
|
6024 |
//! @SYMTestExpectedResults 1.KErrAccessDenied in success case.
|
sl@0
|
6025 |
//! @SYMTestPriority High
|
sl@0
|
6026 |
//! @SYMTestStatus Implemented
|
sl@0
|
6027 |
//---------------------------------------------
|
sl@0
|
6028 |
|
sl@0
|
6029 |
{
|
sl@0
|
6030 |
{1155, ECFMMove, 0, KErrAccessDenied, KErrNone, KErrAccessDenied},
|
sl@0
|
6031 |
{&gFixedDriveReadOnly, (TText*)L"?:\\TEST\\",
|
sl@0
|
6032 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
6033 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
6034 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
6035 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
6036 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
6037 |
},
|
sl@0
|
6038 |
|
sl@0
|
6039 |
//---------------------------------------------
|
sl@0
|
6040 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1156
|
sl@0
|
6041 |
//! @SYMTestType CIT
|
sl@0
|
6042 |
//!
|
sl@0
|
6043 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
6044 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
6045 |
//! Move file Src to target with ReadOnly Drive .
|
sl@0
|
6046 |
//! @SYMTestActions Move does not happen, returns the error code..
|
sl@0
|
6047 |
//! @SYMTestExpectedResults 1.KErrAccessDenied in success case.
|
sl@0
|
6048 |
//! @SYMTestPriority High
|
sl@0
|
6049 |
//! @SYMTestStatus Implemented
|
sl@0
|
6050 |
//---------------------------------------------
|
sl@0
|
6051 |
|
sl@0
|
6052 |
{
|
sl@0
|
6053 |
{1156, ECFMMove, 0, KErrAccessDenied, KErrNone, KErrAccessDenied},
|
sl@0
|
6054 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
6055 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
6056 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
6057 |
{&gFixedDriveReadOnly, (TText*)L"?:\\",
|
sl@0
|
6058 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
6059 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
6060 |
},
|
sl@0
|
6061 |
|
sl@0
|
6062 |
//---------------------------------------------
|
sl@0
|
6063 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1157
|
sl@0
|
6064 |
//! @SYMTestType CIT
|
sl@0
|
6065 |
//!
|
sl@0
|
6066 |
//! @SYMAPI CFileMan::Move()
|
sl@0
|
6067 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
6068 |
//! Move file Src to target with Drives not ready .
|
sl@0
|
6069 |
//! @SYMTestActions Move does not happen, returns the error code..
|
sl@0
|
6070 |
//! @SYMTestExpectedResults 1.KErrNotReady in success case.
|
sl@0
|
6071 |
//! @SYMTestPriority High
|
sl@0
|
6072 |
//! @SYMTestStatus Implemented
|
sl@0
|
6073 |
//---------------------------------------------
|
sl@0
|
6074 |
|
sl@0
|
6075 |
{
|
sl@0
|
6076 |
{1157, ECFMMove, 0, KErrNotReady, KErrNone, KErrNotReady},
|
sl@0
|
6077 |
{&gFixedDriveNotReady, (TText*)L"?:\\",
|
sl@0
|
6078 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
6079 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
6080 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
6081 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
6082 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
6083 |
},
|
sl@0
|
6084 |
|
sl@0
|
6085 |
//---------------------------------------------
|
sl@0
|
6086 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1158
|
sl@0
|
6087 |
//! @SYMTestType CIT
|
sl@0
|
6088 |
//!
|
sl@0
|
6089 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
6090 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
6091 |
//! Rename files with invalid path 'C\\Src\\FILE01.TXT' from Src to target.
|
sl@0
|
6092 |
//! @SYMTestActions Rename does not happen, returns the error code..
|
sl@0
|
6093 |
//! @SYMTestExpectedResults 1.KErrBadName in success case.
|
sl@0
|
6094 |
//! @SYMTestPriority High
|
sl@0
|
6095 |
//! @SYMTestStatus Implemented
|
sl@0
|
6096 |
//---------------------------------------------
|
sl@0
|
6097 |
|
sl@0
|
6098 |
{
|
sl@0
|
6099 |
{1158, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
6100 |
{&gDriveToTest, (TText*)L"C\\Src\\FILE01.TXT",
|
sl@0
|
6101 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
6102 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
6103 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
6104 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
6105 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
6106 |
},
|
sl@0
|
6107 |
|
sl@0
|
6108 |
//---------------------------------------------
|
sl@0
|
6109 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1159
|
sl@0
|
6110 |
//! @SYMTestType CIT
|
sl@0
|
6111 |
//!
|
sl@0
|
6112 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
6113 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
6114 |
//! Rename files with invalid path 'C:Src\\FILE01.TXT'from Src to target.
|
sl@0
|
6115 |
//! @SYMTestActions Rename does not happen, returns the error code..
|
sl@0
|
6116 |
//! @SYMTestExpectedResults 1.KErrBadName in success case.
|
sl@0
|
6117 |
//! @SYMTestPriority High
|
sl@0
|
6118 |
//! @SYMTestStatus Implemented
|
sl@0
|
6119 |
//---------------------------------------------
|
sl@0
|
6120 |
|
sl@0
|
6121 |
{
|
sl@0
|
6122 |
{1159, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
6123 |
{&gDriveToTest, (TText*)L"C:Src\\FILE01.TXT",
|
sl@0
|
6124 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
6125 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
6126 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
6127 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
6128 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
6129 |
},
|
sl@0
|
6130 |
|
sl@0
|
6131 |
//---------------------------------------------
|
sl@0
|
6132 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1161
|
sl@0
|
6133 |
//! @SYMTestType CIT
|
sl@0
|
6134 |
//!
|
sl@0
|
6135 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
6136 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
6137 |
//! Rename file with long filename from Src to target.
|
sl@0
|
6138 |
//! @SYMTestActions Rename does not happen, returns the error code..
|
sl@0
|
6139 |
//! @SYMTestExpectedResults 1.KErrBadName in success case.
|
sl@0
|
6140 |
//! @SYMTestPriority High
|
sl@0
|
6141 |
//! @SYMTestStatus Implemented
|
sl@0
|
6142 |
//---------------------------------------------
|
sl@0
|
6143 |
|
sl@0
|
6144 |
{
|
sl@0
|
6145 |
{1161, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
6146 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26",
|
sl@0
|
6147 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
6148 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
6149 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
6150 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
6151 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
6152 |
},
|
sl@0
|
6153 |
|
sl@0
|
6154 |
//---------------------------------------------
|
sl@0
|
6155 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1162
|
sl@0
|
6156 |
//! @SYMTestType CIT
|
sl@0
|
6157 |
//!
|
sl@0
|
6158 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
6159 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
6160 |
//! Rename file with long pathname from Src to target.
|
sl@0
|
6161 |
//! @SYMTestActions Rename does not happen, returns the error code..
|
sl@0
|
6162 |
//! @SYMTestExpectedResults 1.KErrBadName in success case.
|
sl@0
|
6163 |
//! @SYMTestPriority High
|
sl@0
|
6164 |
//! @SYMTestStatus Implemented
|
sl@0
|
6165 |
//---------------------------------------------
|
sl@0
|
6166 |
|
sl@0
|
6167 |
{
|
sl@0
|
6168 |
{1162, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
6169 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\TEST\\",
|
sl@0
|
6170 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
6171 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
6172 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
6173 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
6174 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
6175 |
},
|
sl@0
|
6176 |
|
sl@0
|
6177 |
//---------------------------------------------
|
sl@0
|
6178 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1163
|
sl@0
|
6179 |
//! @SYMTestType CIT
|
sl@0
|
6180 |
//!
|
sl@0
|
6181 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
6182 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
6183 |
//! Renaming files from the path that does not exist
|
sl@0
|
6184 |
//! @SYMTestActions Rename does not happen, returns the error code..
|
sl@0
|
6185 |
//! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
|
sl@0
|
6186 |
//! @SYMTestPriority High
|
sl@0
|
6187 |
//! @SYMTestStatus Implemented
|
sl@0
|
6188 |
//---------------------------------------------
|
sl@0
|
6189 |
|
sl@0
|
6190 |
{
|
sl@0
|
6191 |
{1163, ECFMRename, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
|
sl@0
|
6192 |
{&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\NODIR\\*.*",
|
sl@0
|
6193 |
(TText*)L"?:\\Src\\", {ALL, EMPTY},
|
sl@0
|
6194 |
(TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
|
sl@0
|
6195 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
6196 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
6197 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
6198 |
},
|
sl@0
|
6199 |
|
sl@0
|
6200 |
//---------------------------------------------
|
sl@0
|
6201 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1164
|
sl@0
|
6202 |
//! @SYMTestType CIT
|
sl@0
|
6203 |
//!
|
sl@0
|
6204 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
6205 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
6206 |
//! Rename file from Src to path that doesnot exist in target
|
sl@0
|
6207 |
//! @SYMTestActions Rename does not happen, returns the error code..
|
sl@0
|
6208 |
//! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
|
sl@0
|
6209 |
//! @SYMTestPriority High
|
sl@0
|
6210 |
//! @SYMTestStatus Implemented
|
sl@0
|
6211 |
//---------------------------------------------
|
sl@0
|
6212 |
|
sl@0
|
6213 |
{
|
sl@0
|
6214 |
{1164, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
|
sl@0
|
6215 |
{&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
|
sl@0
|
6216 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
6217 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
6218 |
{&gDriveToTest, (TText*)L"?:\\TRG\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\",
|
sl@0
|
6219 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
6220 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
6221 |
},
|
sl@0
|
6222 |
|
sl@0
|
6223 |
//---------------------------------------------
|
sl@0
|
6224 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1165
|
sl@0
|
6225 |
//! @SYMTestType CIT
|
sl@0
|
6226 |
//!
|
sl@0
|
6227 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
6228 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
6229 |
//! Rename file from ReadOnly Drive Src to target.
|
sl@0
|
6230 |
//! @SYMTestActions Rename does not happen, returns the error code..
|
sl@0
|
6231 |
//! @SYMTestExpectedResults 1.KErrArgument in success case.
|
sl@0
|
6232 |
//! @SYMTestPriority High
|
sl@0
|
6233 |
//! @SYMTestStatus Implemented
|
sl@0
|
6234 |
//---------------------------------------------
|
sl@0
|
6235 |
|
sl@0
|
6236 |
{
|
sl@0
|
6237 |
{1165, ECFMRename, 0, KErrArgument, KErrNone, KErrArgument},
|
sl@0
|
6238 |
{&gFixedDriveReadOnly, (TText*)L"?:\\TEST\\",
|
sl@0
|
6239 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
6240 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
6241 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
6242 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
6243 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
6244 |
},
|
sl@0
|
6245 |
|
sl@0
|
6246 |
//---------------------------------------------
|
sl@0
|
6247 |
//! @SYMTestCaseID PBASE-T_CFILEMAN-1166
|
sl@0
|
6248 |
//! @SYMTestType CIT
|
sl@0
|
6249 |
//!
|
sl@0
|
6250 |
//! @SYMAPI CFileMan::Rename()
|
sl@0
|
6251 |
//! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
|
sl@0
|
6252 |
//! Rename file Src to target with Drives not ready .
|
sl@0
|
6253 |
//! @SYMTestActions Rename does not happen, returns the error code..
|
sl@0
|
6254 |
//! @SYMTestExpectedResults 1.KErrNotReady in success case.
|
sl@0
|
6255 |
//! @SYMTestPriority High
|
sl@0
|
6256 |
//! @SYMTestStatus Implemented
|
sl@0
|
6257 |
//---------------------------------------------
|
sl@0
|
6258 |
|
sl@0
|
6259 |
{
|
sl@0
|
6260 |
{1166, ECFMRename, 0, KErrNotReady, KErrNone, KErrNotReady},
|
sl@0
|
6261 |
{&gFixedDriveNotReady, (TText*)L"?:\\",
|
sl@0
|
6262 |
(TText*)L"?:\\Src\\", {EMPTY, EMPTY},
|
sl@0
|
6263 |
(TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
|
sl@0
|
6264 |
{&gDriveToTest, (TText*)L"?:\\Trg\\",
|
sl@0
|
6265 |
(TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
|
sl@0
|
6266 |
(TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
|
sl@0
|
6267 |
},
|
sl@0
|
6268 |
|
sl@0
|
6269 |
//End biary API test cases
|
sl@0
|
6270 |
{{0}}
|
sl@0
|
6271 |
|
sl@0
|
6272 |
};
|
sl@0
|
6273 |
#endif /*T_CFILEMAN_CASES_H*/
|