|
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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // f32test\cfileman\t_cfileman_cases.h |
|
15 // |
|
16 // |
|
17 |
|
18 // Define Test Cases |
|
19 #ifndef T_CFILEMAN_CASES_H |
|
20 #define T_CFILEMAN_CASES_H |
|
21 |
|
22 #include "t_cfileman_aux.h" |
|
23 |
|
24 extern CFileMan* gFileMan; |
|
25 extern RPointerArray<RFile>* gFileHandles; |
|
26 extern TBool gAsynch; |
|
27 extern TRequestStatus gStat; |
|
28 |
|
29 TChar gFixedDriveValid = 'C'; |
|
30 TChar gFixedDriveInvalid = '?'; |
|
31 TChar gFixedDriveReadOnly = 'Z'; |
|
32 TChar gFixedDriveNotReady = 'A'; |
|
33 |
|
34 //////////////////////////////////////////////////////////// |
|
35 // Test case definitions |
|
36 //////////////////////////////////////////////////////////// |
|
37 static const TTestCaseUnitaryBasic gBasicUnitaryTestCases[] = |
|
38 { |
|
39 //*****************************Delete API************************** |
|
40 //--------------------------------------------- |
|
41 //! @SYMTestCaseID PBASE-T_CFILEMAN-0816 |
|
42 //! @SYMTestType CIT |
|
43 //! |
|
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 //--------------------------------------------- |
|
52 |
|
53 { |
|
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}}}, |
|
58 }, |
|
59 |
|
60 //--------------------------------------------- |
|
61 //! @SYMTestCaseID PBASE-T_CFILEMAN-0817 |
|
62 //! @SYMTestType CIT |
|
63 //! |
|
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 //--------------------------------------------- |
|
72 { |
|
73 {817, ECFMDelete, 0, KErrNone, KErrNone, KErrNone}, |
|
74 {&gDriveToTest, (TText*)L"?:\\Src\\*", |
|
75 (TText*)L"?:\\Src\\", {ALL, EMPTY}, |
|
76 (TText*)L"?:\\SrcCom\\", {ALL, BLOCK24}}, |
|
77 }, |
|
78 |
|
79 //--------------------------------------------- |
|
80 //! @SYMTestCaseID PBASE-T_CFILEMAN-0818 |
|
81 //! @SYMTestType CIT |
|
82 //! |
|
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 //--------------------------------------------- |
|
91 { |
|
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}}, |
|
96 }, |
|
97 |
|
98 //--------------------------------------------- |
|
99 //! @SYMTestCaseID PBASE-T_CFILEMAN-0819 |
|
100 //! @SYMTestType CIT |
|
101 //! |
|
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 //--------------------------------------------- |
|
110 { |
|
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}}}, |
|
115 }, |
|
116 |
|
117 //--------------------------------------------- |
|
118 //! @SYMTestCaseID PBASE-T_CFILEMAN-0820 |
|
119 //! @SYMTestType CIT |
|
120 //! |
|
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 //--------------------------------------------- |
|
129 { |
|
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}}, |
|
134 }, |
|
135 |
|
136 //--------------------------------------------- |
|
137 //! @SYMTestCaseID PBASE-T_CFILEMAN-0821 |
|
138 //! @SYMTestType CIT |
|
139 //! |
|
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 //--------------------------------------------- |
|
148 { |
|
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}}}, |
|
153 }, |
|
154 |
|
155 //--------------------------------------------- |
|
156 //! @SYMTestCaseID PBASE-T_CFILEMAN-0822 |
|
157 //! @SYMTestType CIT |
|
158 //! |
|
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 //--------------------------------------------- |
|
167 { |
|
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}}}, |
|
172 }, |
|
173 |
|
174 //--------------------------------------------- |
|
175 //! @SYMTestCaseID PBASE-T_CFILEMAN-0823 |
|
176 //! @SYMTestType CIT |
|
177 //! |
|
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 //--------------------------------------------- |
|
186 { |
|
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}}, |
|
191 }, |
|
192 |
|
193 //--------------------------------------------- |
|
194 //! @SYMTestCaseID PBASE-T_CFILEMAN-0824 |
|
195 //! @SYMTestType CIT |
|
196 //! |
|
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 //--------------------------------------------- |
|
205 { |
|
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}}, |
|
210 }, |
|
211 |
|
212 //--------------------------------------------- |
|
213 //! @SYMTestCaseID PBASE-T_CFILEMAN-0825 |
|
214 //! @SYMTestType CIT |
|
215 //! |
|
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 //--------------------------------------------- |
|
224 { |
|
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}}, |
|
229 }, |
|
230 |
|
231 //--------------------------------------------- |
|
232 //! @SYMTestCaseID PBASE-T_CFILEMAN-0826 |
|
233 //! @SYMTestType CIT |
|
234 //! |
|
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 //--------------------------------------------- |
|
243 { |
|
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}}, |
|
248 }, |
|
249 |
|
250 //--------------------------------------------- |
|
251 //! @SYMTestCaseID PBASE-T_CFILEMAN-0827 |
|
252 //! @SYMTestType CIT |
|
253 //! |
|
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 //--------------------------------------------- |
|
262 { |
|
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}}, |
|
267 }, |
|
268 |
|
269 |
|
270 //*****************************RmDir API************************** |
|
271 //--------------------------------------------- |
|
272 //! @SYMTestCaseID PBASE-T_CFILEMAN-0828 |
|
273 //! @SYMTestType CIT |
|
274 //! |
|
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 //--------------------------------------------- |
|
283 { |
|
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}}, |
|
288 }, |
|
289 |
|
290 //--------------------------------------------- |
|
291 //! @SYMTestCaseID PBASE-T_CFILEMAN-0829 |
|
292 //! @SYMTestType CIT |
|
293 //! |
|
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 |
|
303 { |
|
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}}, |
|
308 }, |
|
309 |
|
310 //Basic Negative test case for RmDir: |
|
311 //--------------------------------------------- |
|
312 //! @SYMTestCaseID PBASE-T_CFILEMAN-0955 |
|
313 //! @SYMTestType CIT |
|
314 //! |
|
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 //--------------------------------------------- |
|
323 { |
|
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}}, |
|
328 }, |
|
329 |
|
330 //--------------------------------------------- |
|
331 //! @SYMTestCaseID PBASE-T_CFILEMAN-0956 |
|
332 //! @SYMTestType CIT |
|
333 //! |
|
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 //--------------------------------------------- |
|
342 { |
|
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}}, |
|
347 }, |
|
348 |
|
349 //--------------------------------------------- |
|
350 //! @SYMTestCaseID PBASE-T_CFILEMAN-0957 |
|
351 //! @SYMTestType CIT |
|
352 //! |
|
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 //--------------------------------------------- |
|
361 |
|
362 { |
|
363 {957, ECFMRmDir, 0, KErrNotReady, KErrNone, KErrNotReady}, |
|
364 {&gFixedDriveNotReady, (TText*)L"?:\\Src\\", |
|
365 (TText*)L"?:\\Src\\", {EMPTY, EMPTY}, |
|
366 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}}, |
|
367 }, |
|
368 |
|
369 //--------------------------------------------- |
|
370 //! @SYMTestCaseID PBASE-T_CFILEMAN-0958 |
|
371 //! @SYMTestType CIT |
|
372 //! |
|
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 //--------------------------------------------- |
|
381 |
|
382 { |
|
383 {958, ECFMRmDir, 0, KErrInUse, KErrNone, KErrInUse}, |
|
384 {&gFixedDriveReadOnly, (TText*)L"?:\\", |
|
385 (TText*)L"?:\\Src\\", {EMPTY, EMPTY}, |
|
386 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}}, |
|
387 }, |
|
388 |
|
389 //--------------------------------------------- |
|
390 //! @SYMTestCaseID PBASE-T_CFILEMAN-0959 |
|
391 //! @SYMTestType CIT |
|
392 //! |
|
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 //--------------------------------------------- |
|
401 |
|
402 { |
|
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}}, |
|
407 }, |
|
408 |
|
409 //--------------------------------------------- |
|
410 //! @SYMTestCaseID PBASE-T_CFILEMAN-0960 |
|
411 //! @SYMTestType CIT |
|
412 //! |
|
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 //--------------------------------------------- |
|
421 |
|
422 { |
|
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}}, |
|
427 }, |
|
428 |
|
429 //--------------------------------------------- |
|
430 //! @SYMTestCaseID PBASE-T_CFILEMAN-0961 |
|
431 //! @SYMTestType CIT |
|
432 //! |
|
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 //--------------------------------------------- |
|
441 |
|
442 { |
|
443 {961, ECFMRmDir, 0, KErrBadName, KErrBadName, KErrBadName}, |
|
444 {&gFixedDriveInvalid, (TText*)L"::C:", |
|
445 (TText*)L"?:\\Src\\", {EMPTY, EMPTY}, |
|
446 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}}, |
|
447 }, |
|
448 |
|
449 //Basic Negative test case for Delete: |
|
450 //--------------------------------------------- |
|
451 //! @SYMTestCaseID PBASE-T_CFILEMAN-0962 |
|
452 //! @SYMTestType CIT |
|
453 //! |
|
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 //--------------------------------------------- |
|
462 |
|
463 { |
|
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}}, |
|
468 }, |
|
469 |
|
470 //--------------------------------------------- |
|
471 //! @SYMTestCaseID PBASE-T_CFILEMAN-0963 |
|
472 //! @SYMTestType CIT |
|
473 //! |
|
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 //--------------------------------------------- |
|
482 |
|
483 { |
|
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}}, |
|
488 }, |
|
489 |
|
490 |
|
491 //--------------------------------------------- |
|
492 //! @SYMTestCaseID PBASE-T_CFILEMAN-0964 |
|
493 //! @SYMTestType CIT |
|
494 //! |
|
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 //--------------------------------------------- |
|
503 |
|
504 { |
|
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}}, |
|
509 }, |
|
510 |
|
511 //--------------------------------------------- |
|
512 //! @SYMTestCaseID PBASE-T_CFILEMAN-0965 |
|
513 //! @SYMTestType CIT |
|
514 //! |
|
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 //--------------------------------------------- |
|
523 |
|
524 { |
|
525 {965, ECFMDelete, 0, KErrAccessDenied, KErrNone, KErrAccessDenied}, |
|
526 {&gFixedDriveReadOnly, (TText*)L"?:\\test\\", |
|
527 (TText*)L"?:\\Src\\", {EMPTY, EMPTY}, |
|
528 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}}, |
|
529 }, |
|
530 |
|
531 //--------------------------------------------- |
|
532 //! @SYMTestCaseID PBASE-T_CFILEMAN-0966 |
|
533 //! @SYMTestType CIT |
|
534 //! |
|
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 //--------------------------------------------- |
|
543 |
|
544 { |
|
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}}, |
|
549 }, |
|
550 |
|
551 //--------------------------------------------- |
|
552 //! @SYMTestCaseID PBASE-T_CFILEMAN-0967 |
|
553 //! @SYMTestType CIT |
|
554 //! |
|
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 //--------------------------------------------- |
|
563 |
|
564 { |
|
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}}, |
|
569 }, |
|
570 |
|
571 //--------------------------------------------- |
|
572 //! @SYMTestCaseID PBASE-T_CFILEMAN-0968 |
|
573 //! @SYMTestType CIT |
|
574 //! |
|
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 //--------------------------------------------- |
|
583 |
|
584 { |
|
585 {968, ECFMDelete, 0, KErrBadName, KErrNone, KErrBadName}, |
|
586 {&gDriveToTest, (TText*)L"::C:", |
|
587 (TText*)L"?:\\Src\\", {EMPTY, EMPTY}, |
|
588 (TText*)L"?:\\SrcCom\\", {EMPTY, EMPTY}}, |
|
589 }, |
|
590 |
|
591 //End unary API test cases |
|
592 {{0}} |
|
593 |
|
594 }; |
|
595 |
|
596 static TTestCaseBinaryBasic gBasicBinaryTestCases[] = |
|
597 { |
|
598 //*****************************Copy API************************** |
|
599 |
|
600 //--------------------------------------------- |
|
601 //! @SYMTestCaseID PBASE-T_CFILEMAN-0830 |
|
602 //! @SYMTestType CIT |
|
603 //! |
|
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 //--------------------------------------------- |
|
612 |
|
613 { |
|
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}} |
|
621 }, |
|
622 |
|
623 //--------------------------------------------- |
|
624 //! @SYMTestCaseID PBASE-T_CFILEMAN-0831 |
|
625 //! @SYMTestType CIT |
|
626 //! |
|
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 //--------------------------------------------- |
|
635 |
|
636 { |
|
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}} |
|
644 }, |
|
645 |
|
646 //--------------------------------------------- |
|
647 //! @SYMTestCaseID PBASE-T_CFILEMAN-0832 |
|
648 //! @SYMTestType CIT |
|
649 //! |
|
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 //--------------------------------------------- |
|
658 |
|
659 { |
|
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}} |
|
667 }, |
|
668 |
|
669 //--------------------------------------------- |
|
670 //! @SYMTestCaseID PBASE-T_CFILEMAN-0833 |
|
671 //! @SYMTestType CIT |
|
672 //! |
|
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 //--------------------------------------------- |
|
681 |
|
682 { |
|
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}} |
|
690 }, |
|
691 |
|
692 //--------------------------------------------- |
|
693 //! @SYMTestCaseID PBASE-T_CFILEMAN-0834 |
|
694 //! @SYMTestType CIT |
|
695 //! |
|
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 //--------------------------------------------- |
|
704 |
|
705 { |
|
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}} |
|
713 }, |
|
714 |
|
715 //--------------------------------------------- |
|
716 //! @SYMTestCaseID PBASE-T_CFILEMAN-0835 |
|
717 //! @SYMTestType CIT |
|
718 //! |
|
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 //--------------------------------------------- |
|
727 |
|
728 { |
|
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}} |
|
736 }, |
|
737 |
|
738 //--------------------------------------------- |
|
739 //! @SYMTestCaseID PBASE-T_CFILEMAN-0836 |
|
740 //! @SYMTestType CIT |
|
741 //! |
|
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 //--------------------------------------------- |
|
750 |
|
751 { |
|
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}} |
|
759 }, |
|
760 |
|
761 //--------------------------------------------- |
|
762 //! @SYMTestCaseID PBASE-T_CFILEMAN-0837 |
|
763 //! @SYMTestType CIT |
|
764 //! |
|
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 //--------------------------------------------- |
|
773 |
|
774 { |
|
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}} |
|
782 }, |
|
783 |
|
784 //--------------------------------------------- |
|
785 //! @SYMTestCaseID PBASE-T_CFILEMAN-0838 |
|
786 //! @SYMTestType CIT |
|
787 //! |
|
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 //--------------------------------------------- |
|
796 |
|
797 { |
|
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}} |
|
805 }, |
|
806 |
|
807 //--------------------------------------------- |
|
808 //! @SYMTestCaseID PBASE-T_CFILEMAN-0839 |
|
809 //! @SYMTestType CIT |
|
810 //! |
|
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 //--------------------------------------------- |
|
819 |
|
820 { |
|
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}} |
|
828 }, |
|
829 |
|
830 //--------------------------------------------- |
|
831 //! @SYMTestCaseID PBASE-T_CFILEMAN-0840 |
|
832 //! @SYMTestType CIT |
|
833 //! |
|
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 //--------------------------------------------- |
|
842 |
|
843 { |
|
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}} |
|
851 }, |
|
852 |
|
853 //--------------------------------------------- |
|
854 //! @SYMTestCaseID PBASE-T_CFILEMAN-0841 |
|
855 //! @SYMTestType CIT |
|
856 //! |
|
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 //--------------------------------------------- |
|
865 |
|
866 { |
|
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}} |
|
874 }, |
|
875 |
|
876 //--------------------------------------------- |
|
877 //! @SYMTestCaseID PBASE-T_CFILEMAN-0842 |
|
878 //! @SYMTestType CIT |
|
879 //! |
|
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 //--------------------------------------------- |
|
888 |
|
889 { |
|
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}} |
|
897 }, |
|
898 |
|
899 //--------------------------------------------- |
|
900 //! @SYMTestCaseID PBASE-T_CFILEMAN-0843 |
|
901 //! @SYMTestType CIT |
|
902 //! |
|
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 //--------------------------------------------- |
|
911 |
|
912 { |
|
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}} |
|
920 }, |
|
921 |
|
922 //--------------------------------------------- |
|
923 //! @SYMTestCaseID PBASE-T_CFILEMAN-0844 |
|
924 //! @SYMTestType CIT |
|
925 //! |
|
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 //--------------------------------------------- |
|
934 |
|
935 { |
|
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}} |
|
943 }, |
|
944 |
|
945 //--------------------------------------------- |
|
946 //! @SYMTestCaseID PBASE-T_CFILEMAN-0845 |
|
947 //! @SYMTestType CIT |
|
948 //! |
|
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 //--------------------------------------------- |
|
957 |
|
958 { |
|
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}} |
|
966 }, |
|
967 |
|
968 //--------------------------------------------- |
|
969 //! @SYMTestCaseID PBASE-T_CFILEMAN-0846 |
|
970 //! @SYMTestType CIT |
|
971 //! |
|
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 //--------------------------------------------- |
|
980 |
|
981 { |
|
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}} |
|
989 }, |
|
990 |
|
991 //--------------------------------------------- |
|
992 //! @SYMTestCaseID PBASE-T_CFILEMAN-0847 |
|
993 //! @SYMTestType CIT |
|
994 //! |
|
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 //--------------------------------------------- |
|
1003 |
|
1004 { |
|
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}} |
|
1012 }, |
|
1013 |
|
1014 //--------------------------------------------- |
|
1015 //! @SYMTestCaseID PBASE-T_CFILEMAN-0848 |
|
1016 //! @SYMTestType CIT |
|
1017 //! |
|
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 //--------------------------------------------- |
|
1026 |
|
1027 { |
|
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}} |
|
1035 }, |
|
1036 |
|
1037 //--------------------------------------------- |
|
1038 //! @SYMTestCaseID PBASE-T_CFILEMAN-0849 |
|
1039 //! @SYMTestType CIT |
|
1040 //! |
|
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 //--------------------------------------------- |
|
1049 |
|
1050 { |
|
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}} |
|
1058 }, |
|
1059 |
|
1060 //--------------------------------------------- |
|
1061 //! @SYMTestCaseID PBASE-T_CFILEMAN-0850 |
|
1062 //! @SYMTestType CIT |
|
1063 //! |
|
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 //--------------------------------------------- |
|
1072 |
|
1073 { |
|
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}} |
|
1081 }, |
|
1082 |
|
1083 //--------------------------------------------- |
|
1084 //! @SYMTestCaseID PBASE-T_CFILEMAN-0851 |
|
1085 //! @SYMTestType CIT |
|
1086 //! |
|
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 //--------------------------------------------- |
|
1095 |
|
1096 { |
|
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}} |
|
1104 }, |
|
1105 |
|
1106 //--------------------------------------------- |
|
1107 //! @SYMTestCaseID PBASE-T_CFILEMAN-0852 |
|
1108 //! @SYMTestType CIT |
|
1109 //! |
|
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 //--------------------------------------------- |
|
1118 |
|
1119 { |
|
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}} |
|
1127 }, |
|
1128 |
|
1129 //--------------------------------------------- |
|
1130 //! @SYMTestCaseID PBASE-T_CFILEMAN-0853 |
|
1131 //! @SYMTestType CIT |
|
1132 //! |
|
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 //--------------------------------------------- |
|
1141 |
|
1142 { |
|
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}} |
|
1150 }, |
|
1151 |
|
1152 //--------------------------------------------- |
|
1153 //! @SYMTestCaseID PBASE-T_CFILEMAN-0854 |
|
1154 //! @SYMTestType CIT |
|
1155 //! |
|
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 //--------------------------------------------- |
|
1164 |
|
1165 { |
|
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}} |
|
1173 }, |
|
1174 |
|
1175 //--------------------------------------------- |
|
1176 //! @SYMTestCaseID PBASE-T_CFILEMAN-0855 |
|
1177 //! @SYMTestType CIT |
|
1178 //! |
|
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 //--------------------------------------------- |
|
1187 |
|
1188 { |
|
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}} |
|
1196 }, |
|
1197 |
|
1198 //--------------------------------------------- |
|
1199 //! @SYMTestCaseID PBASE-T_CFILEMAN-0856 |
|
1200 //! @SYMTestType CIT |
|
1201 //! |
|
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 //--------------------------------------------- |
|
1210 |
|
1211 { |
|
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}} |
|
1219 }, |
|
1220 |
|
1221 //--------------------------------------------- |
|
1222 //! @SYMTestCaseID PBASE-T_CFILEMAN-0857 |
|
1223 //! @SYMTestType CIT |
|
1224 //! |
|
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 //--------------------------------------------- |
|
1233 |
|
1234 { |
|
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}} |
|
1242 }, |
|
1243 |
|
1244 //--------------------------------------------- |
|
1245 //! @SYMTestCaseID PBASE-T_CFILEMAN-0858 |
|
1246 //! @SYMTestType CIT |
|
1247 //! |
|
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 //--------------------------------------------- |
|
1256 |
|
1257 { |
|
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}} |
|
1265 }, |
|
1266 |
|
1267 //--------------------------------------------- |
|
1268 //! @SYMTestCaseID PBASE-T_CFILEMAN-0859 |
|
1269 //! @SYMTestType CIT |
|
1270 //! |
|
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 //--------------------------------------------- |
|
1279 |
|
1280 { |
|
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}} |
|
1288 }, |
|
1289 |
|
1290 //--------------------------------------------- |
|
1291 //! @SYMTestCaseID PBASE-T_CFILEMAN-0860 |
|
1292 //! @SYMTestType CIT |
|
1293 //! |
|
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 //--------------------------------------------- |
|
1302 |
|
1303 { |
|
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}} |
|
1311 }, |
|
1312 |
|
1313 //--------------------------------------------- |
|
1314 //! @SYMTestCaseID PBASE-T_CFILEMAN-0861 |
|
1315 //! @SYMTestType CIT |
|
1316 //! |
|
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 //--------------------------------------------- |
|
1325 |
|
1326 { |
|
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}} |
|
1334 }, |
|
1335 //--------------------------------------------- |
|
1336 //! @SYMTestCaseID PBASE-T_CFILEMAN-0862 |
|
1337 //! @SYMTestType CIT |
|
1338 //! |
|
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 //--------------------------------------------- |
|
1347 |
|
1348 { |
|
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}} |
|
1356 }, |
|
1357 |
|
1358 //--------------------------------------------- |
|
1359 //! @SYMTestCaseID PBASE-T_CFILEMAN-0863 |
|
1360 //! @SYMTestType CIT |
|
1361 //! |
|
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 //--------------------------------------------- |
|
1370 |
|
1371 { |
|
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}} |
|
1379 }, |
|
1380 |
|
1381 //--------------------------------------------- |
|
1382 //! @SYMTestCaseID PBASE-T_CFILEMAN-0864 |
|
1383 //! @SYMTestType CIT |
|
1384 //! |
|
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 //--------------------------------------------- |
|
1393 |
|
1394 { |
|
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}} |
|
1402 }, |
|
1403 |
|
1404 //--------------------------------------------- |
|
1405 //! @SYMTestCaseID PBASE-T_CFILEMAN-0865 |
|
1406 //! @SYMTestType CIT |
|
1407 //! |
|
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 //--------------------------------------------- |
|
1416 |
|
1417 { |
|
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}} |
|
1425 }, |
|
1426 |
|
1427 //--------------------------------------------- |
|
1428 //! @SYMTestCaseID PBASE-T_CFILEMAN-0866 |
|
1429 //! @SYMTestType CIT |
|
1430 //! |
|
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 //--------------------------------------------- |
|
1439 |
|
1440 { |
|
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}} |
|
1448 }, |
|
1449 |
|
1450 //--------------------------------------------- |
|
1451 //! @SYMTestCaseID PBASE-T_CFILEMAN-0867 |
|
1452 //! @SYMTestType CIT |
|
1453 //! |
|
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 //--------------------------------------------- |
|
1462 |
|
1463 { |
|
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}} |
|
1471 }, |
|
1472 |
|
1473 //--------------------------------------------- |
|
1474 //! @SYMTestCaseID PBASE-T_CFILEMAN-0868 |
|
1475 //! @SYMTestType CIT |
|
1476 //! |
|
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 //--------------------------------------------- |
|
1485 |
|
1486 { |
|
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}} |
|
1494 }, |
|
1495 |
|
1496 //--------------------------------------------- |
|
1497 //! @SYMTestCaseID PBASE-T_CFILEMAN-0869 |
|
1498 //! @SYMTestType CIT |
|
1499 //! |
|
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 //--------------------------------------------- |
|
1508 |
|
1509 { |
|
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}} |
|
1517 }, |
|
1518 |
|
1519 //--------------------------------------------- |
|
1520 //! @SYMTestCaseID PBASE-T_CFILEMAN-0870 |
|
1521 //! @SYMTestType CIT |
|
1522 //! |
|
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 //--------------------------------------------- |
|
1531 |
|
1532 { |
|
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}} |
|
1540 }, |
|
1541 |
|
1542 //--------------------------------------------- |
|
1543 //! @SYMTestCaseID PBASE-T_CFILEMAN-0871 |
|
1544 //! @SYMTestType CIT |
|
1545 //! |
|
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 //--------------------------------------------- |
|
1554 |
|
1555 { |
|
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}} |
|
1563 }, |
|
1564 |
|
1565 //*******************Special Cases for Copy************************* |
|
1566 //--------------------------------------------- |
|
1567 //! @SYMTestCaseID PBASE-T_CFILEMAN-0872 |
|
1568 //! @SYMTestType CIT |
|
1569 //! |
|
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 //--------------------------------------------- |
|
1578 |
|
1579 { |
|
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}} |
|
1587 }, |
|
1588 |
|
1589 //--------------------------------------------- |
|
1590 //! @SYMTestCaseID PBASE-T_CFILEMAN-0873 |
|
1591 //! @SYMTestType CIT |
|
1592 //! |
|
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 //--------------------------------------------- |
|
1601 |
|
1602 { |
|
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}} |
|
1610 }, |
|
1611 |
|
1612 //--------------------------------------------- |
|
1613 //! @SYMTestCaseID PBASE-T_CFILEMAN-0874 |
|
1614 //! @SYMTestType CIT |
|
1615 //! |
|
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 //--------------------------------------------- |
|
1624 |
|
1625 { |
|
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}} |
|
1633 }, |
|
1634 |
|
1635 //--------------------------------------------- |
|
1636 //! @SYMTestCaseID PBASE-T_CFILEMAN-0875 |
|
1637 //! @SYMTestType CIT |
|
1638 //! |
|
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 //--------------------------------------------- |
|
1647 |
|
1648 { |
|
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}} |
|
1656 }, |
|
1657 |
|
1658 //--------------------------------------------- |
|
1659 //! @SYMTestCaseID PBASE-T_CFILEMAN-0876 |
|
1660 //! @SYMTestType CIT |
|
1661 //! |
|
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 //--------------------------------------------- |
|
1670 |
|
1671 { |
|
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}} |
|
1679 }, |
|
1680 |
|
1681 //--------------------------------------------- |
|
1682 //! @SYMTestCaseID PBASE-T_CFILEMAN-0877 |
|
1683 //! @SYMTestType CIT |
|
1684 //! |
|
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 //--------------------------------------------- |
|
1693 |
|
1694 { |
|
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}} |
|
1702 }, |
|
1703 |
|
1704 //--------------------------------------------- |
|
1705 //! @SYMTestCaseID PBASE-T_CFILEMAN-0878 |
|
1706 //! @SYMTestType CIT |
|
1707 //! |
|
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 //--------------------------------------------- |
|
1716 |
|
1717 { |
|
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}} |
|
1725 }, |
|
1726 |
|
1727 //--------------------------------------------- |
|
1728 //! @SYMTestCaseID PBASE-T_CFILEMAN-0879 |
|
1729 //! @SYMTestType CIT |
|
1730 //! |
|
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 //--------------------------------------------- |
|
1739 |
|
1740 { |
|
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}} |
|
1748 }, |
|
1749 |
|
1750 //--------------------------------------------- |
|
1751 //! @SYMTestCaseID PBASE-T_CFILEMAN-0882 |
|
1752 //! @SYMTestType CIT |
|
1753 //! |
|
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 //--------------------------------------------- |
|
1762 |
|
1763 { |
|
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}} |
|
1771 }, |
|
1772 |
|
1773 //--------------------------------------------- |
|
1774 //! @SYMTestCaseID PBASE-T_CFILEMAN-0883 |
|
1775 //! @SYMTestType CIT |
|
1776 //! |
|
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 //--------------------------------------------- |
|
1785 |
|
1786 { |
|
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}} |
|
1794 }, |
|
1795 |
|
1796 //--------------------------------------------- |
|
1797 //! @SYMTestCaseID PBASE-T_CFILEMAN-0885 |
|
1798 //! @SYMTestType CIT |
|
1799 //! |
|
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 //--------------------------------------------- |
|
1808 |
|
1809 { |
|
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}} |
|
1817 }, |
|
1818 |
|
1819 //--------------------------------------------- |
|
1820 //! @SYMTestCaseID PBASE-T_CFILEMAN-0886 |
|
1821 //! @SYMTestType CIT |
|
1822 //! |
|
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 //--------------------------------------------- |
|
1831 |
|
1832 { |
|
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}} |
|
1840 }, |
|
1841 |
|
1842 //--------------------------------------------- |
|
1843 //! @SYMTestCaseID PBASE-T_CFILEMAN-0887 |
|
1844 //! @SYMTestType CIT |
|
1845 //! |
|
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 //--------------------------------------------- |
|
1854 |
|
1855 { |
|
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}} |
|
1863 }, |
|
1864 |
|
1865 //--------------------------------------------- |
|
1866 //! @SYMTestCaseID PBASE-T_CFILEMAN-0888 |
|
1867 //! @SYMTestType CIT |
|
1868 //! |
|
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 //--------------------------------------------- |
|
1877 |
|
1878 { |
|
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}} |
|
1886 }, |
|
1887 |
|
1888 //--------------------------------------------- |
|
1889 //! @SYMTestCaseID PBASE-T_CFILEMAN-0889 |
|
1890 //! @SYMTestType CIT |
|
1891 //! |
|
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 //--------------------------------------------- |
|
1900 |
|
1901 { |
|
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}} |
|
1909 }, |
|
1910 |
|
1911 //--------------------------------------------- |
|
1912 //! @SYMTestCaseID PBASE-T_CFILEMAN-0890 |
|
1913 //! @SYMTestType CIT |
|
1914 //! |
|
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 //--------------------------------------------- |
|
1923 |
|
1924 { |
|
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}} |
|
1932 }, |
|
1933 |
|
1934 //--------------------------------------------- |
|
1935 //! @SYMTestCaseID PBASE-T_CFILEMAN-0891 |
|
1936 //! @SYMTestType CIT |
|
1937 //! |
|
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 //--------------------------------------------- |
|
1946 |
|
1947 { |
|
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}} |
|
1955 }, |
|
1956 |
|
1957 //--------------------------------------------- |
|
1958 //! @SYMTestCaseID PBASE-T_CFILEMAN-0892 |
|
1959 //! @SYMTestType CIT |
|
1960 //! |
|
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 //--------------------------------------------- |
|
1969 |
|
1970 { |
|
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}} |
|
1978 }, |
|
1979 |
|
1980 //--------------------------------------------- |
|
1981 //! @SYMTestCaseID PBASE-T_CFILEMAN-0893 |
|
1982 //! @SYMTestType CIT |
|
1983 //! |
|
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 //--------------------------------------------- |
|
1992 |
|
1993 { |
|
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}} |
|
2001 }, |
|
2002 |
|
2003 //--------------------------------------------- |
|
2004 //! @SYMTestCaseID PBASE-T_CFILEMAN-0894 |
|
2005 //! @SYMTestType CIT |
|
2006 //! |
|
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 //--------------------------------------------- |
|
2015 |
|
2016 { |
|
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}} |
|
2024 }, |
|
2025 |
|
2026 //--------------------------------------------- |
|
2027 //! @SYMTestCaseID PBASE-T_CFILEMAN-0895 |
|
2028 //! @SYMTestType CIT |
|
2029 //! |
|
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 //--------------------------------------------- |
|
2038 |
|
2039 { |
|
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}} |
|
2047 }, |
|
2048 |
|
2049 //--------------------------------------------- |
|
2050 //! @SYMTestCaseID PBASE-T_CFILEMAN-0896 |
|
2051 //! @SYMTestType CIT |
|
2052 //! |
|
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 //--------------------------------------------- |
|
2061 |
|
2062 { |
|
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}} |
|
2070 }, |
|
2071 |
|
2072 //--------------------------------------------- |
|
2073 //! @SYMTestCaseID PBASE-T_CFILEMAN-0939 |
|
2074 //! @SYMTestType CIT |
|
2075 //! |
|
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 //--------------------------------------------- |
|
2084 |
|
2085 { |
|
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}} |
|
2093 }, |
|
2094 |
|
2095 //--------------------------------------------- |
|
2096 //! @SYMTestCaseID PBASE-T_CFILEMAN-0940 |
|
2097 //! @SYMTestType CIT |
|
2098 //! |
|
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 //--------------------------------------------- |
|
2107 |
|
2108 { |
|
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}} |
|
2116 }, |
|
2117 |
|
2118 //--------------------------------------------- |
|
2119 //! @SYMTestCaseID PBASE-T_CFILEMAN-0941 |
|
2120 //! @SYMTestType CIT |
|
2121 //! |
|
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 //--------------------------------------------- |
|
2130 |
|
2131 { |
|
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}} |
|
2139 }, |
|
2140 |
|
2141 //--------------------------------------------- |
|
2142 //! @SYMTestCaseID PBASE-T_CFILEMAN-0942 |
|
2143 //! @SYMTestType CIT |
|
2144 //! |
|
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 //--------------------------------------------- |
|
2153 |
|
2154 { |
|
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}} |
|
2162 }, |
|
2163 |
|
2164 //--------------------------------------------- |
|
2165 //! @SYMTestCaseID PBASE-T_CFILEMAN-0943 |
|
2166 //! @SYMTestType CIT |
|
2167 //! |
|
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 //--------------------------------------------- |
|
2176 |
|
2177 { |
|
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}} |
|
2185 }, |
|
2186 |
|
2187 //--------------------------------------------- |
|
2188 //! @SYMTestCaseID PBASE-T_CFILEMAN-0944 |
|
2189 //! @SYMTestType CIT |
|
2190 //! |
|
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 //--------------------------------------------- |
|
2199 |
|
2200 { |
|
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}} |
|
2208 }, |
|
2209 |
|
2210 |
|
2211 //--------------------------------------------- |
|
2212 //! @SYMTestCaseID PBASE-T_CFILEMAN-0945 |
|
2213 //! @SYMTestType CIT |
|
2214 //! |
|
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 //--------------------------------------------- |
|
2223 |
|
2224 { |
|
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}} |
|
2232 }, |
|
2233 |
|
2234 //--------------------------------------------- |
|
2235 //! @SYMTestCaseID PBASE-T_CFILEMAN-0947 |
|
2236 //! @SYMTestType CIT |
|
2237 //! |
|
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 //--------------------------------------------- |
|
2246 |
|
2247 { |
|
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}} |
|
2255 }, |
|
2256 |
|
2257 //--------------------------------------------- |
|
2258 //! @SYMTestCaseID PBASE-T_CFILEMAN-0948 |
|
2259 //! @SYMTestType CIT |
|
2260 //! |
|
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 //--------------------------------------------- |
|
2269 |
|
2270 { |
|
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}} |
|
2278 }, |
|
2279 |
|
2280 //--------------------------------------------- |
|
2281 //! @SYMTestCaseID PBASE-T_CFILEMAN-0949 |
|
2282 //! @SYMTestType CIT |
|
2283 //! |
|
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 //--------------------------------------------- |
|
2292 |
|
2293 { |
|
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}} |
|
2301 }, |
|
2302 |
|
2303 |
|
2304 //--------------------------------------------- |
|
2305 //! @SYMTestCaseID PBASE-T_CFILEMAN-0950 |
|
2306 //! @SYMTestType CIT |
|
2307 //! |
|
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 //--------------------------------------------- |
|
2316 |
|
2317 { |
|
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}} |
|
2325 }, |
|
2326 |
|
2327 |
|
2328 //--------------------------------------------- |
|
2329 //! @SYMTestCaseID PBASE-T_CFILEMAN-0951 |
|
2330 //! @SYMTestType CIT |
|
2331 //! |
|
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 //--------------------------------------------- |
|
2340 |
|
2341 { |
|
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}} |
|
2349 }, |
|
2350 |
|
2351 //--------------------------------------------- |
|
2352 //! @SYMTestCaseID PBASE-T_CFILEMAN-0952 |
|
2353 //! @SYMTestType CIT |
|
2354 //! |
|
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 //--------------------------------------------- |
|
2363 |
|
2364 { |
|
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}} |
|
2372 }, |
|
2373 |
|
2374 |
|
2375 //--------------------------------------------- |
|
2376 //! @SYMTestCaseID PBASE-T_CFILEMAN-0953 |
|
2377 //! @SYMTestType CIT |
|
2378 //! |
|
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 //--------------------------------------------- |
|
2387 |
|
2388 { |
|
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}} |
|
2396 }, |
|
2397 |
|
2398 //--------------------------------------------- |
|
2399 //! @SYMTestCaseID PBASE-T_CFILEMAN-0954 |
|
2400 //! @SYMTestType CIT |
|
2401 //! |
|
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 //--------------------------------------------- |
|
2410 |
|
2411 { |
|
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}} |
|
2419 }, |
|
2420 |
|
2421 //Basic Negative test case for Copy: |
|
2422 //--------------------------------------------- |
|
2423 //! @SYMTestCaseID PBASE-T_CFILEMAN-0970 |
|
2424 //! @SYMTestType CIT |
|
2425 //! |
|
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 //--------------------------------------------- |
|
2434 |
|
2435 { |
|
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}} |
|
2443 }, |
|
2444 |
|
2445 |
|
2446 //--------------------------------------------- |
|
2447 //! @SYMTestCaseID PBASE-T_CFILEMAN-0971 |
|
2448 //! @SYMTestType CIT |
|
2449 //! |
|
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 //--------------------------------------------- |
|
2458 |
|
2459 { |
|
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}} |
|
2467 }, |
|
2468 |
|
2469 //--------------------------------------------- |
|
2470 //! @SYMTestCaseID PBASE-T_CFILEMAN-0972 |
|
2471 //! @SYMTestType CIT |
|
2472 //! |
|
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 //--------------------------------------------- |
|
2481 |
|
2482 { |
|
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}} |
|
2490 }, |
|
2491 |
|
2492 //--------------------------------------------- |
|
2493 //! @SYMTestCaseID PBASE-T_CFILEMAN-0973 |
|
2494 //! @SYMTestType CIT |
|
2495 //! |
|
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 //--------------------------------------------- |
|
2504 |
|
2505 { |
|
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}} |
|
2513 }, |
|
2514 |
|
2515 //--------------------------------------------- |
|
2516 //! @SYMTestCaseID PBASE-T_CFILEMAN-0974 |
|
2517 //! @SYMTestType CIT |
|
2518 //! |
|
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 //--------------------------------------------- |
|
2527 |
|
2528 { |
|
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}} |
|
2536 }, |
|
2537 |
|
2538 //--------------------------------------------- |
|
2539 //! @SYMTestCaseID PBASE-T_CFILEMAN-0975 |
|
2540 //! @SYMTestType CIT |
|
2541 //! |
|
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 //--------------------------------------------- |
|
2550 |
|
2551 { |
|
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}} |
|
2559 }, |
|
2560 |
|
2561 //--------------------------------------------- |
|
2562 //! @SYMTestCaseID PBASE-T_CFILEMAN-0976 |
|
2563 //! @SYMTestType CIT |
|
2564 //! |
|
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 //--------------------------------------------- |
|
2573 |
|
2574 { |
|
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}} |
|
2582 }, |
|
2583 |
|
2584 //--------------------------------------------- |
|
2585 //! @SYMTestCaseID PBASE-T_CFILEMAN-0977 |
|
2586 //! @SYMTestType CIT |
|
2587 //! |
|
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 //--------------------------------------------- |
|
2596 |
|
2597 { |
|
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}} |
|
2605 }, |
|
2606 |
|
2607 //--------------------------------------------- |
|
2608 //! @SYMTestCaseID PBASE-T_CFILEMAN-0979 |
|
2609 //! @SYMTestType CIT |
|
2610 //! |
|
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 //--------------------------------------------- |
|
2619 |
|
2620 { |
|
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}} |
|
2628 }, |
|
2629 |
|
2630 //--------------------------------------------- |
|
2631 //! @SYMTestCaseID PBASE-T_CFILEMAN-0980 |
|
2632 //! @SYMTestType CIT |
|
2633 //! |
|
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 //--------------------------------------------- |
|
2642 |
|
2643 { |
|
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}} |
|
2651 }, |
|
2652 |
|
2653 //--------------------------------------------- |
|
2654 //! @SYMTestCaseID PBASE-T_CFILEMAN-0981 |
|
2655 //! @SYMTestType CIT |
|
2656 //! |
|
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 //--------------------------------------------- |
|
2665 |
|
2666 { |
|
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}} |
|
2674 }, |
|
2675 |
|
2676 //--------------------------------------------- |
|
2677 //! @SYMTestCaseID PBASE-T_CFILEMAN-0982 |
|
2678 //! @SYMTestType CIT |
|
2679 //! |
|
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 //--------------------------------------------- |
|
2688 |
|
2689 { |
|
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}} |
|
2697 }, |
|
2698 |
|
2699 //--------------------------------------------- |
|
2700 //! @SYMTestCaseID PBASE-T_CFILEMAN-0983 |
|
2701 //! @SYMTestType CIT |
|
2702 //! |
|
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 //--------------------------------------------- |
|
2711 |
|
2712 { |
|
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}} |
|
2720 }, |
|
2721 |
|
2722 //--------------------------------------------- |
|
2723 //! @SYMTestCaseID PBASE-T_CFILEMAN-0984 |
|
2724 //! @SYMTestType CIT |
|
2725 //! |
|
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 //--------------------------------------------- |
|
2734 |
|
2735 { |
|
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}} |
|
2743 }, |
|
2744 |
|
2745 //--------------------------------------------- |
|
2746 //! @SYMTestCaseID PBASE-T_CFILEMAN-0985 |
|
2747 //! @SYMTestType CIT |
|
2748 //! |
|
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 //--------------------------------------------- |
|
2757 |
|
2758 { |
|
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}} |
|
2766 }, |
|
2767 |
|
2768 //--------------------------------------------- |
|
2769 //! @SYMTestCaseID PBASE-T_CFILEMAN-0986 |
|
2770 //! @SYMTestType CIT |
|
2771 //! |
|
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 //--------------------------------------------- |
|
2780 |
|
2781 { |
|
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}} |
|
2789 }, |
|
2790 |
|
2791 //--------------------------------------------- |
|
2792 //! @SYMTestCaseID PBASE-T_CFILEMAN-0987 |
|
2793 //! @SYMTestType CIT |
|
2794 //! |
|
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 //--------------------------------------------- |
|
2803 |
|
2804 { |
|
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}} |
|
2812 }, |
|
2813 |
|
2814 |
|
2815 //--------------------------------------------- |
|
2816 //! @SYMTestCaseID PBASE-T_CFILEMAN-0988 |
|
2817 //! @SYMTestType CIT |
|
2818 //! |
|
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 //--------------------------------------------- |
|
2827 |
|
2828 { |
|
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}} |
|
2836 }, |
|
2837 |
|
2838 //--------------------------------------------- |
|
2839 //! @SYMTestCaseID PBASE-T_CFILEMAN-0989 |
|
2840 //! @SYMTestType CIT |
|
2841 //! |
|
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 //--------------------------------------------- |
|
2850 |
|
2851 { |
|
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}} |
|
2859 }, |
|
2860 |
|
2861 //--------------------------------------------- |
|
2862 //! @SYMTestCaseID PBASE-T_CFILEMAN-0990 |
|
2863 //! @SYMTestType CIT |
|
2864 //! |
|
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 //--------------------------------------------- |
|
2873 |
|
2874 { |
|
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}} |
|
2882 }, |
|
2883 |
|
2884 //--------------------------------------------- |
|
2885 //! @SYMTestCaseID PBASE-T_CFILEMAN-0991 |
|
2886 //! @SYMTestType CIT |
|
2887 //! |
|
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 //--------------------------------------------- |
|
2896 |
|
2897 { |
|
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}} |
|
2905 }, |
|
2906 |
|
2907 //--------------------------------------------- |
|
2908 //! @SYMTestCaseID PBASE-T_CFILEMAN-0992 |
|
2909 //! @SYMTestType CIT |
|
2910 //! |
|
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 //--------------------------------------------- |
|
2919 |
|
2920 { |
|
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}} |
|
2928 }, |
|
2929 |
|
2930 //--------------------------------------------- |
|
2931 //! @SYMTestCaseID PBASE-T_CFILEMAN-0993 |
|
2932 //! @SYMTestType CIT |
|
2933 //! |
|
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 //--------------------------------------------- |
|
2942 |
|
2943 { |
|
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}} |
|
2951 }, |
|
2952 |
|
2953 //--------------------------------------------- |
|
2954 //! @SYMTestCaseID PBASE-T_CFILEMAN-0994 |
|
2955 //! @SYMTestType CIT |
|
2956 //! |
|
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 //--------------------------------------------- |
|
2965 |
|
2966 { |
|
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}} |
|
2974 }, |
|
2975 |
|
2976 //--------------------------------------------- |
|
2977 //! @SYMTestCaseID PBASE-T_CFILEMAN-0995 |
|
2978 //! @SYMTestType CIT |
|
2979 //! |
|
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 //--------------------------------------------- |
|
2988 |
|
2989 { |
|
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}} |
|
2997 }, |
|
2998 |
|
2999 //--------------------------------------------- |
|
3000 //! @SYMTestCaseID PBASE-T_CFILEMAN-0996 |
|
3001 //! @SYMTestType CIT |
|
3002 //! |
|
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 //--------------------------------------------- |
|
3011 |
|
3012 { |
|
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}} |
|
3020 }, |
|
3021 |
|
3022 //--------------------------------------------- |
|
3023 //! @SYMTestCaseID PBASE-T_CFILEMAN-0997 |
|
3024 //! @SYMTestType CIT |
|
3025 //! |
|
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 //--------------------------------------------- |
|
3034 |
|
3035 { |
|
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}} |
|
3043 }, |
|
3044 |
|
3045 //--------------------------------------------- |
|
3046 //! @SYMTestCaseID PBASE-T_CFILEMAN-0998 |
|
3047 //! @SYMTestType CIT |
|
3048 //! |
|
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 //--------------------------------------------- |
|
3057 |
|
3058 { |
|
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}} |
|
3066 }, |
|
3067 |
|
3068 //--------------------------------------------- |
|
3069 //! @SYMTestCaseID PBASE-T_CFILEMAN-0999 |
|
3070 //! @SYMTestType CIT |
|
3071 //! |
|
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 //--------------------------------------------- |
|
3080 |
|
3081 { |
|
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}} |
|
3089 }, |
|
3090 |
|
3091 //--------------------------------------------- |
|
3092 //! @SYMTestCaseID PBASE-T_CFILEMAN-1000 |
|
3093 //! @SYMTestType CIT |
|
3094 //! |
|
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 //--------------------------------------------- |
|
3103 |
|
3104 { |
|
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}} |
|
3112 }, |
|
3113 |
|
3114 //--------------------------------------------- |
|
3115 //! @SYMTestCaseID PBASE-T_CFILEMAN-1001 |
|
3116 //! @SYMTestType CIT |
|
3117 //! |
|
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 //--------------------------------------------- |
|
3126 |
|
3127 { |
|
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}} |
|
3135 }, |
|
3136 |
|
3137 //--------------------------------------------- |
|
3138 //! @SYMTestCaseID PBASE-T_CFILEMAN-1002 |
|
3139 //! @SYMTestType CIT |
|
3140 //! |
|
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 //--------------------------------------------- |
|
3149 |
|
3150 { |
|
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}} |
|
3158 }, |
|
3159 |
|
3160 //--------------------------------------------- |
|
3161 //! @SYMTestCaseID PBASE-T_CFILEMAN-1003 |
|
3162 //! @SYMTestType CIT |
|
3163 //! |
|
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 //--------------------------------------------- |
|
3172 |
|
3173 { |
|
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}} |
|
3181 }, |
|
3182 |
|
3183 //--------------------------------------------- |
|
3184 //! @SYMTestCaseID PBASE-T_CFILEMAN-1004 |
|
3185 //! @SYMTestType CIT |
|
3186 //! |
|
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 //--------------------------------------------- |
|
3195 |
|
3196 { |
|
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}} |
|
3204 }, |
|
3205 |
|
3206 //--------------------------------------------- |
|
3207 //! @SYMTestCaseID PBASE-T_CFILEMAN-1005 |
|
3208 //! @SYMTestType CIT |
|
3209 //! |
|
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 //--------------------------------------------- |
|
3218 |
|
3219 { |
|
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}} |
|
3227 }, |
|
3228 |
|
3229 //--------------------------------------------- |
|
3230 //! @SYMTestCaseID PBASE-T_CFILEMAN-1006 |
|
3231 //! @SYMTestType CIT |
|
3232 //! |
|
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 //--------------------------------------------- |
|
3241 |
|
3242 { |
|
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}} |
|
3250 }, |
|
3251 |
|
3252 //--------------------------------------------- |
|
3253 //! @SYMTestCaseID PBASE-T_CFILEMAN-1007 |
|
3254 //! @SYMTestType CIT |
|
3255 //! |
|
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 //--------------------------------------------- |
|
3264 |
|
3265 { |
|
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}} |
|
3273 }, |
|
3274 |
|
3275 //--------------------------------------------- |
|
3276 //! @SYMTestCaseID PBASE-T_CFILEMAN-1008 |
|
3277 //! @SYMTestType CIT |
|
3278 //! |
|
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 //--------------------------------------------- |
|
3287 |
|
3288 { |
|
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}} |
|
3296 }, |
|
3297 |
|
3298 //--------------------------------------------- |
|
3299 //! @SYMTestCaseID PBASE-T_CFILEMAN-1009 |
|
3300 //! @SYMTestType CIT |
|
3301 //! |
|
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 //--------------------------------------------- |
|
3310 |
|
3311 { |
|
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}} |
|
3319 }, |
|
3320 |
|
3321 //--------------------------------------------- |
|
3322 //! @SYMTestCaseID PBASE-T_CFILEMAN-1010 |
|
3323 //! @SYMTestType CIT |
|
3324 //! |
|
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 //--------------------------------------------- |
|
3333 |
|
3334 { |
|
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}} |
|
3342 }, |
|
3343 |
|
3344 //--------------------------------------------- |
|
3345 //! @SYMTestCaseID PBASE-T_CFILEMAN-1011 |
|
3346 //! @SYMTestType CIT |
|
3347 //! |
|
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 //--------------------------------------------- |
|
3356 |
|
3357 { |
|
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}} |
|
3365 }, |
|
3366 |
|
3367 //--------------------------------------------- |
|
3368 //! @SYMTestCaseID PBASE-T_CFILEMAN-1012 |
|
3369 //! @SYMTestType CIT |
|
3370 //! |
|
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 //--------------------------------------------- |
|
3379 |
|
3380 { |
|
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}} |
|
3388 }, |
|
3389 |
|
3390 //--------------------------------------------- |
|
3391 //! @SYMTestCaseID PBASE-T_CFILEMAN-1013 |
|
3392 //! @SYMTestType CIT |
|
3393 //! @SYMREQ NA |
|
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 //--------------------------------------------- |
|
3402 |
|
3403 { |
|
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}} |
|
3411 }, |
|
3412 |
|
3413 //--------------------------------------------- |
|
3414 //! @SYMTestCaseID PBASE-T_CFILEMAN-1014 |
|
3415 //! @SYMTestType CIT |
|
3416 //! |
|
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 //--------------------------------------------- |
|
3425 |
|
3426 { |
|
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}} |
|
3434 }, |
|
3435 |
|
3436 //--------------------------------------------- |
|
3437 //! @SYMTestCaseID PBASE-T_CFILEMAN-1015 |
|
3438 //! @SYMTestType CIT |
|
3439 //! |
|
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 //--------------------------------------------- |
|
3448 |
|
3449 { |
|
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}} |
|
3457 }, |
|
3458 |
|
3459 //--------------------------------------------- |
|
3460 //! @SYMTestCaseID PBASE-T_CFILEMAN-1016 |
|
3461 //! @SYMTestType CIT |
|
3462 //! |
|
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 //--------------------------------------------- |
|
3471 |
|
3472 { |
|
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}} |
|
3480 }, |
|
3481 |
|
3482 //--------------------------------------------- |
|
3483 //! @SYMTestCaseID PBASE-T_CFILEMAN-1017 |
|
3484 //! @SYMTestType CIT |
|
3485 //! |
|
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 //--------------------------------------------- |
|
3494 |
|
3495 { |
|
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}} |
|
3503 }, |
|
3504 |
|
3505 //--------------------------------------------- |
|
3506 //! @SYMTestCaseID PBASE-T_CFILEMAN-1018 |
|
3507 //! @SYMTestType CIT |
|
3508 //! |
|
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 //--------------------------------------------- |
|
3517 |
|
3518 { |
|
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}} |
|
3526 }, |
|
3527 |
|
3528 //--------------------------------------------- |
|
3529 //! @SYMTestCaseID PBASE-T_CFILEMAN-1019 |
|
3530 //! @SYMTestType CIT |
|
3531 //! |
|
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 //--------------------------------------------- |
|
3540 |
|
3541 { |
|
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}} |
|
3549 }, |
|
3550 |
|
3551 //--------------------------------------------- |
|
3552 //! @SYMTestCaseID PBASE-T_CFILEMAN-1020 |
|
3553 //! @SYMTestType CIT |
|
3554 //! |
|
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 //--------------------------------------------- |
|
3563 |
|
3564 { |
|
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}} |
|
3572 }, |
|
3573 |
|
3574 //--------------------------------------------- |
|
3575 //! @SYMTestCaseID PBASE-T_CFILEMAN-1021 |
|
3576 //! @SYMTestType CIT |
|
3577 //! |
|
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 //--------------------------------------------- |
|
3586 |
|
3587 { |
|
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}} |
|
3595 }, |
|
3596 |
|
3597 //--------------------------------------------- |
|
3598 //! @SYMTestCaseID PBASE-T_CFILEMAN-1022 |
|
3599 //! @SYMTestType CIT |
|
3600 //! |
|
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 //--------------------------------------------- |
|
3609 |
|
3610 { |
|
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}} |
|
3618 }, |
|
3619 |
|
3620 //--------------------------------------------- |
|
3621 //! @SYMTestCaseID PBASE-T_CFILEMAN-1023 |
|
3622 //! @SYMTestType CIT |
|
3623 //! |
|
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 //--------------------------------------------- |
|
3632 |
|
3633 { |
|
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}} |
|
3641 }, |
|
3642 |
|
3643 //--------------------------------------------- |
|
3644 //! @SYMTestCaseID PBASE-T_CFILEMAN-1026 |
|
3645 //! @SYMTestType CIT |
|
3646 //! |
|
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 //--------------------------------------------- |
|
3655 |
|
3656 { |
|
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}} |
|
3664 }, |
|
3665 |
|
3666 //--------------------------------------------- |
|
3667 //! @SYMTestCaseID PBASE-T_CFILEMAN-1027 |
|
3668 //! @SYMTestType CIT |
|
3669 //! |
|
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 //--------------------------------------------- |
|
3678 |
|
3679 { |
|
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}} |
|
3687 }, |
|
3688 |
|
3689 //--------------------------------------------- |
|
3690 //! @SYMTestCaseID PBASE-T_CFILEMAN-1029 |
|
3691 //! @SYMTestType CIT |
|
3692 //! |
|
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 //--------------------------------------------- |
|
3701 |
|
3702 { |
|
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}} |
|
3710 }, |
|
3711 |
|
3712 |
|
3713 //--------------------------------------------- |
|
3714 //! @SYMTestCaseID PBASE-T_CFILEMAN-1030 |
|
3715 //! @SYMTestType CIT |
|
3716 //! |
|
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 //--------------------------------------------- |
|
3725 |
|
3726 { |
|
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}} |
|
3734 }, |
|
3735 |
|
3736 //--------------------------------------------- |
|
3737 //! @SYMTestCaseID PBASE-T_CFILEMAN-1031 |
|
3738 //! @SYMTestType CIT |
|
3739 //! |
|
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 //--------------------------------------------- |
|
3748 |
|
3749 { |
|
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}} |
|
3757 }, |
|
3758 |
|
3759 //--------------------------------------------- |
|
3760 //! @SYMTestCaseID PBASE-T_CFILEMAN-1032 |
|
3761 //! @SYMTestType CIT |
|
3762 //! |
|
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 //--------------------------------------------- |
|
3771 |
|
3772 { |
|
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}} |
|
3780 }, |
|
3781 |
|
3782 //--------------------------------------------- |
|
3783 //! @SYMTestCaseID PBASE-T_CFILEMAN-1033 |
|
3784 //! @SYMTestType CIT |
|
3785 //! |
|
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 //--------------------------------------------- |
|
3794 |
|
3795 { |
|
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}} |
|
3803 }, |
|
3804 |
|
3805 //--------------------------------------------- |
|
3806 //! @SYMTestCaseID PBASE-T_CFILEMAN-1034 |
|
3807 //! @SYMTestType CIT |
|
3808 //! |
|
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 //--------------------------------------------- |
|
3817 |
|
3818 { |
|
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}} |
|
3826 }, |
|
3827 |
|
3828 //--------------------------------------------- |
|
3829 //! @SYMTestCaseID PBASE-T_CFILEMAN-1035 |
|
3830 //! @SYMTestType CIT |
|
3831 //! |
|
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 //--------------------------------------------- |
|
3840 |
|
3841 { |
|
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}} |
|
3849 }, |
|
3850 |
|
3851 //--------------------------------------------- |
|
3852 //! @SYMTestCaseID PBASE-T_CFILEMAN-1036 |
|
3853 //! @SYMTestType CIT |
|
3854 //! |
|
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 //--------------------------------------------- |
|
3863 |
|
3864 { |
|
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}} |
|
3872 }, |
|
3873 |
|
3874 //--------------------------------------------- |
|
3875 //! @SYMTestCaseID PBASE-T_CFILEMAN-1039 |
|
3876 //! @SYMTestType CIT |
|
3877 //! |
|
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 //--------------------------------------------- |
|
3886 |
|
3887 { |
|
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}} |
|
3895 }, |
|
3896 |
|
3897 //--------------------------------------------- |
|
3898 //! @SYMTestCaseID PBASE-T_CFILEMAN-1040 |
|
3899 //! @SYMTestType CIT |
|
3900 //! |
|
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 //--------------------------------------------- |
|
3909 |
|
3910 { |
|
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}} |
|
3918 }, |
|
3919 |
|
3920 //--------------------------------------------- |
|
3921 //! @SYMTestCaseID PBASE-T_CFILEMAN-1042 |
|
3922 //! @SYMTestType CIT |
|
3923 //! |
|
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 //--------------------------------------------- |
|
3932 |
|
3933 { |
|
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}} |
|
3941 }, |
|
3942 |
|
3943 //--------------------------------------------- |
|
3944 //! @SYMTestCaseID PBASE-T_CFILEMAN-1043 |
|
3945 //! @SYMTestType CIT |
|
3946 //! |
|
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 //--------------------------------------------- |
|
3955 |
|
3956 { |
|
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}} |
|
3964 }, |
|
3965 |
|
3966 //--------------------------------------------- |
|
3967 //! @SYMTestCaseID PBASE-T_CFILEMAN-1044 |
|
3968 //! @SYMTestType CIT |
|
3969 //! |
|
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 //--------------------------------------------- |
|
3978 |
|
3979 { |
|
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}} |
|
3987 }, |
|
3988 |
|
3989 //--------------------------------------------- |
|
3990 //! @SYMTestCaseID PBASE-T_CFILEMAN-1045 |
|
3991 //! @SYMTestType CIT |
|
3992 //! |
|
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 //--------------------------------------------- |
|
4001 |
|
4002 { |
|
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}} |
|
4010 }, |
|
4011 |
|
4012 //--------------------------------------------- |
|
4013 //! @SYMTestCaseID PBASE-T_CFILEMAN-1046 |
|
4014 //! @SYMTestType CIT |
|
4015 //! |
|
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 //--------------------------------------------- |
|
4024 |
|
4025 { |
|
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}} |
|
4033 }, |
|
4034 |
|
4035 //--------------------------------------------- |
|
4036 //! @SYMTestCaseID PBASE-T_CFILEMAN-1047 |
|
4037 //! @SYMTestType CIT |
|
4038 //! |
|
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 //--------------------------------------------- |
|
4047 |
|
4048 { |
|
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}} |
|
4056 }, |
|
4057 |
|
4058 //--------------------------------------------- |
|
4059 //! @SYMTestCaseID PBASE-T_CFILEMAN-1048 |
|
4060 //! @SYMTestType CIT |
|
4061 //! |
|
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 //--------------------------------------------- |
|
4070 |
|
4071 { |
|
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}} |
|
4079 }, |
|
4080 |
|
4081 //--------------------------------------------- |
|
4082 //! @SYMTestCaseID PBASE-T_CFILEMAN-1049 |
|
4083 //! @SYMTestType CIT |
|
4084 //! |
|
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 //--------------------------------------------- |
|
4093 |
|
4094 { |
|
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}} |
|
4102 }, |
|
4103 |
|
4104 //--------------------------------------------- |
|
4105 //! @SYMTestCaseID PBASE-T_CFILEMAN-1052 |
|
4106 //! @SYMTestType CIT |
|
4107 //! |
|
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 //--------------------------------------------- |
|
4116 |
|
4117 { |
|
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}} |
|
4125 }, |
|
4126 |
|
4127 //--------------------------------------------- |
|
4128 //! @SYMTestCaseID PBASE-T_CFILEMAN-1053 |
|
4129 //! @SYMTestType CIT |
|
4130 //! |
|
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 //--------------------------------------------- |
|
4139 |
|
4140 { |
|
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}} |
|
4148 }, |
|
4149 |
|
4150 //--------------------------------------------- |
|
4151 //! @SYMTestCaseID PBASE-T_CFILEMAN-1055 |
|
4152 //! @SYMTestType CIT |
|
4153 //! |
|
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 //--------------------------------------------- |
|
4162 |
|
4163 { |
|
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}} |
|
4171 }, |
|
4172 |
|
4173 //--------------------------------------------- |
|
4174 //! @SYMTestCaseID PBASE-T_CFILEMAN-1056 |
|
4175 //! @SYMTestType CIT |
|
4176 //! |
|
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 //--------------------------------------------- |
|
4185 |
|
4186 { |
|
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}} |
|
4194 }, |
|
4195 |
|
4196 //--------------------------------------------- |
|
4197 //! @SYMTestCaseID PBASE-T_CFILEMAN-1057 |
|
4198 //! @SYMTestType CIT |
|
4199 //! |
|
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 //--------------------------------------------- |
|
4208 |
|
4209 { |
|
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}} |
|
4217 }, |
|
4218 |
|
4219 //--------------------------------------------- |
|
4220 //! @SYMTestCaseID PBASE-T_CFILEMAN-1058 |
|
4221 //! @SYMTestType CIT |
|
4222 //! |
|
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 //--------------------------------------------- |
|
4231 |
|
4232 { |
|
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}} |
|
4240 }, |
|
4241 |
|
4242 //--------------------------------------------- |
|
4243 //! @SYMTestCaseID PBASE-T_CFILEMAN-1059 |
|
4244 //! @SYMTestType CIT |
|
4245 //! |
|
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 //--------------------------------------------- |
|
4254 |
|
4255 { |
|
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}} |
|
4263 }, |
|
4264 |
|
4265 //--------------------------------------------- |
|
4266 //! @SYMTestCaseID PBASE-T_CFILEMAN-1060 |
|
4267 //! @SYMTestType CIT |
|
4268 //! |
|
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 //--------------------------------------------- |
|
4277 |
|
4278 { |
|
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}} |
|
4286 }, |
|
4287 |
|
4288 //--------------------------------------------- |
|
4289 //! @SYMTestCaseID PBASE-T_CFILEMAN-1061 |
|
4290 //! @SYMTestType CIT |
|
4291 //! |
|
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 //--------------------------------------------- |
|
4300 |
|
4301 { |
|
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}} |
|
4309 }, |
|
4310 |
|
4311 //--------------------------------------------- |
|
4312 //! @SYMTestCaseID PBASE-T_CFILEMAN-1062 |
|
4313 //! @SYMTestType CIT |
|
4314 //! |
|
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 //--------------------------------------------- |
|
4323 |
|
4324 { |
|
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}} |
|
4332 }, |
|
4333 |
|
4334 //--------------------------------------------- |
|
4335 //! @SYMTestCaseID PBASE-T_CFILEMAN-1065 |
|
4336 //! @SYMTestType CIT |
|
4337 //! |
|
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 //--------------------------------------------- |
|
4346 |
|
4347 { |
|
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}} |
|
4355 }, |
|
4356 |
|
4357 //--------------------------------------------- |
|
4358 //! @SYMTestCaseID PBASE-T_CFILEMAN-1066 |
|
4359 //! @SYMTestType CIT |
|
4360 //! |
|
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 //--------------------------------------------- |
|
4369 |
|
4370 { |
|
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}} |
|
4378 }, |
|
4379 |
|
4380 //--------------------------------------------- |
|
4381 //! @SYMTestCaseID PBASE-T_CFILEMAN-1068 |
|
4382 //! @SYMTestType CIT |
|
4383 //! |
|
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 //--------------------------------------------- |
|
4392 |
|
4393 { |
|
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}} |
|
4401 }, |
|
4402 |
|
4403 //--------------------------------------------- |
|
4404 //! @SYMTestCaseID PBASE-T_CFILEMAN-1069 |
|
4405 //! @SYMTestType CIT |
|
4406 //! |
|
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 //--------------------------------------------- |
|
4415 |
|
4416 { |
|
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}} |
|
4424 }, |
|
4425 |
|
4426 //--------------------------------------------- |
|
4427 //! @SYMTestCaseID PBASE-T_CFILEMAN-1070 |
|
4428 //! @SYMTestType CIT |
|
4429 //! |
|
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 //--------------------------------------------- |
|
4438 |
|
4439 { |
|
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}} |
|
4447 }, |
|
4448 |
|
4449 //--------------------------------------------- |
|
4450 //! @SYMTestCaseID PBASE-T_CFILEMAN-1071 |
|
4451 //! @SYMTestType CIT |
|
4452 //! |
|
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 //--------------------------------------------- |
|
4461 |
|
4462 { |
|
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}} |
|
4470 }, |
|
4471 |
|
4472 //--------------------------------------------- |
|
4473 //! @SYMTestCaseID PBASE-T_CFILEMAN-1072 |
|
4474 //! @SYMTestType CIT |
|
4475 //! |
|
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 //--------------------------------------------- |
|
4484 |
|
4485 { |
|
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}} |
|
4493 }, |
|
4494 |
|
4495 //--------------------------------------------- |
|
4496 //! @SYMTestCaseID PBASE-T_CFILEMAN-1073 |
|
4497 //! @SYMTestType CIT |
|
4498 //! |
|
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 //--------------------------------------------- |
|
4507 |
|
4508 { |
|
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}} |
|
4516 }, |
|
4517 |
|
4518 //--------------------------------------------- |
|
4519 //! @SYMTestCaseID PBASE-T_CFILEMAN-1074 |
|
4520 //! @SYMTestType CIT |
|
4521 //! |
|
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 //--------------------------------------------- |
|
4530 |
|
4531 { |
|
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}} |
|
4539 }, |
|
4540 |
|
4541 //--------------------------------------------- |
|
4542 //! @SYMTestCaseID PBASE-T_CFILEMAN-1075 |
|
4543 //! @SYMTestType CIT |
|
4544 //! |
|
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 //--------------------------------------------- |
|
4553 |
|
4554 { |
|
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}} |
|
4562 }, |
|
4563 |
|
4564 //--------------------------------------------- |
|
4565 //! @SYMTestCaseID PBASE-T_CFILEMAN-1078 |
|
4566 //! @SYMTestType CIT |
|
4567 //! |
|
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 //--------------------------------------------- |
|
4576 |
|
4577 { |
|
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}} |
|
4585 }, |
|
4586 |
|
4587 //--------------------------------------------- |
|
4588 //! @SYMTestCaseID PBASE-T_CFILEMAN-1079 |
|
4589 //! @SYMTestType CIT |
|
4590 //! |
|
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 //-------------------------------------------- |
|
4599 |
|
4600 { |
|
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}} |
|
4608 }, |
|
4609 |
|
4610 //--------------------------------------------- |
|
4611 //! @SYMTestCaseID PBASE-T_CFILEMAN-1081 |
|
4612 //! @SYMTestType CIT |
|
4613 //! |
|
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 //-------------------------------------------- |
|
4622 |
|
4623 { |
|
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}} |
|
4631 }, |
|
4632 |
|
4633 //--------------------------------------------- |
|
4634 //! @SYMTestCaseID PBASE-T_CFILEMAN-1082 |
|
4635 //! @SYMTestType CIT |
|
4636 //! |
|
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 //-------------------------------------------- |
|
4645 |
|
4646 { |
|
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}} |
|
4654 }, |
|
4655 |
|
4656 //--------------------------------------------- |
|
4657 //! @SYMTestCaseID PBASE-T_CFILEMAN-1083 |
|
4658 //! @SYMTestType CIT |
|
4659 //! |
|
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 //-------------------------------------------- |
|
4668 |
|
4669 { |
|
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}} |
|
4677 }, |
|
4678 |
|
4679 //--------------------------------------------- |
|
4680 //! @SYMTestCaseID PBASE-T_CFILEMAN-1084 |
|
4681 //! @SYMTestType CIT |
|
4682 //! |
|
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 //-------------------------------------------- |
|
4691 |
|
4692 { |
|
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}} |
|
4700 }, |
|
4701 |
|
4702 //--------------------------------------------- |
|
4703 //! @SYMTestCaseID PBASE-T_CFILEMAN-1085 |
|
4704 //! @SYMTestType CIT |
|
4705 //! |
|
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 //-------------------------------------------- |
|
4714 |
|
4715 { |
|
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}} |
|
4723 }, |
|
4724 |
|
4725 //--------------------------------------------- |
|
4726 //! @SYMTestCaseID PBASE-T_CFILEMAN-1086 |
|
4727 //! @SYMTestType CIT |
|
4728 //! @SYMREQ NA |
|
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 //-------------------------------------------- |
|
4737 |
|
4738 { |
|
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}} |
|
4746 }, |
|
4747 //--------------------------------------------- |
|
4748 //! @SYMTestCaseID PBASE-T_CFILEMAN-1087 |
|
4749 //! @SYMTestType CIT |
|
4750 //! |
|
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 //-------------------------------------------- |
|
4759 |
|
4760 { |
|
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}} |
|
4768 }, |
|
4769 |
|
4770 //--------------------------------------------- |
|
4771 //! @SYMTestCaseID PBASE-T_CFILEMAN-1088 |
|
4772 //! @SYMTestType CIT |
|
4773 //! |
|
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 //-------------------------------------------- |
|
4782 |
|
4783 { |
|
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}} |
|
4791 }, |
|
4792 |
|
4793 //--------------------------------------------- |
|
4794 //! @SYMTestCaseID PBASE-T_CFILEMAN-1091 |
|
4795 //! @SYMTestType CIT |
|
4796 //! |
|
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 //-------------------------------------------- |
|
4805 |
|
4806 { |
|
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}} |
|
4814 }, |
|
4815 |
|
4816 //--------------------------------------------- |
|
4817 //! @SYMTestCaseID PBASE-T_CFILEMAN-1092 |
|
4818 //! @SYMTestType CIT |
|
4819 //! |
|
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 //-------------------------------------------- |
|
4828 |
|
4829 { |
|
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}} |
|
4837 }, |
|
4838 |
|
4839 //--------------------------------------------- |
|
4840 //! @SYMTestCaseID PBASE-T_CFILEMAN-1094 |
|
4841 //! @SYMTestType CIT |
|
4842 //! |
|
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 //-------------------------------------------- |
|
4851 |
|
4852 { |
|
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}} |
|
4860 }, |
|
4861 //--------------------------------------------- |
|
4862 //! @SYMTestCaseID PBASE-T_CFILEMAN-1095 |
|
4863 //! @SYMTestType CIT |
|
4864 //! |
|
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 //-------------------------------------------- |
|
4873 |
|
4874 { |
|
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}} |
|
4882 }, |
|
4883 |
|
4884 //--------------------------------------------- |
|
4885 //! @SYMTestCaseID PBASE-T_CFILEMAN-1096 |
|
4886 //! @SYMTestType CIT |
|
4887 //! |
|
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 //--------------------------------------------- |
|
4896 |
|
4897 { |
|
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}} |
|
4905 }, |
|
4906 |
|
4907 //--------------------------------------------- |
|
4908 //! @SYMTestCaseID PBASE-T_CFILEMAN-1097 |
|
4909 //! @SYMTestType CIT |
|
4910 //! |
|
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 //--------------------------------------------- |
|
4919 |
|
4920 { |
|
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}} |
|
4928 }, |
|
4929 |
|
4930 //--------------------------------------------- |
|
4931 //! @SYMTestCaseID PBASE-T_CFILEMAN-1098 |
|
4932 //! @SYMTestType CIT |
|
4933 //! |
|
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 //--------------------------------------------- |
|
4942 |
|
4943 { |
|
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}} |
|
4951 }, |
|
4952 |
|
4953 //--------------------------------------------- |
|
4954 //! @SYMTestCaseID PBASE-T_CFILEMAN-1099 |
|
4955 //! @SYMTestType CIT |
|
4956 //! |
|
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 //--------------------------------------------- |
|
4965 |
|
4966 { |
|
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}} |
|
4974 }, |
|
4975 |
|
4976 //--------------------------------------------- |
|
4977 //! @SYMTestCaseID PBASE-T_CFILEMAN-1100 |
|
4978 //! @SYMTestType CIT |
|
4979 //! |
|
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 //--------------------------------------------- |
|
4988 |
|
4989 { |
|
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}} |
|
4997 }, |
|
4998 |
|
4999 //--------------------------------------------- |
|
5000 //! @SYMTestCaseID PBASE-T_CFILEMAN-1101 |
|
5001 //! @SYMTestType CIT |
|
5002 //! |
|
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 //--------------------------------------------- |
|
5011 |
|
5012 { |
|
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}} |
|
5020 }, |
|
5021 |
|
5022 //--------------------------------------------- |
|
5023 //! @SYMTestCaseID PBASE-T_CFILEMAN-1102 |
|
5024 //! @SYMTestType CIT |
|
5025 //! |
|
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 //--------------------------------------------- |
|
5034 |
|
5035 { |
|
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}} |
|
5043 }, |
|
5044 |
|
5045 //--------------------------------------------- |
|
5046 //! @SYMTestCaseID PBASE-T_CFILEMAN-1105 |
|
5047 //! @SYMTestType CIT |
|
5048 //! |
|
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 //--------------------------------------------- |
|
5057 |
|
5058 { |
|
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}} |
|
5066 }, |
|
5067 |
|
5068 //--------------------------------------------- |
|
5069 //! @SYMTestCaseID PBASE-T_CFILEMAN-1106 |
|
5070 //! @SYMTestType CIT |
|
5071 //! |
|
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 //--------------------------------------------- |
|
5080 |
|
5081 { |
|
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}} |
|
5089 }, |
|
5090 |
|
5091 //--------------------------------------------- |
|
5092 //! @SYMTestCaseID PBASE-T_CFILEMAN-1108 |
|
5093 //! @SYMTestType CIT |
|
5094 //! |
|
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 //--------------------------------------------- |
|
5103 |
|
5104 { |
|
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}} |
|
5112 }, |
|
5113 |
|
5114 //--------------------------------------------- |
|
5115 //! @SYMTestCaseID PBASE-T_CFILEMAN-1109 |
|
5116 //! @SYMTestType CIT |
|
5117 //! |
|
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 //--------------------------------------------- |
|
5126 |
|
5127 { |
|
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}} |
|
5135 }, |
|
5136 |
|
5137 //--------------------------------------------- |
|
5138 //! @SYMTestCaseID PBASE-T_CFILEMAN-1110 |
|
5139 //! @SYMTestType CIT |
|
5140 //! |
|
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 //--------------------------------------------- |
|
5149 |
|
5150 { |
|
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}} |
|
5158 }, |
|
5159 |
|
5160 |
|
5161 |
|
5162 //--------------------------------------------- |
|
5163 //! @SYMTestCaseID PBASE-T_CFILEMAN-1111 |
|
5164 //! @SYMTestType CIT |
|
5165 //! |
|
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 //--------------------------------------------- |
|
5174 |
|
5175 { |
|
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}} |
|
5183 }, |
|
5184 |
|
5185 //--------------------------------------------- |
|
5186 //! @SYMTestCaseID PBASE-T_CFILEMAN-1112 |
|
5187 //! @SYMTestType CIT |
|
5188 //! |
|
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 //--------------------------------------------- |
|
5197 |
|
5198 { |
|
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}} |
|
5206 }, |
|
5207 |
|
5208 //--------------------------------------------- |
|
5209 //! @SYMTestCaseID PBASE-T_CFILEMAN-1113 |
|
5210 //! @SYMTestType CIT |
|
5211 //! |
|
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 //--------------------------------------------- |
|
5220 |
|
5221 { |
|
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}} |
|
5229 }, |
|
5230 |
|
5231 //--------------------------------------------- |
|
5232 //! @SYMTestCaseID PBASE-T_CFILEMAN-1114 |
|
5233 //! @SYMTestType CIT |
|
5234 //! |
|
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 //--------------------------------------------- |
|
5243 |
|
5244 { |
|
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}} |
|
5252 }, |
|
5253 |
|
5254 //--------------------------------------------- |
|
5255 //! @SYMTestCaseID PBASE-T_CFILEMAN-1117 |
|
5256 //! @SYMTestType CIT |
|
5257 //! |
|
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 //--------------------------------------------- |
|
5266 |
|
5267 { |
|
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}} |
|
5275 }, |
|
5276 |
|
5277 //--------------------------------------------- |
|
5278 //! @SYMTestCaseID PBASE-T_CFILEMAN-1118 |
|
5279 //! @SYMTestType CIT |
|
5280 //! |
|
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 //--------------------------------------------- |
|
5289 |
|
5290 { |
|
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}} |
|
5298 }, |
|
5299 |
|
5300 //--------------------------------------------- |
|
5301 //! @SYMTestCaseID PBASE-T_CFILEMAN-1120 |
|
5302 //! @SYMTestType CIT |
|
5303 //! |
|
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 //--------------------------------------------- |
|
5312 |
|
5313 { |
|
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}} |
|
5321 }, |
|
5322 |
|
5323 //--------------------------------------------- |
|
5324 //! @SYMTestCaseID PBASE-T_CFILEMAN-1121 |
|
5325 //! @SYMTestType CIT |
|
5326 //! |
|
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 //--------------------------------------------- |
|
5335 |
|
5336 { |
|
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}} |
|
5344 }, |
|
5345 |
|
5346 //--------------------------------------------- |
|
5347 //! @SYMTestCaseID PBASE-T_CFILEMAN-1122 |
|
5348 //! @SYMTestType CIT |
|
5349 //! |
|
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 //--------------------------------------------- |
|
5358 |
|
5359 { |
|
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}} |
|
5367 }, |
|
5368 |
|
5369 //--------------------------------------------- |
|
5370 //! @SYMTestCaseID PBASE-T_CFILEMAN-1123 |
|
5371 //! @SYMTestType CIT |
|
5372 //! |
|
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 //--------------------------------------------- |
|
5381 |
|
5382 { |
|
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}} |
|
5390 }, |
|
5391 //--------------------------------------------- |
|
5392 //! @SYMTestCaseID PBASE-T_CFILEMAN-1124 |
|
5393 //! @SYMTestType CIT |
|
5394 //! |
|
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 //--------------------------------------------- |
|
5403 |
|
5404 { |
|
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}} |
|
5412 }, |
|
5413 |
|
5414 //--------------------------------------------- |
|
5415 //! @SYMTestCaseID PBASE-T_CFILEMAN-1125 |
|
5416 //! @SYMTestType CIT |
|
5417 //! |
|
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 //--------------------------------------------- |
|
5426 |
|
5427 { |
|
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}} |
|
5435 }, |
|
5436 |
|
5437 //--------------------------------------------- |
|
5438 //! @SYMTestCaseID PBASE-T_CFILEMAN-1126 |
|
5439 //! @SYMTestType CIT |
|
5440 //! |
|
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 //--------------------------------------------- |
|
5449 |
|
5450 { |
|
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}} |
|
5458 }, |
|
5459 |
|
5460 |
|
5461 |
|
5462 //--------------------------------------------- |
|
5463 //! @SYMTestCaseID PBASE-T_CFILEMAN-1129 |
|
5464 //! @SYMTestType CIT |
|
5465 //! |
|
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 //--------------------------------------------- |
|
5474 |
|
5475 { |
|
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}} |
|
5483 }, |
|
5484 |
|
5485 //--------------------------------------------- |
|
5486 //! @SYMTestCaseID PBASE-T_CFILEMAN-1130 |
|
5487 //! @SYMTestType CIT |
|
5488 //! |
|
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 //--------------------------------------------- |
|
5497 |
|
5498 { |
|
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}} |
|
5506 }, |
|
5507 |
|
5508 //--------------------------------------------- |
|
5509 //! @SYMTestCaseID PBASE-T_CFILEMAN-1132 |
|
5510 //! @SYMTestType CIT |
|
5511 //! |
|
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 //--------------------------------------------- |
|
5520 |
|
5521 { |
|
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}} |
|
5529 }, |
|
5530 |
|
5531 //--------------------------------------------- |
|
5532 //! @SYMTestCaseID PBASE-T_CFILEMAN-1133 |
|
5533 //! @SYMTestType CIT |
|
5534 //! |
|
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 //--------------------------------------------- |
|
5543 |
|
5544 { |
|
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}} |
|
5552 }, |
|
5553 |
|
5554 //--------------------------------------------- |
|
5555 //! @SYMTestCaseID PBASE-T_CFILEMAN-1134 |
|
5556 //! @SYMTestType CIT |
|
5557 //! |
|
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 //--------------------------------------------- |
|
5566 |
|
5567 { |
|
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}} |
|
5575 }, |
|
5576 |
|
5577 //--------------------------------------------- |
|
5578 //! @SYMTestCaseID PBASE-T_CFILEMAN-1135 |
|
5579 //! @SYMTestType CIT |
|
5580 //! |
|
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 //--------------------------------------------- |
|
5589 |
|
5590 { |
|
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}} |
|
5598 }, |
|
5599 |
|
5600 //--------------------------------------------- |
|
5601 //! @SYMTestCaseID PBASE-T_CFILEMAN-1136 |
|
5602 //! @SYMTestType CIT |
|
5603 //! |
|
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 //--------------------------------------------- |
|
5612 |
|
5613 { |
|
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}} |
|
5621 }, |
|
5622 |
|
5623 //--------------------------------------------- |
|
5624 //! @SYMTestCaseID PBASE-T_CFILEMAN-1137 |
|
5625 //! @SYMTestType CIT |
|
5626 //! |
|
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 //--------------------------------------------- |
|
5635 |
|
5636 { |
|
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}} |
|
5644 }, |
|
5645 |
|
5646 //--------------------------------------------- |
|
5647 //! @SYMTestCaseID PBASE-T_CFILEMAN-1138 |
|
5648 //! @SYMTestType CIT |
|
5649 //! |
|
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 //--------------------------------------------- |
|
5658 |
|
5659 { |
|
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}} |
|
5667 }, |
|
5668 |
|
5669 //--------------------------------------------- |
|
5670 //! @SYMTestCaseID PBASE-T_CFILEMAN-1139 |
|
5671 //! @SYMTestType CIT |
|
5672 //! |
|
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 //--------------------------------------------- |
|
5681 |
|
5682 { |
|
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}} |
|
5690 }, |
|
5691 |
|
5692 //--------------------------------------------- |
|
5693 //! @SYMTestCaseID PBASE-T_CFILEMAN-1140 |
|
5694 //! @SYMTestType CIT |
|
5695 //! |
|
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 //--------------------------------------------- |
|
5704 |
|
5705 { |
|
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}} |
|
5713 }, |
|
5714 |
|
5715 //--------------------------------------------- |
|
5716 //! @SYMTestCaseID PBASE-T_CFILEMAN-1141 |
|
5717 //! @SYMTestType CIT |
|
5718 //! |
|
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 //--------------------------------------------- |
|
5727 |
|
5728 { |
|
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}} |
|
5736 }, |
|
5737 |
|
5738 //--------------------------------------------- |
|
5739 //! @SYMTestCaseID PBASE-T_CFILEMAN-1142 |
|
5740 //! @SYMTestType CIT |
|
5741 //! |
|
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 //--------------------------------------------- |
|
5750 |
|
5751 { |
|
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}} |
|
5759 }, |
|
5760 |
|
5761 //--------------------------------------------- |
|
5762 //! @SYMTestCaseID PBASE-T_CFILEMAN-1143 |
|
5763 //! @SYMTestType CIT |
|
5764 //! |
|
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 //--------------------------------------------- |
|
5773 |
|
5774 { |
|
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}} |
|
5782 }, |
|
5783 |
|
5784 //--------------------------------------------- |
|
5785 //! @SYMTestCaseID PBASE-T_CFILEMAN-1144 |
|
5786 //! @SYMTestType CIT |
|
5787 //! |
|
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 //--------------------------------------------- |
|
5796 |
|
5797 { |
|
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}} |
|
5805 }, |
|
5806 |
|
5807 |
|
5808 //--------------------------------------------- |
|
5809 //! @SYMTestCaseID PBASE-T_CFILEMAN-1145 |
|
5810 //! @SYMTestType CIT |
|
5811 //! |
|
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 //--------------------------------------------- |
|
5820 |
|
5821 { |
|
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}} |
|
5829 }, |
|
5830 //--------------------------------------------- |
|
5831 //! @SYMTestCaseID PBASE-T_CFILEMAN-1146 |
|
5832 //! @SYMTestType CIT |
|
5833 //! |
|
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 //--------------------------------------------- |
|
5842 |
|
5843 { |
|
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}} |
|
5851 }, |
|
5852 |
|
5853 //--------------------------------------------- |
|
5854 //! @SYMTestCaseID PBASE-T_CFILEMAN-1147 |
|
5855 //! @SYMTestType CIT |
|
5856 //! |
|
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 //--------------------------------------------- |
|
5865 |
|
5866 { |
|
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}} |
|
5874 }, |
|
5875 |
|
5876 //--------------------------------------------- |
|
5877 //! @SYMTestCaseID PBASE-T_CFILEMAN-1148 |
|
5878 //! @SYMTestType CIT |
|
5879 //! |
|
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 //--------------------------------------------- |
|
5888 |
|
5889 { |
|
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}} |
|
5897 }, |
|
5898 |
|
5899 |
|
5900 //--------------------------------------------- |
|
5901 //! @SYMTestCaseID PBASE-T_CFILEMAN-1150 |
|
5902 //! @SYMTestType CIT |
|
5903 //! |
|
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 //--------------------------------------------- |
|
5912 |
|
5913 { |
|
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}} |
|
5921 }, |
|
5922 |
|
5923 //--------------------------------------------- |
|
5924 //! @SYMTestCaseID PBASE-T_CFILEMAN-1151 |
|
5925 //! @SYMTestType CIT |
|
5926 //! |
|
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 //--------------------------------------------- |
|
5935 |
|
5936 { |
|
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}} |
|
5944 }, |
|
5945 |
|
5946 //--------------------------------------------- |
|
5947 //! @SYMTestCaseID PBASE-T_CFILEMAN-1152 |
|
5948 //! @SYMTestType CIT |
|
5949 //! |
|
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 //--------------------------------------------- |
|
5958 |
|
5959 /*{ |
|
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}} |
|
5967 },*/ |
|
5968 |
|
5969 //--------------------------------------------- |
|
5970 //! @SYMTestCaseID PBASE-T_CFILEMAN-1153 |
|
5971 //! @SYMTestType CIT |
|
5972 //! |
|
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 //--------------------------------------------- |
|
5981 |
|
5982 { |
|
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}} |
|
5990 }, |
|
5991 |
|
5992 |
|
5993 //--------------------------------------------- |
|
5994 //! @SYMTestCaseID PBASE-T_CFILEMAN-1154 |
|
5995 //! @SYMTestType CIT |
|
5996 //! |
|
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 //--------------------------------------------- |
|
6005 |
|
6006 { |
|
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}} |
|
6014 }, |
|
6015 |
|
6016 //--------------------------------------------- |
|
6017 //! @SYMTestCaseID PBASE-T_CFILEMAN-1155 |
|
6018 //! @SYMTestType CIT |
|
6019 //! |
|
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 //--------------------------------------------- |
|
6028 |
|
6029 { |
|
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}} |
|
6037 }, |
|
6038 |
|
6039 //--------------------------------------------- |
|
6040 //! @SYMTestCaseID PBASE-T_CFILEMAN-1156 |
|
6041 //! @SYMTestType CIT |
|
6042 //! |
|
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 //--------------------------------------------- |
|
6051 |
|
6052 { |
|
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}} |
|
6060 }, |
|
6061 |
|
6062 //--------------------------------------------- |
|
6063 //! @SYMTestCaseID PBASE-T_CFILEMAN-1157 |
|
6064 //! @SYMTestType CIT |
|
6065 //! |
|
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 //--------------------------------------------- |
|
6074 |
|
6075 { |
|
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}} |
|
6083 }, |
|
6084 |
|
6085 //--------------------------------------------- |
|
6086 //! @SYMTestCaseID PBASE-T_CFILEMAN-1158 |
|
6087 //! @SYMTestType CIT |
|
6088 //! |
|
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 //--------------------------------------------- |
|
6097 |
|
6098 { |
|
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}} |
|
6106 }, |
|
6107 |
|
6108 //--------------------------------------------- |
|
6109 //! @SYMTestCaseID PBASE-T_CFILEMAN-1159 |
|
6110 //! @SYMTestType CIT |
|
6111 //! |
|
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 //--------------------------------------------- |
|
6120 |
|
6121 { |
|
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}} |
|
6129 }, |
|
6130 |
|
6131 //--------------------------------------------- |
|
6132 //! @SYMTestCaseID PBASE-T_CFILEMAN-1161 |
|
6133 //! @SYMTestType CIT |
|
6134 //! |
|
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 //--------------------------------------------- |
|
6143 |
|
6144 { |
|
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}} |
|
6152 }, |
|
6153 |
|
6154 //--------------------------------------------- |
|
6155 //! @SYMTestCaseID PBASE-T_CFILEMAN-1162 |
|
6156 //! @SYMTestType CIT |
|
6157 //! |
|
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 //--------------------------------------------- |
|
6166 |
|
6167 { |
|
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}} |
|
6175 }, |
|
6176 |
|
6177 //--------------------------------------------- |
|
6178 //! @SYMTestCaseID PBASE-T_CFILEMAN-1163 |
|
6179 //! @SYMTestType CIT |
|
6180 //! |
|
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 //--------------------------------------------- |
|
6189 |
|
6190 { |
|
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}} |
|
6198 }, |
|
6199 |
|
6200 //--------------------------------------------- |
|
6201 //! @SYMTestCaseID PBASE-T_CFILEMAN-1164 |
|
6202 //! @SYMTestType CIT |
|
6203 //! |
|
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 //--------------------------------------------- |
|
6212 |
|
6213 { |
|
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}} |
|
6221 }, |
|
6222 |
|
6223 //--------------------------------------------- |
|
6224 //! @SYMTestCaseID PBASE-T_CFILEMAN-1165 |
|
6225 //! @SYMTestType CIT |
|
6226 //! |
|
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 //--------------------------------------------- |
|
6235 |
|
6236 { |
|
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}} |
|
6244 }, |
|
6245 |
|
6246 //--------------------------------------------- |
|
6247 //! @SYMTestCaseID PBASE-T_CFILEMAN-1166 |
|
6248 //! @SYMTestType CIT |
|
6249 //! |
|
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 //--------------------------------------------- |
|
6258 |
|
6259 { |
|
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}} |
|
6267 }, |
|
6268 |
|
6269 //End biary API test cases |
|
6270 {{0}} |
|
6271 |
|
6272 }; |
|
6273 #endif /*T_CFILEMAN_CASES_H*/ |