First public contribution.
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
2 // All rights reserved.
3 // This component and the accompanying materials are made available
4 // under the terms of the License "Eclipse Public License v1.0"
5 // which accompanies this distribution, and is available
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // f32test\cfileman\t_cfileman_cases.h
19 #ifndef T_CFILEMAN_CASES_H
20 #define T_CFILEMAN_CASES_H
22 #include "t_cfileman_aux.h"
24 extern CFileMan* gFileMan;
25 extern RPointerArray<RFile>* gFileHandles;
27 extern TRequestStatus gStat;
29 TChar gFixedDriveValid = 'C';
30 TChar gFixedDriveInvalid = '?';
31 TChar gFixedDriveReadOnly = 'Z';
32 TChar gFixedDriveNotReady = 'A';
34 ////////////////////////////////////////////////////////////
35 // Test case definitions
36 ////////////////////////////////////////////////////////////
37 static const TTestCaseUnitaryBasic gBasicUnitaryTestCases[] =
39 //*****************************Delete API**************************
40 //---------------------------------------------
41 //! @SYMTestCaseID PBASE-T_CFILEMAN-0816
44 //! @SYMAPI CFileMan::Delete()
45 //! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
46 //! The condition is deleting a file 'FILE01.TXT'
47 //! @SYMTestActions Deletes the specified file
48 //! @SYMTestExpectedResults 1.KErrNone in success case
49 //! @SYMTestPriority High
50 //! @SYMTestStatus Implemented
51 //---------------------------------------------
54 {816, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
55 {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
56 (TText*)L"?:\\Src\\", {ALL, EMPTY},
57 (TText*)L"?:\\SrcCom\\", {ALL,{2,EOB}}},
60 //---------------------------------------------
61 //! @SYMTestCaseID PBASE-T_CFILEMAN-0817
64 //! @SYMAPI CFileMan::Delete()
65 //! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
66 //! The condition is deleting files with wildcard combination '*.*'
67 //! @SYMTestActions Deletes the specified files
68 //! @SYMTestExpectedResults 1.KErrNone in success case
69 //! @SYMTestPriority High
70 //! @SYMTestStatus Implemented
71 //---------------------------------------------
73 {817, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
74 {&gDriveToTest, (TText*)L"?:\\Src\\*",
75 (TText*)L"?:\\Src\\", {ALL, EMPTY},
76 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
79 //---------------------------------------------
80 //! @SYMTestCaseID PBASE-T_CFILEMAN-0818
83 //! @SYMAPI CFileMan::Delete()
84 //! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
85 //! The condition is deleting files with wildcard combination 'FILE*.TXT'
86 //! @SYMTestActions Deletes the specified files
87 //! @SYMTestExpectedResults 1.KErrNone in success case
88 //! @SYMTestPriority High
89 //! @SYMTestStatus Implemented
90 //---------------------------------------------
92 {818, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
93 {&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
94 (TText*)L"?:\\Src\\", {ALL, EMPTY},
95 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
98 //---------------------------------------------
99 //! @SYMTestCaseID PBASE-T_CFILEMAN-0819
102 //! @SYMAPI CFileMan::Delete()
103 //! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
104 //! The condition is deleting files with wildcard combination 'FILE?.TXT'
105 //! @SYMTestActions Deletes the specified files
106 //! @SYMTestExpectedResults 1.KErrNone in success case
107 //! @SYMTestPriority High
108 //! @SYMTestStatus Implemented
109 //---------------------------------------------
111 {819, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
112 {&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
113 (TText*)L"?:\\Src\\", {ALL, EMPTY},
114 (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
117 //---------------------------------------------
118 //! @SYMTestCaseID PBASE-T_CFILEMAN-0820
121 //! @SYMAPI CFileMan::Delete()
122 //! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
123 //! The condition is deleting files with wildcard combination '*.TXT'
124 //! @SYMTestActions Deletes the specified files
125 //! @SYMTestExpectedResults 1.KErrNone in success case
126 //! @SYMTestPriority High
127 //! @SYMTestStatus Implemented
128 //---------------------------------------------
130 {820, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
131 {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
132 (TText*)L"?:\\Src\\", {ALL, EMPTY},
133 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
136 //---------------------------------------------
137 //! @SYMTestCaseID PBASE-T_CFILEMAN-0821
140 //! @SYMAPI CFileMan::Delete()
141 //! @SYMTestCaseDesc 1.Tests API with Non-Recursive option
142 //! The condition is deleting files with wildcard combination '*.TXT'
143 //! @SYMTestActions Deletes the specified files
144 //! @SYMTestExpectedResults 1.KErrNone in success case
145 //! @SYMTestPriority High
146 //! @SYMTestStatus Implemented
147 //---------------------------------------------
149 {821, ECFMDelete, 0, KErrNone, KErrNone, KErrNone},
150 {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
151 (TText*)L"?:\\Src\\", {ALL, EMPTY},
152 (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
155 //---------------------------------------------
156 //! @SYMTestCaseID PBASE-T_CFILEMAN-0822
159 //! @SYMAPI CFileMan::Delete()
160 //! @SYMTestCaseDesc 1.Tests API with Recursive option
161 //! The condition is deleting files with combination 'FILE01.TXT'
162 //! @SYMTestActions Deletes the specified files
163 //! @SYMTestExpectedResults 1.KErrNone in success case
164 //! @SYMTestPriority High
165 //! @SYMTestStatus Implemented
166 //---------------------------------------------
168 {822, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
169 {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
170 (TText*)L"?:\\Src\\", {ALL, EMPTY},
171 (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
174 //---------------------------------------------
175 //! @SYMTestCaseID PBASE-T_CFILEMAN-0823
178 //! @SYMAPI CFileMan::Delete()
179 //! @SYMTestCaseDesc 1.Tests API with Recursive option
180 //! The condition is deleting files with wildcard combination 'FILE.*'
181 //! @SYMTestActions Deletes the specified files
182 //! @SYMTestExpectedResults 1.KErrNone in success case
183 //! @SYMTestPriority High
184 //! @SYMTestStatus Implemented
185 //---------------------------------------------
187 {823, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
188 {&gDriveToTest, (TText*)L"?:\\Src\\*",
189 (TText*)L"?:\\Src\\", {ALL, EMPTY},
190 (TText*)L"?:\\SrcCom\\", {{8,17,26,35,EOB},EMPTY}},
193 //---------------------------------------------
194 //! @SYMTestCaseID PBASE-T_CFILEMAN-0824
197 //! @SYMAPI CFileMan::Delete()
198 //! @SYMTestCaseDesc 1.Tests API with Recursive option
199 //! The condition is deleting files with wildcard combination 'FILE*.TXT'
200 //! @SYMTestActions Deletes the specified files
201 //! @SYMTestExpectedResults 1.KErrNone in success case
202 //! @SYMTestPriority High
203 //! @SYMTestStatus Implemented
204 //---------------------------------------------
206 {824, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
207 {&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
208 (TText*)L"?:\\Src\\", {ALL, EMPTY},
209 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK05}},
212 //---------------------------------------------
213 //! @SYMTestCaseID PBASE-T_CFILEMAN-0825
216 //! @SYMAPI CFileMan::Delete()
217 //! @SYMTestCaseDesc 1.Tests API with Recursive option
218 //! The condition is deleting files with wildcard combination 'FILE?.TXT'
219 //! @SYMTestActions Deletes the specified files
220 //! @SYMTestExpectedResults 1.KErrNone in success case
221 //! @SYMTestPriority High
222 //! @SYMTestStatus Implemented
223 //---------------------------------------------
225 {825, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
226 {&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
227 (TText*)L"?:\\Src\\", {ALL, EMPTY},
228 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
231 //---------------------------------------------
232 //! @SYMTestCaseID PBASE-T_CFILEMAN-0826
235 //! @SYMAPI CFileMan::Delete()
236 //! @SYMTestCaseDesc 1.Tests API with Recursive option
237 //! The condition is deleting files with wildcard combination '*.TXT'
238 //! @SYMTestActions Deletes the specified files
239 //! @SYMTestExpectedResults 1.KErrNone in success case
240 //! @SYMTestPriority High
241 //! @SYMTestStatus Implemented
242 //---------------------------------------------
244 {826, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
245 {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
246 (TText*)L"?:\\Src\\", {ALL, EMPTY},
247 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK36}},
250 //---------------------------------------------
251 //! @SYMTestCaseID PBASE-T_CFILEMAN-0827
254 //! @SYMAPI CFileMan::Delete()
255 //! @SYMTestCaseDesc 1.Tests API with Recursive option
256 //! The condition is deleting files with wildcard combination 'FILE.*'
257 //! @SYMTestActions Deletes the specified files
258 //! @SYMTestExpectedResults 1.KErrNone in success case
259 //! @SYMTestPriority High
260 //! @SYMTestStatus Implemented
261 //---------------------------------------------
263 {827, ECFMDelete, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
264 {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
265 (TText*)L"?:\\Src\\", {ALL, EMPTY},
266 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK37}},
270 //*****************************RmDir API**************************
271 //---------------------------------------------
272 //! @SYMTestCaseID PBASE-T_CFILEMAN-0828
275 //! @SYMAPI CFileMan::RmDir()
276 //! @SYMTestCaseDesc 1.Tests API with Recursive option
277 //! Removes directory and all files directory structure.
278 //! @SYMTestActions Removes the specified directory and its contents.
279 //! @SYMTestExpectedResults 1.KErrNone in success case
280 //! @SYMTestPriority High
281 //! @SYMTestStatus Implemented
282 //---------------------------------------------
284 {828, ECFMRmDir, 0, KErrNone, KErrNone, KErrNone},
285 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\",
286 (TText*)L"?:\\Src\\", {ALL, EMPTY},
287 (TText*)L"?:\\SrcCom\\", {ALL,BLOCK39}},
290 //---------------------------------------------
291 //! @SYMTestCaseID PBASE-T_CFILEMAN-0829
294 //! @SYMAPI CFileMan::RmDir()
295 //! @SYMTestCaseDesc 1.Tests API with Recursive option
296 //! Deletes directories with wildcard combination 'DIR*' and directory structure.
297 //! @SYMTestActions Removes the specified directory and its contents.
298 //! @SYMTestExpectedResults 1.KErrNone in success case
299 //! @SYMTestPriority High
300 //! @SYMTestStatus Implemented
301 //---------------------------------------------
302 //case 101 :Wild card case. This case shows,directory is considered only if '\\' is given
304 {829, ECFMRmDir, 0, KErrNone, KErrNone, KErrNone},
305 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\DIR*",
306 (TText*)L"?:\\Src\\", {ALL, EMPTY},
307 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK39}},
310 //Basic Negative test case for RmDir:
311 //---------------------------------------------
312 //! @SYMTestCaseID PBASE-T_CFILEMAN-0955
315 //! @SYMAPI CFileMan::RmDir()
316 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
317 //! Remove a directory with longpath name from Src.
318 //! @SYMTestActions Remove directory does not happen, returns the error code.
319 //! @SYMTestExpectedResults 1.KErrBadName in success case
320 //! @SYMTestPriority High
321 //! @SYMTestStatus Implemented
322 //---------------------------------------------
324 {955, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName},
325 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\\\",
326 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
327 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
330 //---------------------------------------------
331 //! @SYMTestCaseID PBASE-T_CFILEMAN-0956
334 //! @SYMAPI CFileMan::RmDir()
335 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
336 //! Remove a File with long name from Src.
337 //! @SYMTestActions Remove directory does not happen, returns the error code.
338 //! @SYMTestExpectedResults 1.KErrBadName in success case
339 //! @SYMTestPriority High
340 //! @SYMTestStatus Implemented
341 //---------------------------------------------
343 {956, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName},
344 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asfdsa21asfdsa22asfdsa23asfdsa24asfdsa25asfdsa26",
345 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
346 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
349 //---------------------------------------------
350 //! @SYMTestCaseID PBASE-T_CFILEMAN-0957
353 //! @SYMAPI CFileMan::RmDir()
354 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
355 //! Remove a directory that doesnot exist.
356 //! @SYMTestActions Remove directory does not happen, returns the error code.
357 //! @SYMTestExpectedResults 1.KErrNotReady in success case
358 //! @SYMTestPriority High
359 //! @SYMTestStatus Implemented
360 //---------------------------------------------
363 {957, ECFMRmDir, 0, KErrNotReady, KErrNone, KErrNotReady},
364 {&gFixedDriveNotReady, (TText*)L"?:\\Src\\",
365 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
366 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
369 //---------------------------------------------
370 //! @SYMTestCaseID PBASE-T_CFILEMAN-0958
373 //! @SYMAPI CFileMan::RmDir()
374 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
375 //! Remove 'Readonly' directory.
376 //! @SYMTestActions Remove directory does not happen, returns the error code.
377 //! @SYMTestExpectedResults 1.KErrInUse in success case
378 //! @SYMTestPriority High
379 //! @SYMTestStatus Implemented
380 //---------------------------------------------
383 {958, ECFMRmDir, 0, KErrInUse, KErrNone, KErrInUse},
384 {&gFixedDriveReadOnly, (TText*)L"?:\\",
385 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
386 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
389 //---------------------------------------------
390 //! @SYMTestCaseID PBASE-T_CFILEMAN-0959
393 //! @SYMAPI CFileMan::RmDir()
394 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
395 //! Remove 'non-available' directory.
396 //! @SYMTestActions Remove directory does not happen, returns the error code.
397 //! @SYMTestExpectedResults 1.KErrPathNotFound in success case
398 //! @SYMTestPriority High
399 //! @SYMTestStatus Implemented
400 //---------------------------------------------
403 {959, ECFMRmDir, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
404 {&gDriveToTest, (TText*)L"?:\\Src\\NODIR\\",
405 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
406 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
409 //---------------------------------------------
410 //! @SYMTestCaseID PBASE-T_CFILEMAN-0960
413 //! @SYMAPI CFileMan::RmDir()
414 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
415 //! Remove 'Invalid' directory pathname.
416 //! @SYMTestActions Remove directory does not happen, returns the error code.
417 //! @SYMTestExpectedResults 1.KErrBadName in success case
418 //! @SYMTestPriority High
419 //! @SYMTestStatus Implemented
420 //---------------------------------------------
423 {960, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName},
424 {&gDriveToTest, (TText*)L"C\\Src\\Dir?",
425 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
426 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
429 //---------------------------------------------
430 //! @SYMTestCaseID PBASE-T_CFILEMAN-0961
433 //! @SYMAPI CFileMan::RmDir()
434 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
435 //! Remove 'Invalid' directory pathname.
436 //! @SYMTestActions Remove directory does not happen, returns the error code.
437 //! @SYMTestExpectedResults 1.KErrBadName in success case
438 //! @SYMTestPriority High
439 //! @SYMTestStatus Implemented
440 //---------------------------------------------
443 {961, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName},
444 {&gFixedDriveInvalid, (TText*)L"::C:",
445 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
446 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
449 //Basic Negative test case for Delete:
450 //---------------------------------------------
451 //! @SYMTestCaseID PBASE-T_CFILEMAN-0962
454 //! @SYMAPI CFileMan::RmDir()
455 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
456 //! Delete a file with longpath name from Src.
457 //! @SYMTestActions Delete files does not happen, returns the error code.
458 //! @SYMTestExpectedResults 1.KErrBadName in success case
459 //! @SYMTestPriority High
460 //! @SYMTestStatus Implemented
461 //---------------------------------------------
464 {962, ECFMDelete, 0, KErrBadName, KErrBadName, KErrBadName},
465 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\\\",
466 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
467 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
470 //---------------------------------------------
471 //! @SYMTestCaseID PBASE-T_CFILEMAN-0963
474 //! @SYMAPI CFileMan::RmDir()
475 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
476 //! Delete a file with longname from Src.
477 //! @SYMTestActions Delete files does not happen, returns the error code.
478 //! @SYMTestExpectedResults 1.KErrBadName in success case
479 //! @SYMTestPriority High
480 //! @SYMTestStatus Implemented
481 //---------------------------------------------
484 {963, ECFMDelete, 0, KErrBadName, KErrBadName, KErrBadName},
485 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26",
486 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
487 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
491 //---------------------------------------------
492 //! @SYMTestCaseID PBASE-T_CFILEMAN-0964
495 //! @SYMAPI CFileMan::RmDir()
496 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
497 //! Delete a drives not ready.
498 //! @SYMTestActions Delete files does not happen, returns the error code.
499 //! @SYMTestExpectedResults 1.KErrNotReady in success case
500 //! @SYMTestPriority High
501 //! @SYMTestStatus Implemented
502 //---------------------------------------------
505 {964, ECFMDelete, 0, KErrNotReady, KErrNone, KErrNotReady},
506 {&gFixedDriveNotReady, (TText*)L"?:\\Src\\FILE01.TXT",
507 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
508 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
511 //---------------------------------------------
512 //! @SYMTestCaseID PBASE-T_CFILEMAN-0965
515 //! @SYMAPI CFileMan::RmDir()
516 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
517 //! Delete a file from directory from source that is 'ReadOnly'.
518 //! @SYMTestActions Delete files does not happen, returns the error code.
519 //! @SYMTestExpectedResults 1.KErrAccessDenied in success case
520 //! @SYMTestPriority High
521 //! @SYMTestStatus Implemented
522 //---------------------------------------------
525 {965, ECFMDelete, 0, KErrAccessDenied, KErrNone, KErrAccessDenied},
526 {&gFixedDriveReadOnly, (TText*)L"?:\\test\\",
527 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
528 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
531 //---------------------------------------------
532 //! @SYMTestCaseID PBASE-T_CFILEMAN-0966
535 //! @SYMAPI CFileMan::RmDir()
536 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
537 //! Delete a directory from source doesnot exist.
538 //! @SYMTestActions Delete files does not happen, returns the error code.
539 //! @SYMTestExpectedResults 1.KErrPathNotFound in success case
540 //! @SYMTestPriority High
541 //! @SYMTestStatus Implemented
542 //---------------------------------------------
545 {966, ECFMDelete, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
546 {&gDriveToTest, (TText*)L"?:\\Src\\NODIR\\",
547 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
548 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
551 //---------------------------------------------
552 //! @SYMTestCaseID PBASE-T_CFILEMAN-0967
555 //! @SYMAPI CFileMan::RmDir()
556 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
557 //! Delete a directory with invalid pathname.
558 //! @SYMTestActions Delete files does not happen, returns the error code.
559 //! @SYMTestExpectedResults 1.KErrBadName in success case
560 //! @SYMTestPriority High
561 //! @SYMTestStatus Implemented
562 //---------------------------------------------
565 {967, ECFMDelete, 0, KErrBadName, KErrBadName, KErrBadName},
566 {&gDriveToTest, (TText*)L"C\\Src\\Dir",
567 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
568 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
571 //---------------------------------------------
572 //! @SYMTestCaseID PBASE-T_CFILEMAN-0968
575 //! @SYMAPI CFileMan::RmDir()
576 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive' option
577 //! Delete a directory with invalid pathname.
578 //! @SYMTestActions Delete files does not happen, returns the error code.
579 //! @SYMTestExpectedResults 1.KErrBadName in success case
580 //! @SYMTestPriority High
581 //! @SYMTestStatus Implemented
582 //---------------------------------------------
585 {968, ECFMDelete, 0, KErrBadName, KErrNone, KErrBadName},
586 {&gDriveToTest, (TText*)L"::C:",
587 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
588 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
591 //End unary API test cases
596 static TTestCaseBinaryBasic gBasicBinaryTestCases[] =
598 //*****************************Copy API**************************
600 //---------------------------------------------
601 //! @SYMTestCaseID PBASE-T_CFILEMAN-0830
604 //! @SYMAPI CFileMan::Copy()
605 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
606 //! Copy a file FILE2.TXT from source to the target.
607 //! @SYMTestActions Copies the specified files from source to the target.
608 //! @SYMTestExpectedResults 1.KErrNone in success case
609 //! @SYMTestPriority High
610 //! @SYMTestStatus Implemented
611 //---------------------------------------------
614 {830, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
615 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE2.TXT",
616 (TText*)L"?:\\Src\\", {ALL, EMPTY},
617 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
618 {&gDriveToTest, (TText*)L"?:\\Trg\\",
619 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
620 (TText*)L"?:\\TrgCom\\", {{1,EOB}, EMPTY}}
623 //---------------------------------------------
624 //! @SYMTestCaseID PBASE-T_CFILEMAN-0831
627 //! @SYMAPI CFileMan::Copy()
628 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
629 //! Copy files with wildcard combination '*.*' from source to the target.
630 //! @SYMTestActions Copies the specified files from source to the target.
631 //! @SYMTestExpectedResults 1.KErrNone in success case
632 //! @SYMTestPriority High
633 //! @SYMTestStatus Implemented
634 //---------------------------------------------
637 {831, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
638 {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
639 (TText*)L"?:\\Src\\", {ALL, EMPTY},
640 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
641 {&gDriveToTest, (TText*)L"?:\\Trg\\",
642 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
643 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
646 //---------------------------------------------
647 //! @SYMTestCaseID PBASE-T_CFILEMAN-0832
650 //! @SYMAPI CFileMan::Copy()
651 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
652 //! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
653 //! @SYMTestActions Copies the specified files from source to the target.
654 //! @SYMTestExpectedResults 1.KErrNone in success case
655 //! @SYMTestPriority High
656 //! @SYMTestStatus Implemented
657 //---------------------------------------------
660 {832, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
661 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
662 (TText*)L"?:\\Src\\", {ALL, EMPTY},
663 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
664 {&gDriveToTest, (TText*)L"?:\\Trg\\",
665 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
666 (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
669 //---------------------------------------------
670 //! @SYMTestCaseID PBASE-T_CFILEMAN-0833
673 //! @SYMAPI CFileMan::Copy()
674 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
675 //! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
676 //! @SYMTestActions Copies the specified files from source to the target.
677 //! @SYMTestExpectedResults 1.KErrNone in success case
678 //! @SYMTestPriority High
679 //! @SYMTestStatus Implemented
680 //---------------------------------------------
683 {833, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
684 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
685 (TText*)L"?:\\Src\\", {ALL, EMPTY},
686 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
687 {&gDriveToTest, (TText*)L"?:\\Trg\\",
688 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
689 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
692 //---------------------------------------------
693 //! @SYMTestCaseID PBASE-T_CFILEMAN-0834
696 //! @SYMAPI CFileMan::Copy()
697 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
698 //! Copy files with wildcard combination '*.TXT' from source to the target.
699 //! @SYMTestActions Copies the specified files from source to the target.
700 //! @SYMTestExpectedResults 1.KErrNone in success case
701 //! @SYMTestPriority High
702 //! @SYMTestStatus Implemented
703 //---------------------------------------------
706 {834, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
707 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
708 (TText*)L"?:\\Src\\", {ALL, EMPTY},
709 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
710 {&gDriveToTest, (TText*)L"?:\\Trg\\",
711 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
712 (TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
715 //---------------------------------------------
716 //! @SYMTestCaseID PBASE-T_CFILEMAN-0835
719 //! @SYMAPI CFileMan::Copy()
720 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
721 //! Copy files with wildcard combination 'FILE.*' from source to the target.
722 //! @SYMTestActions Copies the specified files from source to the target.
723 //! @SYMTestExpectedResults 1.KErrNone in success case
724 //! @SYMTestPriority High
725 //! @SYMTestStatus Implemented
726 //---------------------------------------------
729 {835, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
730 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
731 (TText*)L"?:\\Src\\", {ALL, EMPTY},
732 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
733 {&gDriveToTest, (TText*)L"?:\\Trg\\",
734 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
735 (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
738 //---------------------------------------------
739 //! @SYMTestCaseID PBASE-T_CFILEMAN-0836
742 //! @SYMAPI CFileMan::Copy()
743 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
744 //! Copy file with combination 'FILE01.TXT' from source to the target.
745 //! @SYMTestActions Copy does not happen, returns the error code.
746 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
747 //! @SYMTestPriority High
748 //! @SYMTestStatus Implemented
749 //---------------------------------------------
752 {836, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
753 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
754 (TText*)L"?:\\Src\\", {ALL, EMPTY},
755 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
756 {&gDriveToTest, (TText*)L"?:\\Trg\\",
757 (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
758 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
761 //---------------------------------------------
762 //! @SYMTestCaseID PBASE-T_CFILEMAN-0837
765 //! @SYMAPI CFileMan::Copy()
766 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
767 //! Copy files with wildcard combination '*.*' from source to the target.
768 //! @SYMTestActions Copy does not happen, returns the error code.
769 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
770 //! @SYMTestPriority High
771 //! @SYMTestStatus Implemented
772 //---------------------------------------------
775 {837, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
776 {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
777 (TText*)L"?:\\Src\\", {ALL, EMPTY},
778 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
779 {&gDriveToTest, (TText*)L"?:\\Trg\\",
780 (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
781 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
784 //---------------------------------------------
785 //! @SYMTestCaseID PBASE-T_CFILEMAN-0838
788 //! @SYMAPI CFileMan::Copy()
789 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
790 //! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
791 //! @SYMTestActions Copy does not happen, returns the error code.
792 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
793 //! @SYMTestPriority High
794 //! @SYMTestStatus Implemented
795 //---------------------------------------------
798 {838, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
799 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
800 (TText*)L"?:\\Src\\", {ALL, EMPTY},
801 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
802 {&gDriveToTest, (TText*)L"?:\\Trg\\",
803 (TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
804 (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
807 //---------------------------------------------
808 //! @SYMTestCaseID PBASE-T_CFILEMAN-0839
811 //! @SYMAPI CFileMan::Copy()
812 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
813 //! Copies files with wildcard combination 'FILE?.TXT' from source to the target.
814 //! @SYMTestActions Copy does not happen, returns the error code.
815 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
816 //! @SYMTestPriority High
817 //! @SYMTestStatus Implemented
818 //---------------------------------------------
821 {839, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
822 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
823 (TText*)L"?:\\Src\\", {ALL, EMPTY},
824 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
825 {&gDriveToTest, (TText*)L"?:\\Trg\\",
826 (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
827 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
830 //---------------------------------------------
831 //! @SYMTestCaseID PBASE-T_CFILEMAN-0840
834 //! @SYMAPI CFileMan::Copy()
835 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
836 //! Copies files with wildcard combination '*.TXT' from source to the target.
837 //! @SYMTestActions Copy does not happen, returns the error code.
838 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
839 //! @SYMTestPriority High
840 //! @SYMTestStatus Implemented
841 //---------------------------------------------
844 {840, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
845 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
846 (TText*)L"?:\\Src\\", {ALL, EMPTY},
847 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
848 {&gDriveToTest, (TText*)L"?:\\Trg\\",
849 (TText*)L"?:\\Trg\\", {BLOCK29, EMPTY},
850 (TText*)L"?:\\TrgCom\\", {BLOCK29, EMPTY}}
853 //---------------------------------------------
854 //! @SYMTestCaseID PBASE-T_CFILEMAN-0841
857 //! @SYMAPI CFileMan::Copy()
858 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
859 //! Copies files with wildcard combination 'FILE.*' from source to the target.
860 //! @SYMTestActions Copy does not happen, returns the error code.
861 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
862 //! @SYMTestPriority High
863 //! @SYMTestStatus Implemented
864 //---------------------------------------------
867 {841, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
868 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
869 (TText*)L"?:\\Src\\", {ALL, EMPTY},
870 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
871 {&gDriveToTest, (TText*)L"?:\\Trg\\",
872 (TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
873 (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
876 //---------------------------------------------
877 //! @SYMTestCaseID PBASE-T_CFILEMAN-0842
880 //! @SYMAPI CFileMan::Copy()
881 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
882 //! Copy file 'FILE01.TXT' from source to the target.
883 //! @SYMTestActions Copies the specified files from source to the target.
884 //! @SYMTestExpectedResults 1.KErrNone in success case
885 //! @SYMTestPriority High
886 //! @SYMTestStatus Implemented
887 //---------------------------------------------
890 {842, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
891 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
892 (TText*)L"?:\\Src\\", {ALL, EMPTY},
893 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
894 {&gDriveToTest, (TText*)L"?:\\Trg\\",
895 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
896 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
899 //---------------------------------------------
900 //! @SYMTestCaseID PBASE-T_CFILEMAN-0843
903 //! @SYMAPI CFileMan::Copy()
904 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
905 //! Copy files with wildcard combination '*.*' from source to the target.
906 //! @SYMTestActions Copies the specified files from source to the target.
907 //! @SYMTestExpectedResults 1.KErrNone in success case
908 //! @SYMTestPriority High
909 //! @SYMTestStatus Implemented
910 //---------------------------------------------
913 {843, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
914 {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
915 (TText*)L"?:\\Src\\", {ALL, EMPTY},
916 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
917 {&gDriveToTest, (TText*)L"?:\\Trg\\",
918 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
919 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
922 //---------------------------------------------
923 //! @SYMTestCaseID PBASE-T_CFILEMAN-0844
926 //! @SYMAPI CFileMan::Copy()
927 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
928 //! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
929 //! @SYMTestActions Copies the specified files from source to the target.
930 //! @SYMTestExpectedResults 1.KErrNone in success case
931 //! @SYMTestPriority High
932 //! @SYMTestStatus Implemented
933 //---------------------------------------------
936 {844, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
937 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
938 (TText*)L"?:\\Src\\", {ALL, EMPTY},
939 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
940 {&gDriveToTest, (TText*)L"?:\\Trg\\",
941 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
942 (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
945 //---------------------------------------------
946 //! @SYMTestCaseID PBASE-T_CFILEMAN-0845
949 //! @SYMAPI CFileMan::Copy()
950 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
951 //! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
952 //! @SYMTestActions Copies the specified files from source to the target.
953 //! @SYMTestExpectedResults 1.KErrNone in success case
954 //! @SYMTestPriority High
955 //! @SYMTestStatus Implemented
956 //---------------------------------------------
959 {845, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
960 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
961 (TText*)L"?:\\Src\\", {ALL, EMPTY},
962 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
963 {&gDriveToTest, (TText*)L"?:\\Trg\\",
964 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
965 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
968 //---------------------------------------------
969 //! @SYMTestCaseID PBASE-T_CFILEMAN-0846
972 //! @SYMAPI CFileMan::Copy()
973 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
974 //! Copy files with wildcard combination '*.TXT' from source to the target.
975 //! @SYMTestActions Copies the specified files from source to the target.
976 //! @SYMTestExpectedResults 1.KErrNone in success case
977 //! @SYMTestPriority High
978 //! @SYMTestStatus Implemented
979 //---------------------------------------------
982 {846, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
983 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
984 (TText*)L"?:\\Src\\", {ALL, EMPTY},
985 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
986 {&gDriveToTest, (TText*)L"?:\\Trg\\",
987 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
988 (TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
991 //---------------------------------------------
992 //! @SYMTestCaseID PBASE-T_CFILEMAN-0847
995 //! @SYMAPI CFileMan::Copy()
996 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
997 //! Copy files with wildcard combination 'FILE.*' from source to the target.
998 //! @SYMTestActions Copies the specified files from source to the target.
999 //! @SYMTestExpectedResults 1.KErrNone in success case
1000 //! @SYMTestPriority High
1001 //! @SYMTestStatus Implemented
1002 //---------------------------------------------
1005 {847, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1006 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1007 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1008 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1009 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1010 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1011 (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
1014 //---------------------------------------------
1015 //! @SYMTestCaseID PBASE-T_CFILEMAN-0848
1016 //! @SYMTestType CIT
1018 //! @SYMAPI CFileMan::Copy()
1019 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1020 //! Copy file with combination 'FILE01.TXT' from source to the target.
1021 //! @SYMTestActions Copies the specified files from source to the target.
1022 //! @SYMTestExpectedResults 1.KErrNone in success case
1023 //! @SYMTestPriority High
1024 //! @SYMTestStatus Implemented
1025 //---------------------------------------------
1028 {848, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1029 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1030 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1031 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1032 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1033 (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
1034 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
1037 //---------------------------------------------
1038 //! @SYMTestCaseID PBASE-T_CFILEMAN-0849
1039 //! @SYMTestType CIT
1041 //! @SYMAPI CFileMan::Copy()
1042 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1043 //! Copy files with wildcard combination '*.*' from source to the target.
1044 //! @SYMTestActions Copies the specified files from source to the target.
1045 //! @SYMTestExpectedResults 1.KErrNone in success case
1046 //! @SYMTestPriority High
1047 //! @SYMTestStatus Implemented
1048 //---------------------------------------------
1051 {849, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1052 {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1053 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1054 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1055 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1056 (TText*)L"?:\\Trg\\", {BLOCK01, EMPTY},
1057 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1060 //---------------------------------------------
1061 //! @SYMTestCaseID PBASE-T_CFILEMAN-0850
1062 //! @SYMTestType CIT
1064 //! @SYMAPI CFileMan::Copy()
1065 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1066 //! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
1067 //! @SYMTestActions Copies the specified files from source to the target.
1068 //! @SYMTestExpectedResults 1.KErrNone in success case
1069 //! @SYMTestPriority High
1070 //! @SYMTestStatus Implemented
1071 //---------------------------------------------
1074 {850, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1075 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1076 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1077 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1078 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1079 (TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
1080 (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
1083 //---------------------------------------------
1084 //! @SYMTestCaseID PBASE-T_CFILEMAN-0851
1085 //! @SYMTestType CIT
1087 //! @SYMAPI CFileMan::Copy()
1088 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1089 //! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
1090 //! @SYMTestActions Copies the specified files from source to the target.
1091 //! @SYMTestExpectedResults 1.KErrNone in success case
1092 //! @SYMTestPriority High
1093 //! @SYMTestStatus Implemented
1094 //---------------------------------------------
1097 {851, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1098 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1099 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1100 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1101 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1102 (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
1103 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
1106 //---------------------------------------------
1107 //! @SYMTestCaseID PBASE-T_CFILEMAN-0852
1108 //! @SYMTestType CIT
1110 //! @SYMAPI CFileMan::Copy()
1111 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1112 //! Copy files with wildcard combination '*.TXT' from source to the target.
1113 //! @SYMTestActions Copies the specified files from source to the target.
1114 //! @SYMTestExpectedResults 1.KErrNone in success case
1115 //! @SYMTestPriority High
1116 //! @SYMTestStatus Implemented
1117 //---------------------------------------------
1120 {852, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1121 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1122 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1123 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1124 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1125 (TText*)L"?:\\Trg\\", {BLOCK03, EMPTY},
1126 (TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
1129 //---------------------------------------------
1130 //! @SYMTestCaseID PBASE-T_CFILEMAN-0853
1131 //! @SYMTestType CIT
1133 //! @SYMAPI CFileMan::Copy()
1134 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
1135 //! Copy files with wildcard combination 'FILE.*' from source to the target.
1136 //! @SYMTestActions Copies the specified files from source to the target.
1137 //! @SYMTestExpectedResults 1.KErrNone in success case
1138 //! @SYMTestPriority High
1139 //! @SYMTestStatus Implemented
1140 //---------------------------------------------
1143 {853, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1144 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1145 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1146 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1147 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1148 (TText*)L"?:\\Trg\\", {{4,6,EOB}, EMPTY},
1149 (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
1152 //---------------------------------------------
1153 //! @SYMTestCaseID PBASE-T_CFILEMAN-0854
1154 //! @SYMTestType CIT
1156 //! @SYMAPI CFileMan::Copy()
1157 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1158 //! Copy file with combination 'FILE01.TXT' from source to the target.
1159 //! @SYMTestActions Copies the specified files from source to the target.
1160 //! @SYMTestExpectedResults 1.KErrNone in success case
1161 //! @SYMTestPriority High
1162 //! @SYMTestStatus Implemented
1163 //---------------------------------------------
1166 {854, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1167 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1168 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1169 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1170 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1171 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1172 (TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
1175 //---------------------------------------------
1176 //! @SYMTestCaseID PBASE-T_CFILEMAN-0855
1177 //! @SYMTestType CIT
1179 //! @SYMAPI CFileMan::Copy()
1180 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1181 //! Copy files with wildcard combination '*.*' from source to the target.
1182 //! @SYMTestActions Copies the specified files from source to the target.
1183 //! @SYMTestExpectedResults 1.KErrNone in success case
1184 //! @SYMTestPriority High
1185 //! @SYMTestStatus Implemented
1186 //---------------------------------------------
1189 {855, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1190 {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1191 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1192 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1193 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1194 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1195 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1198 //---------------------------------------------
1199 //! @SYMTestCaseID PBASE-T_CFILEMAN-0856
1200 //! @SYMTestType CIT
1202 //! @SYMAPI CFileMan::Copy()
1203 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1204 //! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
1205 //! @SYMTestActions Copies the specified files from source to the target.
1206 //! @SYMTestExpectedResults 1.KErrNone in success case
1207 //! @SYMTestPriority High
1208 //! @SYMTestStatus Implemented
1209 //---------------------------------------------
1212 {856, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1213 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1214 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1215 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1216 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1217 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1218 (TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
1221 //---------------------------------------------
1222 //! @SYMTestCaseID PBASE-T_CFILEMAN-0857
1223 //! @SYMTestType CIT
1225 //! @SYMAPI CFileMan::Copy()
1226 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1227 //! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
1228 //! @SYMTestActions Copies the specified files from source to the target.
1229 //! @SYMTestExpectedResults 1.KErrNone in success case
1230 //! @SYMTestPriority High
1231 //! @SYMTestStatus Implemented
1232 //---------------------------------------------
1235 {857, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1236 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1237 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1238 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1239 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1240 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1241 (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
1244 //---------------------------------------------
1245 //! @SYMTestCaseID PBASE-T_CFILEMAN-0858
1246 //! @SYMTestType CIT
1248 //! @SYMAPI CFileMan::Copy()
1249 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1250 //! Copy files with wildcard combination '*.TXT' from source to the target.
1251 //! @SYMTestActions Copies the specified files from source to the target.
1252 //! @SYMTestExpectedResults 1.KErrNone in success case
1253 //! @SYMTestPriority High
1254 //! @SYMTestStatus Implemented
1255 //---------------------------------------------
1258 {858, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1259 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1260 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1261 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1262 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1263 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1264 (TText*)L"?:\\TrgCom\\", {BLOCK36, EMPTY}}
1267 //---------------------------------------------
1268 //! @SYMTestCaseID PBASE-T_CFILEMAN-0859
1269 //! @SYMTestType CIT
1271 //! @SYMAPI CFileMan::Copy()
1272 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
1273 //! Copy files with wildcard combination 'FILE.*' from source to the target.
1274 //! @SYMTestActions Copies the specified files from source to the target.
1275 //! @SYMTestExpectedResults 1.KErrNone in success case
1276 //! @SYMTestPriority High
1277 //! @SYMTestStatus Implemented
1278 //---------------------------------------------
1281 {859, ECFMCopy, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
1282 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1283 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1284 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1285 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1286 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1287 (TText*)L"?:\\TrgCom\\", {BLOCK37, EMPTY}}
1290 //---------------------------------------------
1291 //! @SYMTestCaseID PBASE-T_CFILEMAN-0860
1292 //! @SYMTestType CIT
1294 //! @SYMAPI CFileMan::Copy()
1295 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1296 //! Copy files with combination 'FILE01.TXT' from source to the target.
1297 //! @SYMTestActions Copy does not happen just returns the error code.
1298 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1299 //! @SYMTestPriority High
1300 //! @SYMTestStatus Implemented
1301 //---------------------------------------------
1304 {860, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1305 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1306 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1307 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1308 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1309 (TText*)L"?:\\Trg\\", {{2,11,20,29,38,EOB}, EMPTY},
1310 (TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
1313 //---------------------------------------------
1314 //! @SYMTestCaseID PBASE-T_CFILEMAN-0861
1315 //! @SYMTestType CIT
1317 //! @SYMAPI CFileMan::Copy()
1318 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1319 //! Copy files with wildcard combination '*.*' from source to the target.
1320 //! @SYMTestActions Copy does not happen, returns the error code.
1321 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1322 //! @SYMTestPriority High
1323 //! @SYMTestStatus Implemented
1324 //---------------------------------------------
1327 {861, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1328 {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1329 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1330 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1331 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1332 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1333 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1335 //---------------------------------------------
1336 //! @SYMTestCaseID PBASE-T_CFILEMAN-0862
1337 //! @SYMTestType CIT
1339 //! @SYMAPI CFileMan::Copy()
1340 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1341 //! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
1342 //! @SYMTestActions Copy does not happen, returns the error code.
1343 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1344 //! @SYMTestPriority High
1345 //! @SYMTestStatus Implemented
1346 //---------------------------------------------
1349 {862, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1350 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1351 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1352 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1353 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1354 (TText*)L"?:\\Trg\\", {BLOCK05, EMPTY},
1355 (TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
1358 //---------------------------------------------
1359 //! @SYMTestCaseID PBASE-T_CFILEMAN-0863
1360 //! @SYMTestType CIT
1362 //! @SYMAPI CFileMan::Copy()
1363 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1364 //! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
1365 //! @SYMTestActions Copy does not happen, returns the error code.
1366 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1367 //! @SYMTestPriority High
1368 //! @SYMTestStatus Implemented
1369 //---------------------------------------------
1372 {863, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1373 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1374 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1375 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1376 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1377 (TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
1378 (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
1381 //---------------------------------------------
1382 //! @SYMTestCaseID PBASE-T_CFILEMAN-0864
1383 //! @SYMTestType CIT
1385 //! @SYMAPI CFileMan::Copy()
1386 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1387 //! Copy files with wildcard combination '*.TXT' from source to the target.
1388 //! @SYMTestActions Copy does not happen, returns the error code.
1389 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1390 //! @SYMTestPriority High
1391 //! @SYMTestStatus Implemented
1392 //---------------------------------------------
1395 {864, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1396 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1397 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1398 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1399 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1400 (TText*)L"?:\\Trg\\", {BLOCK34, EMPTY},
1401 (TText*)L"?:\\TrgCom\\", {BLOCK34, EMPTY}}
1404 //---------------------------------------------
1405 //! @SYMTestCaseID PBASE-T_CFILEMAN-0865
1406 //! @SYMTestType CIT
1408 //! @SYMAPI CFileMan::Copy()
1409 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
1410 //! Copy files with wildcard combination 'FILE.*' from source to the target.
1411 //! @SYMTestActions Copy does not happen, returns the error code.
1412 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1413 //! @SYMTestPriority High
1414 //! @SYMTestStatus Implemented
1415 //---------------------------------------------
1418 {865, ECFMCopy, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1419 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1420 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1421 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1422 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1423 (TText*)L"?:\\Trg\\", {BLOCK37, EMPTY},
1424 (TText*)L"?:\\TrgCom\\", {BLOCK37, EMPTY}}
1427 //---------------------------------------------
1428 //! @SYMTestCaseID PBASE-T_CFILEMAN-0866
1429 //! @SYMTestType CIT
1431 //! @SYMAPI CFileMan::Copy()
1432 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1433 //! Copy files with combination 'FILE01.TXT' from source to the target.
1434 //! @SYMTestActions Copies the specified files from source to the target.
1435 //! @SYMTestExpectedResults 1.KErrNone in success case
1436 //! @SYMTestPriority High
1437 //! @SYMTestStatus Implemented
1438 //---------------------------------------------
1441 {866, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1442 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1443 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1444 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1445 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1446 (TText*)L"?:\\Trg\\", {{2,11,20,29,38,EOB}, EMPTY},
1447 (TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
1450 //---------------------------------------------
1451 //! @SYMTestCaseID PBASE-T_CFILEMAN-0867
1452 //! @SYMTestType CIT
1454 //! @SYMAPI CFileMan::Copy()
1455 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1456 //! Copy files with wildcard combination '*.*' from source to the target.
1457 //! @SYMTestActions Copies the specified files from source to the target.
1458 //! @SYMTestExpectedResults 1.KErrNone in success case
1459 //! @SYMTestPriority High
1460 //! @SYMTestStatus Implemented
1461 //---------------------------------------------
1464 {867, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1465 {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
1466 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1467 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1468 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1469 (TText*)L"?:\\Trg\\", {BLOCK04, EMPTY},
1470 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1473 //---------------------------------------------
1474 //! @SYMTestCaseID PBASE-T_CFILEMAN-0868
1475 //! @SYMTestType CIT
1477 //! @SYMAPI CFileMan::Copy()
1478 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1479 //! Copy files with wildcard combination 'FILE*.TXT' from source to the target.
1480 //! @SYMTestActions Copies the specified files from source to the target.
1481 //! @SYMTestExpectedResults 1.KErrNone in success case
1482 //! @SYMTestPriority High
1483 //! @SYMTestStatus Implemented
1484 //---------------------------------------------
1487 {868, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1488 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1489 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1490 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1491 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1492 (TText*)L"?:\\Trg\\", {BLOCK05, EMPTY},
1493 (TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
1496 //---------------------------------------------
1497 //! @SYMTestCaseID PBASE-T_CFILEMAN-0869
1498 //! @SYMTestType CIT
1500 //! @SYMAPI CFileMan::Copy()
1501 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1502 //! Copy files with wildcard combination 'FILE?.TXT' from source to the target.
1503 //! @SYMTestActions Copies the specified files from source to the target.
1504 //! @SYMTestExpectedResults 1.KErrNone in success case
1505 //! @SYMTestPriority High
1506 //! @SYMTestStatus Implemented
1507 //---------------------------------------------
1510 {869, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1511 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
1512 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1513 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1514 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1515 (TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
1516 (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
1519 //---------------------------------------------
1520 //! @SYMTestCaseID PBASE-T_CFILEMAN-0870
1521 //! @SYMTestType CIT
1523 //! @SYMAPI CFileMan::Copy()
1524 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1525 //! Copy files with wildcard combination '*.TXT' from source to the target.
1526 //! @SYMTestActions Copies the specified files from source to the target.
1527 //! @SYMTestExpectedResults 1.KErrNone in success case
1528 //! @SYMTestPriority High
1529 //! @SYMTestStatus Implemented
1530 //---------------------------------------------
1533 {870, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1534 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1535 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1536 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1537 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1538 (TText*)L"?:\\Trg\\", {BLOCK36, EMPTY},
1539 (TText*)L"?:\\TrgCom\\", {BLOCK36, EMPTY}}
1542 //---------------------------------------------
1543 //! @SYMTestCaseID PBASE-T_CFILEMAN-0871
1544 //! @SYMTestType CIT
1546 //! @SYMAPI CFileMan::Copy()
1547 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
1548 //! Copy files with wildcard combination 'FILE.*' from source to the target.
1549 //! @SYMTestActions Copies the specified files from source to the target.
1550 //! @SYMTestExpectedResults 1.KErrNone in success case
1551 //! @SYMTestPriority High
1552 //! @SYMTestStatus Implemented
1553 //---------------------------------------------
1556 {871, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
1557 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1558 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1559 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1560 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1561 (TText*)L"?:\\Trg\\", {BLOCK37, EMPTY},
1562 (TText*)L"?:\\TrgCom\\", {BLOCK37, EMPTY}}
1565 //*******************Special Cases for Copy*************************
1566 //---------------------------------------------
1567 //! @SYMTestCaseID PBASE-T_CFILEMAN-0872
1568 //! @SYMTestType CIT
1570 //! @SYMAPI CFileMan::Copy()
1571 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1572 //! Copy files from Src directory without backward slash to the target.
1573 //! @SYMTestActions Copies the specified files from source to the target.
1574 //! @SYMTestExpectedResults 1.KErrNone in success case
1575 //! @SYMTestPriority High
1576 //! @SYMTestStatus Implemented
1577 //---------------------------------------------
1580 {872, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1581 {&gFixedDriveValid, (TText*)L"?:\\Src",
1582 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1583 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1584 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1585 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1586 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1589 //---------------------------------------------
1590 //! @SYMTestCaseID PBASE-T_CFILEMAN-0873
1591 //! @SYMTestType CIT
1593 //! @SYMAPI CFileMan::Copy()
1594 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1595 //! Copy files from Src directory without backward slash to the target directory without backward slash.
1596 //! @SYMTestActions Copies the specified files from source to the target.
1597 //! @SYMTestExpectedResults 1.KErrNone in success case
1598 //! @SYMTestPriority High
1599 //! @SYMTestStatus Implemented
1600 //---------------------------------------------
1603 {873, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1604 {&gFixedDriveValid, (TText*)L"?:\\Src",
1605 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1606 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1607 {&gDriveToTest, (TText*)L"?:\\Trg\\",
1608 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1609 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1612 //---------------------------------------------
1613 //! @SYMTestCaseID PBASE-T_CFILEMAN-0874
1614 //! @SYMTestType CIT
1616 //! @SYMAPI CFileMan::Copy()
1617 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1618 //! Copy files from Src to the unspecified(NULL) target path.
1619 //! @SYMTestActions Copies the specified files from source to the target (default session path is taken as target path).
1620 //! @SYMTestExpectedResults 1.KErrNone in success case
1621 //! @SYMTestPriority High
1622 //! @SYMTestStatus Implemented
1623 //---------------------------------------------
1626 {874, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1627 {&gFixedDriveValid, (TText*)L"?:\\Src\\",
1628 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1629 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1630 {&gDriveToTest, (TText*)L"",
1631 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
1632 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1635 //---------------------------------------------
1636 //! @SYMTestCaseID PBASE-T_CFILEMAN-0875
1637 //! @SYMTestType CIT
1639 //! @SYMAPI CFileMan::Copy()
1640 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1641 //! Copy files from unspecified(NULL) Src to the target.
1642 //! @SYMTestActions Copies the specified files from source(default session path is taken as source path) to the target.
1643 //! @SYMTestExpectedResults 1.KErrNone in success case
1644 //! @SYMTestPriority High
1645 //! @SYMTestStatus Implemented
1646 //---------------------------------------------
1649 {875, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1650 {&gFixedDriveValid, (TText*)L"",
1651 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1652 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1653 {&gDriveToTest, (TText*)L"?:\\Trg",
1654 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1655 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1658 //---------------------------------------------
1659 //! @SYMTestCaseID PBASE-T_CFILEMAN-0876
1660 //! @SYMTestType CIT
1662 //! @SYMAPI CFileMan::Copy()
1663 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1664 //! Copy Src to the target while renaming with wildcard condition 'FILE*.TXT'.
1665 //! @SYMTestActions Copies the specified files from source to the target.
1666 //! @SYMTestExpectedResults 1.KErrNone in success case
1667 //! @SYMTestPriority High
1668 //! @SYMTestStatus Implemented
1669 //---------------------------------------------
1672 {876, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1673 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
1674 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1675 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1676 {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
1677 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1678 (TText*)L"?:\\TrgCom\\", {BLOCK14, EMPTY}}
1681 //---------------------------------------------
1682 //! @SYMTestCaseID PBASE-T_CFILEMAN-0877
1683 //! @SYMTestType CIT
1685 //! @SYMAPI CFileMan::Copy()
1686 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1687 //! Copy Src to the target while renaming without wildcard condition.
1688 //! @SYMTestActions Copies the specified files from source to the target.
1689 //! @SYMTestExpectedResults 1.KErrNone in success case
1690 //! @SYMTestPriority High
1691 //! @SYMTestStatus Implemented
1692 //---------------------------------------------
1695 {877, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1696 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1697 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1698 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1699 {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
1700 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1701 (TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
1704 //---------------------------------------------
1705 //! @SYMTestCaseID PBASE-T_CFILEMAN-0878
1706 //! @SYMTestType CIT
1708 //! @SYMAPI CFileMan::Copy()
1709 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1710 //! Copy from Src to same Src location .
1711 //! @SYMTestActions Copy does not happen, returns the error code..
1712 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1713 //! @SYMTestPriority High
1714 //! @SYMTestStatus Implemented
1715 //---------------------------------------------
1718 {878, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1719 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1720 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1721 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1722 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1723 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
1724 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1727 //---------------------------------------------
1728 //! @SYMTestCaseID PBASE-T_CFILEMAN-0879
1729 //! @SYMTestType CIT
1731 //! @SYMAPI CFileMan::Copy()
1732 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1733 //! Copy a file 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
1734 //! @SYMTestActions Copies the specified files from source to the target.
1735 //! @SYMTestExpectedResults 1.KErrNone in success case
1736 //! @SYMTestPriority High
1737 //! @SYMTestStatus Implemented
1738 //---------------------------------------------
1741 {879, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1742 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1743 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1744 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1745 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1746 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1747 (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
1750 //---------------------------------------------
1751 //! @SYMTestCaseID PBASE-T_CFILEMAN-0882
1752 //! @SYMTestType CIT
1754 //! @SYMAPI CFileMan::Copy()
1755 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1756 //! Copy files '*.TXT' from Src and rename file to '*.REN' on the target.
1757 //! @SYMTestActions Copies the specified files from source to the target.
1758 //! @SYMTestExpectedResults 1.KErrNone in success case
1759 //! @SYMTestPriority High
1760 //! @SYMTestStatus Implemented
1761 //---------------------------------------------
1764 {882, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1765 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
1766 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1767 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1768 {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
1769 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1770 (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
1773 //---------------------------------------------
1774 //! @SYMTestCaseID PBASE-T_CFILEMAN-0883
1775 //! @SYMTestType CIT
1777 //! @SYMAPI CFileMan::Copy()
1778 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
1779 //! Copy files 'FILE.*' from Src and rename file to 'RENAMED.*' on the target.
1780 //! @SYMTestActions Copies the specified files from source to the target.
1781 //! @SYMTestExpectedResults 1.KErrNone in success case
1782 //! @SYMTestPriority High
1783 //! @SYMTestStatus Implemented
1784 //---------------------------------------------
1787 {883, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
1788 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
1789 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1790 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1791 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
1792 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
1793 (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
1796 //---------------------------------------------
1797 //! @SYMTestCaseID PBASE-T_CFILEMAN-0885
1798 //! @SYMTestType CIT
1800 //! @SYMAPI CFileMan::Copy()
1801 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1802 //! Copy files from Src directory without backward slash to the target
1803 //! @SYMTestActions Copy does not happen, returns the error code.
1804 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1805 //! @SYMTestPriority High
1806 //! @SYMTestStatus Implemented
1807 //---------------------------------------------
1810 {885, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1811 {&gFixedDriveValid, (TText*)L"?:\\Src",
1812 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1813 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1814 {&gDriveToTest, (TText*)L"?:\\Trg\\FILE02.TXT",
1815 (TText*)L"?:\\Trg\\", {{3,EOB}, EMPTY},
1816 (TText*)L"?:\\TrgCom\\", {{3,EOB}, EMPTY}}
1819 //---------------------------------------------
1820 //! @SYMTestCaseID PBASE-T_CFILEMAN-0886
1821 //! @SYMTestType CIT
1823 //! @SYMAPI CFileMan::Copy()
1824 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1825 //! Copy files from Src directory without backward slash to the target directory without backward slash.
1826 //! @SYMTestActions Copy does not happen, returns the error code.
1827 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1828 //! @SYMTestPriority High
1829 //! @SYMTestStatus Implemented
1830 //---------------------------------------------
1833 {886, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1834 {&gFixedDriveValid, (TText*)L"?:\\Src",
1835 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1836 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1837 {&gDriveToTest, (TText*)L"?:\\Trg",
1838 (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
1839 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1842 //---------------------------------------------
1843 //! @SYMTestCaseID PBASE-T_CFILEMAN-0887
1844 //! @SYMTestType CIT
1846 //! @SYMAPI CFileMan::Copy()
1847 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1848 //! Copy files from Src to the unspecified(NULL) target path.
1849 //! @SYMTestActions Copies the specified files from source to the target (default session path is taken as target path).
1850 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1851 //! @SYMTestPriority High
1852 //! @SYMTestStatus Implemented
1853 //---------------------------------------------
1856 {887, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1857 {&gFixedDriveValid, (TText*)L"?:\\Src\\",
1858 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1859 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1860 {&gDriveToTest, (TText*)L"",
1861 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK24, EMPTY},
1862 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1865 //---------------------------------------------
1866 //! @SYMTestCaseID PBASE-T_CFILEMAN-0888
1867 //! @SYMTestType CIT
1869 //! @SYMAPI CFileMan::Copy()
1870 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1871 //! Copy files from unspecified(NULL) Src to the target.
1872 //! @SYMTestActions Copies the specified files from source(default session path is taken as source path) to the target.
1873 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1874 //! @SYMTestPriority High
1875 //! @SYMTestStatus Implemented
1876 //---------------------------------------------
1879 {888, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1880 {&gFixedDriveValid, (TText*)L"",
1881 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1882 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1883 {&gDriveToTest, (TText*)L"?:\\Trg",
1884 (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
1885 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
1888 //---------------------------------------------
1889 //! @SYMTestCaseID PBASE-T_CFILEMAN-0889
1890 //! @SYMTestType CIT
1892 //! @SYMAPI CFileMan::Copy()
1893 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1894 //! Copy Src file?.TXT to the target while renaming with wildcard condition 'FILE*.TXT'.
1895 //! @SYMTestActions Copies the specified files from source to the target.
1896 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1897 //! @SYMTestPriority High
1898 //! @SYMTestStatus Implemented
1899 //---------------------------------------------
1902 {889, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1903 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
1904 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1905 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1906 {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
1907 (TText*)L"?:\\Trg\\", {BLOCK14, EMPTY},
1908 (TText*)L"?:\\TrgCom\\", {BLOCK14, EMPTY}}
1911 //---------------------------------------------
1912 //! @SYMTestCaseID PBASE-T_CFILEMAN-0890
1913 //! @SYMTestType CIT
1915 //! @SYMAPI CFileMan::Copy()
1916 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1917 //! Copy Src to the target while renaming without wildcard condition.
1918 //! @SYMTestActions Copies the specified files from source to the target.
1919 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1920 //! @SYMTestPriority High
1921 //! @SYMTestStatus Implemented
1922 //---------------------------------------------
1925 {890, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1926 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
1927 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
1928 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1929 {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
1930 (TText*)L"?:\\Trg\\", {{5,EOB}, EMPTY},
1931 (TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
1934 //---------------------------------------------
1935 //! @SYMTestCaseID PBASE-T_CFILEMAN-0891
1936 //! @SYMTestType CIT
1938 //! @SYMAPI CFileMan::Copy()
1939 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1940 //! Copy from Src to same Src location.
1941 //! @SYMTestActions Copy does not happen, returns the error code.
1942 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1943 //! @SYMTestPriority High
1944 //! @SYMTestStatus Implemented
1945 //---------------------------------------------
1948 {891, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1949 {&gFixedDriveValid, (TText*)L"?:\\Src\\",
1950 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1951 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1952 {&gDriveToTest, (TText*)L"?:\\Src\\",
1953 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1954 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
1957 //---------------------------------------------
1958 //! @SYMTestCaseID PBASE-T_CFILEMAN-0892
1959 //! @SYMTestType CIT
1961 //! @SYMAPI CFileMan::Copy()
1962 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1963 //! Copy a file 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
1964 //! @SYMTestActions Copy does not happen, returns the error code.
1965 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1966 //! @SYMTestPriority High
1967 //! @SYMTestStatus Implemented
1968 //---------------------------------------------
1971 {892, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1972 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
1973 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1974 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1975 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
1976 (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
1977 (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
1980 //---------------------------------------------
1981 //! @SYMTestCaseID PBASE-T_CFILEMAN-0893
1982 //! @SYMTestType CIT
1984 //! @SYMAPI CFileMan::Copy()
1985 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
1986 //! Copy files 'FILE*.TXT' from Src and rename file to 'RENAMED*.TXT' on the target.
1987 //! @SYMTestActions Copy does not happen, returns the error code.
1988 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
1989 //! @SYMTestPriority High
1990 //! @SYMTestStatus Implemented
1991 //---------------------------------------------
1994 {893, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
1995 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
1996 (TText*)L"?:\\Src\\", {ALL, EMPTY},
1997 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
1998 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED*.TXT",
1999 (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
2000 (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
2003 //---------------------------------------------
2004 //! @SYMTestCaseID PBASE-T_CFILEMAN-0894
2005 //! @SYMTestType CIT
2007 //! @SYMAPI CFileMan::Copy()
2008 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
2009 //! Copy files 'FILE?.TXT' from Src and rename file to 'RENAMED?.TXT' on the target.
2010 //! @SYMTestActions Copy does not happen, returns the error code.
2011 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
2012 //! @SYMTestPriority High
2013 //! @SYMTestStatus Implemented
2014 //---------------------------------------------
2017 {894, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
2018 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
2019 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2020 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2021 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED?.TXT",
2022 (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
2023 (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
2026 //---------------------------------------------
2027 //! @SYMTestCaseID PBASE-T_CFILEMAN-0895
2028 //! @SYMTestType CIT
2030 //! @SYMAPI CFileMan::Copy()
2031 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
2032 //! Copy files '*.TXT' from Src and rename file to '*.REN' on the target.
2033 //! @SYMTestActions Copy does not happen, returns the error code.
2034 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
2035 //! @SYMTestPriority High
2036 //! @SYMTestStatus Implemented
2037 //---------------------------------------------
2040 {895, ECFMCopy, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
2041 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
2042 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2043 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2044 {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
2045 (TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
2046 (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
2049 //---------------------------------------------
2050 //! @SYMTestCaseID PBASE-T_CFILEMAN-0896
2051 //! @SYMTestType CIT
2053 //! @SYMAPI CFileMan::Copy()
2054 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
2055 //! Copy files from Src directory without backward slash to the target.
2056 //! @SYMTestActions Copies the specified files from source to the target.
2057 //! @SYMTestExpectedResults 1.KErrNone in success case
2058 //! @SYMTestPriority High
2059 //! @SYMTestStatus Implemented
2060 //---------------------------------------------
2063 {896, ECFMCopy, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
2064 {&gFixedDriveValid, (TText*)L"?:\\Src",
2065 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2066 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2067 {&gDriveToTest, (TText*)L"?:\\Trg\\FILE02.TXT",
2068 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2069 (TText*)L"?:\\TrgCom\\", {{3,EOB}, EMPTY}}
2072 //---------------------------------------------
2073 //! @SYMTestCaseID PBASE-T_CFILEMAN-0939
2074 //! @SYMTestType CIT
2076 //! @SYMAPI CFileMan::Copy()
2077 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
2078 //! Copy Src to the target while renaming without wildcard condition.
2079 //! @SYMTestActions Copies the specified files from source to the target.
2080 //! @SYMTestExpectedResults 1.KErrNone in success case
2081 //! @SYMTestPriority High
2082 //! @SYMTestStatus Implemented
2083 //---------------------------------------------
2086 {939, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
2087 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
2088 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
2089 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2090 {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
2091 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2092 (TText*)L"?:\\TrgCom\\", {BLOCK16, EMPTY}}
2095 //---------------------------------------------
2096 //! @SYMTestCaseID PBASE-T_CFILEMAN-0940
2097 //! @SYMTestType CIT
2099 //! @SYMAPI CFileMan::Copy()
2100 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
2101 //! Copy from Src to same Src location .
2102 //! @SYMTestActions Copies the specified files from source to the target.
2103 //! @SYMTestExpectedResults 1.KErrNone in success case
2104 //! @SYMTestPriority High
2105 //! @SYMTestStatus Implemented
2106 //---------------------------------------------
2109 {940, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
2110 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
2111 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
2112 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2113 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
2114 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
2115 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
2118 //---------------------------------------------
2119 //! @SYMTestCaseID PBASE-T_CFILEMAN-0941
2120 //! @SYMTestType CIT
2122 //! @SYMAPI CFileMan::Copy()
2123 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
2124 //! Copy a file 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
2125 //! @SYMTestActions Copies the specified files from source to the target.
2126 //! @SYMTestExpectedResults 1.KErrNone in success case
2127 //! @SYMTestPriority High
2128 //! @SYMTestStatus Implemented
2129 //---------------------------------------------
2132 {941, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
2133 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
2134 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2135 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2136 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
2137 (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
2138 (TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
2141 //---------------------------------------------
2142 //! @SYMTestCaseID PBASE-T_CFILEMAN-0942
2143 //! @SYMTestType CIT
2145 //! @SYMAPI CFileMan::Copy()
2146 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
2147 //! Copy files 'FILE*.TXT' from Src and rename file to 'RENAMED*.TXT' on the target.
2148 //! @SYMTestActions Copies the specified files from source to the target.
2149 //! @SYMTestExpectedResults 1.KErrNone in success case
2150 //! @SYMTestPriority High
2151 //! @SYMTestStatus Implemented
2152 //---------------------------------------------
2155 {942, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
2156 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
2157 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2158 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2159 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED*.TXT",
2160 (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
2161 (TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
2164 //---------------------------------------------
2165 //! @SYMTestCaseID PBASE-T_CFILEMAN-0943
2166 //! @SYMTestType CIT
2168 //! @SYMAPI CFileMan::Copy()
2169 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
2170 //! Copy files 'FILE?.TXT' from Src and rename file to 'RENAMED?.TXT' on the target.
2171 //! @SYMTestActions Copies the specified files from source to the target.
2172 //! @SYMTestExpectedResults 1.KErrNone in success case
2173 //! @SYMTestPriority High
2174 //! @SYMTestStatus Implemented
2175 //---------------------------------------------
2178 {943, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
2179 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
2180 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2181 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2182 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED?.TXT",
2183 (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
2184 (TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
2187 //---------------------------------------------
2188 //! @SYMTestCaseID PBASE-T_CFILEMAN-0944
2189 //! @SYMTestType CIT
2191 //! @SYMAPI CFileMan::Copy()
2192 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
2193 //! Copy files '*.TXT' from Src and rename file to '*.REN' on the target.
2194 //! @SYMTestActions Copies the specified files from source to the target.
2195 //! @SYMTestExpectedResults 1.KErrNone in success case
2196 //! @SYMTestPriority High
2197 //! @SYMTestStatus Implemented
2198 //---------------------------------------------
2201 {944, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
2202 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
2203 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2204 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2205 {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
2206 (TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
2207 (TText*)L"?:\\TrgCom\\", {BLOCK32, EMPTY}}
2211 //---------------------------------------------
2212 //! @SYMTestCaseID PBASE-T_CFILEMAN-0945
2213 //! @SYMTestType CIT
2215 //! @SYMAPI CFileMan::Copy()
2216 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
2217 //! Copy files 'FILE.*' from Src and rename file to 'RENAMED.*' on the target.
2218 //! @SYMTestActions Copies the specified files from source to the target.
2219 //! @SYMTestExpectedResults 1.KErrNone in success case
2220 //! @SYMTestPriority High
2221 //! @SYMTestStatus Implemented
2222 //---------------------------------------------
2225 {945, ECFMCopy, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
2226 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
2227 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2228 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2229 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
2230 (TText*)L"?:\\Trg\\", {BLOCK46, EMPTY},
2231 (TText*)L"?:\\TrgCom\\", {BLOCK46, EMPTY}}
2234 //---------------------------------------------
2235 //! @SYMTestCaseID PBASE-T_CFILEMAN-0947
2236 //! @SYMTestType CIT
2238 //! @SYMAPI CFileMan::Copy()
2239 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
2240 //! Copy files Cyclically.
2241 //! @SYMTestActions Cyclically Copies the specified files from source to the target.
2242 //! @SYMTestExpectedResults 1.KErrNone in success case
2243 //! @SYMTestPriority High
2244 //! @SYMTestStatus Implemented
2245 //---------------------------------------------
2248 {947, ECFMCopy, 0, KErrNone, KErrNone, KErrNone},
2249 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\*.*",
2250 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2251 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2252 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\DIR11\\",
2253 (TText*)L"?:\\Src\\DIR1\\DIR11\\", {EMPTY, EMPTY},
2254 (TText*)L"?:\\TrgCom\\", {BLOCK42, EMPTY}}
2257 //---------------------------------------------
2258 //! @SYMTestCaseID PBASE-T_CFILEMAN-0948
2259 //! @SYMTestType CIT
2261 //! @SYMAPI CFileMan::Copy() (overloaded Copy)
2262 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
2263 //! Copy file 'FILE01.TXT'from source to target .
2264 //! @SYMTestActions Copies the specified file from source to the target.
2265 //! @SYMTestExpectedResults 1.KErrNone in success case
2266 //! @SYMTestPriority High
2267 //! @SYMTestStatus Implemented
2268 //---------------------------------------------
2271 {948, ECFMCopyHandle, 0, KErrNone, KErrNone, KErrNone},
2272 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
2273 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2274 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2275 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2276 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2277 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
2280 //---------------------------------------------
2281 //! @SYMTestCaseID PBASE-T_CFILEMAN-0949
2282 //! @SYMTestType CIT
2284 //! @SYMAPI CFileMan::Copy() (overloaded Copy)
2285 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
2286 //! Copy file 'FILE01.TXT'from source to target .
2287 //! @SYMTestActions Copy does not happen, returns the error code.
2288 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
2289 //! @SYMTestPriority High
2290 //! @SYMTestStatus Implemented
2291 //---------------------------------------------
2294 {949, ECFMCopyHandle, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
2295 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
2296 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2297 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2298 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2299 (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
2300 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
2304 //---------------------------------------------
2305 //! @SYMTestCaseID PBASE-T_CFILEMAN-0950
2306 //! @SYMTestType CIT
2308 //! @SYMAPI CFileMan::Copy() (overloaded Copy)
2309 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
2310 //! Copy file 'FILE01.TXT'from source to target .
2311 //! @SYMTestActions Copies the specified file from source to the target.
2312 //! @SYMTestExpectedResults 1.KErrNone in success case
2313 //! @SYMTestPriority High
2314 //! @SYMTestStatus Implemented
2315 //---------------------------------------------
2318 {950, ECFMCopyHandle, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
2319 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
2320 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2321 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2322 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2323 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2324 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
2328 //---------------------------------------------
2329 //! @SYMTestCaseID PBASE-T_CFILEMAN-0951
2330 //! @SYMTestType CIT
2332 //! @SYMAPI CFileMan::Copy() (overloaded Copy)
2333 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
2334 //! Copy file 'FILE01.TXT'from source to target .
2335 //! @SYMTestActions Copies the specified file from source to the target.
2336 //! @SYMTestExpectedResults 1.KErrNone in success case
2337 //! @SYMTestPriority High
2338 //! @SYMTestStatus Implemented
2339 //---------------------------------------------
2342 {951, ECFMCopyHandle, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
2343 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
2344 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2345 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2346 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2347 (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
2348 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
2351 //---------------------------------------------
2352 //! @SYMTestCaseID PBASE-T_CFILEMAN-0952
2353 //! @SYMTestType CIT
2355 //! @SYMAPI CFileMan::Copy() (overloaded Copy)
2356 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
2357 //! Copy file 'FILE01.TXT'from source to target .
2358 //! @SYMTestActions Copies the specified file from source to the target.
2359 //! @SYMTestExpectedResults 1.KErrNone in success case
2360 //! @SYMTestPriority High
2361 //! @SYMTestStatus Implemented
2362 //---------------------------------------------
2365 {952, ECFMCopyHandle, 0, KErrNone, KErrNone, KErrNone},
2366 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
2367 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2368 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2369 {&gDriveToTest, (TText*)L"",
2370 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
2371 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
2375 //---------------------------------------------
2376 //! @SYMTestCaseID PBASE-T_CFILEMAN-0953
2377 //! @SYMTestType CIT
2379 //! @SYMAPI CFileMan::Copy() (overloaded Copy)
2380 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
2381 //! Copy files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
2382 //! @SYMTestActions Copies the specified file from source to the target.
2383 //! @SYMTestExpectedResults 1.KErrNone in success case
2384 //! @SYMTestPriority High
2385 //! @SYMTestStatus Implemented
2386 //---------------------------------------------
2389 {953, ECFMCopyHandle, 0, KErrNone, KErrNone, KErrNone},
2390 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
2391 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2392 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2393 {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
2394 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2395 (TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
2398 //---------------------------------------------
2399 //! @SYMTestCaseID PBASE-T_CFILEMAN-0954
2400 //! @SYMTestType CIT
2402 //! @SYMAPI CFileMan::Copy() (overloaded Copy)
2403 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,EmpTar' option
2404 //! Copy from Src to same Src location .
2405 //! @SYMTestActions Copies the specified file from source to the target.
2406 //! @SYMTestExpectedResults 1.KErrNone in success case
2407 //! @SYMTestPriority High
2408 //! @SYMTestStatus Implemented
2409 //---------------------------------------------
2412 {954, ECFMCopyHandle, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
2413 {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
2414 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2415 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2416 {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
2417 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
2418 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
2421 //Basic Negative test case for Copy:
2422 //---------------------------------------------
2423 //! @SYMTestCaseID PBASE-T_CFILEMAN-0970
2424 //! @SYMTestType CIT
2426 //! @SYMAPI CFileMan::Copy()
2427 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
2428 //! Copy a directory with longpath name from Src to the target.
2429 //! @SYMTestActions Copy does not happen, returns the error code.
2430 //! @SYMTestExpectedResults 1.KErrBadName in success case
2431 //! @SYMTestPriority High
2432 //! @SYMTestStatus Implemented
2433 //---------------------------------------------
2436 {970, ECFMCopy, 0, KErrBadName, KErrBadName, KErrBadName},
2437 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\\\",
2438 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
2439 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
2440 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2441 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2442 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
2446 //---------------------------------------------
2447 //! @SYMTestCaseID PBASE-T_CFILEMAN-0971
2448 //! @SYMTestType CIT
2450 //! @SYMAPI CFileMan::Copy()
2451 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
2452 //! Copy a file with longname from Src to the target.
2453 //! @SYMTestActions Copy does not happen, returns the error code.
2454 //! @SYMTestExpectedResults 1.KErrBadName in success case
2455 //! @SYMTestPriority High
2456 //! @SYMTestStatus Implemented
2457 //---------------------------------------------
2460 {971, ECFMCopy, 0, KErrBadName, KErrBadName, KErrBadName},
2461 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asfdsa21asfdsa22asfdsa23asfdsa24asfdsa25asfdsa26",
2462 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
2463 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
2464 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2465 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2466 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
2469 //---------------------------------------------
2470 //! @SYMTestCaseID PBASE-T_CFILEMAN-0972
2471 //! @SYMTestType CIT
2473 //! @SYMAPI CFileMan::Copy()
2474 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
2475 //! Copy a directory from non available Src drive to the target.
2476 //! @SYMTestActions Copy does not happen, returns the error code.
2477 //! @SYMTestExpectedResults 1.KErrNotReady in success case
2478 //! @SYMTestPriority High
2479 //! @SYMTestStatus Implemented
2480 //---------------------------------------------
2483 {972, ECFMCopy, 0, KErrNotReady, KErrNone, KErrNotReady},
2484 {&gFixedDriveNotReady, (TText*)L"?:\\Src\\",
2485 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
2486 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
2487 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2488 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2489 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
2492 //---------------------------------------------
2493 //! @SYMTestCaseID PBASE-T_CFILEMAN-0973
2494 //! @SYMTestType CIT
2496 //! @SYMAPI CFileMan::Copy()
2497 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
2498 //! Copy a directory from Src drive to the non available target.
2499 //! @SYMTestActions Copy does not happen, returns the error code.
2500 //! @SYMTestExpectedResults 1.KErrNotReady in success case
2501 //! @SYMTestPriority High
2502 //! @SYMTestStatus Implemented
2503 //---------------------------------------------
2506 {973, ECFMCopy, 0, KErrNotReady, KErrNone, KErrNotReady},
2507 {&gDriveToTest, (TText*)L"?:\\Src\\",
2508 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2509 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2510 {&gFixedDriveNotReady, (TText*)L"?:\\Trg\\",
2511 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2512 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
2515 //---------------------------------------------
2516 //! @SYMTestCaseID PBASE-T_CFILEMAN-0974
2517 //! @SYMTestType CIT
2519 //! @SYMAPI CFileMan::Copy()
2520 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
2521 //! Copy a directory from Src drive to the Readonly target drive.
2522 //! @SYMTestActions Copy does not happen, returns the error code.
2523 //! @SYMTestExpectedResults 1.KErrAccessDenied in success case
2524 //! @SYMTestPriority High
2525 //! @SYMTestStatus Implemented
2526 //---------------------------------------------
2529 {974, ECFMCopy, 0, KErrAccessDenied, KErrNone, KErrAccessDenied},
2530 {&gDriveToTest, (TText*)L"?:\\Src\\",
2531 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2532 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2533 {&gFixedDriveReadOnly, (TText*)L"?:\\test\\",
2534 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2535 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
2538 //---------------------------------------------
2539 //! @SYMTestCaseID PBASE-T_CFILEMAN-0975
2540 //! @SYMTestType CIT
2542 //! @SYMAPI CFileMan::Copy()
2543 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
2544 //! Copy a directory from non available Src directory to the target.
2545 //! @SYMTestActions Copy does not happen, returns the error code.
2546 //! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
2547 //! @SYMTestPriority High
2548 //! @SYMTestStatus Implemented
2549 //---------------------------------------------
2552 {975, ECFMCopy, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
2553 {&gFixedDriveValid, (TText*)L"?:\\src\\NODIR\\",
2554 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2555 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2556 {&gDriveToTest, (TText*)L"?:\\test\\",
2557 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
2558 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
2561 //---------------------------------------------
2562 //! @SYMTestCaseID PBASE-T_CFILEMAN-0976
2563 //! @SYMTestType CIT
2565 //! @SYMAPI CFileMan::Copy()
2566 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
2567 //! Copy a directory from non available Src directory to the target.
2568 //! @SYMTestActions Copy does not happen, returns the error code.
2569 //! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
2570 //! @SYMTestPriority High
2571 //! @SYMTestStatus Implemented
2572 //---------------------------------------------
2575 {976, ECFMCopy, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
2576 {&gFixedDriveValid, (TText*)L"?:\\Src\\Dir1\\",
2577 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2578 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2579 {&gDriveToTest, (TText*)L"?:\\Trg\\test\\",
2580 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
2581 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
2584 //---------------------------------------------
2585 //! @SYMTestCaseID PBASE-T_CFILEMAN-0977
2586 //! @SYMTestType CIT
2588 //! @SYMAPI CFileMan::Copy()
2589 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
2590 //! Copy a invaid directory path from Src directory to the target.
2591 //! @SYMTestActions Copy does not happen, returns the error code.
2592 //! @SYMTestExpectedResults 1.KErrBadName in success case.
2593 //! @SYMTestPriority High
2594 //! @SYMTestStatus Implemented
2595 //---------------------------------------------
2598 {977, ECFMCopy, 0, KErrBadName, KErrNone, KErrBadName},
2599 {&gFixedDriveValid, (TText*)L"::C:",
2600 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
2601 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
2602 {&gDriveToTest, (TText*)L"?:\\test\\",
2603 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2604 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
2607 //---------------------------------------------
2608 //! @SYMTestCaseID PBASE-T_CFILEMAN-0979
2609 //! @SYMTestType CIT
2611 //! @SYMAPI CFileMan::Copy()
2612 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
2613 //! Copy a invaid directory path with single from Src directory to the target.
2614 //! @SYMTestActions Copy does not happen, returns the error code.
2615 //! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
2616 //! @SYMTestPriority High
2617 //! @SYMTestStatus Implemented
2618 //---------------------------------------------
2621 {979, ECFMCopy, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
2622 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01zz.txt\\",
2623 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2624 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2625 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2626 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2627 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
2630 //---------------------------------------------
2631 //! @SYMTestCaseID PBASE-T_CFILEMAN-0980
2632 //! @SYMTestType CIT
2634 //! @SYMAPI CFileMan::Copy()
2635 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
2636 //! Copy files from Src directory to the non available target directory.
2637 //! @SYMTestActions Copy does not happen, returns the error code.
2638 //! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
2639 //! @SYMTestPriority High
2640 //! @SYMTestStatus Implemented
2641 //---------------------------------------------
2644 {980, ECFMCopy, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
2645 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\*.*",
2646 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2647 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2648 {&gDriveToTest, (TText*)L"?:\\Trg\\Dummy\\",
2649 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2650 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
2653 //---------------------------------------------
2654 //! @SYMTestCaseID PBASE-T_CFILEMAN-0981
2655 //! @SYMTestType CIT
2657 //! @SYMAPI CFileMan::Copy()
2658 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,emp-Tar' option
2659 //! Copy files from Src directory to the target directory with a long paths.
2660 //! @SYMTestActions Copy does not happen, returns the error code.
2661 //! @SYMTestExpectedResults 1.KErrBadName in success case.
2662 //! @SYMTestPriority High
2663 //! @SYMTestStatus Implemented
2664 //---------------------------------------------
2667 {981, ECFMCopy, 0, KErrBadName, KErrBadName, KErrBadName},
2668 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
2669 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
2670 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
2671 {&gDriveToTest, (TText*)L"?:\\Trg\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\",
2672 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2673 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
2676 //---------------------------------------------
2677 //! @SYMTestCaseID PBASE-T_CFILEMAN-0982
2678 //! @SYMTestType CIT
2680 //! @SYMAPI CFileMan::Move()
2681 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
2682 //! Move a file 'FILE01.TXT' from source to the target.
2683 //! @SYMTestActions Moves specified files from source to the target.
2684 //! @SYMTestExpectedResults 1.KErrNone in success case
2685 //! @SYMTestPriority High
2686 //! @SYMTestStatus Implemented
2687 //---------------------------------------------
2690 {982, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
2691 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
2692 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2693 (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
2694 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2695 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2696 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
2699 //---------------------------------------------
2700 //! @SYMTestCaseID PBASE-T_CFILEMAN-0983
2701 //! @SYMTestType CIT
2703 //! @SYMAPI CFileMan::Move()
2704 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
2705 //! Move files with wildcard combination '*.*' from source to the target.
2706 //! @SYMTestActions Moves specified files from source to the target.
2707 //! @SYMTestExpectedResults 1.KErrNone in success case
2708 //! @SYMTestPriority High
2709 //! @SYMTestStatus Implemented
2710 //---------------------------------------------
2713 {983, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
2714 {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
2715 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2716 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
2717 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2718 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2719 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
2722 //---------------------------------------------
2723 //! @SYMTestCaseID PBASE-T_CFILEMAN-0984
2724 //! @SYMTestType CIT
2726 //! @SYMAPI CFileMan::Move()
2727 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
2728 //! Move files with wildcard combination 'FILE*.TXT' from source to the target.
2729 //! @SYMTestActions Moves specified files from source to the target.
2730 //! @SYMTestExpectedResults 1.KErrNone in success case
2731 //! @SYMTestPriority High
2732 //! @SYMTestStatus Implemented
2733 //---------------------------------------------
2736 {984, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
2737 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
2738 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2739 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
2740 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2741 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2742 (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
2745 //---------------------------------------------
2746 //! @SYMTestCaseID PBASE-T_CFILEMAN-0985
2747 //! @SYMTestType CIT
2749 //! @SYMAPI CFileMan::Move()
2750 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
2751 //! Move files with wildcard combination 'FILE?.TXT' from source to the target.
2752 //! @SYMTestActions Moves specified files from source to the target.
2753 //! @SYMTestExpectedResults 1.KErrNone in success case
2754 //! @SYMTestPriority High
2755 //! @SYMTestStatus Implemented
2756 //---------------------------------------------
2759 {985, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
2760 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
2761 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2762 (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
2763 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2764 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2765 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
2768 //---------------------------------------------
2769 //! @SYMTestCaseID PBASE-T_CFILEMAN-0986
2770 //! @SYMTestType CIT
2772 //! @SYMAPI CFileMan::Move()
2773 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
2774 //! Move files with wildcard combination '*.TXT' from source to the target.
2775 //! @SYMTestActions Moves specified files from source to the target.
2776 //! @SYMTestExpectedResults 1.KErrNone in success case
2777 //! @SYMTestPriority High
2778 //! @SYMTestStatus Implemented
2779 //---------------------------------------------
2782 {986, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
2783 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
2784 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2785 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK29}},
2786 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2787 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2788 (TText*)L"?:\\TrgCom\\", {BLOCK29, EMPTY}}
2791 //---------------------------------------------
2792 //! @SYMTestCaseID PBASE-T_CFILEMAN-0987
2793 //! @SYMTestType CIT
2795 //! @SYMAPI CFileMan::Move()
2796 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
2797 //! Move files with wildcard combination 'FILE.*' from source to the target.
2798 //! @SYMTestActions Moves specified files from source to the target.
2799 //! @SYMTestExpectedResults 1.KErrNone in success case
2800 //! @SYMTestPriority High
2801 //! @SYMTestStatus Implemented
2802 //---------------------------------------------
2805 {987, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
2806 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
2807 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2808 (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
2809 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2810 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
2811 (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
2815 //---------------------------------------------
2816 //! @SYMTestCaseID PBASE-T_CFILEMAN-0988
2817 //! @SYMTestType CIT
2819 //! @SYMAPI CFileMan::Move()
2820 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
2821 //! Move files with combination 'FILE01.TXT' from source to the target.
2822 //! @SYMTestActions Move does not happen just returns the error code.
2823 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
2824 //! @SYMTestPriority High
2825 //! @SYMTestStatus Implemented
2826 //---------------------------------------------
2829 {988, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
2830 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
2831 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2832 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2833 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2834 (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
2835 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
2838 //---------------------------------------------
2839 //! @SYMTestCaseID PBASE-T_CFILEMAN-0989
2840 //! @SYMTestType CIT
2842 //! @SYMAPI CFileMan::Move()
2843 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
2844 //! Move files with combination '*.*' from source to the target.
2845 //! @SYMTestActions Move does not happen just returns the error code.
2846 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
2847 //! @SYMTestPriority High
2848 //! @SYMTestStatus Implemented
2849 //---------------------------------------------
2852 {989, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
2853 {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
2854 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2855 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2856 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2857 (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
2858 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
2861 //---------------------------------------------
2862 //! @SYMTestCaseID PBASE-T_CFILEMAN-0990
2863 //! @SYMTestType CIT
2865 //! @SYMAPI CFileMan::Move()
2866 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
2867 //! Move files with combination 'FILE*.TXT' from source to the target.
2868 //! @SYMTestActions Move does not happen just returns the error code.
2869 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
2870 //! @SYMTestPriority High
2871 //! @SYMTestStatus Implemented
2872 //---------------------------------------------
2875 {990, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
2876 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
2877 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2878 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2879 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2880 (TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
2881 (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
2884 //---------------------------------------------
2885 //! @SYMTestCaseID PBASE-T_CFILEMAN-0991
2886 //! @SYMTestType CIT
2888 //! @SYMAPI CFileMan::Move()
2889 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
2890 //! Move files with combination 'FILE?.TXT' from source to the target.
2891 //! @SYMTestActions Move does not happen just returns the error code.
2892 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
2893 //! @SYMTestPriority High
2894 //! @SYMTestStatus Implemented
2895 //---------------------------------------------
2898 {991, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
2899 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
2900 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2901 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2902 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2903 (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
2904 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
2907 //---------------------------------------------
2908 //! @SYMTestCaseID PBASE-T_CFILEMAN-0992
2909 //! @SYMTestType CIT
2911 //! @SYMAPI CFileMan::Move()
2912 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
2913 //! Move files with combination '*.TXT' from source to the target.
2914 //! @SYMTestActions Move does not happen just returns the error code.
2915 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
2916 //! @SYMTestPriority High
2917 //! @SYMTestStatus Implemented
2918 //---------------------------------------------
2921 {992, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
2922 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
2923 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2924 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2925 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2926 (TText*)L"?:\\Trg\\", {BLOCK29, EMPTY},
2927 (TText*)L"?:\\TrgCom\\", {BLOCK29, EMPTY}}
2930 //---------------------------------------------
2931 //! @SYMTestCaseID PBASE-T_CFILEMAN-0993
2932 //! @SYMTestType CIT
2934 //! @SYMAPI CFileMan::Move()
2935 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
2936 //! Move files with combination 'FILE.*' from source to the target.
2937 //! @SYMTestActions Move does not happen just returns the error code.
2938 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
2939 //! @SYMTestPriority High
2940 //! @SYMTestStatus Implemented
2941 //---------------------------------------------
2944 {993, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
2945 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
2946 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2947 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
2948 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2949 (TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
2950 (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
2953 //---------------------------------------------
2954 //! @SYMTestCaseID PBASE-T_CFILEMAN-0994
2955 //! @SYMTestType CIT
2957 //! @SYMAPI CFileMan::Move()
2958 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
2959 //! Move files with combination 'FILE01.TXT' from source to the target.
2960 //! @SYMTestActions Moves the specified files from source to the target.
2961 //! @SYMTestExpectedResults 1.KErrNone in success case
2962 //! @SYMTestPriority High
2963 //! @SYMTestStatus Implemented
2964 //---------------------------------------------
2967 {994, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
2968 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
2969 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2970 (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
2971 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2972 (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
2973 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
2976 //---------------------------------------------
2977 //! @SYMTestCaseID PBASE-T_CFILEMAN-0995
2978 //! @SYMTestType CIT
2980 //! @SYMAPI CFileMan::Move()
2981 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
2982 //! Move files with combination '*.*' from source to the target.
2983 //! @SYMTestActions Moves the specified files from source to the target.
2984 //! @SYMTestExpectedResults 1.KErrNone in success case
2985 //! @SYMTestPriority High
2986 //! @SYMTestStatus Implemented
2987 //---------------------------------------------
2990 {995, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
2991 {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
2992 (TText*)L"?:\\Src\\", {ALL, EMPTY},
2993 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
2994 {&gDriveToTest, (TText*)L"?:\\Trg\\",
2995 (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
2996 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
2999 //---------------------------------------------
3000 //! @SYMTestCaseID PBASE-T_CFILEMAN-0996
3001 //! @SYMTestType CIT
3003 //! @SYMAPI CFileMan::Move()
3004 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
3005 //! Move files with combination 'FILE*.TXT' from source to the target.
3006 //! @SYMTestActions Moves the specified files from source to the target.
3007 //! @SYMTestExpectedResults 1.KErrNone in success case
3008 //! @SYMTestPriority High
3009 //! @SYMTestStatus Implemented
3010 //---------------------------------------------
3013 {996, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
3014 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
3015 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3016 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
3017 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3018 (TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
3019 (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
3022 //---------------------------------------------
3023 //! @SYMTestCaseID PBASE-T_CFILEMAN-0997
3024 //! @SYMTestType CIT
3026 //! @SYMAPI CFileMan::Move()
3027 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
3028 //! Move files with combination 'FILE?.TXT' from source to the target.
3029 //! @SYMTestActions Moves the specified files from source to the target.
3030 //! @SYMTestExpectedResults 1.KErrNone in success case
3031 //! @SYMTestPriority High
3032 //! @SYMTestStatus Implemented
3033 //---------------------------------------------
3036 {997, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
3037 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
3038 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3039 (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
3040 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3041 (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
3042 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
3045 //---------------------------------------------
3046 //! @SYMTestCaseID PBASE-T_CFILEMAN-0998
3047 //! @SYMTestType CIT
3049 //! @SYMAPI CFileMan::Move()
3050 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
3051 //! Move files with combination '*.TXT' from source to the target.
3052 //! @SYMTestActions Moves the specified files from source to the target.
3053 //! @SYMTestExpectedResults 1.KErrNone in success case
3054 //! @SYMTestPriority High
3055 //! @SYMTestStatus Implemented
3056 //---------------------------------------------
3059 {998, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
3060 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
3061 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3062 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK29}},
3063 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3064 (TText*)L"?:\\Trg\\", {BLOCK29, EMPTY},
3065 (TText*)L"?:\\TrgCom\\", {BLOCK29, EMPTY}}
3068 //---------------------------------------------
3069 //! @SYMTestCaseID PBASE-T_CFILEMAN-0999
3070 //! @SYMTestType CIT
3072 //! @SYMAPI CFileMan::Move()
3073 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
3074 //! Move files with combination 'FILE.*' from source to the target.
3075 //! @SYMTestActions Moves the specified files from source to the target.
3076 //! @SYMTestExpectedResults 1.KErrNone in success case
3077 //! @SYMTestPriority High
3078 //! @SYMTestStatus Implemented
3079 //---------------------------------------------
3082 {999, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
3083 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
3084 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3085 (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
3086 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3087 (TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
3088 (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
3091 //---------------------------------------------
3092 //! @SYMTestCaseID PBASE-T_CFILEMAN-1000
3093 //! @SYMTestType CIT
3095 //! @SYMAPI CFileMan::Move()
3096 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
3097 //! Move files with combination 'FILE01.TXT' from source to the target.
3098 //! @SYMTestActions Moves the specified files from source to the target.
3099 //! @SYMTestExpectedResults 1.KErrNone in success case
3100 //! @SYMTestPriority High
3101 //! @SYMTestStatus Implemented
3102 //---------------------------------------------
3105 {1000, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
3106 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
3107 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3108 (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
3109 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3110 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3111 (TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
3114 //---------------------------------------------
3115 //! @SYMTestCaseID PBASE-T_CFILEMAN-1001
3116 //! @SYMTestType CIT
3118 //! @SYMAPI CFileMan::Move()
3119 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
3120 //! Move files with combination 'FILE01.TXT' from source to the target.
3121 //! @SYMTestActions Moves the specified files from source to the target.
3122 //! @SYMTestExpectedResults 1.KErrNone in success case
3123 //! @SYMTestPriority High
3124 //! @SYMTestStatus Implemented
3125 //---------------------------------------------
3128 {1001, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
3129 {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
3130 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3131 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
3132 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3133 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3134 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
3137 //---------------------------------------------
3138 //! @SYMTestCaseID PBASE-T_CFILEMAN-1002
3139 //! @SYMTestType CIT
3141 //! @SYMAPI CFileMan::Move()
3142 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
3143 //! Move files with combination 'FILE*.TXT' from source to the target.
3144 //! @SYMTestActions Moves the specified files from source to the target.
3145 //! @SYMTestExpectedResults 1.KErrNone in success case
3146 //! @SYMTestPriority High
3147 //! @SYMTestStatus Implemented
3148 //---------------------------------------------
3151 {1002, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
3152 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
3153 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3154 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK05}},
3155 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3156 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3157 (TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
3160 //---------------------------------------------
3161 //! @SYMTestCaseID PBASE-T_CFILEMAN-1003
3162 //! @SYMTestType CIT
3164 //! @SYMAPI CFileMan::Move()
3165 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
3166 //! Move files with combination 'FILE?.TXT' from source to the target.
3167 //! @SYMTestActions Moves the specified files from source to the target.
3168 //! @SYMTestExpectedResults 1.KErrNone in success case
3169 //! @SYMTestPriority High
3170 //! @SYMTestStatus Implemented
3171 //---------------------------------------------
3174 {1003, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
3175 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
3176 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3177 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
3178 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3179 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3180 (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
3183 //---------------------------------------------
3184 //! @SYMTestCaseID PBASE-T_CFILEMAN-1004
3185 //! @SYMTestType CIT
3187 //! @SYMAPI CFileMan::Move()
3188 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
3189 //! Move files with combination '*.TXT' from source to the target.
3190 //! @SYMTestActions Moves the specified files from source to the target.
3191 //! @SYMTestExpectedResults 1.KErrNone in success case
3192 //! @SYMTestPriority High
3193 //! @SYMTestStatus Implemented
3194 //---------------------------------------------
3197 {1004, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
3198 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
3199 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3200 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK34}},
3201 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3202 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3203 (TText*)L"?:\\TrgCom\\", {BLOCK34, EMPTY}}
3206 //---------------------------------------------
3207 //! @SYMTestCaseID PBASE-T_CFILEMAN-1005
3208 //! @SYMTestType CIT
3210 //! @SYMAPI CFileMan::Move()
3211 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
3212 //! Move files with combination 'FILE.*' from source to the target.
3213 //! @SYMTestActions Moves the specified files from source to the target.
3214 //! @SYMTestExpectedResults 1.KErrNone in success case
3215 //! @SYMTestPriority High
3216 //! @SYMTestStatus Implemented
3217 //---------------------------------------------
3220 {1005, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
3221 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
3222 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3223 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK35}},
3224 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3225 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3226 (TText*)L"?:\\TrgCom\\", {BLOCK35, EMPTY}}
3229 //---------------------------------------------
3230 //! @SYMTestCaseID PBASE-T_CFILEMAN-1006
3231 //! @SYMTestType CIT
3233 //! @SYMAPI CFileMan::Move()
3234 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
3235 //! Move files with combination 'FILE01.TXT' from source to the target.
3236 //! @SYMTestActions Move does not happen just returns the error code.
3237 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3238 //! @SYMTestPriority High
3239 //! @SYMTestStatus Implemented
3240 //---------------------------------------------
3243 {1006, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
3244 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
3245 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3246 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3247 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3248 (TText*)L"?:\\Trg\\", {{2,11,20,29,38,EOB}, EMPTY},
3249 (TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
3252 //---------------------------------------------
3253 //! @SYMTestCaseID PBASE-T_CFILEMAN-1007
3254 //! @SYMTestType CIT
3256 //! @SYMAPI CFileMan::Move()
3257 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
3258 //! Move files with combination '*.*' from source to the target.
3259 //! @SYMTestActions Move does not happen just returns the error code.
3260 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3261 //! @SYMTestPriority High
3262 //! @SYMTestStatus Implemented
3263 //---------------------------------------------
3266 {1007, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
3267 {&gFixedDriveValid, (TText*)L"?:\\Src\\*",
3268 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3269 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3270 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3271 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
3272 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
3275 //---------------------------------------------
3276 //! @SYMTestCaseID PBASE-T_CFILEMAN-1008
3277 //! @SYMTestType CIT
3279 //! @SYMAPI CFileMan::Move()
3280 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
3281 //! Move files with combination 'FILE*.TXT' from source to the target.
3282 //! @SYMTestActions Move does not happen just returns the error code.
3283 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3284 //! @SYMTestPriority High
3285 //! @SYMTestStatus Implemented
3286 //---------------------------------------------
3289 {1008, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
3290 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
3291 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3292 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3293 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3294 (TText*)L"?:\\Trg\\", {BLOCK05, EMPTY},
3295 (TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
3298 //---------------------------------------------
3299 //! @SYMTestCaseID PBASE-T_CFILEMAN-1009
3300 //! @SYMTestType CIT
3302 //! @SYMAPI CFileMan::Move()
3303 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
3304 //! Move files with combination 'FILE?.TXT' from source to the target.
3305 //! @SYMTestActions Move does not happen just returns the error code.
3306 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3307 //! @SYMTestPriority High
3308 //! @SYMTestStatus Implemented
3309 //---------------------------------------------
3312 {1009, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
3313 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
3314 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3315 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3316 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3317 (TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
3318 (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
3321 //---------------------------------------------
3322 //! @SYMTestCaseID PBASE-T_CFILEMAN-1010
3323 //! @SYMTestType CIT
3325 //! @SYMAPI CFileMan::Move()
3326 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
3327 //! Move files with combination '*.TXT' from source to the target.
3328 //! @SYMTestActions Move does not happen just returns the error code.
3329 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3330 //! @SYMTestPriority High
3331 //! @SYMTestStatus Implemented
3332 //---------------------------------------------
3335 {1010, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
3336 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
3337 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3338 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3339 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3340 (TText*)L"?:\\Trg\\", {BLOCK34, EMPTY},
3341 (TText*)L"?:\\TrgCom\\", {BLOCK34, EMPTY}}
3344 //---------------------------------------------
3345 //! @SYMTestCaseID PBASE-T_CFILEMAN-1011
3346 //! @SYMTestType CIT
3348 //! @SYMAPI CFileMan::Move()
3349 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
3350 //! Move files with combination 'FILE.*' from source to the target.
3351 //! @SYMTestActions Move does not happen just returns the error code.
3352 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3353 //! @SYMTestPriority High
3354 //! @SYMTestStatus Implemented
3355 //---------------------------------------------
3358 {1011, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
3359 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
3360 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3361 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3362 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3363 (TText*)L"?:\\Trg\\", {BLOCK35, EMPTY},
3364 (TText*)L"?:\\TrgCom\\", {BLOCK35, EMPTY}}
3367 //---------------------------------------------
3368 //! @SYMTestCaseID PBASE-T_CFILEMAN-1012
3369 //! @SYMTestType CIT
3371 //! @SYMAPI CFileMan::Move()
3372 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
3373 //! Move files with combination 'FILE01.TXT' from source to the target.
3374 //! @SYMTestActions Moves the specified files from source to the target.
3375 //! @SYMTestExpectedResults 1.KErrNone in success case.
3376 //! @SYMTestPriority High
3377 //! @SYMTestStatus Implemented
3378 //---------------------------------------------
3381 {1012, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
3382 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
3383 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3384 (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
3385 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3386 (TText*)L"?:\\Trg\\", {{2,11,20,29,38,EOB}, EMPTY},
3387 (TText*)L"?:\\TrgCom\\", {{2,11,20,29,38,EOB}, EMPTY}}
3390 //---------------------------------------------
3391 //! @SYMTestCaseID PBASE-T_CFILEMAN-1013
3392 //! @SYMTestType CIT
3394 //! @SYMTestPurpose CFileMan::Move()
3395 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
3396 //! Move files with combination '*' from source to the target.
3397 //! @SYMTestActions Moves the specified files from source to the target.
3398 //! @SYMTestExpectedResults 1.KErrNone in success case.
3399 //! @SYMTestPriority High
3400 //! @SYMTestStatus Implemented
3401 //---------------------------------------------
3404 {1013, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
3405 {&gDriveToTest, (TText*)L"?:\\Src\\*",
3406 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3407 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
3408 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3409 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
3410 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
3413 //---------------------------------------------
3414 //! @SYMTestCaseID PBASE-T_CFILEMAN-1014
3415 //! @SYMTestType CIT
3417 //! @SYMAPI CFileMan::Move()
3418 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
3419 //! Move files with combination 'FILE*.TXT' from source to the target.
3420 //! @SYMTestActions Moves the specified files from source to the target.
3421 //! @SYMTestExpectedResults 1.KErrNone in success case.
3422 //! @SYMTestPriority High
3423 //! @SYMTestStatus Implemented
3424 //---------------------------------------------
3427 {1014, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
3428 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE*.TXT",
3429 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3430 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK05}},
3431 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3432 (TText*)L"?:\\Trg\\", {BLOCK05, EMPTY},
3433 (TText*)L"?:\\TrgCom\\", {BLOCK05, EMPTY}}
3436 //---------------------------------------------
3437 //! @SYMTestCaseID PBASE-T_CFILEMAN-1015
3438 //! @SYMTestType CIT
3440 //! @SYMAPI CFileMan::Move()
3441 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
3442 //! Move files with combination 'FILE?.TXT' from source to the target.
3443 //! @SYMTestActions Moves the specified files from source to the target.
3444 //! @SYMTestExpectedResults 1.KErrNone in success case.
3445 //! @SYMTestPriority High
3446 //! @SYMTestStatus Implemented
3447 //---------------------------------------------
3450 {1015, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
3451 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE?.TXT",
3452 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3453 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
3454 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3455 (TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
3456 (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
3459 //---------------------------------------------
3460 //! @SYMTestCaseID PBASE-T_CFILEMAN-1016
3461 //! @SYMTestType CIT
3463 //! @SYMAPI CFileMan::Move()
3464 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
3465 //! Move files with combination '*.TXT' from source to the target.
3466 //! @SYMTestActions Moves the specified files from source to the target.
3467 //! @SYMTestExpectedResults 1.KErrNone in success case.
3468 //! @SYMTestPriority High
3469 //! @SYMTestStatus Implemented
3470 //---------------------------------------------
3473 {1016, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
3474 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
3475 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3476 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK34}},
3477 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3478 (TText*)L"?:\\Trg\\", {BLOCK34, EMPTY},
3479 (TText*)L"?:\\TrgCom\\", {BLOCK34, EMPTY}}
3482 //---------------------------------------------
3483 //! @SYMTestCaseID PBASE-T_CFILEMAN-1017
3484 //! @SYMTestType CIT
3486 //! @SYMAPI CFileMan::Move()
3487 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
3488 //! Move files with combination 'FILE.*' from source to the target.
3489 //! @SYMTestActions Moves the specified files from source to the target.
3490 //! @SYMTestExpectedResults 1.KErrNone in success case.
3491 //! @SYMTestPriority High
3492 //! @SYMTestStatus Implemented
3493 //---------------------------------------------
3496 {1017, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
3497 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
3498 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3499 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK35}},
3500 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3501 (TText*)L"?:\\Trg\\", {BLOCK35, EMPTY},
3502 (TText*)L"?:\\TrgCom\\", {BLOCK35, EMPTY}}
3505 //---------------------------------------------
3506 //! @SYMTestCaseID PBASE-T_CFILEMAN-1018
3507 //! @SYMTestType CIT
3509 //! @SYMAPI CFileMan::Move()
3510 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
3511 //! Move files from Src directory without backward slash to the target.
3512 //! @SYMTestActions Moves the specified files from source to the target.
3513 //! @SYMTestExpectedResults 1.KErrNone in success case.
3514 //! @SYMTestPriority High
3515 //! @SYMTestStatus Implemented
3516 //---------------------------------------------
3519 {1018, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
3520 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
3521 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3522 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
3523 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3524 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3525 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
3528 //---------------------------------------------
3529 //! @SYMTestCaseID PBASE-T_CFILEMAN-1019
3530 //! @SYMTestType CIT
3532 //! @SYMAPI CFileMan::Move()
3533 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
3534 //! Move files from Src directory without backward slash to the target directory without backward slash.
3535 //! @SYMTestActions Moves the specified files from source to the target.
3536 //! @SYMTestExpectedResults 1.KErrNone in success case.
3537 //! @SYMTestPriority High
3538 //! @SYMTestStatus Implemented
3539 //---------------------------------------------
3542 {1019, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
3543 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
3544 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3545 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
3546 {&gDriveToTest, (TText*)L"?:\\Trg",
3547 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3548 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
3551 //---------------------------------------------
3552 //! @SYMTestCaseID PBASE-T_CFILEMAN-1020
3553 //! @SYMTestType CIT
3555 //! @SYMAPI CFileMan::Move()
3556 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
3557 //! Move files from Src to the unspecified(NULL) target path.
3558 //! @SYMTestActions Moves the specified files from source to the target.
3559 //! @SYMTestExpectedResults 1.KErrNone in success case.
3560 //! @SYMTestPriority High
3561 //! @SYMTestStatus Implemented
3562 //---------------------------------------------
3565 {1020, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
3566 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
3567 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3568 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
3569 {&gDriveToTest, (TText*)L"",
3570 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
3571 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
3574 //---------------------------------------------
3575 //! @SYMTestCaseID PBASE-T_CFILEMAN-1021
3576 //! @SYMTestType CIT
3578 //! @SYMAPI CFileMan::Move()
3579 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
3580 //! Move files from unspecified(NULL) Src to the target.
3581 //! @SYMTestActions Moves the specified files from source to the target.
3582 //! @SYMTestExpectedResults 1.KErrNone in success case.
3583 //! @SYMTestPriority High
3584 //! @SYMTestStatus Implemented
3585 //---------------------------------------------
3588 {1021, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
3589 {&gFixedDriveValid, (TText*)L"",
3590 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
3591 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
3592 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3593 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3594 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
3597 //---------------------------------------------
3598 //! @SYMTestCaseID PBASE-T_CFILEMAN-1022
3599 //! @SYMTestType CIT
3601 //! @SYMAPI CFileMan::Move()
3602 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
3603 //! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
3604 //! @SYMTestActions Moves the specified files from source to the target.
3605 //! @SYMTestExpectedResults 1.KErrNone in success case.
3606 //! @SYMTestPriority High
3607 //! @SYMTestStatus Implemented
3608 //---------------------------------------------
3611 {1022, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
3612 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
3613 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
3614 (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
3615 {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
3616 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3617 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
3620 //---------------------------------------------
3621 //! @SYMTestCaseID PBASE-T_CFILEMAN-1023
3622 //! @SYMTestType CIT
3624 //! @SYMAPI CFileMan::Move()
3625 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
3626 //! Move files 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
3627 //! @SYMTestActions Moves the specified files from source to the target.
3628 //! @SYMTestExpectedResults 1.KErrNone in success case.
3629 //! @SYMTestPriority High
3630 //! @SYMTestStatus Implemented
3631 //---------------------------------------------
3634 {1023, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
3635 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
3636 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3637 (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
3638 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
3639 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3640 (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
3643 //---------------------------------------------
3644 //! @SYMTestCaseID PBASE-T_CFILEMAN-1026
3645 //! @SYMTestType CIT
3647 //! @SYMAPI CFileMan::Move()
3648 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
3649 //! Move files '*.TXT' from Src and rename file to '*.REN' on the target.
3650 //! @SYMTestActions Moves the specified files from source to the target.
3651 //! @SYMTestExpectedResults 1.KErrNone in success case.
3652 //! @SYMTestPriority High
3653 //! @SYMTestStatus Implemented
3654 //---------------------------------------------
3657 {1026, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
3658 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
3659 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3660 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
3661 {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
3662 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3663 (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
3666 //---------------------------------------------
3667 //! @SYMTestCaseID PBASE-T_CFILEMAN-1027
3668 //! @SYMTestType CIT
3670 //! @SYMAPI CFileMan::Move()
3671 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
3672 //! Move files 'FILE.*' from Src and rename file to 'RENAMED.*' on the target.
3673 //! @SYMTestActions Moves the specified files from source to the target.
3674 //! @SYMTestExpectedResults 1.KErrNone in success case.
3675 //! @SYMTestPriority High
3676 //! @SYMTestStatus Implemented
3677 //---------------------------------------------
3680 {1027, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
3681 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
3682 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3683 (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
3684 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
3685 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3686 (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
3689 //---------------------------------------------
3690 //! @SYMTestCaseID PBASE-T_CFILEMAN-1029
3691 //! @SYMTestType CIT
3693 //! @SYMAPI CFileMan::Move()
3694 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
3695 //! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
3696 //! @SYMTestActions Moves the specified files from source to the target.
3697 //! @SYMTestExpectedResults 1.KErrNone in success case.
3698 //! @SYMTestPriority High
3699 //! @SYMTestStatus Implemented
3700 //---------------------------------------------
3703 {1029, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
3704 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
3705 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
3706 (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
3707 {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
3708 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3709 (TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
3713 //---------------------------------------------
3714 //! @SYMTestCaseID PBASE-T_CFILEMAN-1030
3715 //! @SYMTestType CIT
3717 //! @SYMAPI CFileMan::Move()
3718 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
3719 //! Move files from Src to same Src location.
3720 //! @SYMTestActions Moves the specified files from source to the target.
3721 //! @SYMTestExpectedResults 1.KErrNone in success case.
3722 //! @SYMTestPriority High
3723 //! @SYMTestStatus Implemented
3724 //---------------------------------------------
3727 {1030, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
3728 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
3729 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
3730 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3731 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
3732 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3733 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
3736 //---------------------------------------------
3737 //! @SYMTestCaseID PBASE-T_CFILEMAN-1031
3738 //! @SYMTestType CIT
3740 //! @SYMAPI CFileMan::Move()
3741 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
3742 //! Move files from Src directory without backward slash to the target.
3743 //! @SYMTestActions Move does not happen, returns the error code.
3744 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3745 //! @SYMTestPriority High
3746 //! @SYMTestStatus Implemented
3747 //---------------------------------------------
3750 {1031, ECFMMove, 0, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
3751 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
3752 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3753 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3754 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3755 (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
3756 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
3759 //---------------------------------------------
3760 //! @SYMTestCaseID PBASE-T_CFILEMAN-1032
3761 //! @SYMTestType CIT
3763 //! @SYMAPI CFileMan::Move()
3764 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
3765 //! Move files from Src directory without backward slash to the target directory without backward slash.
3766 //! @SYMTestActions Move does not happen, returns the error code.
3767 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3768 //! @SYMTestPriority High
3769 //! @SYMTestStatus Implemented
3770 //---------------------------------------------
3773 {1032, ECFMMove, 0, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
3774 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
3775 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
3776 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3777 {&gDriveToTest, (TText*)L"?:\\Trg",
3778 (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
3779 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
3782 //---------------------------------------------
3783 //! @SYMTestCaseID PBASE-T_CFILEMAN-1033
3784 //! @SYMTestType CIT
3786 //! @SYMAPI CFileMan::Move()
3787 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
3788 //! Move files from Src to the unspecified(NULL) target path.
3789 //! @SYMTestActions Move does not happen, returns the error code.
3790 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3791 //! @SYMTestPriority High
3792 //! @SYMTestStatus Implemented
3793 //---------------------------------------------
3796 {1033, ECFMMove, 0, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
3797 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
3798 (TText*)L"?:\\SRC\\", {ALL, EMPTY},
3799 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3800 {&gDriveToTest, (TText*)L"",
3801 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
3802 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
3805 //---------------------------------------------
3806 //! @SYMTestCaseID PBASE-T_CFILEMAN-1034
3807 //! @SYMTestType CIT
3809 //! @SYMAPI CFileMan::Move()
3810 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
3811 //! Move files from unspecified(NULL) Src to the target.
3812 //! @SYMTestActions Move does not happen, returns the error code.
3813 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3814 //! @SYMTestPriority High
3815 //! @SYMTestStatus Implemented
3816 //---------------------------------------------
3819 {1034, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
3820 {&gFixedDriveValid, (TText*)L"",
3821 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
3822 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3823 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3824 (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
3825 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
3828 //---------------------------------------------
3829 //! @SYMTestCaseID PBASE-T_CFILEMAN-1035
3830 //! @SYMTestType CIT
3832 //! @SYMAPI CFileMan::Move()
3833 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
3834 //! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
3835 //! @SYMTestActions Move does not happen, returns the error code.
3836 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3837 //! @SYMTestPriority High
3838 //! @SYMTestStatus Implemented
3839 //---------------------------------------------
3842 {1035, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
3843 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
3844 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
3845 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3846 {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
3847 (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
3848 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
3851 //---------------------------------------------
3852 //! @SYMTestCaseID PBASE-T_CFILEMAN-1036
3853 //! @SYMTestType CIT
3855 //! @SYMAPI CFileMan::Move()
3856 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
3857 //! Move files 'FILE01.TXT' from Src and rename file to 'RENAMED.TXT' on the target.
3858 //! @SYMTestActions Move does not happen, returns the error code.
3859 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3860 //! @SYMTestPriority High
3861 //! @SYMTestStatus Implemented
3862 //---------------------------------------------
3865 {1036, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
3866 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
3867 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3868 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3869 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
3870 (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
3871 (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
3874 //---------------------------------------------
3875 //! @SYMTestCaseID PBASE-T_CFILEMAN-1039
3876 //! @SYMTestType CIT
3878 //! @SYMAPI CFileMan::Move()
3879 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
3880 //! Move files '*.TXT' from Src and rename file to '*.REN' on the target.
3881 //! @SYMTestActions Move does not happen, returns the error code.
3882 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3883 //! @SYMTestPriority High
3884 //! @SYMTestStatus Implemented
3885 //---------------------------------------------
3888 {1039, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
3889 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
3890 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3891 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3892 {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
3893 (TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
3894 (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
3897 //---------------------------------------------
3898 //! @SYMTestCaseID PBASE-T_CFILEMAN-1040
3899 //! @SYMTestType CIT
3901 //! @SYMAPI CFileMan::Move()
3902 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
3903 //! Move files 'FILE.*' from Src and rename file to 'RENAMED.*' on the target.
3904 //! @SYMTestActions Move does not happen, returns the error code.
3905 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3906 //! @SYMTestPriority High
3907 //! @SYMTestStatus Implemented
3908 //---------------------------------------------
3911 {1040, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
3912 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
3913 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3914 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3915 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
3916 (TText*)L"?:\\Trg\\", {{44,49,57,EOB}, EMPTY},
3917 (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
3920 //---------------------------------------------
3921 //! @SYMTestCaseID PBASE-T_CFILEMAN-1042
3922 //! @SYMTestType CIT
3924 //! @SYMAPI CFileMan::Move()
3925 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
3926 //! Move files from Src and rename file on the target without wildcard.
3927 //! @SYMTestActions Move does not happen, returns the error code.
3928 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
3929 //! @SYMTestPriority High
3930 //! @SYMTestStatus Implemented
3931 //---------------------------------------------
3934 {1042, ECFMMove, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
3935 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
3936 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
3937 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3938 {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
3939 (TText*)L"?:\\Trg\\", {{5,EOB}, EMPTY},
3940 (TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
3943 //---------------------------------------------
3944 //! @SYMTestCaseID PBASE-T_CFILEMAN-1043
3945 //! @SYMTestType CIT
3947 //! @SYMAPI CFileMan::Move()
3948 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
3949 //! Move files from Src to same Src location.
3950 //! @SYMTestActions Move does not happen, returns the error code.
3951 //! @SYMTestExpectedResults 1.KErrNone in success case.
3952 //! @SYMTestPriority High
3953 //! @SYMTestStatus Implemented
3954 //---------------------------------------------
3957 {1043, ECFMMove, 0, KErrNone, KErrNone, KErrNone},
3958 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
3959 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
3960 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
3961 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
3962 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
3963 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
3966 //---------------------------------------------
3967 //! @SYMTestCaseID PBASE-T_CFILEMAN-1044
3968 //! @SYMTestType CIT
3970 //! @SYMAPI CFileMan::Move()
3971 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
3972 //! Move files from Src directory without backward slash to the target.
3973 //! @SYMTestActions Moves the specified files from source to the target.
3974 //! @SYMTestExpectedResults 1.KErrNone in success case.
3975 //! @SYMTestPriority High
3976 //! @SYMTestStatus Implemented
3977 //---------------------------------------------
3980 {1044, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
3981 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
3982 (TText*)L"?:\\Src\\", {ALL, EMPTY},
3983 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
3984 {&gDriveToTest, (TText*)L"?:\\Trg\\",
3985 (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
3986 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
3989 //---------------------------------------------
3990 //! @SYMTestCaseID PBASE-T_CFILEMAN-1045
3991 //! @SYMTestType CIT
3993 //! @SYMAPI CFileMan::Move()
3994 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
3995 //! Move files from Src directory without backward slash to the target directory without backward slash.
3996 //! @SYMTestActions Moves the specified files from source to the target.
3997 //! @SYMTestExpectedResults 1.KErrNone in success case.
3998 //! @SYMTestPriority High
3999 //! @SYMTestStatus Implemented
4000 //---------------------------------------------
4003 {1045, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4004 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
4005 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4006 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
4007 {&gDriveToTest, (TText*)L"?:\\Trg",
4008 (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
4009 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
4012 //---------------------------------------------
4013 //! @SYMTestCaseID PBASE-T_CFILEMAN-1046
4014 //! @SYMTestType CIT
4016 //! @SYMAPI CFileMan::Move()
4017 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
4018 //! Move files from Src to the unspecified(NULL) target path.
4019 //! @SYMTestActions Moves the specified files from source to the target.
4020 //! @SYMTestExpectedResults 1.KErrNone in success case.
4021 //! @SYMTestPriority High
4022 //! @SYMTestStatus Implemented
4023 //---------------------------------------------
4026 {1046, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4027 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
4028 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4029 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
4030 {&gDriveToTest, (TText*)L"",
4031 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
4032 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
4035 //---------------------------------------------
4036 //! @SYMTestCaseID PBASE-T_CFILEMAN-1047
4037 //! @SYMTestType CIT
4039 //! @SYMAPI CFileMan::Move()
4040 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
4041 //! Move files from unspecified(NULL) Src to the target.
4042 //! @SYMTestActions Moves the specified files from source to the target.
4043 //! @SYMTestExpectedResults 1.KErrNone in success case.
4044 //! @SYMTestPriority High
4045 //! @SYMTestStatus Implemented
4046 //---------------------------------------------
4049 {1047, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4050 {&gFixedDriveValid, (TText*)L"",
4051 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4052 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
4053 {&gDriveToTest, (TText*)L"?:\\Trg\\",
4054 (TText*)L"?:\\Trg\\", {BLOCK24, EMPTY},
4055 (TText*)L"?:\\TrgCom\\", {BLOCK24, EMPTY}}
4058 //---------------------------------------------
4059 //! @SYMTestCaseID PBASE-T_CFILEMAN-1048
4060 //! @SYMTestType CIT
4062 //! @SYMAPI CFileMan::Move()
4063 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
4064 //! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
4065 //! @SYMTestActions Moves the specified files from source to the target.
4066 //! @SYMTestExpectedResults 1.KErrNone in success case.
4067 //! @SYMTestPriority High
4068 //! @SYMTestStatus Implemented
4069 //---------------------------------------------
4072 {1048, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4073 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
4074 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4075 (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
4076 {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
4077 (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
4078 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
4081 //---------------------------------------------
4082 //! @SYMTestCaseID PBASE-T_CFILEMAN-1049
4083 //! @SYMTestType CIT
4085 //! @SYMAPI CFileMan::Move()
4086 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
4087 //! Move Src 'FILE01.TXT' to the target while renaming with wildcard condition 'RENAMED.TXT'.
4088 //! @SYMTestActions Moves the specified files from source to the target.
4089 //! @SYMTestExpectedResults 1.KErrNone in success case.
4090 //! @SYMTestPriority High
4091 //! @SYMTestStatus Implemented
4092 //---------------------------------------------
4095 {1049, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4096 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
4097 (TText*)L"?:\\SRC\\", {ALL, EMPTY},
4098 (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
4099 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
4100 (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
4101 (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
4104 //---------------------------------------------
4105 //! @SYMTestCaseID PBASE-T_CFILEMAN-1052
4106 //! @SYMTestType CIT
4108 //! @SYMAPI CFileMan::Move()
4109 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
4110 //! Move Src '*.TXT' to the target while renaming with wildcard condition '*.REN'.
4111 //! @SYMTestActions Moves the specified files from source to the target.
4112 //! @SYMTestExpectedResults 1.KErrNone in success case.
4113 //! @SYMTestPriority High
4114 //! @SYMTestStatus Implemented
4115 //---------------------------------------------
4118 {1052, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4119 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
4120 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4121 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
4122 {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
4123 (TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
4124 (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
4127 //---------------------------------------------
4128 //! @SYMTestCaseID PBASE-T_CFILEMAN-1053
4129 //! @SYMTestType CIT
4131 //! @SYMAPI CFileMan::Move()
4132 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
4133 //! Move Src 'FILE.*' to the target while renaming with wildcard condition 'RENAMED.*'.
4134 //! @SYMTestActions Moves the specified files from source to the target.
4135 //! @SYMTestExpectedResults 1.KErrNone in success case.
4136 //! @SYMTestPriority High
4137 //! @SYMTestStatus Implemented
4138 //---------------------------------------------
4141 {1053, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4142 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
4143 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4144 (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
4145 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
4146 (TText*)L"?:\\Trg\\", {{44,49,57,EOB}, EMPTY},
4147 (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
4150 //---------------------------------------------
4151 //! @SYMTestCaseID PBASE-T_CFILEMAN-1055
4152 //! @SYMTestType CIT
4154 //! @SYMAPI CFileMan::Move()
4155 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
4156 //! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
4157 //! @SYMTestActions Moves the specified files from source to the target.
4158 //! @SYMTestExpectedResults 1.KErrNone in success case.
4159 //! @SYMTestPriority High
4160 //! @SYMTestStatus Implemented
4161 //---------------------------------------------
4164 {1055, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4165 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
4166 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4167 (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
4168 {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
4169 (TText*)L"?:\\Trg\\", {{5,EOB}, EMPTY},
4170 (TText*)L"?:\\TrgCom\\", {{5,EOB}, EMPTY}}
4173 //---------------------------------------------
4174 //! @SYMTestCaseID PBASE-T_CFILEMAN-1056
4175 //! @SYMTestType CIT
4177 //! @SYMAPI CFileMan::Move()
4178 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
4179 //! Move files from Src to same Src location.
4180 //! @SYMTestActions Moves the specified files from source to the target.
4181 //! @SYMTestExpectedResults 1.KErrNone in success case.
4182 //! @SYMTestPriority High
4183 //! @SYMTestStatus Implemented
4184 //---------------------------------------------
4187 {1056, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4188 {&gDriveToTest, (TText*)L"?:\\F32-TST\\CFILEMAN\\FILE01.TXT",
4189 (TText*)L"?:\\F32-TST\\CFILEMAN\\", {ALL, EMPTY},
4190 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4191 {&gDriveToTest, (TText*)L"?:\\F32-TST\\CFILEMAN\\FILE01.TXT",
4192 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
4193 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
4196 //---------------------------------------------
4197 //! @SYMTestCaseID PBASE-T_CFILEMAN-1057
4198 //! @SYMTestType CIT
4200 //! @SYMAPI CFileMan::Move()
4201 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
4202 //! Move files from Src directory without backward slash to the target.
4203 //! @SYMTestActions Moves the specified files from source to the target.
4204 //! @SYMTestExpectedResults 1.KErrNone in success case.
4205 //! @SYMTestPriority High
4206 //! @SYMTestStatus Implemented
4207 //---------------------------------------------
4210 {1057, ECFMMove, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4211 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
4212 (TText*)L"?:\\SRC\\", {ALL, EMPTY},
4213 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
4214 {&gDriveToTest, (TText*)L"?:\\Trg\\",
4215 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4216 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
4219 //---------------------------------------------
4220 //! @SYMTestCaseID PBASE-T_CFILEMAN-1058
4221 //! @SYMTestType CIT
4223 //! @SYMAPI CFileMan::Move()
4224 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
4225 //! Move files from Src directory without backward slash to the target directory without backward slash.
4226 //! @SYMTestActions Moves the specified files from source to the target.
4227 //! @SYMTestExpectedResults 1.KErrNone in success case.
4228 //! @SYMTestPriority High
4229 //! @SYMTestStatus Implemented
4230 //---------------------------------------------
4233 {1058, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
4234 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
4235 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4236 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
4237 {&gDriveToTest, (TText*)L"?:\\Trg",
4238 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4239 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
4242 //---------------------------------------------
4243 //! @SYMTestCaseID PBASE-T_CFILEMAN-1059
4244 //! @SYMTestType CIT
4246 //! @SYMAPI CFileMan::Move()
4247 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
4248 //! Move files from Src to the unspecified(NULL) target path.
4249 //! @SYMTestActions Moves the specified files from source to the target.
4250 //! @SYMTestExpectedResults 1.KErrNone in success case.
4251 //! @SYMTestPriority High
4252 //! @SYMTestStatus Implemented
4253 //---------------------------------------------
4256 {1059, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
4257 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
4258 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4259 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
4260 {&gDriveToTest, (TText*)L"",
4261 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
4262 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
4265 //---------------------------------------------
4266 //! @SYMTestCaseID PBASE-T_CFILEMAN-1060
4267 //! @SYMTestType CIT
4269 //! @SYMAPI CFileMan::Move()
4270 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
4271 //! Move files from unspecified(NULL) Src to the target.
4272 //! @SYMTestActions Moves the specified files from source to the target.
4273 //! @SYMTestExpectedResults 1.KErrNone in success case.
4274 //! @SYMTestPriority High
4275 //! @SYMTestStatus Implemented
4276 //---------------------------------------------
4279 {1060, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
4280 {&gFixedDriveValid, (TText*)L"",
4281 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4282 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
4283 {&gDriveToTest, (TText*)L"?:\\Trg\\",
4284 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4285 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
4288 //---------------------------------------------
4289 //! @SYMTestCaseID PBASE-T_CFILEMAN-1061
4290 //! @SYMTestType CIT
4292 //! @SYMAPI CFileMan::Move()
4293 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
4294 //! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
4295 //! @SYMTestActions Moves the specified files from source to the target.
4296 //! @SYMTestExpectedResults 1.KErrNone in success case.
4297 //! @SYMTestPriority High
4298 //! @SYMTestStatus Implemented
4299 //---------------------------------------------
4302 {1061, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
4303 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
4304 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4305 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
4306 {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
4307 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4308 (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
4311 //---------------------------------------------
4312 //! @SYMTestCaseID PBASE-T_CFILEMAN-1062
4313 //! @SYMTestType CIT
4315 //! @SYMAPI CFileMan::Move()
4316 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
4317 //! Move Src 'FILE01.TXT' to the target while renaming with wildcard condition 'RENAMED.TXT'.
4318 //! @SYMTestActions Moves the specified files from source to the target.
4319 //! @SYMTestExpectedResults 1.KErrNone in success case.
4320 //! @SYMTestPriority High
4321 //! @SYMTestStatus Implemented
4322 //---------------------------------------------
4325 {1062, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
4326 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
4327 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4328 (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
4329 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
4330 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4331 (TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
4334 //---------------------------------------------
4335 //! @SYMTestCaseID PBASE-T_CFILEMAN-1065
4336 //! @SYMTestType CIT
4338 //! @SYMAPI CFileMan::Move()
4339 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
4340 //! Move Src '*.TXT' to the target while renaming with wildcard condition '*.REN'.
4341 //! @SYMTestActions Moves the specified files from source to the target.
4342 //! @SYMTestExpectedResults 1.KErrNone in success case.
4343 //! @SYMTestPriority High
4344 //! @SYMTestStatus Implemented
4345 //---------------------------------------------
4348 {1065, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
4349 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
4350 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4351 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK34}},
4352 {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
4353 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4354 (TText*)L"?:\\TrgCom\\", {BLOCK32, EMPTY}}
4357 //---------------------------------------------
4358 //! @SYMTestCaseID PBASE-T_CFILEMAN-1066
4359 //! @SYMTestType CIT
4361 //! @SYMAPI CFileMan::Move()
4362 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
4363 //! Move Src 'FILE.*' to the target while renaming with wildcard condition 'RENAMED.*'.
4364 //! @SYMTestActions Moves the specified files from source to the target.
4365 //! @SYMTestExpectedResults 1.KErrNone in success case.
4366 //! @SYMTestPriority High
4367 //! @SYMTestStatus Implemented
4368 //---------------------------------------------
4371 {1066, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
4372 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
4373 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4374 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK35}},
4375 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
4376 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4377 (TText*)L"?:\\TrgCom\\", {BLOCK40, EMPTY}}
4380 //---------------------------------------------
4381 //! @SYMTestCaseID PBASE-T_CFILEMAN-1068
4382 //! @SYMTestType CIT
4384 //! @SYMAPI CFileMan::Move()
4385 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
4386 //! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
4387 //! @SYMTestActions Moves the specified files from source to the target.
4388 //! @SYMTestExpectedResults 1.KErrNone in success case.
4389 //! @SYMTestPriority High
4390 //! @SYMTestStatus Implemented
4391 //---------------------------------------------
4394 {1068, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
4395 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
4396 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4397 (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
4398 {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
4399 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4400 (TText*)L"?:\\TrgCom\\", {{5,14,23,32,41,EOB}, EMPTY}}
4403 //---------------------------------------------
4404 //! @SYMTestCaseID PBASE-T_CFILEMAN-1069
4405 //! @SYMTestType CIT
4407 //! @SYMAPI CFileMan::Move()
4408 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,EmpTar' option
4409 //! Move files from Src to same Src location.
4410 //! @SYMTestActions Moves the specified files from source to the target.
4411 //! @SYMTestExpectedResults 1.KErrNone in success case.
4412 //! @SYMTestPriority High
4413 //! @SYMTestStatus Implemented
4414 //---------------------------------------------
4417 {1069, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
4418 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
4419 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4420 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4421 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
4422 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4423 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
4426 //---------------------------------------------
4427 //! @SYMTestCaseID PBASE-T_CFILEMAN-1070
4428 //! @SYMTestType CIT
4430 //! @SYMAPI CFileMan::Move()
4431 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
4432 //! Move files from Src directory without backward slash to the target.
4433 //! @SYMTestActions Move does not happen, returns the error code.
4434 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
4435 //! @SYMTestPriority High
4436 //! @SYMTestStatus Implemented
4437 //---------------------------------------------
4440 {1070, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
4441 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
4442 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4443 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4444 {&gDriveToTest, (TText*)L"?:\\Trg\\",
4445 (TText*)L"?:\\Trg\\", {BLOCK09, EMPTY},
4446 (TText*)L"?:\\TrgCom\\", {BLOCK09, EMPTY}}
4449 //---------------------------------------------
4450 //! @SYMTestCaseID PBASE-T_CFILEMAN-1071
4451 //! @SYMTestType CIT
4453 //! @SYMAPI CFileMan::Move()
4454 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
4455 //! Move files from Src directory without backward slash to the target directory without backward slash.
4456 //! @SYMTestActions Move does not happen, returns the error code.
4457 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
4458 //! @SYMTestPriority High
4459 //! @SYMTestStatus Implemented
4460 //---------------------------------------------
4463 {1071, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
4464 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
4465 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4466 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4467 {&gDriveToTest, (TText*)L"?:\\Trg",
4468 (TText*)L"?:\\Trg\\", {BLOCK09, EMPTY},
4469 (TText*)L"?:\\TrgCom\\", {BLOCK09, EMPTY}}
4472 //---------------------------------------------
4473 //! @SYMTestCaseID PBASE-T_CFILEMAN-1072
4474 //! @SYMTestType CIT
4476 //! @SYMAPI CFileMan::Move()
4477 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
4478 //! Move files from Src to the unspecified(NULL) target path.
4479 //! @SYMTestActions Move does not happen, returns the error code.
4480 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
4481 //! @SYMTestPriority High
4482 //! @SYMTestStatus Implemented
4483 //---------------------------------------------
4486 {1072, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrAlreadyExists, KErrAlreadyExists},
4487 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
4488 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4489 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4490 {&gDriveToTest, (TText*)L"",
4491 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK09, EMPTY},
4492 (TText*)L"?:\\TrgCom\\", {BLOCK09, EMPTY}}
4495 //---------------------------------------------
4496 //! @SYMTestCaseID PBASE-T_CFILEMAN-1073
4497 //! @SYMTestType CIT
4499 //! @SYMAPI CFileMan::Move()
4500 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
4501 //! Move files from unspecified(NULL) Src to the target.
4502 //! @SYMTestActions Move does not happen, returns the error code.
4503 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
4504 //! @SYMTestPriority High
4505 //! @SYMTestStatus Implemented
4506 //---------------------------------------------
4509 {1073, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
4510 {&gFixedDriveValid, (TText*)L"",
4511 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4512 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4513 {&gDriveToTest, (TText*)L"?:\\Trg\\",
4514 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
4515 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
4518 //---------------------------------------------
4519 //! @SYMTestCaseID PBASE-T_CFILEMAN-1074
4520 //! @SYMTestType CIT
4522 //! @SYMAPI CFileMan::Move()
4523 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
4524 //! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
4525 //! @SYMTestActions Move does not happen, returns the error code.
4526 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
4527 //! @SYMTestPriority High
4528 //! @SYMTestStatus Implemented
4529 //---------------------------------------------
4532 {1074, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
4533 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
4534 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4535 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4536 {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
4537 (TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
4538 (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
4541 //---------------------------------------------
4542 //! @SYMTestCaseID PBASE-T_CFILEMAN-1075
4543 //! @SYMTestType CIT
4545 //! @SYMAPI CFileMan::Move()
4546 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
4547 //! Move Src 'FILE01.TXT' to the target while renaming with wildcard condition 'RENAMED.TXT'.
4548 //! @SYMTestActions Move does not happen, returns the error code.
4549 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
4550 //! @SYMTestPriority High
4551 //! @SYMTestStatus Implemented
4552 //---------------------------------------------
4555 {1075, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
4556 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
4557 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4558 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4559 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
4560 (TText*)L"?:\\Trg\\", {BLOCK30, EMPTY},
4561 (TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
4564 //---------------------------------------------
4565 //! @SYMTestCaseID PBASE-T_CFILEMAN-1078
4566 //! @SYMTestType CIT
4568 //! @SYMAPI CFileMan::Move()
4569 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
4570 //! Move Src '*.TXT' to the target while renaming with wildcard condition '*.REN'.
4571 //! @SYMTestActions Move does not happen, returns the error code.
4572 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
4573 //! @SYMTestPriority High
4574 //! @SYMTestStatus Implemented
4575 //---------------------------------------------
4578 {1078, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
4579 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
4580 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4581 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4582 {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
4583 (TText*)L"?:\\Trg\\", {BLOCK32, EMPTY},
4584 (TText*)L"?:\\TrgCom\\", {BLOCK32, EMPTY}}
4587 //---------------------------------------------
4588 //! @SYMTestCaseID PBASE-T_CFILEMAN-1079
4589 //! @SYMTestType CIT
4591 //! @SYMAPI CFileMan::Move()
4592 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
4593 //! Move Src 'FILE.*' to the target while renaming with wildcard condition 'RENAMED.*'.
4594 //! @SYMTestActions Move does not happen, returns the error code.
4595 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
4596 //! @SYMTestPriority High
4597 //! @SYMTestStatus Implemented
4598 //--------------------------------------------
4601 {1079, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
4602 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
4603 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4604 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4605 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
4606 (TText*)L"?:\\Trg\\", {BLOCK40, EMPTY},
4607 (TText*)L"?:\\TrgCom\\", {BLOCK40, EMPTY}}
4610 //---------------------------------------------
4611 //! @SYMTestCaseID PBASE-T_CFILEMAN-1081
4612 //! @SYMTestType CIT
4614 //! @SYMAPI CFileMan::Move()
4615 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
4616 //! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
4617 //! @SYMTestActions Move does not happen, returns the error code.
4618 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
4619 //! @SYMTestPriority High
4620 //! @SYMTestStatus Implemented
4621 //--------------------------------------------
4624 {1081, ECFMMove, CFileMan::ERecurse, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
4625 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
4626 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4627 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4628 {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
4629 (TText*)L"?:\\Trg\\", {{5,14,23,32,41,EOB}, EMPTY},
4630 (TText*)L"?:\\TrgCom\\", {{5,14,23,32,41,EOB}, EMPTY}}
4633 //---------------------------------------------
4634 //! @SYMTestCaseID PBASE-T_CFILEMAN-1082
4635 //! @SYMTestType CIT
4637 //! @SYMAPI CFileMan::Move()
4638 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Non-Overwrite,Non-EmpTar' option
4639 //! Move files from Src to same Src location.
4640 //! @SYMTestActions Move does not happen, returns the error code.
4641 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case
4642 //! @SYMTestPriority High
4643 //! @SYMTestStatus Implemented
4644 //--------------------------------------------
4647 {1082, ECFMMove, CFileMan::ERecurse, KErrNone, KErrNone, KErrNone},
4648 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
4649 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4650 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4651 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
4652 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
4653 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
4656 //---------------------------------------------
4657 //! @SYMTestCaseID PBASE-T_CFILEMAN-1083
4658 //! @SYMTestType CIT
4660 //! @SYMAPI CFileMan::Move()
4661 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
4662 //! Move files from Src directory without backward slash to the target.
4663 //! @SYMTestActions Moves the specified files from source to the target.
4664 //! @SYMTestExpectedResults 1.KErrNone in success case
4665 //! @SYMTestPriority High
4666 //! @SYMTestStatus Implemented
4667 //--------------------------------------------
4670 {1083, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4671 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
4672 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4673 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
4674 {&gDriveToTest, (TText*)L"?:\\Trg\\",
4675 (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
4676 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
4679 //---------------------------------------------
4680 //! @SYMTestCaseID PBASE-T_CFILEMAN-1084
4681 //! @SYMTestType CIT
4683 //! @SYMAPI CFileMan::Move()
4684 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
4685 //! Move files from Src directory without backward slash to the target directory without backward slash.
4686 //! @SYMTestActions Moves the specified files from source to the target.
4687 //! @SYMTestExpectedResults 1.KErrNone in success case
4688 //! @SYMTestPriority High
4689 //! @SYMTestStatus Implemented
4690 //--------------------------------------------
4693 {1084, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4694 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
4695 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4696 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
4697 {&gDriveToTest, (TText*)L"?:\\Trg",
4698 (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
4699 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
4702 //---------------------------------------------
4703 //! @SYMTestCaseID PBASE-T_CFILEMAN-1085
4704 //! @SYMTestType CIT
4706 //! @SYMAPI CFileMan::Move()
4707 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
4708 //! Move files from Src to the unspecified(NULL) target path.
4709 //! @SYMTestActions Moves the specified files from source to the target.
4710 //! @SYMTestExpectedResults 1.KErrNone in success case
4711 //! @SYMTestPriority High
4712 //! @SYMTestStatus Implemented
4713 //--------------------------------------------
4716 {1085, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4717 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1",
4718 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4719 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
4720 {&gDriveToTest, (TText*)L"",
4721 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
4722 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
4725 //---------------------------------------------
4726 //! @SYMTestCaseID PBASE-T_CFILEMAN-1086
4727 //! @SYMTestType CIT
4729 //! @SYMTestPurpose CFileMan::Move()
4730 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
4731 //! Move files from unspecified(NULL) Src to the target.
4732 //! @SYMTestActions Moves the specified files from source to the target.
4733 //! @SYMTestExpectedResults 1.KErrNone in success case
4734 //! @SYMTestPriority High
4735 //! @SYMTestStatus Implemented
4736 //--------------------------------------------
4739 {1086, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4740 {&gDriveToTest, (TText*)L"",
4741 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4742 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
4743 {&gDriveToTest, (TText*)L"?:\\Trg\\",
4744 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
4745 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
4747 //---------------------------------------------
4748 //! @SYMTestCaseID PBASE-T_CFILEMAN-1087
4749 //! @SYMTestType CIT
4751 //! @SYMAPI CFileMan::Move()
4752 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
4753 //! Move Src 'FILE?.TXT' to the target while renaming with wildcard condition 'FILE*.TXT'.
4754 //! @SYMTestActions Moves the specified files from source to the target.
4755 //! @SYMTestExpectedResults 1.KErrNone in success case
4756 //! @SYMTestPriority High
4757 //! @SYMTestStatus Implemented
4758 //--------------------------------------------
4761 {1087, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4762 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE?.TXT",
4763 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4764 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK06}},
4765 {&gDriveToTest, (TText*)L"?:\\Trg\\FILE*.TXT",
4766 (TText*)L"?:\\Trg\\", {BLOCK06, EMPTY},
4767 (TText*)L"?:\\TrgCom\\", {BLOCK06, EMPTY}}
4770 //---------------------------------------------
4771 //! @SYMTestCaseID PBASE-T_CFILEMAN-1088
4772 //! @SYMTestType CIT
4774 //! @SYMAPI CFileMan::Move()
4775 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
4776 //! Move Src 'FILE01.TXT' to the target while renaming with wildcard condition 'RENAMED.TXT'.
4777 //! @SYMTestActions Moves the specified files from source to the target.
4778 //! @SYMTestExpectedResults 1.KErrNone in success case
4779 //! @SYMTestPriority High
4780 //! @SYMTestStatus Implemented
4781 //--------------------------------------------
4784 {1088, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4785 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
4786 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4787 (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
4788 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
4789 (TText*)L"?:\\Trg\\", {BLOCK30, EMPTY},
4790 (TText*)L"?:\\TrgCom\\", {BLOCK30, EMPTY}}
4793 //---------------------------------------------
4794 //! @SYMTestCaseID PBASE-T_CFILEMAN-1091
4795 //! @SYMTestType CIT
4797 //! @SYMAPI CFileMan::Move()
4798 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
4799 //! Move Src '*.TXT' to the target while renaming with wildcard condition '*.REN'.
4800 //! @SYMTestActions Moves the specified files from source to the target.
4801 //! @SYMTestExpectedResults 1.KErrNone in success case
4802 //! @SYMTestPriority High
4803 //! @SYMTestStatus Implemented
4804 //--------------------------------------------
4807 {1091, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4808 {&gFixedDriveValid, (TText*)L"?:\\Src\\*.TXT",
4809 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4810 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK34}},
4811 {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
4812 (TText*)L"?:\\Trg\\", {BLOCK32, EMPTY},
4813 (TText*)L"?:\\TrgCom\\", {BLOCK32, EMPTY}}
4816 //---------------------------------------------
4817 //! @SYMTestCaseID PBASE-T_CFILEMAN-1092
4818 //! @SYMTestType CIT
4820 //! @SYMAPI CFileMan::Move()
4821 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
4822 //! Move Src 'FILE.*' to the target while renaming with wildcard condition 'RENAMED.*'.
4823 //! @SYMTestActions Moves the specified files from source to the target.
4824 //! @SYMTestExpectedResults 1.KErrNone in success case
4825 //! @SYMTestPriority High
4826 //! @SYMTestStatus Implemented
4827 //--------------------------------------------
4830 {1092, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4831 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE.*",
4832 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4833 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK35}},
4834 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
4835 (TText*)L"?:\\Trg\\", {BLOCK33, EMPTY},
4836 (TText*)L"?:\\TrgCom\\", {BLOCK40, EMPTY}}
4839 //---------------------------------------------
4840 //! @SYMTestCaseID PBASE-T_CFILEMAN-1094
4841 //! @SYMTestType CIT
4843 //! @SYMAPI CFileMan::Move()
4844 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
4845 //! Move files 'FILE01.TXT' from Src and rename file to 'OTHER.TXT' on the target.
4846 //! @SYMTestActions Moves the specified files from source to the target.
4847 //! @SYMTestExpectedResults 1.KErrNone in success case
4848 //! @SYMTestPriority High
4849 //! @SYMTestStatus Implemented
4850 //--------------------------------------------
4853 {1094, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4854 {&gFixedDriveValid, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
4855 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4856 (TText*)L"?:\\SrcCom\\", {ALL, {2,11,20,29,38,EOB}}},
4857 {&gDriveToTest, (TText*)L"?:\\Trg\\OTHER.TXT",
4858 (TText*)L"?:\\Trg\\", {{5,14,23,32,41,EOB}, EMPTY},
4859 (TText*)L"?:\\TrgCom\\", {{5,14,23,32,41,EOB}, EMPTY}}
4861 //---------------------------------------------
4862 //! @SYMTestCaseID PBASE-T_CFILEMAN-1095
4863 //! @SYMTestType CIT
4865 //! @SYMAPI CFileMan::Move()
4866 //! @SYMTestCaseDesc 1.Tests API with 'Recursive,Overwrite,Non-EmpTar' option
4867 //! Move files from Src to same Src location.
4868 //! @SYMTestActions Moves the specified files from source to the target.
4869 //! @SYMTestExpectedResults 1.KErrNone in success case
4870 //! @SYMTestPriority High
4871 //! @SYMTestStatus Implemented
4872 //--------------------------------------------
4875 {1095, ECFMMove, CFileMan::ERecurse|CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
4876 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
4877 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
4878 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
4879 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
4880 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
4881 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
4884 //---------------------------------------------
4885 //! @SYMTestCaseID PBASE-T_CFILEMAN-1096
4886 //! @SYMTestType CIT
4888 //! @SYMAPI CFileMan::Rename()
4889 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
4890 //! Rename a file 'FILE01.TXT' from source to the target.
4891 //! @SYMTestActions Renames specified files from source to the target.
4892 //! @SYMTestExpectedResults 1.KErrNone in success case
4893 //! @SYMTestPriority High
4894 //! @SYMTestStatus Implemented
4895 //---------------------------------------------
4898 {1096, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
4899 {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
4900 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4901 (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
4902 {&gDriveToTest, (TText*)L"?:\\Trg\\",
4903 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4904 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
4907 //---------------------------------------------
4908 //! @SYMTestCaseID PBASE-T_CFILEMAN-1097
4909 //! @SYMTestType CIT
4911 //! @SYMAPI CFileMan::Rename()
4912 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
4913 //! Rename files with wildcard combination '*.*' from source to the target.
4914 //! @SYMTestActions Renames specified files from source to the target.
4915 //! @SYMTestExpectedResults 1.KErrNone in success case
4916 //! @SYMTestPriority High
4917 //! @SYMTestStatus Implemented
4918 //---------------------------------------------
4921 {1097, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
4922 {&gDriveToTest, (TText*)L"?:\\Src\\*.*",
4923 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4924 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
4925 {&gDriveToTest, (TText*)L"?:\\Trg\\",
4926 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4927 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
4930 //---------------------------------------------
4931 //! @SYMTestCaseID PBASE-T_CFILEMAN-1098
4932 //! @SYMTestType CIT
4934 //! @SYMAPI CFileMan::Rename()
4935 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
4936 //! Rename files with wildcard combination 'FILE*.TXT' from source to the target.
4937 //! @SYMTestActions Renames specified files from source to the target.
4938 //! @SYMTestExpectedResults 1.KErrNone in success case
4939 //! @SYMTestPriority High
4940 //! @SYMTestStatus Implemented
4941 //---------------------------------------------
4944 {1098, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
4945 {&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
4946 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4947 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
4948 {&gDriveToTest, (TText*)L"?:\\Trg\\",
4949 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4950 (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
4953 //---------------------------------------------
4954 //! @SYMTestCaseID PBASE-T_CFILEMAN-1099
4955 //! @SYMTestType CIT
4957 //! @SYMAPI CFileMan::Rename()
4958 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
4959 //! Rename files with wildcard combination 'FILE?.TXT' from source to the target.
4960 //! @SYMTestActions Renames specified files from source to the target.
4961 //! @SYMTestExpectedResults 1.KErrNone in success case
4962 //! @SYMTestPriority High
4963 //! @SYMTestStatus Implemented
4964 //---------------------------------------------
4967 {1099, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
4968 {&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
4969 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4970 (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
4971 {&gDriveToTest, (TText*)L"?:\\Trg\\",
4972 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4973 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
4976 //---------------------------------------------
4977 //! @SYMTestCaseID PBASE-T_CFILEMAN-1100
4978 //! @SYMTestType CIT
4980 //! @SYMAPI CFileMan::Rename()
4981 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
4982 //! Rename files with wildcard combination '*.TXT' from source to the target.
4983 //! @SYMTestActions Renames specified files from source to the target.
4984 //! @SYMTestExpectedResults 1.KErrNone in success case
4985 //! @SYMTestPriority High
4986 //! @SYMTestStatus Implemented
4987 //---------------------------------------------
4990 {1100, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
4991 {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
4992 (TText*)L"?:\\Src\\", {ALL, EMPTY},
4993 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
4994 {&gDriveToTest, (TText*)L"?:\\Trg\\",
4995 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
4996 (TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
4999 //---------------------------------------------
5000 //! @SYMTestCaseID PBASE-T_CFILEMAN-1101
5001 //! @SYMTestType CIT
5003 //! @SYMAPI CFileMan::Rename()
5004 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
5005 //! Rename files with wildcard combination 'FILE.*' from source to the target.
5006 //! @SYMTestActions Renames specified files from source to the target.
5007 //! @SYMTestExpectedResults 1.KErrNone in success case
5008 //! @SYMTestPriority High
5009 //! @SYMTestStatus Implemented
5010 //---------------------------------------------
5013 {1101, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
5014 {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
5015 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5016 (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
5017 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5018 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5019 (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
5022 //---------------------------------------------
5023 //! @SYMTestCaseID PBASE-T_CFILEMAN-1102
5024 //! @SYMTestType CIT
5026 //! @SYMAPI CFileMan::Rename()
5027 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
5028 //! Rename files with wildcard combination 'FILE01.TXT' from source to the target.
5029 //! @SYMTestActions Renames specified files from source to the target.
5030 //! @SYMTestExpectedResults 1.KErrNone in success case
5031 //! @SYMTestPriority High
5032 //! @SYMTestStatus Implemented
5033 //---------------------------------------------
5036 {1102, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
5037 {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
5038 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5039 (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
5040 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
5041 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5042 (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
5045 //---------------------------------------------
5046 //! @SYMTestCaseID PBASE-T_CFILEMAN-1105
5047 //! @SYMTestType CIT
5049 //! @SYMAPI CFileMan::Rename()
5050 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
5051 //! Rename files with wildcard combination '*.TXT' from source to the '*.REN' in target.
5052 //! @SYMTestActions Renames specified files from source to the target.
5053 //! @SYMTestExpectedResults 1.KErrNone in success case
5054 //! @SYMTestPriority High
5055 //! @SYMTestStatus Implemented
5056 //---------------------------------------------
5059 {1105, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
5060 {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
5061 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5062 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
5063 {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
5064 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5065 (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
5068 //---------------------------------------------
5069 //! @SYMTestCaseID PBASE-T_CFILEMAN-1106
5070 //! @SYMTestType CIT
5072 //! @SYMAPI CFileMan::Rename()
5073 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
5074 //! Rename files with wildcard combination 'FILE.*' from source to the '*.REN' in target.
5075 //! @SYMTestActions Renames specified files from source to the target.
5076 //! @SYMTestExpectedResults 1.KErrNone in success case
5077 //! @SYMTestPriority High
5078 //! @SYMTestStatus Implemented
5079 //---------------------------------------------
5082 {1106, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
5083 {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
5084 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5085 (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
5086 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
5087 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5088 (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
5091 //---------------------------------------------
5092 //! @SYMTestCaseID PBASE-T_CFILEMAN-1108
5093 //! @SYMTestType CIT
5095 //! @SYMAPI CFileMan::Rename()
5096 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
5097 //! Rename files with wildcard combination 'FILE01.TXT' from source to target.
5098 //! @SYMTestActions Rename does not happen, returns the error code.
5099 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5100 //! @SYMTestPriority High
5101 //! @SYMTestStatus Implemented
5102 //---------------------------------------------
5105 {1108, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5106 {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
5107 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5108 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5109 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5110 (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
5111 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
5114 //---------------------------------------------
5115 //! @SYMTestCaseID PBASE-T_CFILEMAN-1109
5116 //! @SYMTestType CIT
5118 //! @SYMAPI CFileMan::Rename()
5119 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
5120 //! Rename files with wildcard combination '*.*' from source to target.
5121 //! @SYMTestActions Rename does not happen, returns the error code.
5122 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5123 //! @SYMTestPriority High
5124 //! @SYMTestStatus Implemented
5125 //---------------------------------------------
5128 {1109, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5129 {&gDriveToTest, (TText*)L"?:\\Src\\*",
5130 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5131 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5132 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5133 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
5134 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
5137 //---------------------------------------------
5138 //! @SYMTestCaseID PBASE-T_CFILEMAN-1110
5139 //! @SYMTestType CIT
5141 //! @SYMAPI CFileMan::Rename()
5142 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
5143 //! Rename files with wildcard combination 'FILE*.TXT' from source to target.
5144 //! @SYMTestActions Rename does not happen, returns the error code.
5145 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5146 //! @SYMTestPriority High
5147 //! @SYMTestStatus Implemented
5148 //---------------------------------------------
5151 {1110, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5152 {&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
5153 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5154 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5155 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5156 (TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
5157 (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
5162 //---------------------------------------------
5163 //! @SYMTestCaseID PBASE-T_CFILEMAN-1111
5164 //! @SYMTestType CIT
5166 //! @SYMAPI CFileMan::Rename()
5167 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
5168 //! Rename files with wildcard combination 'FILE?.TXT' from source to target.
5169 //! @SYMTestActions Rename does not happen, returns the error code.
5170 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5171 //! @SYMTestPriority High
5172 //! @SYMTestStatus Implemented
5173 //---------------------------------------------
5176 {1111, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5177 {&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
5178 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5179 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5180 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5181 (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
5182 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
5185 //---------------------------------------------
5186 //! @SYMTestCaseID PBASE-T_CFILEMAN-1112
5187 //! @SYMTestType CIT
5189 //! @SYMAPI CFileMan::Rename()
5190 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
5191 //! Rename files with wildcard combination '*.TXT' from source to target.
5192 //! @SYMTestActions Rename does not happen, returns the error code.
5193 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5194 //! @SYMTestPriority High
5195 //! @SYMTestStatus Implemented
5196 //---------------------------------------------
5199 {1112, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5200 {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
5201 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5202 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5203 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5204 (TText*)L"?:\\Trg\\", {BLOCK20, EMPTY},
5205 (TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
5208 //---------------------------------------------
5209 //! @SYMTestCaseID PBASE-T_CFILEMAN-1113
5210 //! @SYMTestType CIT
5212 //! @SYMAPI CFileMan::Rename()
5213 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
5214 //! Rename files with wildcard combination 'FILE.*' from source to target.
5215 //! @SYMTestActions Rename does not happen, returns the error code.
5216 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5217 //! @SYMTestPriority High
5218 //! @SYMTestStatus Implemented
5219 //---------------------------------------------
5222 {1113, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5223 {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
5224 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5225 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5226 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5227 (TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
5228 (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
5231 //---------------------------------------------
5232 //! @SYMTestCaseID PBASE-T_CFILEMAN-1114
5233 //! @SYMTestType CIT
5235 //! @SYMAPI CFileMan::Rename()
5236 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
5237 //! Rename files with wildcard combination 'FILE01.TXT' from source to 'RENAMED.TXT' in target.
5238 //! @SYMTestActions Rename does not happen, returns the error code.
5239 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5240 //! @SYMTestPriority High
5241 //! @SYMTestStatus Implemented
5242 //---------------------------------------------
5245 {1114, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5246 {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
5247 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5248 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5249 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
5250 (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
5251 (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
5254 //---------------------------------------------
5255 //! @SYMTestCaseID PBASE-T_CFILEMAN-1117
5256 //! @SYMTestType CIT
5258 //! @SYMAPI CFileMan::Rename()
5259 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
5260 //! Rename files with wildcard combination '*.TXT' from source to '*.REN' in target.
5261 //! @SYMTestActions Rename does not happen, returns the error code.
5262 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5263 //! @SYMTestPriority High
5264 //! @SYMTestStatus Implemented
5265 //---------------------------------------------
5268 {1117, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5269 {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
5270 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5271 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5272 {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
5273 (TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
5274 (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
5277 //---------------------------------------------
5278 //! @SYMTestCaseID PBASE-T_CFILEMAN-1118
5279 //! @SYMTestType CIT
5281 //! @SYMAPI CFileMan::Rename()
5282 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmpTar' option
5283 //! Rename files with wildcard combination 'FILE.*' from source to 'RENAMED.*' in target.
5284 //! @SYMTestActions Rename does not happen, returns the error code.
5285 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5286 //! @SYMTestPriority High
5287 //! @SYMTestStatus Implemented
5288 //---------------------------------------------
5291 {1118, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5292 {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
5293 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5294 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5295 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
5296 (TText*)L"?:\\Trg\\", {{44,49,57,EOB}, EMPTY},
5297 (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
5300 //---------------------------------------------
5301 //! @SYMTestCaseID PBASE-T_CFILEMAN-1120
5302 //! @SYMTestType CIT
5304 //! @SYMAPI CFileMan::Rename()
5305 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
5306 //! Rename files with wildcard combination 'FILE01.TXT' from source to target.
5307 //! @SYMTestActions Renames the specified files from source to the target.
5308 //! @SYMTestExpectedResults 1.KErrNone in success case.
5309 //! @SYMTestPriority High
5310 //! @SYMTestStatus Implemented
5311 //---------------------------------------------
5314 {1120, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
5315 {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
5316 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5317 (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
5318 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5319 (TText*)L"?:\\Trg\\", {{2,EOB}, EMPTY},
5320 (TText*)L"?:\\TrgCom\\", {{2,EOB}, EMPTY}}
5323 //---------------------------------------------
5324 //! @SYMTestCaseID PBASE-T_CFILEMAN-1121
5325 //! @SYMTestType CIT
5327 //! @SYMAPI CFileMan::Rename()
5328 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
5329 //! Rename files with wildcard combination '*.*' from source to target.
5330 //! @SYMTestActions Renames the specified files from source to the target.
5331 //! @SYMTestExpectedResults 1.KErrNone in success case.
5332 //! @SYMTestPriority High
5333 //! @SYMTestStatus Implemented
5334 //---------------------------------------------
5337 {1121, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
5338 {&gDriveToTest, (TText*)L"?:\\Src\\*",
5339 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5340 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
5341 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5342 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
5343 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
5346 //---------------------------------------------
5347 //! @SYMTestCaseID PBASE-T_CFILEMAN-1122
5348 //! @SYMTestType CIT
5350 //! @SYMAPI CFileMan::Rename()
5351 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
5352 //! Rename files with wildcard combination 'FILE*.TXT' from source to target.
5353 //! @SYMTestActions Renames the specified files from source to the target.
5354 //! @SYMTestExpectedResults 1.KErrNone in success case.
5355 //! @SYMTestPriority High
5356 //! @SYMTestStatus Implemented
5357 //---------------------------------------------
5360 {1122, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
5361 {&gDriveToTest, (TText*)L"?:\\Src\\FILE*.TXT",
5362 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5363 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK02}},
5364 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5365 (TText*)L"?:\\Trg\\", {BLOCK02, EMPTY},
5366 (TText*)L"?:\\TrgCom\\", {BLOCK02, EMPTY}}
5369 //---------------------------------------------
5370 //! @SYMTestCaseID PBASE-T_CFILEMAN-1123
5371 //! @SYMTestType CIT
5373 //! @SYMAPI CFileMan::Rename()
5374 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
5375 //! Rename files with wildcard combination 'FILE?.TXT' from source to target.
5376 //! @SYMTestActions Renames the specified files from source to the target.
5377 //! @SYMTestExpectedResults 1.KErrNone in success case.
5378 //! @SYMTestPriority High
5379 //! @SYMTestStatus Implemented
5380 //---------------------------------------------
5383 {1123, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
5384 {&gDriveToTest, (TText*)L"?:\\Src\\FILE?.TXT",
5385 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5386 (TText*)L"?:\\SrcCom\\", {ALL, {0,1,EOB}}},
5387 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5388 (TText*)L"?:\\Trg\\", {{0,1,EOB}, EMPTY},
5389 (TText*)L"?:\\TrgCom\\", {{0,1,EOB}, EMPTY}}
5391 //---------------------------------------------
5392 //! @SYMTestCaseID PBASE-T_CFILEMAN-1124
5393 //! @SYMTestType CIT
5395 //! @SYMAPI CFileMan::Rename()
5396 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
5397 //! Rename files with wildcard combination '*.TXT' from source to target.
5398 //! @SYMTestActions Renames the specified files from source to the target.
5399 //! @SYMTestExpectedResults 1.KErrNone in success case.
5400 //! @SYMTestPriority High
5401 //! @SYMTestStatus Implemented
5402 //---------------------------------------------
5405 {1124, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
5406 {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
5407 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5408 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
5409 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5410 (TText*)L"?:\\Trg\\", {BLOCK20, EMPTY},
5411 (TText*)L"?:\\TrgCom\\", {BLOCK20, EMPTY}}
5414 //---------------------------------------------
5415 //! @SYMTestCaseID PBASE-T_CFILEMAN-1125
5416 //! @SYMTestType CIT
5418 //! @SYMAPI CFileMan::Rename()
5419 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
5420 //! Rename files with wildcard combination 'FILE.*' from source to target.
5421 //! @SYMTestActions Renames the specified files from source to the target.
5422 //! @SYMTestExpectedResults 1.KErrNone in success case.
5423 //! @SYMTestPriority High
5424 //! @SYMTestStatus Implemented
5425 //---------------------------------------------
5428 {1125, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
5429 {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
5430 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5431 (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
5432 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5433 (TText*)L"?:\\Trg\\", {{4,6,55,EOB}, EMPTY},
5434 (TText*)L"?:\\TrgCom\\", {{4,6,55,EOB}, EMPTY}}
5437 //---------------------------------------------
5438 //! @SYMTestCaseID PBASE-T_CFILEMAN-1126
5439 //! @SYMTestType CIT
5441 //! @SYMAPI CFileMan::Rename()
5442 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
5443 //! Rename files with wildcard combination 'FILE01.TXT' from source to 'RENAMED.TXT' in target.
5444 //! @SYMTestActions Renames the specified files from source to the target.
5445 //! @SYMTestExpectedResults 1.KErrNone in success case.
5446 //! @SYMTestPriority High
5447 //! @SYMTestStatus Implemented
5448 //---------------------------------------------
5451 {1126, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
5452 {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
5453 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5454 (TText*)L"?:\\SrcCom\\", {ALL, {2,EOB}}},
5455 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.TXT",
5456 (TText*)L"?:\\Trg\\", {{44,EOB}, EMPTY},
5457 (TText*)L"?:\\TrgCom\\", {{44,EOB}, EMPTY}}
5462 //---------------------------------------------
5463 //! @SYMTestCaseID PBASE-T_CFILEMAN-1129
5464 //! @SYMTestType CIT
5466 //! @SYMAPI CFileMan::Rename()
5467 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
5468 //! Rename files with wildcard combination '*.TXT' from source to '*.REN' in target.
5469 //! @SYMTestActions Renames the specified files from source to the target.
5470 //! @SYMTestExpectedResults 1.KErrNone in success case.
5471 //! @SYMTestPriority High
5472 //! @SYMTestStatus Implemented
5473 //---------------------------------------------
5476 {1129, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
5477 {&gDriveToTest, (TText*)L"?:\\Src\\*.TXT",
5478 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5479 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK20}},
5480 {&gDriveToTest, (TText*)L"?:\\Trg\\*.REN",
5481 (TText*)L"?:\\Trg\\", {BLOCK19, EMPTY},
5482 (TText*)L"?:\\TrgCom\\", {BLOCK19, EMPTY}}
5485 //---------------------------------------------
5486 //! @SYMTestCaseID PBASE-T_CFILEMAN-1130
5487 //! @SYMTestType CIT
5489 //! @SYMAPI CFileMan::Rename()
5490 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmpTar' option
5491 //! Rename files with wildcard combination 'FILE.*' from source to 'RENAMED.*' in target.
5492 //! @SYMTestActions Renames the specified files from source to the target.
5493 //! @SYMTestExpectedResults 1.KErrNone in success case.
5494 //! @SYMTestPriority High
5495 //! @SYMTestStatus Implemented
5496 //---------------------------------------------
5499 {1130, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
5500 {&gDriveToTest, (TText*)L"?:\\Src\\FILE.*",
5501 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5502 (TText*)L"?:\\SrcCom\\", {ALL, {4,6,55,EOB}}},
5503 {&gDriveToTest, (TText*)L"?:\\Trg\\RENAMED.*",
5504 (TText*)L"?:\\Trg\\", {{44,49,57,EOB}, EMPTY},
5505 (TText*)L"?:\\TrgCom\\", {{44,49,57,EOB}, EMPTY}}
5508 //---------------------------------------------
5509 //! @SYMTestCaseID PBASE-T_CFILEMAN-1132
5510 //! @SYMTestType CIT
5512 //! @SYMAPI CFileMan::Rename()
5513 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
5514 //! Rename files from Src directory without backward slash to the target.
5515 //! @SYMTestActions Renames the specified files from source to the target.
5516 //! @SYMTestExpectedResults 1.KErrNone in success case.
5517 //! @SYMTestPriority High
5518 //! @SYMTestStatus Implemented
5519 //---------------------------------------------
5522 {1132, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
5523 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
5524 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5525 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
5526 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5527 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5528 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
5531 //---------------------------------------------
5532 //! @SYMTestCaseID PBASE-T_CFILEMAN-1133
5533 //! @SYMTestType CIT
5535 //! @SYMAPI CFileMan::Rename()
5536 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
5537 //! Rename files from Src directory without backward slash to the target directory without backward slash.
5538 //! @SYMTestActions Renames the specified files from source to the target.
5539 //! @SYMTestExpectedResults 1.KErrNone in success case.
5540 //! @SYMTestPriority High
5541 //! @SYMTestStatus Implemented
5542 //---------------------------------------------
5545 {1133, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5546 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
5547 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5548 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5549 {&gDriveToTest, (TText*)L"?:\\Trg",
5550 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5551 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
5554 //---------------------------------------------
5555 //! @SYMTestCaseID PBASE-T_CFILEMAN-1134
5556 //! @SYMTestType CIT
5558 //! @SYMAPI CFileMan::Rename()
5559 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
5560 //! Rename files from Src to the unspecified(NULL) target path.
5561 //! @SYMTestActions Renames the specified files from source to the target.
5562 //! @SYMTestExpectedResults 1.KErrNone in success case.
5563 //! @SYMTestPriority High
5564 //! @SYMTestStatus Implemented
5565 //---------------------------------------------
5568 {1134, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
5569 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
5570 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5571 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK41}},
5572 {&gDriveToTest, (TText*)L"",
5573 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
5574 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
5577 //---------------------------------------------
5578 //! @SYMTestCaseID PBASE-T_CFILEMAN-1135
5579 //! @SYMTestType CIT
5581 //! @SYMAPI CFileMan::Rename()
5582 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
5583 //! Rename files from unspecified(NULL) Src to the target.
5584 //! @SYMTestActions Renames the specified files from source to the target.
5585 //! @SYMTestExpectedResults 1.KErrNone in success case.
5586 //! @SYMTestPriority High
5587 //! @SYMTestStatus Implemented
5588 //---------------------------------------------
5591 {1135, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
5592 {&gDriveToTest, (TText*)L"",
5593 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
5594 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
5595 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5596 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5597 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
5600 //---------------------------------------------
5601 //! @SYMTestCaseID PBASE-T_CFILEMAN-1136
5602 //! @SYMTestType CIT
5604 //! @SYMAPI CFileMan::Rename()
5605 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmpTar' option
5606 //! Rename files from Src to same Src location.
5607 //! @SYMTestActions Renames the specified files from source to the target.
5608 //! @SYMTestExpectedResults 1.KErrNone in success case.
5609 //! @SYMTestPriority High
5610 //! @SYMTestStatus Implemented
5611 //---------------------------------------------
5614 {1136, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
5615 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
5616 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
5617 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5618 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
5619 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
5620 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
5623 //---------------------------------------------
5624 //! @SYMTestCaseID PBASE-T_CFILEMAN-1137
5625 //! @SYMTestType CIT
5627 //! @SYMAPI CFileMan::Rename()
5628 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
5629 //! Rename files from Src directory without backward slash to the target.
5630 //! @SYMTestActions Rename does not happen, returns the error code.
5631 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5632 //! @SYMTestPriority High
5633 //! @SYMTestStatus Implemented
5634 //---------------------------------------------
5637 {1137, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5638 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
5639 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5640 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5641 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5642 (TText*)L"?:\\Trg\\", {BLOCK09, EMPTY},
5643 (TText*)L"?:\\TrgCom\\", {BLOCK09, EMPTY}}
5646 //---------------------------------------------
5647 //! @SYMTestCaseID PBASE-T_CFILEMAN-1138
5648 //! @SYMTestType CIT
5650 //! @SYMAPI CFileMan::Rename()
5651 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
5652 //! Rename files from Src directory without backward slash to the target directory without backward slash.
5653 //! @SYMTestActions Rename does not happen, returns the error code.
5654 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5655 //! @SYMTestPriority High
5656 //! @SYMTestStatus Implemented
5657 //---------------------------------------------
5660 {1138, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5661 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
5662 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5663 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5664 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5665 (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
5666 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
5669 //---------------------------------------------
5670 //! @SYMTestCaseID PBASE-T_CFILEMAN-1139
5671 //! @SYMTestType CIT
5673 //! @SYMAPI CFileMan::Rename()
5674 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
5675 //! Rename files from Src to the unspecified(NULL) target path.
5676 //! @SYMTestActions Rename does not happen, returns the error code.
5677 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5678 //! @SYMTestPriority High
5679 //! @SYMTestStatus Implemented
5680 //---------------------------------------------
5683 {1139, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5684 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
5685 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5686 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5687 {&gDriveToTest, (TText*)L"",
5688 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
5689 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
5692 //---------------------------------------------
5693 //! @SYMTestCaseID PBASE-T_CFILEMAN-1140
5694 //! @SYMTestType CIT
5696 //! @SYMAPI CFileMan::Rename()
5697 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
5698 //! Rename files from unspecified(NULL) Src to the target.
5699 //! @SYMTestActions Rename does not happen, returns the error code.
5700 //! @SYMTestExpectedResults 1.KErrAlreadyExists in success case.
5701 //! @SYMTestPriority High
5702 //! @SYMTestStatus Implemented
5703 //---------------------------------------------
5706 {1140, ECFMRename, 0, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5707 {&gDriveToTest, (TText*)L"",
5708 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
5709 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5710 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5711 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
5712 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
5715 //---------------------------------------------
5716 //! @SYMTestCaseID PBASE-T_CFILEMAN-1141
5717 //! @SYMTestType CIT
5719 //! @SYMAPI CFileMan::Rename()
5720 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,Non-EmptyTar' option
5721 //! Rename files from Src to same Src location.
5722 //! @SYMTestActions Renames the specified files from source to the target.
5723 //! @SYMTestExpectedResults 1.KErrNone in success case.
5724 //! @SYMTestPriority High
5725 //! @SYMTestStatus Implemented
5726 //---------------------------------------------
5729 {1141, ECFMRename, 0, KErrNone, KErrNone, KErrNone},
5730 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
5731 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
5732 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5733 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
5734 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5735 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
5738 //---------------------------------------------
5739 //! @SYMTestCaseID PBASE-T_CFILEMAN-1142
5740 //! @SYMTestType CIT
5742 //! @SYMAPI CFileMan::Rename()
5743 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
5744 //! Rename files from Src directory without backward slash to the target.
5745 //! @SYMTestActions Renames the specified files from source to the target.
5746 //! @SYMTestExpectedResults 1.KErrNone in success case.
5747 //! @SYMTestPriority High
5748 //! @SYMTestStatus Implemented
5749 //---------------------------------------------
5752 {1142, ECFMRename, CFileMan::EOverWrite, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5753 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
5754 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5755 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5756 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5757 (TText*)L"?:\\Trg\\", {BLOCK41, EMPTY},
5758 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
5761 //---------------------------------------------
5762 //! @SYMTestCaseID PBASE-T_CFILEMAN-1143
5763 //! @SYMTestType CIT
5765 //! @SYMAPI CFileMan::Rename()
5766 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
5767 //! Rename files from Src directory without backward slash to the target directory without backward slash.
5768 //! @SYMTestActions Renames the specified files from source to the target.
5769 //! @SYMTestExpectedResults 1.KErrNone in success case.
5770 //! @SYMTestPriority High
5771 //! @SYMTestStatus Implemented
5772 //---------------------------------------------
5775 {1143, ECFMRename, CFileMan::EOverWrite, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5776 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
5777 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5778 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5779 {&gDriveToTest, (TText*)L"?:\\Trg",
5780 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
5781 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
5784 //---------------------------------------------
5785 //! @SYMTestCaseID PBASE-T_CFILEMAN-1144
5786 //! @SYMTestType CIT
5788 //! @SYMAPI CFileMan::Rename()
5789 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
5790 //! Rename files from Src to the unspecified(NULL) target path.
5791 //! @SYMTestActions Renames the specified files from source to the target.
5792 //! @SYMTestExpectedResults 1.KErrNone in success case.
5793 //! @SYMTestPriority High
5794 //! @SYMTestStatus Implemented
5795 //---------------------------------------------
5798 {1144, ECFMRename, CFileMan::EOverWrite, KErrAlreadyExists, KErrNone, KErrAlreadyExists},
5799 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1",
5800 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5801 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5802 {&gDriveToTest, (TText*)L"",
5803 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {BLOCK41, EMPTY},
5804 (TText*)L"?:\\TrgCom\\", {BLOCK41, EMPTY}}
5808 //---------------------------------------------
5809 //! @SYMTestCaseID PBASE-T_CFILEMAN-1145
5810 //! @SYMTestType CIT
5812 //! @SYMAPI CFileMan::Rename()
5813 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
5814 //! Rename files from unspecified(NULL) Src to the target.
5815 //! @SYMTestActions Renames the specified files from source to the target.
5816 //! @SYMTestExpectedResults 1.KErrNone in success case.
5817 //! @SYMTestPriority High
5818 //! @SYMTestStatus Implemented
5819 //---------------------------------------------
5822 {1145, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
5823 {&gDriveToTest, (TText*)L"",
5824 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
5825 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}},
5826 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5827 (TText*)L"?:\\Trg\\", {ALL, EMPTY},
5828 (TText*)L"?:\\TrgCom\\", {ALL, EMPTY}}
5830 //---------------------------------------------
5831 //! @SYMTestCaseID PBASE-T_CFILEMAN-1146
5832 //! @SYMTestType CIT
5834 //! @SYMAPI CFileMan::Rename()
5835 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Overwrite,Non-EmptyTar' option
5836 //! Rename files from Src to same Src location.
5837 //! @SYMTestActions Renames the specified files from source to the target.
5838 //! @SYMTestExpectedResults 1.KErrNone in success case.
5839 //! @SYMTestPriority High
5840 //! @SYMTestStatus Implemented
5841 //---------------------------------------------
5844 {1146, ECFMRename, CFileMan::EOverWrite, KErrNone, KErrNone, KErrNone},
5845 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
5846 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {ALL, EMPTY},
5847 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5848 {&gDriveToTest, (TText*)L"?:\\F32-TST\\T_CFILEMAN\\FILE01.TXT",
5849 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5850 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
5853 //---------------------------------------------
5854 //! @SYMTestCaseID PBASE-T_CFILEMAN-1147
5855 //! @SYMTestType CIT
5857 //! @SYMAPI CFileMan::Move()
5858 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
5859 //! Move files with invalid path 'C\\Src\\FILE01.TXT' from Src to target.
5860 //! @SYMTestActions Move does not happen, returns the error code..
5861 //! @SYMTestExpectedResults 1.KErrBadName in success case.
5862 //! @SYMTestPriority High
5863 //! @SYMTestStatus Implemented
5864 //---------------------------------------------
5867 {1147, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
5868 {&gFixedDriveValid, (TText*)L"C\\Src\\FILE01.TXT",
5869 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
5870 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
5871 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5872 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5873 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
5876 //---------------------------------------------
5877 //! @SYMTestCaseID PBASE-T_CFILEMAN-1148
5878 //! @SYMTestType CIT
5880 //! @SYMAPI CFileMan::Move()
5881 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
5882 //! Move files with invalid path 'C:Src\\FILE01.TXT'from Src to target.
5883 //! @SYMTestActions Move does not happen, returns the error code..
5884 //! @SYMTestExpectedResults 1.KErrBadName in success case.
5885 //! @SYMTestPriority High
5886 //! @SYMTestStatus Implemented
5887 //---------------------------------------------
5890 {1148, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
5891 {&gFixedDriveValid, (TText*)L"C:Src\\FILE01.TXT",
5892 (TText*)L"?:\\F32-TST\\T_CFILEMAN\\", {EMPTY, EMPTY},
5893 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
5894 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5895 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5896 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
5900 //---------------------------------------------
5901 //! @SYMTestCaseID PBASE-T_CFILEMAN-1150
5902 //! @SYMTestType CIT
5904 //! @SYMAPI CFileMan::Move()
5905 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
5906 //! Move file with long filename from Src to target.
5907 //! @SYMTestActions Move does not happen, returns the error code..
5908 //! @SYMTestExpectedResults 1.KErrBadName in success case.
5909 //! @SYMTestPriority High
5910 //! @SYMTestStatus Implemented
5911 //---------------------------------------------
5914 {1150, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
5915 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26",
5916 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
5917 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
5918 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5919 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5920 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
5923 //---------------------------------------------
5924 //! @SYMTestCaseID PBASE-T_CFILEMAN-1151
5925 //! @SYMTestType CIT
5927 //! @SYMAPI CFileMan::Move()
5928 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
5929 //! Move file with long pathname from Src to target.
5930 //! @SYMTestActions Move does not happen, returns the error code..
5931 //! @SYMTestExpectedResults 1.KErrBadName in success case.
5932 //! @SYMTestPriority High
5933 //! @SYMTestStatus Implemented
5934 //---------------------------------------------
5937 {1151, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
5938 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\TEST\\",
5939 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5940 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5941 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5942 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5943 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
5946 //---------------------------------------------
5947 //! @SYMTestCaseID PBASE-T_CFILEMAN-1152
5948 //! @SYMTestType CIT
5950 //! @SYMAPI CFileMan::Move()
5951 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
5952 //! Move file from path that doesnot exist in Src to target.
5953 //! @SYMTestActions Move does not happen, returns the error code..
5954 //! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
5955 //! @SYMTestPriority High
5956 //! @SYMTestStatus Implemented
5957 //---------------------------------------------
5960 {1152, ECFMMove, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
5961 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\NODIR\\*.*",
5962 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5963 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5964 {&gDriveToTest, (TText*)L"?:\\Trg\\",
5965 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5966 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
5969 //---------------------------------------------
5970 //! @SYMTestCaseID PBASE-T_CFILEMAN-1153
5971 //! @SYMTestType CIT
5973 //! @SYMAPI CFileMan::Move()
5974 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
5975 //! Move file from Src to path that doesnot exist in target.
5976 //! @SYMTestActions Move does not happen, returns the error code..
5977 //! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
5978 //! @SYMTestPriority High
5979 //! @SYMTestStatus Implemented
5980 //---------------------------------------------
5983 {1153, ECFMMove, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
5984 {&gFixedDriveValid, (TText*)L"?:\\Src\\DIR1\\*.*",
5985 (TText*)L"?:\\Src\\", {ALL, EMPTY},
5986 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
5987 {&gDriveToTest, (TText*)L"?:\\NOTARGET\\",
5988 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
5989 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
5993 //---------------------------------------------
5994 //! @SYMTestCaseID PBASE-T_CFILEMAN-1154
5995 //! @SYMTestType CIT
5997 //! @SYMAPI CFileMan::Move()
5998 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
5999 //! Move file from Src to target with longpath.
6000 //! @SYMTestActions Move does not happen, returns the error code..
6001 //! @SYMTestExpectedResults 1.KErrBadName in success case.
6002 //! @SYMTestPriority High
6003 //! @SYMTestStatus Implemented
6004 //---------------------------------------------
6007 {1154, ECFMMove, 0, KErrBadName, KErrBadName, KErrBadName},
6008 {&gFixedDriveValid, (TText*)L"?:\\Src\\FILE01.TXT",
6009 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
6010 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
6011 {&gDriveToTest, (TText*)L"?:\\TRG\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\",
6012 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
6013 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
6016 //---------------------------------------------
6017 //! @SYMTestCaseID PBASE-T_CFILEMAN-1155
6018 //! @SYMTestType CIT
6020 //! @SYMAPI CFileMan::Move()
6021 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
6022 //! Move file from ReadOnly Drive Src to target.
6023 //! @SYMTestActions Move does not happen, returns the error code..
6024 //! @SYMTestExpectedResults 1.KErrAccessDenied in success case.
6025 //! @SYMTestPriority High
6026 //! @SYMTestStatus Implemented
6027 //---------------------------------------------
6030 {1155, ECFMMove, 0, KErrAccessDenied, KErrNone, KErrAccessDenied},
6031 {&gFixedDriveReadOnly, (TText*)L"?:\\TEST\\",
6032 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
6033 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
6034 {&gDriveToTest, (TText*)L"?:\\Trg\\",
6035 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
6036 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
6039 //---------------------------------------------
6040 //! @SYMTestCaseID PBASE-T_CFILEMAN-1156
6041 //! @SYMTestType CIT
6043 //! @SYMAPI CFileMan::Move()
6044 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
6045 //! Move file Src to target with ReadOnly Drive .
6046 //! @SYMTestActions Move does not happen, returns the error code..
6047 //! @SYMTestExpectedResults 1.KErrAccessDenied in success case.
6048 //! @SYMTestPriority High
6049 //! @SYMTestStatus Implemented
6050 //---------------------------------------------
6053 {1156, ECFMMove, 0, KErrAccessDenied, KErrNone, KErrAccessDenied},
6054 {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
6055 (TText*)L"?:\\Src\\", {ALL, EMPTY},
6056 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
6057 {&gFixedDriveReadOnly, (TText*)L"?:\\",
6058 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
6059 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
6062 //---------------------------------------------
6063 //! @SYMTestCaseID PBASE-T_CFILEMAN-1157
6064 //! @SYMTestType CIT
6066 //! @SYMAPI CFileMan::Move()
6067 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
6068 //! Move file Src to target with Drives not ready .
6069 //! @SYMTestActions Move does not happen, returns the error code..
6070 //! @SYMTestExpectedResults 1.KErrNotReady in success case.
6071 //! @SYMTestPriority High
6072 //! @SYMTestStatus Implemented
6073 //---------------------------------------------
6076 {1157, ECFMMove, 0, KErrNotReady, KErrNone, KErrNotReady},
6077 {&gFixedDriveNotReady, (TText*)L"?:\\",
6078 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
6079 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
6080 {&gDriveToTest, (TText*)L"?:\\Trg\\",
6081 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
6082 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
6085 //---------------------------------------------
6086 //! @SYMTestCaseID PBASE-T_CFILEMAN-1158
6087 //! @SYMTestType CIT
6089 //! @SYMAPI CFileMan::Rename()
6090 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
6091 //! Rename files with invalid path 'C\\Src\\FILE01.TXT' from Src to target.
6092 //! @SYMTestActions Rename does not happen, returns the error code..
6093 //! @SYMTestExpectedResults 1.KErrBadName in success case.
6094 //! @SYMTestPriority High
6095 //! @SYMTestStatus Implemented
6096 //---------------------------------------------
6099 {1158, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
6100 {&gDriveToTest, (TText*)L"C\\Src\\FILE01.TXT",
6101 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
6102 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
6103 {&gDriveToTest, (TText*)L"?:\\Trg\\",
6104 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
6105 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
6108 //---------------------------------------------
6109 //! @SYMTestCaseID PBASE-T_CFILEMAN-1159
6110 //! @SYMTestType CIT
6112 //! @SYMAPI CFileMan::Rename()
6113 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
6114 //! Rename files with invalid path 'C:Src\\FILE01.TXT'from Src to target.
6115 //! @SYMTestActions Rename does not happen, returns the error code..
6116 //! @SYMTestExpectedResults 1.KErrBadName in success case.
6117 //! @SYMTestPriority High
6118 //! @SYMTestStatus Implemented
6119 //---------------------------------------------
6122 {1159, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
6123 {&gDriveToTest, (TText*)L"C:Src\\FILE01.TXT",
6124 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
6125 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
6126 {&gDriveToTest, (TText*)L"?:\\Trg\\",
6127 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
6128 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
6131 //---------------------------------------------
6132 //! @SYMTestCaseID PBASE-T_CFILEMAN-1161
6133 //! @SYMTestType CIT
6135 //! @SYMAPI CFileMan::Rename()
6136 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
6137 //! Rename file with long filename from Src to target.
6138 //! @SYMTestActions Rename does not happen, returns the error code..
6139 //! @SYMTestExpectedResults 1.KErrBadName in success case.
6140 //! @SYMTestPriority High
6141 //! @SYMTestStatus Implemented
6142 //---------------------------------------------
6145 {1161, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
6146 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26",
6147 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
6148 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
6149 {&gDriveToTest, (TText*)L"?:\\Trg\\",
6150 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
6151 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
6154 //---------------------------------------------
6155 //! @SYMTestCaseID PBASE-T_CFILEMAN-1162
6156 //! @SYMTestType CIT
6158 //! @SYMAPI CFileMan::Rename()
6159 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
6160 //! Rename file with long pathname from Src to target.
6161 //! @SYMTestActions Rename does not happen, returns the error code..
6162 //! @SYMTestExpectedResults 1.KErrBadName in success case.
6163 //! @SYMTestPriority High
6164 //! @SYMTestStatus Implemented
6165 //---------------------------------------------
6168 {1162, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
6169 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\fdsa21asdffds\\NAME\\FGHIJ\\TEST\\",
6170 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
6171 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
6172 {&gDriveToTest, (TText*)L"?:\\Trg\\",
6173 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
6174 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
6177 //---------------------------------------------
6178 //! @SYMTestCaseID PBASE-T_CFILEMAN-1163
6179 //! @SYMTestType CIT
6181 //! @SYMAPI CFileMan::Rename()
6182 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
6183 //! Renaming files from the path that does not exist
6184 //! @SYMTestActions Rename does not happen, returns the error code..
6185 //! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
6186 //! @SYMTestPriority High
6187 //! @SYMTestStatus Implemented
6188 //---------------------------------------------
6191 {1163, ECFMRename, 0, KErrPathNotFound, KErrNone, KErrPathNotFound},
6192 {&gDriveToTest, (TText*)L"?:\\Src\\DIR1\\NODIR\\*.*",
6193 (TText*)L"?:\\Src\\", {ALL, EMPTY},
6194 (TText*)L"?:\\SrcCom\\", {ALL, EMPTY}},
6195 {&gDriveToTest, (TText*)L"?:\\Trg\\",
6196 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
6197 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
6200 //---------------------------------------------
6201 //! @SYMTestCaseID PBASE-T_CFILEMAN-1164
6202 //! @SYMTestType CIT
6204 //! @SYMAPI CFileMan::Rename()
6205 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
6206 //! Rename file from Src to path that doesnot exist in target
6207 //! @SYMTestActions Rename does not happen, returns the error code..
6208 //! @SYMTestExpectedResults 1.KErrPathNotFound in success case.
6209 //! @SYMTestPriority High
6210 //! @SYMTestStatus Implemented
6211 //---------------------------------------------
6214 {1164, ECFMRename, 0, KErrBadName, KErrBadName, KErrBadName},
6215 {&gDriveToTest, (TText*)L"?:\\Src\\FILE01.TXT",
6216 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
6217 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
6218 {&gDriveToTest, (TText*)L"?:\\TRG\\asdffdsa01asdffdsa02asdffdsa03asdffdsa04asdffdsa05asdffdsa06asdffdsa07asdffdsa08asdffdsa09asdffdsa10asdffdsa11asdffdsa12asdffdsa13asdffdsa14asdffdsa15asdffdsa16asdffdsa17asdffdsa18asdffdsa19asdffdsa20asdffdsa21asdffdsa22asdffdsa23asdffdsa24asdffdsa25asdffdsa26\\",
6219 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
6220 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
6223 //---------------------------------------------
6224 //! @SYMTestCaseID PBASE-T_CFILEMAN-1165
6225 //! @SYMTestType CIT
6227 //! @SYMAPI CFileMan::Rename()
6228 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
6229 //! Rename file from ReadOnly Drive Src to target.
6230 //! @SYMTestActions Rename does not happen, returns the error code..
6231 //! @SYMTestExpectedResults 1.KErrArgument in success case.
6232 //! @SYMTestPriority High
6233 //! @SYMTestStatus Implemented
6234 //---------------------------------------------
6237 {1165, ECFMRename, 0, KErrArgument, KErrNone, KErrArgument},
6238 {&gFixedDriveReadOnly, (TText*)L"?:\\TEST\\",
6239 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
6240 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
6241 {&gDriveToTest, (TText*)L"?:\\Trg\\",
6242 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
6243 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
6246 //---------------------------------------------
6247 //! @SYMTestCaseID PBASE-T_CFILEMAN-1166
6248 //! @SYMTestType CIT
6250 //! @SYMAPI CFileMan::Rename()
6251 //! @SYMTestCaseDesc 1.Tests API with 'Non-Recursive,Non-Overwrite,EmptyTar' option
6252 //! Rename file Src to target with Drives not ready .
6253 //! @SYMTestActions Rename does not happen, returns the error code..
6254 //! @SYMTestExpectedResults 1.KErrNotReady in success case.
6255 //! @SYMTestPriority High
6256 //! @SYMTestStatus Implemented
6257 //---------------------------------------------
6260 {1166, ECFMRename, 0, KErrNotReady, KErrNone, KErrNotReady},
6261 {&gFixedDriveNotReady, (TText*)L"?:\\",
6262 (TText*)L"?:\\Src\\", {EMPTY, EMPTY},
6263 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}},
6264 {&gDriveToTest, (TText*)L"?:\\Trg\\",
6265 (TText*)L"?:\\Trg\\", {EMPTY, EMPTY},
6266 (TText*)L"?:\\TrgCom\\", {EMPTY, EMPTY}}
6269 //End biary API test cases
6273 #endif /*T_CFILEMAN_CASES_H*/