author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Thu, 07 Jan 2010 13:38:45 +0200 | |
changeset 6 | 0173bcd7697c |
parent 2 | 4122176ea935 |
permissions | -rw-r--r-- |
0 | 1 |
// |
2 |
// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 |
// All rights reserved. |
|
4 |
// This component and the accompanying materials are made available |
|
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
5 |
// under the terms of "Eclipse Public License v1.0" |
0 | 6 |
// which accompanies this distribution, and is available |
7 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 |
// |
|
9 |
// Initial Contributors: |
|
10 |
// Nokia Corporation - initial contribution. |
|
11 |
// |
|
12 |
// Contributors: |
|
13 |
// |
|
2
4122176ea935
Revision: 200948 + Removing redundant base integration tests and fixing build errors
John Imhofe <john.imhofe@nokia.com>
parents:
0
diff
changeset
|
14 |
// Description: |
0 | 15 |
// |
16 |
//! @file |
|
17 |
//! @SYMTestSuiteName PBASE-F32-DUAL-DRIVE-Publicapi-RAM.script |
|
18 |
//! @SYMScriptTestEnvironment This test script requires a base ROM. |
|
19 |
///////////////////////////////////////////////////////////////////////////////////////////////////// |
|
20 |
//The device has to support Dual drive feature for single interface. The drive info has to be changed |
|
21 |
//in dual_drive_env.ini before running the tests on the device which supports DUAL Drive with same interface. |
|
22 |
//Example two MMC drives or two NAND drives etc. |
|
23 |
///////////////////////////////////////////////////////////////////////////////////////////////////// |
|
24 |
LOAD_SUITE T_Sfsrv |
|
25 |
||
26 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0001 |
|
27 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0001 |
|
28 |
//! @SYMAPI RFs::MkDirAll();TEntry::IsDir();RFs::RmDir() |
|
29 |
//! @SYMAuthor Nirmala Bailur |
|
30 |
//! @SYMCreationDate 30/05/2008 |
|
31 |
//! @SYMTestCaseDesc Try creating directory on both the drives and also check whether it has been created or not. |
|
32 |
//! And finally remove the directory created. |
|
33 |
//! |
|
34 |
//! @SYMTestActions 1. Create RFs instance. |
|
35 |
//! 2. Call RFs::MkDirAll() to create the directories. |
|
36 |
//! 3. Check the directory created using TEntry() |
|
37 |
//! 4. Remove the directory created. |
|
38 |
//! 5. Perform the above operation on both the drives concurrently |
|
39 |
//! |
|
40 |
//! @SYMTestStatus Implemented |
|
41 |
//! @SYMTestPriority High |
|
42 |
//! @SYMTestExpectedResults Creates the directories on to both the drives concurrently. |
|
43 |
//! @SYMTestType CIT |
|
44 |
CONCURRENT |
|
45 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
46 |
CREATE_OBJECT RFs rfs1 |
|
47 |
CREATE_OBJECT TEntry tEntry1 |
|
48 |
COMMAND rfs1 new |
|
49 |
COMMAND rfs1 Connect |
|
50 |
COMMAND rfs1 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll_drive1 |
|
51 |
COMMAND rfs1 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll2_drive1 |
|
52 |
COMMAND rfs1 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll3_drive1 |
|
53 |
COMMAND rfs1 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll4_drive1 |
|
54 |
COMMAND tEntry1 new |
|
55 |
COMMAND rfs1 Entry PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry_drive1 |
|
56 |
COMMAND tEntry1 IsDir PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive1 |
|
57 |
COMMAND rfs1 Entry PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry2_drive1 |
|
58 |
COMMAND tEntry1 IsDir PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive1 |
|
59 |
COMMAND rfs1 Entry PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry3_drive1 |
|
60 |
COMMAND tEntry1 IsDir PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive1 |
|
61 |
COMMAND rfs1 Entry PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry4_drive1 |
|
62 |
COMMAND tEntry1 IsDir PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive1 |
|
63 |
COMMAND tEntry1 ~ |
|
64 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir_drive1 |
|
65 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir2_drive1 |
|
66 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir3_drive1 |
|
67 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir4_drive1 |
|
68 |
COMMAND rfs1 Close |
|
69 |
COMMAND rfs1 ~ |
|
70 |
END_TEST_BLOCK |
|
71 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
72 |
CREATE_OBJECT RFs rfs2 |
|
73 |
CREATE_OBJECT TEntry tEntry2 |
|
74 |
COMMAND rfs2 new |
|
75 |
COMMAND rfs2 Connect |
|
76 |
COMMAND rfs2 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll_drive2 |
|
77 |
COMMAND rfs2 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll2_drive2 |
|
78 |
COMMAND rfs2 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll3_drive2 |
|
79 |
COMMAND rfs2 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll4_drive2 |
|
80 |
COMMAND tEntry2 new |
|
81 |
COMMAND rfs2 Entry PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry_drive2 |
|
82 |
COMMAND tEntry2 IsDir PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive2 |
|
83 |
COMMAND rfs2 Entry PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry2_drive2 |
|
84 |
COMMAND tEntry2 IsDir PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive2 |
|
85 |
COMMAND rfs2 Entry PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry3_drive2 |
|
86 |
COMMAND tEntry2 IsDir PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive2 |
|
87 |
COMMAND rfs2 Entry PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry4_drive2 |
|
88 |
COMMAND tEntry2 IsDir PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive2 |
|
89 |
COMMAND tEntry2 ~ |
|
90 |
COMMAND rfs2 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir_drive2 |
|
91 |
COMMAND rfs2 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir2_drive2 |
|
92 |
COMMAND rfs2 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir3_drive2 |
|
93 |
COMMAND rfs2 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir4_drive2 |
|
94 |
COMMAND rfs2 Close |
|
95 |
COMMAND rfs2 ~ |
|
96 |
END_TEST_BLOCK |
|
97 |
CONSECUTIVE |
|
98 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0001 |
|
99 |
||
100 |
||
101 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0002 |
|
102 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0002 |
|
103 |
//! @SYMAPI CFileMan::Attribs();CFileMan::Copy();Rfs::Att() |
|
104 |
//! @SYMAuthor Nirmala Bailur |
|
105 |
//! @SYMCreationDate 30/05/2008 |
|
106 |
//! @SYMTestCaseDesc Copy files on to both the drives from system drive concurrenlty |
|
107 |
//! |
|
108 |
//! @SYMTestActions 1. Call Copy() to copy files on to the mmc drives. |
|
109 |
//! 2. Set and Get the attribute of the file. |
|
110 |
//! 3. Delete the file copied on to the drive. |
|
111 |
//! 4. Perform above operation on both the drive concurrently. |
|
112 |
//! |
|
113 |
//! @SYMTestStatus Implemented |
|
114 |
//! @SYMTestPriority High |
|
115 |
//! @SYMTestExpectedResults copying files on to both drives concurrently works successfully. |
|
116 |
//! @SYMTestType CIT |
|
117 |
CONCURRENT |
|
118 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
119 |
CREATE_OBJECT RFs rfs1 |
|
120 |
CREATE_OBJECT RFile file1 |
|
121 |
CREATE_OBJECT CFileMan fileMan1 |
|
122 |
COMMAND rfs1 new |
|
123 |
COMMAND rfs1 Connect |
|
124 |
COMMAND file1 new |
|
125 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0005_Open_drive1 |
|
126 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0005_NewL_drive1 |
|
127 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0005_Copy_drive1 |
|
128 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0005_Open2_drive1 |
|
129 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0005_Copy2_drive1 |
|
130 |
COMMAND rfs1 Att PBASE-F32-DualDrive-Publicapi-RAM-0005_Att1_drive1 |
|
131 |
COMMAND fileMan1 Attribs PBASE-F32-DualDrive-Publicapi-RAM-0005_Attribs1_drive1 |
|
132 |
COMMAND rfs1 Att PBASE-F32-DualDrive-Publicapi-RAM-0005_Att2_drive1 |
|
133 |
COMMAND fileMan1 Attribs PBASE-F32-DualDrive-Publicapi-RAM-0005_Attribs2_drive1 |
|
134 |
COMMAND rfs1 Att PBASE-F32-DualDrive-Publicapi-RAM-0005_Att1_drive1 |
|
135 |
COMMAND rfs1 Delete PBASE-F32-DualDrive-Publicapi-RAM-0005_Delete_drive1 |
|
136 |
COMMAND rfs1 Delete PBASE-F32-DualDrive-Publicapi-RAM-0005_Delete2_drive1 |
|
137 |
COMMAND fileMan1 ~ |
|
138 |
COMMAND file1 Close |
|
139 |
COMMAND file1 ~ |
|
140 |
COMMAND rfs1 Close |
|
141 |
COMMAND rfs1 ~ |
|
142 |
END_TEST_BLOCK |
|
143 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
144 |
CREATE_OBJECT RFs rfs2 |
|
145 |
CREATE_OBJECT RFile file2 |
|
146 |
CREATE_OBJECT CFileMan fileMan2 |
|
147 |
COMMAND rfs2 new |
|
148 |
COMMAND rfs2 Connect |
|
149 |
COMMAND file2 new |
|
150 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0005_Open_drive2 |
|
151 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0005_NewL_drive2 |
|
152 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0005_Copy_drive2 |
|
153 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0005_Open2_drive2 |
|
154 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0005_Copy2_drive2 |
|
155 |
COMMAND rfs2 Att PBASE-F32-DualDrive-Publicapi-RAM-0005_Att1_drive2 |
|
156 |
COMMAND fileMan2 Attribs PBASE-F32-DualDrive-Publicapi-RAM-0005_Attribs1_drive2 |
|
157 |
COMMAND rfs2 Att PBASE-F32-DualDrive-Publicapi-RAM-0005_Att2_drive2 |
|
158 |
COMMAND fileMan2 Attribs PBASE-F32-DualDrive-Publicapi-RAM-0005_Attribs2_drive2 |
|
159 |
COMMAND rfs2 Att PBASE-F32-DualDrive-Publicapi-RAM-0005_Att1_drive2 |
|
160 |
COMMAND rfs2 Delete PBASE-F32-DualDrive-Publicapi-RAM-0005_Delete_drive2 |
|
161 |
COMMAND rfs2 Delete PBASE-F32-DualDrive-Publicapi-RAM-0005_Delete2_drive2 |
|
162 |
COMMAND fileMan2 ~ |
|
163 |
COMMAND file2 Close |
|
164 |
COMMAND file2 ~ |
|
165 |
COMMAND rfs2 Close |
|
166 |
COMMAND rfs2 ~ |
|
167 |
END_TEST_BLOCK |
|
168 |
CONSECUTIVE |
|
169 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0002 |
|
170 |
||
171 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0003 |
|
172 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0003 |
|
173 |
//! @SYMAPI RFile::Replace();RFile::Read();RFile::Write() |
|
174 |
//! @SYMAuthor Nirmala Bailur |
|
175 |
//! @SYMCreationDate 30/05/2008 |
|
176 |
//! @SYMTestCaseDesc create a file on to the both the drive, write and read the content of file and delete the file after the operation. |
|
177 |
//! Uses API elements: Open(). |
|
178 |
//! @SYMTestActions 1. Create RFs session |
|
179 |
//! 2. Open the files |
|
180 |
//! 3. Write the contents on to the file. |
|
181 |
//! 4. Close files. |
|
182 |
//! 5. Open file the files. |
|
183 |
//! 6. Read the content of the filess. |
|
184 |
//! 7. Close file. |
|
185 |
//! 8. Delete files. |
|
186 |
//! 9. Perform the above operation on both the drives concurrently |
|
187 |
//! |
|
188 |
//! @SYMTestStatus Implemented |
|
189 |
//! @SYMTestPriority High |
|
190 |
//! @SYMTestExpectedResults Can perform both read and write opearation on both the drives concurrently |
|
191 |
//! |
|
192 |
//! @SYMTestType CIT |
|
193 |
CONCURRENT |
|
194 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
195 |
CREATE_OBJECT RFs rfs1 |
|
196 |
CREATE_OBJECT RFile file1 |
|
197 |
CREATE_OBJECT CFileMan fileMan1 |
|
198 |
COMMAND rfs1 new |
|
199 |
COMMAND rfs1 Connect |
|
200 |
COMMAND file1 new |
|
201 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0008_Open1_drive1 |
|
202 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0008_NewL_drive1 |
|
203 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0008_Copy_drive1 |
|
204 |
COMMAND file1 Close |
|
205 |
COMMAND file1 Replace PBASE-F32-DualDrive-Publicapi-RAM-0008_Replace_drive1 |
|
206 |
COMMAND file1 Write PBASE-F32-DualDrive-Publicapi-RAM-0008_Write_drive1 |
|
207 |
COMMAND file1 Close |
|
208 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0008_Open_drive1 |
|
209 |
COMMAND file1 Read PBASE-F32-DualDrive-Publicapi-RAM-0008_Read_drive1 |
|
210 |
COMMAND file1 Close |
|
211 |
COMMAND file1 ~ |
|
212 |
COMMAND rfs1 Delete PBASE-F32-DualDrive-Publicapi-RAM-0008_Delete_drive1 |
|
213 |
COMMAND rfs1 ~ |
|
214 |
END_TEST_BLOCK |
|
215 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
216 |
CREATE_OBJECT RFs rfs2 |
|
217 |
CREATE_OBJECT RFile file2 |
|
218 |
CREATE_OBJECT CFileMan fileMan2 |
|
219 |
COMMAND rfs2 new |
|
220 |
COMMAND rfs2 Connect |
|
221 |
COMMAND file2 new |
|
222 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0008_Open1_drive2 |
|
223 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0008_NewL_drive2 |
|
224 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0008_Copy_drive2 |
|
225 |
COMMAND file2 Close |
|
226 |
COMMAND file2 Replace PBASE-F32-DualDrive-Publicapi-RAM-0008_Replace_drive2 |
|
227 |
COMMAND file2 Write PBASE-F32-DualDrive-Publicapi-RAM-0008_Write_drive2 |
|
228 |
COMMAND file2 Close |
|
229 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0008_Open_drive2 |
|
230 |
COMMAND file2 Read PBASE-F32-DualDrive-Publicapi-RAM-0008_Read_drive2 |
|
231 |
COMMAND file2 Close |
|
232 |
COMMAND file2 ~ |
|
233 |
COMMAND rfs2 Delete PBASE-F32-DualDrive-Publicapi-RAM-0008_Delete_drive2 |
|
234 |
COMMAND rfs2 ~ |
|
235 |
END_TEST_BLOCK |
|
236 |
CONSECUTIVE |
|
237 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0003 |
|
238 |
||
239 |
||
240 |
||
241 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0004 |
|
242 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0004 |
|
243 |
//! @SYMAPI CFileMan::Rename() |
|
244 |
//! @SYMAuthor Nirmala Bailur |
|
245 |
//! @SYMCreationDate 30/05/2008 |
|
246 |
//! @SYMTestCaseDesc Rename the files on the mmc drives. |
|
247 |
//! @SYMTestActions 1.Create a RFs session and call it's Connect() function. |
|
248 |
//! 2.Call CFileMan::NewL(RFs &aFs) and connected file server session as parameter. |
|
249 |
//! 3.Call CFileMan::Rename() to rename the file in one drive with different name. |
|
250 |
//! 4.Call CFileMan::Rename() to rename the file in second drive with different name. |
|
251 |
//! 5.Delete the renamed file. |
|
252 |
//! 6.Close the Rfs session. |
|
253 |
//! 7.Perform the above operation on both the drives concurrently |
|
254 |
//! @SYMTestStatus Implemented |
|
255 |
//! @SYMTestPriority High |
|
256 |
//! @SYMTestExpectedResults Files get renamed on both the drives. |
|
257 |
//! @SYMTestType CIT |
|
258 |
CONCURRENT |
|
259 |
START_TEST_BLOCK 50 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
260 |
CREATE_OBJECT RFs rfs1 |
|
261 |
CREATE_OBJECT RFile file1 |
|
262 |
CREATE_OBJECT CFileMan fileMan1 |
|
263 |
COMMAND rfs1 new |
|
264 |
COMMAND rfs1 Connect |
|
265 |
COMMAND file1 new |
|
266 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0009_Open_drive1 |
|
267 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0009_NewL_drive1 |
|
268 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0009_Copy_drive1 |
|
269 |
COMMAND fileMan1 Rename PBASE-F32-DualDrive-Publicapi-RAM-0009_Rename_drive1 |
|
270 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0009_Open_drive1 |
|
271 |
COMMAND file1 Close |
|
272 |
COMMAND fileMan1 ~ |
|
273 |
COMMAND file1 ~ |
|
274 |
COMMAND rfs1 ~ |
|
275 |
END_TEST_BLOCK |
|
276 |
START_TEST_BLOCK 50 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
277 |
CREATE_OBJECT RFs rfs2 |
|
278 |
CREATE_OBJECT RFile file2 |
|
279 |
CREATE_OBJECT CFileMan fileMan2 |
|
280 |
COMMAND rfs2 new |
|
281 |
COMMAND rfs2 Connect |
|
282 |
COMMAND file2 new |
|
283 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0009_Open_drive2 |
|
284 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0009_NewL_drive2 |
|
285 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0009_Copy_drive2 |
|
286 |
COMMAND fileMan2 Rename PBASE-F32-DualDrive-Publicapi-RAM-0009_Rename_drive2 |
|
287 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0009_Open_drive2 |
|
288 |
COMMAND file2 Close |
|
289 |
COMMAND fileMan2 ~ |
|
290 |
COMMAND file2 ~ |
|
291 |
COMMAND rfs2 ~ |
|
292 |
END_TEST_BLOCK |
|
293 |
CONSECUTIVE |
|
294 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0004 |
|
295 |
||
296 |
||
297 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0005 |
|
298 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0005 |
|
299 |
//! @SYMAPI CFileMan:Move() |
|
300 |
//! @SYMAuthor Nirmala Bailur |
|
301 |
//! @SYMCreationDate 30/05/2008 |
|
302 |
//! @SYMTestCaseDesc Move the files between the two drives |
|
303 |
//! |
|
304 |
//! @SYMTestActions 1.Create a RFs session and call it's Connect() function. |
|
305 |
//! 2.Call CFileMan::NewL(RFs &aFs) and connected file server session as parameter. |
|
306 |
//! 3.Call CFileMan::Move() to move the file from drive1 to drive2. |
|
307 |
//! 4.Call CFileMan::Move(), to move the file from drive2 to drive2. |
|
308 |
//! 5.Delete the moved files. |
|
309 |
//! 6 Delete the directory in which the file is moved. |
|
310 |
//! @SYMTestPriority High |
|
311 |
//! @SYMTestExpectedResults Files are moved across the drives.. |
|
312 |
//! @SYMTestType CIT |
|
313 |
START_TEST_BLOCK 50 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
314 |
CREATE_OBJECT RFs rfs1 |
|
315 |
CREATE_OBJECT RFile file1 |
|
316 |
CREATE_OBJECT CFileMan fileMan1 |
|
317 |
COMMAND rfs1 new |
|
318 |
COMMAND rfs1 Connect |
|
319 |
COMMAND rfs1 MkDir PBASE-F32-DualDrive-Publicapi-RAM-0010_MkDir_drive1 |
|
320 |
COMMAND rfs1 MkDir PBASE-F32-DualDrive-Publicapi-RAM-0010_MkDir_drive2 |
|
321 |
COMMAND file1 new |
|
322 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0010_NewL_drive1 |
|
323 |
COMMAND fileMan1 Move PBASE-F32-DualDrive-Publicapi-RAM-0010_Move_drive1 |
|
324 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0010_Open_drive1 |
|
325 |
COMMAND file1 Close |
|
326 |
COMMAND fileMan1 Move PBASE-F32-DualDrive-Publicapi-RAM-0010_Move_drive2 |
|
327 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0010_Open_drive2 |
|
328 |
COMMAND file1 Close |
|
329 |
COMMAND fileMan1 Attribs PBASE-F32-DualDrive-Publicapi-RAM-0010_Attribs_drive1 |
|
330 |
COMMAND fileMan1 Attribs PBASE-F32-DualDrive-Publicapi-RAM-0010_Attribs_drive2 |
|
331 |
COMMAND rfs1 Delete PBASE-F32-DualDrive-Publicapi-RAM-0010_Delete_drive1 |
|
332 |
COMMAND rfs1 Delete PBASE-F32-DualDrive-Publicapi-RAM-0010_Delete_drive2 |
|
333 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0010_RmDir_drive1 |
|
334 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0010_RmDir_drive2 |
|
335 |
COMMAND fileMan1 ~ |
|
336 |
COMMAND file1 ~ |
|
337 |
COMMAND rfs1 ~ |
|
338 |
END_TEST_BLOCK |
|
339 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0005 |
|
340 |
||
341 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0006 |
|
342 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0006 |
|
343 |
//! @SYMAPI CFileMan:Move() |
|
344 |
//! @SYMAuthor Nirmala Bailur |
|
345 |
//! @SYMCreationDate 02/07/2008 |
|
346 |
//! @SYMTestCaseDesc Move the files from system drive to dual drive and back in to systemdrive CONCURRENTly. |
|
347 |
//! |
|
348 |
//! @SYMTestActions 1.Create a RFs session and call it's Connect() function. |
|
349 |
//! 2.Call CFileMan::NewL(RFs &aFs) and connected file server session as parameter. |
|
350 |
//! 3.Call CFileMan::Move() to move the file from system drive to the one of the dual drive drive. |
|
351 |
//! 4.Call CFileMan::Move(), to move the file from dual drive to the systemdrive . |
|
352 |
//! 5.Delete the directory in which the file is moved. |
|
353 |
//! 6.Perform the above operation concurrently on both the dual drives |
|
354 |
//! |
|
355 |
//! @SYMTestPriority High |
|
356 |
//! @SYMTestExpectedResults Files are moved from systemdrive to dual drives concurrantly. |
|
357 |
//! @SYMTestType CIT |
|
358 |
CONCURRENT |
|
359 |
START_TEST_BLOCK 50 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
360 |
CREATE_OBJECT RFs rfs1 |
|
361 |
CREATE_OBJECT RFile file1 |
|
362 |
CREATE_OBJECT CFileMan fileMan1 |
|
363 |
COMMAND rfs1 new |
|
364 |
COMMAND rfs1 Connect |
|
365 |
COMMAND rfs1 MkDir PBASE-F32-DualDrive-Publicapi-RAM-0011_MkDir_drive1 |
|
366 |
COMMAND file1 new |
|
367 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0011_NewL_drive1 |
|
368 |
COMMAND fileMan1 Move PBASE-F32-DualDrive-Publicapi-RAM-0011_Move_drive1 |
|
369 |
COMMAND fileMan1 Move PBASE-F32-DualDrive-Publicapi-RAM-0011_Move2_drive1 |
|
370 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0011_Open2_drive1 |
|
371 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0011_RmDir_drive1 |
|
372 |
COMMAND file1 Close |
|
373 |
COMMAND fileMan1 ~ |
|
374 |
COMMAND file1 ~ |
|
375 |
COMMAND rfs1 ~ |
|
376 |
END_TEST_BLOCK |
|
377 |
START_TEST_BLOCK 50 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
378 |
CREATE_OBJECT RFs rfs2 |
|
379 |
CREATE_OBJECT RFile file2 |
|
380 |
CREATE_OBJECT CFileMan fileMan2 |
|
381 |
COMMAND rfs2 new |
|
382 |
COMMAND rfs2 Connect |
|
383 |
COMMAND rfs2 MkDir PBASE-F32-DualDrive-Publicapi-RAM-0011_MkDir_drive2 |
|
384 |
COMMAND file2 new |
|
385 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0011_NewL_drive2 |
|
386 |
COMMAND fileMan2 Move PBASE-F32-DualDrive-Publicapi-RAM-0011_Move_drive2 |
|
387 |
COMMAND fileMan2 Move PBASE-F32-DualDrive-Publicapi-RAM-0011_Move2_drive2 |
|
388 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0011_Open2_drive2 |
|
389 |
COMMAND rfs2 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0011_RmDir_drive2 |
|
390 |
COMMAND file2 Close |
|
391 |
COMMAND fileMan2 ~ |
|
392 |
COMMAND file2 ~ |
|
393 |
COMMAND rfs2 ~ |
|
394 |
END_TEST_BLOCK |
|
395 |
CONSECUTIVE |
|
396 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0006 |
|
397 |
||
398 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0007 |
|
399 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0007 |
|
400 |
//! @SYMAPI RFs::Volume();RFs::SetVolumeLabel() |
|
401 |
//! @SYMAuthor Nirmala Bailur |
|
402 |
//! @SYMCreationDate 02/07/2008 |
|
403 |
//! @SYMTestCaseDesc Get the Volume information for drives concurrently |
|
404 |
//! @SYMTestActions 1. Call Connect(). |
|
405 |
//! 2. Saving volume label. |
|
406 |
//! 3. Call SetVolumeLabel() passing "Test" as first parameter and the drive number as a second parameter. |
|
407 |
//! 4. Call Volume() passing TVolumeInfo reference as first parameter and the drive number as a second parameter. |
|
408 |
//! 5. Restoring volume label. |
|
409 |
//! 6. Perform above operation concurrantly on both the drives. |
|
410 |
//! @SYMTestStatus Implemented |
|
411 |
//! @SYMTestPriority High |
|
412 |
//! @SYMTestExpectedResults Set and get the volume information of both the drives concurrently. |
|
413 |
//! @SYMTestType CIT |
|
414 |
||
415 |
CONCURRENT |
|
416 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
417 |
CREATE_OBJECT RFs rfs1 |
|
418 |
COMMAND rfs1 new |
|
419 |
COMMAND rfs1 Connect |
|
420 |
COMMAND rfs1 Volume PBASE-F32-DualDrive-Publicapi-RAM-0012_Volume_drive1 |
|
421 |
COMMAND rfs1 SetVolumeLabel PBASE-F32-DualDrive-Publicapi-RAM-0012_SetVolumeLabel_drive1 |
|
422 |
COMMAND rfs1 Volume PBASE-F32-DualDrive-Publicapi-RAM-0012_Volume_drive1 |
|
423 |
COMMAND rfs1 SetVolumeLabel PBASE-F32-DualDrive-Publicapi-RAM-0012_SetVolumeLabel_drive1 |
|
424 |
COMMAND rfs1 Close |
|
425 |
COMMAND rfs1 ~ |
|
426 |
END_TEST_BLOCK |
|
427 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
428 |
CREATE_OBJECT RFs rfs2 |
|
429 |
COMMAND rfs2 new |
|
430 |
COMMAND rfs2 Connect |
|
431 |
COMMAND rfs2 Volume PBASE-F32-DualDrive-Publicapi-RAM-0012_Volume_drive2 |
|
432 |
COMMAND rfs2 SetVolumeLabel PBASE-F32-DualDrive-Publicapi-RAM-0012_SetVolumeLabel_drive2 |
|
433 |
COMMAND rfs2 Volume PBASE-F32-DualDrive-Publicapi-RAM-0012_Volume_drive2 |
|
434 |
COMMAND rfs2 SetVolumeLabel PBASE-F32-DualDrive-Publicapi-RAM-0012_SetVolumeLabel_drive2 |
|
435 |
COMMAND rfs2 Close |
|
436 |
COMMAND rfs2 ~ |
|
437 |
END_TEST_BLOCK |
|
438 |
CONSECUTIVE |
|
439 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0007 |
|
440 |
||
441 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0008 |
|
442 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0008 |
|
443 |
//! @SYMAPI CFileMan:Move();RFile::Read();RFile::Write() |
|
444 |
//! @SYMAuthor Nirmala Bailur |
|
445 |
//! @SYMCreationDate 02/07/2008 |
|
446 |
//! @SYMTestCaseDesc Move the file from system drive to one of the dual drive concurrenlty with the read/write operation on another dual drive |
|
447 |
//! |
|
448 |
//! @SYMTestActions 1.Move the file from systemdrive to dual drive and back from dual drive to system drive. |
|
449 |
//! 2.Write and read the content of the file from other drive in concurrent with above action on another drive |
|
450 |
//! @SYMTestPriority High |
|
451 |
//! @SYMTestExpectedResults File is moved in concurrent with read/write operation on another drive. |
|
452 |
//! @SYMTestType CIT |
|
453 |
CONCURRENT |
|
454 |
START_TEST_BLOCK 50 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
455 |
CREATE_OBJECT RFs rfs1 |
|
456 |
CREATE_OBJECT RFile file1 |
|
457 |
CREATE_OBJECT CFileMan fileMan1 |
|
458 |
COMMAND rfs1 new |
|
459 |
COMMAND rfs1 Connect |
|
460 |
COMMAND rfs1 MkDir PBASE-F32-DualDrive-Publicapi-RAM-0011_MkDir_drive1 |
|
461 |
COMMAND file1 new |
|
462 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0011_NewL_drive1 |
|
463 |
COMMAND fileMan1 Move PBASE-F32-DualDrive-Publicapi-RAM-0011_Move_drive1 |
|
464 |
COMMAND fileMan1 Move PBASE-F32-DualDrive-Publicapi-RAM-0011_Move2_drive1 |
|
465 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0011_Open2_drive1 |
|
466 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0011_RmDir_drive1 |
|
467 |
COMMAND file1 Close |
|
468 |
COMMAND fileMan1 ~ |
|
469 |
COMMAND file1 ~ |
|
470 |
COMMAND rfs1 ~ |
|
471 |
END_TEST_BLOCK |
|
472 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
473 |
CREATE_OBJECT RFs rfs2 |
|
474 |
CREATE_OBJECT RFile file2 |
|
475 |
CREATE_OBJECT CFileMan fileMan2 |
|
476 |
COMMAND rfs2 new |
|
477 |
COMMAND rfs2 Connect |
|
478 |
COMMAND file2 new |
|
479 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0008_Open1_drive2 |
|
480 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0008_NewL_drive2 |
|
481 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0008_Copy_drive2 |
|
482 |
COMMAND file2 Close |
|
483 |
COMMAND file2 Replace PBASE-F32-DualDrive-Publicapi-RAM-0008_Replace_drive2 |
|
484 |
COMMAND file2 Write PBASE-F32-DualDrive-Publicapi-RAM-0008_Write_drive2 |
|
485 |
COMMAND file2 Close |
|
486 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0008_Open_drive2 |
|
487 |
COMMAND file2 Read PBASE-F32-DualDrive-Publicapi-RAM-0008_Read_drive2 |
|
488 |
COMMAND file2 Close |
|
489 |
COMMAND file2 ~ |
|
490 |
COMMAND rfs2 Delete PBASE-F32-DualDrive-Publicapi-RAM-0008_Delete_drive2 |
|
491 |
COMMAND rfs2 ~ |
|
492 |
END_TEST_BLOCK |
|
493 |
CONSECUTIVE |
|
494 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0008 |
|
495 |
||
496 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0009 |
|
497 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0009 |
|
498 |
//! @SYMAPI RFs::MkDirAll();TEntry::IsDir();RFs::RmDir() |
|
499 |
//! @SYMAuthor Nirmala Bailur |
|
500 |
//! @SYMCreationDate 30/05/2008 |
|
501 |
//! @SYMTestCaseDesc Try creating directory and removing directory with read and write operation concurrantly on dual drives. |
|
502 |
//! |
|
503 |
//! @SYMTestActions 1. Create RFs instance. |
|
504 |
//! 2. Call RFs::MkDirAll() to create the directories. |
|
505 |
//! 3. Check the directory created using TEntry() |
|
506 |
//! 4. Remove the directory. |
|
507 |
//! 5. Perform Read/Write operation on a file on different drive in concurrent with the above operation |
|
508 |
//! |
|
509 |
//! @SYMTestStatus Implemented |
|
510 |
//! @SYMTestPriority High |
|
511 |
//! @SYMTestExpectedResults Creates the directories on to both the drives in concurrent with the read/write operation on the other drive. |
|
512 |
//! @SYMTestType CIT |
|
513 |
CONCURRENT |
|
514 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
515 |
CREATE_OBJECT RFs rfs1 |
|
516 |
CREATE_OBJECT TEntry tEntry1 |
|
517 |
COMMAND rfs1 new |
|
518 |
COMMAND rfs1 Connect |
|
519 |
COMMAND rfs1 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0002_MkdirAll_drive1 |
|
520 |
COMMAND tEntry1 new |
|
521 |
COMMAND rfs1 Entry PBASE-F32-DualDrive-Publicapi-RAM-0002_Entry_drive1 |
|
522 |
COMMAND tEntry1 IsDir PBASE-F32-DualDrive-Publicapi-RAM-0002_IsDir_drive1 |
|
523 |
COMMAND tEntry1 ~ |
|
524 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0002_RmDir_drive1 |
|
525 |
COMMAND rfs1 Close |
|
526 |
COMMAND rfs1 ~ |
|
527 |
END_TEST_BLOCK |
|
528 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
529 |
CREATE_OBJECT RFs rfs2 |
|
530 |
CREATE_OBJECT RFile file2 |
|
531 |
CREATE_OBJECT CFileMan fileMan2 |
|
532 |
COMMAND rfs2 new |
|
533 |
COMMAND rfs2 Connect |
|
534 |
COMMAND file2 new |
|
535 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0008_Open1_drive2 |
|
536 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0008_NewL_drive2 |
|
537 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0008_Copy_drive2 |
|
538 |
COMMAND file2 Close |
|
539 |
COMMAND file2 Replace PBASE-F32-DualDrive-Publicapi-RAM-0008_Replace_drive2 |
|
540 |
COMMAND file2 Write PBASE-F32-DualDrive-Publicapi-RAM-0008_Write_drive2 |
|
541 |
COMMAND file2 Close |
|
542 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0008_Open_drive2 |
|
543 |
COMMAND file2 Read PBASE-F32-DualDrive-Publicapi-RAM-0008_Read_drive2 |
|
544 |
COMMAND file2 Close |
|
545 |
COMMAND file2 ~ |
|
546 |
COMMAND rfs2 Delete PBASE-F32-DualDrive-Publicapi-RAM-0008_Delete_drive2 |
|
547 |
COMMAND rfs2 ~ |
|
548 |
END_TEST_BLOCK |
|
549 |
CONSECUTIVE |
|
550 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0009 |
|
551 |
||
552 |
||
553 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0010 |
|
554 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0010 |
|
555 |
//! @SYMAPI CDirScan::SetScanDataL();CDirScan::NextL() |
|
556 |
//! @SYMAuthor Nirmala Bailur |
|
557 |
//! @SYMCreationDate 02/07/2008 |
|
558 |
//! @SYMTestCaseDesc Testcase to get the filtered list of filess from both the drives CONCURRENTly |
|
559 |
||
560 |
//! @SYMTestActions 1.Call Create a RFs session and call it's Connect() function. |
|
561 |
//! 2.Call RFs::MkDirAll() and <Drive>\dirscan\TempDir\ as parameter |
|
562 |
//! 3.Call CDirScan::NewL() and connected file server session as parameter. |
|
563 |
//! 4.Call CDirScan::SetScanDataL() and <Drive>\dirscan\ as first parameter, KEntryAttNormal as second |
|
564 |
//! parameter, ESortByName as third parameter and EScanDownTree as fourth parameter |
|
565 |
//! 5.Call CDirScan::NextL() and CDir object as parameter. |
|
566 |
//! 6.Call CDirScan::FullPath() to verify the expected directory path. |
|
567 |
//! 7.Call CDir::Count() to verify the number of entries returned. |
|
568 |
//! 8.Call CDir::operator[] to verify the entries returned. |
|
569 |
//! 9.Call RFs::RmDir() and <Drive>\dirscan\TempDir\ as parameter |
|
570 |
//! 10. Perform above operation on other drive concurrently |
|
571 |
//! @SYMTestStatus Implemented |
|
572 |
//! @SYMTestPriority High |
|
573 |
//! @SYMTestExpectedResults Filters the file set with KEntryAttNormal as attribute mask on both the drives |
|
574 |
//! @SYMTestType CIT |
|
575 |
CONCURRENT |
|
576 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
577 |
CREATE_OBJECT RFs rfs1 |
|
578 |
CREATE_OBJECT CFileMan fileMan1 |
|
579 |
CREATE_OBJECT TEntry tEntry1 |
|
580 |
CREATE_OBJECT CDirScan cdirScan1 |
|
581 |
CREATE_OBJECT CDir cdir1 |
|
582 |
COMMAND rfs1 new |
|
583 |
COMMAND rfs1 Connect |
|
584 |
COMMAND rfs1 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll_drive1 |
|
585 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0015_NewL_drive1 |
|
586 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy1_drive1 |
|
587 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy2_drive1 |
|
588 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy3_drive1 |
|
589 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy4_drive1 |
|
590 |
COMMAND rfs1 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll2_drive1 |
|
591 |
COMMAND tEntry1 new |
|
592 |
COMMAND cdirScan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0015_CDirScan_NewL_drive1 |
|
593 |
COMMAND cdirScan1 SetScanDataL PBASE-F32-DualDrive-Publicapi-RAM-0015_SetScanDataL_drive1 |
|
594 |
COMMAND cdirScan1 NextL PBASE-F32-DualDrive-Publicapi-RAM-0015_NextL_drive1 |
|
595 |
COMMAND cdirScan1 FullPath PBASE-F32-DualDrive-Publicapi-RAM-0015_FullPath_drive1 |
|
596 |
COMMAND cdir1 Count PBASE-F32-DualDrive-Publicapi-RAM-0015_Count_drive1 |
|
597 |
COMMAND cdir1 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index1_drive1 |
|
598 |
COMMAND cdir1 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index2_drive1 |
|
599 |
COMMAND cdir1 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index3_drive1 |
|
600 |
COMMAND cdir1 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index4_drive1 |
|
601 |
COMMAND cdir1 ~ |
|
602 |
COMMAND cdirScan1 ~ |
|
603 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir1_drive1 |
|
604 |
COMMAND tEntry1 ~ |
|
605 |
COMMAND fileMan1 Delete PBASE-F32-DualDrive-Publicapi-RAM-0015_Delete_drive1 |
|
606 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir2_drive1 |
|
607 |
COMMAND fileMan1 ~ |
|
608 |
COMMAND rfs1 ~ |
|
609 |
END_TEST_BLOCK |
|
610 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
611 |
CREATE_OBJECT RFs rfs2 |
|
612 |
CREATE_OBJECT CFileMan fileMan2 |
|
613 |
CREATE_OBJECT TEntry tEntry2 |
|
614 |
CREATE_OBJECT CDirScan cdirScan2 |
|
615 |
CREATE_OBJECT CDir cdir2 |
|
616 |
COMMAND rfs2 new |
|
617 |
COMMAND rfs2 Connect |
|
618 |
COMMAND rfs2 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll_drive2 |
|
619 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0015_NewL_drive2 |
|
620 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy1_drive2 |
|
621 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy2_drive2 |
|
622 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy3_drive2 |
|
623 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy4_drive2 |
|
624 |
COMMAND rfs2 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll2_drive2 |
|
625 |
COMMAND tEntry2 new |
|
626 |
COMMAND cdirScan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0015_CDirScan_NewL_drive2 |
|
627 |
COMMAND cdirScan2 SetScanDataL PBASE-F32-DualDrive-Publicapi-RAM-0015_SetScanDataL_drive2 |
|
628 |
COMMAND cdirScan2 NextL PBASE-F32-DualDrive-Publicapi-RAM-0015_NextL_drive2 |
|
629 |
COMMAND cdirScan2 FullPath PBASE-F32-DualDrive-Publicapi-RAM-0015_FullPath_drive2 |
|
630 |
COMMAND cdir2 Count PBASE-F32-DualDrive-Publicapi-RAM-0015_Count_drive2 |
|
631 |
COMMAND cdir2 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index1_drive2 |
|
632 |
COMMAND cdir2 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index2_drive2 |
|
633 |
COMMAND cdir2 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index3_drive2 |
|
634 |
COMMAND cdir2 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index4_drive2 |
|
635 |
COMMAND cdir2 ~ |
|
636 |
COMMAND cdirScan2 ~ |
|
637 |
COMMAND rfs2 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir1_drive2 |
|
638 |
COMMAND tEntry2 ~ |
|
639 |
COMMAND fileMan2 Delete PBASE-F32-DualDrive-Publicapi-RAM-0015_Delete_drive2 |
|
640 |
COMMAND rfs2 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir2_drive2 |
|
641 |
COMMAND fileMan2 ~ |
|
642 |
COMMAND rfs2 ~ |
|
643 |
END_TEST_BLOCK |
|
644 |
CONSECUTIVE |
|
645 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0010 |
|
646 |
||
647 |
||
648 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0011 |
|
649 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0011 |
|
650 |
//! @SYMAPI CDirScan::SetScanDataL();RFile::Read();RFile::Write() |
|
651 |
//! @SYMAuthor Nirmala Bailur |
|
652 |
//! @SYMCreationDate 02/07/2008 |
|
653 |
//! @SYMTestCaseDesc Testcase to get the filtered list of files in concurrant with read/write operation |
|
654 |
//! @SYMTestActions 1. Filter the files with attribute normal. |
|
655 |
//! 2. Perform write/ read operation in concurrant. |
|
656 |
//! @SYMTestStatus Implemented |
|
657 |
//! @SYMTestPriority High |
|
658 |
//! @SYMTestExpectedResults Filters the file set with KEntryAttNormal as attribute mask in concurrant with read/write operation on another drive |
|
659 |
//! @SYMTestType CIT |
|
660 |
CONCURRENT |
|
661 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
662 |
CREATE_OBJECT RFs rfs1 |
|
663 |
CREATE_OBJECT CFileMan fileMan1 |
|
664 |
CREATE_OBJECT TEntry tEntry1 |
|
665 |
CREATE_OBJECT CDirScan cdirScan1 |
|
666 |
CREATE_OBJECT CDir cdir1 |
|
667 |
COMMAND rfs1 new |
|
668 |
COMMAND rfs1 Connect |
|
669 |
COMMAND rfs1 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll_drive1 |
|
670 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0015_NewL_drive1 |
|
671 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy1_drive1 |
|
672 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy2_drive1 |
|
673 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy3_drive1 |
|
674 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy4_drive1 |
|
675 |
COMMAND rfs1 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll2_drive1 |
|
676 |
COMMAND tEntry1 new |
|
677 |
COMMAND cdirScan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0015_CDirScan_NewL_drive1 |
|
678 |
COMMAND cdirScan1 SetScanDataL PBASE-F32-DualDrive-Publicapi-RAM-0015_SetScanDataL_drive1 |
|
679 |
COMMAND cdirScan1 NextL PBASE-F32-DualDrive-Publicapi-RAM-0015_NextL_drive1 |
|
680 |
COMMAND cdirScan1 FullPath PBASE-F32-DualDrive-Publicapi-RAM-0015_FullPath_drive1 |
|
681 |
COMMAND cdir1 Count PBASE-F32-DualDrive-Publicapi-RAM-0015_Count_drive1 |
|
682 |
COMMAND cdir1 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index1_drive1 |
|
683 |
COMMAND cdir1 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index2_drive1 |
|
684 |
COMMAND cdir1 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index3_drive1 |
|
685 |
COMMAND cdir1 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index4_drive1 |
|
686 |
COMMAND cdir1 ~ |
|
687 |
COMMAND cdirScan1 ~ |
|
688 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir1_drive1 |
|
689 |
COMMAND tEntry1 ~ |
|
690 |
COMMAND fileMan1 Delete PBASE-F32-DualDrive-Publicapi-RAM-0015_Delete_drive1 |
|
691 |
COMMAND fileMan1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir2_drive1 |
|
692 |
COMMAND fileMan1 ~ |
|
693 |
COMMAND rfs1 ~ |
|
694 |
END_TEST_BLOCK |
|
695 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
696 |
CREATE_OBJECT RFs rfs2 |
|
697 |
CREATE_OBJECT RFile file2 |
|
698 |
CREATE_OBJECT CFileMan fileMan2 |
|
699 |
COMMAND rfs2 new |
|
700 |
COMMAND rfs2 Connect |
|
701 |
COMMAND file2 new |
|
702 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0008_Open1_drive2 |
|
703 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0008_NewL_drive2 |
|
704 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0008_Copy_drive2 |
|
705 |
COMMAND file2 Close |
|
706 |
COMMAND file2 Replace PBASE-F32-DualDrive-Publicapi-RAM-0008_Replace_drive2 |
|
707 |
COMMAND file2 Write PBASE-F32-DualDrive-Publicapi-RAM-0008_Write_drive2 |
|
708 |
COMMAND file2 Close |
|
709 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0008_Open_drive2 |
|
710 |
COMMAND file2 Read PBASE-F32-DualDrive-Publicapi-RAM-0008_Read_drive2 |
|
711 |
COMMAND file2 Close |
|
712 |
COMMAND file2 ~ |
|
713 |
COMMAND rfs2 Delete PBASE-F32-DualDrive-Publicapi-RAM-0008_Delete_drive2 |
|
714 |
COMMAND rfs2 ~ |
|
715 |
END_TEST_BLOCK |
|
716 |
CONSECUTIVE |
|
717 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0011 |
|
718 |
||
719 |
||
720 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0012 |
|
721 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0012 |
|
722 |
//! @SYMAPI CFileMan::Attribs();CFileMan::Copy();RFile::Read();RFile::Write() |
|
723 |
//! @SYMAuthor Nirmala Bailur |
|
724 |
//! @SYMCreationDate 30/05/2008 |
|
725 |
//! @SYMTestCaseDesc Copy files on to the drive in concurrent with read/write operation on the other drive. |
|
726 |
//! |
|
727 |
//! @SYMTestActions 1. Call Connect(). |
|
728 |
//! 2. Call Copy() to copy files on to the mmc drives. |
|
729 |
//! 3. Perform read/write operation on the other drive concurrenlty |
|
730 |
//! @SYMTestStatus Implemented |
|
731 |
//! @SYMTestPriority High |
|
732 |
//! @SYMTestExpectedResults Copying of file will be done concurranlty with the read/write operation |
|
733 |
//! @SYMTestType CIT |
|
734 |
CONCURRENT |
|
735 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
736 |
CREATE_OBJECT RFs rfs1 |
|
737 |
CREATE_OBJECT RFile file1 |
|
738 |
CREATE_OBJECT CFileMan fileMan1 |
|
739 |
COMMAND rfs1 new |
|
740 |
COMMAND rfs1 Connect |
|
741 |
COMMAND file1 new |
|
742 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0005_Open_drive1 |
|
743 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0005_NewL_drive1 |
|
744 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0005_Copy_drive1 |
|
745 |
COMMAND fileMan1 Attribs PBASE-F32-DualDrive-Publicapi-RAM-0005_Attribs_drive1 |
|
746 |
COMMAND rfs1 Delete PBASE-F32-DualDrive-Publicapi-RAM-0005_Delete_drive1 |
|
747 |
COMMAND fileMan1 ~ |
|
748 |
COMMAND file1 Close |
|
749 |
COMMAND file1 ~ |
|
750 |
COMMAND rfs1 Close |
|
751 |
COMMAND rfs1 ~ |
|
752 |
END_TEST_BLOCK |
|
753 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
754 |
CREATE_OBJECT RFs rfs2 |
|
755 |
CREATE_OBJECT RFile file2 |
|
756 |
CREATE_OBJECT CFileMan fileMan2 |
|
757 |
COMMAND rfs2 new |
|
758 |
COMMAND rfs2 Connect |
|
759 |
COMMAND file2 new |
|
760 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0008_Open1_drive2 |
|
761 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0008_NewL_drive2 |
|
762 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0008_Copy_drive2 |
|
763 |
COMMAND file2 Close |
|
764 |
COMMAND file2 Replace PBASE-F32-DualDrive-Publicapi-RAM-0008_Replace_drive2 |
|
765 |
COMMAND file2 Write PBASE-F32-DualDrive-Publicapi-RAM-0008_Write_drive2 |
|
766 |
COMMAND file2 Close |
|
767 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0008_Open_drive2 |
|
768 |
COMMAND file2 Read PBASE-F32-DualDrive-Publicapi-RAM-0008_Read_drive2 |
|
769 |
COMMAND file2 Close |
|
770 |
COMMAND file2 ~ |
|
771 |
COMMAND rfs2 Delete PBASE-F32-DualDrive-Publicapi-RAM-0008_Delete_drive2 |
|
772 |
COMMAND rfs2 ~ |
|
773 |
END_TEST_BLOCK |
|
774 |
CONSECUTIVE |
|
775 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0012 |
|
776 |
||
777 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0013 |
|
778 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0013 |
|
779 |
//! @SYMAPI CFileMan::Attribs();CFileMan::Copy() |
|
780 |
//! @SYMAuthor Nirmala Bailur |
|
781 |
//! @SYMCreationDate 30/05/2008 |
|
782 |
//! @SYMTestCaseDesc Copies large file on to the drive in cuncurrent with read/write operation on the large file on the other drive. |
|
783 |
//! |
|
784 |
//! @SYMTestActions |
|
785 |
//! 1. Call Copy() to copy files on to the mmc drives. |
|
786 |
//! 2. Perform read/write operation on the other drive concurrenlty |
|
787 |
//! @SYMTestStatus Implemented |
|
788 |
//! @SYMTestPriority High |
|
789 |
//! @SYMTestExpectedResults Copying of file will be done concurranlty with the read/write operation |
|
790 |
//! @SYMTestType CIT |
|
791 |
CONCURRENT |
|
792 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
793 |
CREATE_OBJECT RFs rfs1 |
|
794 |
CREATE_OBJECT RFile file1 |
|
795 |
CREATE_OBJECT CFileMan fileMan1 |
|
796 |
COMMAND rfs1 new |
|
797 |
COMMAND rfs1 Connect |
|
798 |
COMMAND file1 new |
|
799 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0020_Open_drive1 |
|
800 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0020_NewL_drive1 |
|
801 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0020_Copy_drive1 |
|
802 |
COMMAND fileMan1 Attribs PBASE-F32-DualDrive-Publicapi-RAM-0020_Attribs_drive1 |
|
803 |
COMMAND rfs1 Delete PBASE-F32-DualDrive-Publicapi-RAM-0020_Delete_drive1 |
|
804 |
COMMAND fileMan1 ~ |
|
805 |
COMMAND file1 Close |
|
806 |
COMMAND file1 ~ |
|
807 |
COMMAND rfs1 Close |
|
808 |
COMMAND rfs1 ~ |
|
809 |
END_TEST_BLOCK |
|
810 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
811 |
CREATE_OBJECT RFs rfs2 |
|
812 |
CREATE_OBJECT RFile file2 |
|
813 |
CREATE_OBJECT CFileMan fileMan2 |
|
814 |
COMMAND rfs2 new |
|
815 |
COMMAND rfs2 Connect |
|
816 |
COMMAND file2 new |
|
817 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0018_Open_drive2 |
|
818 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0018_NewL_drive2 |
|
819 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0018_Copy_drive2 |
|
820 |
COMMAND file2 Close |
|
821 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0018_Open2_drive2 |
|
822 |
COMMAND file2 Write PBASE-F32-DualDrive-Publicapi-RAM-0018_Write_drive2 |
|
823 |
COMMAND file2 Close |
|
824 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0018_Open2_drive2 |
|
825 |
COMMAND file2 Read PBASE-F32-DualDrive-Publicapi-RAM-0018_Read_drive2 |
|
826 |
COMMAND file2 Close |
|
827 |
COMMAND file2 ~ |
|
828 |
COMMAND rfs2 Delete PBASE-F32-DualDrive-Publicapi-RAM-0018_Delete_drive2 |
|
829 |
COMMAND rfs2 ~ |
|
830 |
END_TEST_BLOCK |
|
831 |
CONSECUTIVE |
|
832 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0013 |
|
833 |
||
834 |
||
835 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0014 |
|
836 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0014 |
|
837 |
//! @SYMAPI CFileMan:Move();RFile::Read();RFile::Write() |
|
838 |
//! @SYMAuthor Nirmala Bailur |
|
839 |
//! @SYMCreationDate 03/07/2008 |
|
840 |
//! @SYMTestCaseDesc Move the much large file in concurrant with the read/write operation on the file on another drive concurrenlty |
|
841 |
//! |
|
842 |
//! @SYMTestActions 1.Create a RFs session and call it's Connect() function. |
|
843 |
//! 2.Call CFileMan::NewL(RFs &aFs) and connected file server session as parameter. |
|
844 |
//! 3.Call CFileMan::Move() to move the file from system drive to one of the dual drive. |
|
845 |
//! 4.Perform Read/write operation on the other drive |
|
846 |
//! @SYMTestPriority High |
|
847 |
//! @SYMTestExpectedResults File moving and read/write operation on diff drives performed successfully |
|
848 |
//! @SYMTestType CIT |
|
849 |
CONCURRENT |
|
850 |
START_TEST_BLOCK 50 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
851 |
CREATE_OBJECT RFs rfs1 |
|
852 |
CREATE_OBJECT RFile file1 |
|
853 |
CREATE_OBJECT CFileMan fileMan1 |
|
854 |
COMMAND rfs1 new |
|
855 |
COMMAND rfs1 Connect |
|
856 |
COMMAND rfs1 MkDir PBASE-F32-DualDrive-Publicapi-RAM-0021_MkDir_drive1 |
|
857 |
COMMAND file1 new |
|
858 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0021_NewL_drive1 |
|
859 |
COMMAND fileMan1 Move PBASE-F32-DualDrive-Publicapi-RAM-0021_Move_drive1 |
|
860 |
COMMAND fileMan1 Move PBASE-F32-DualDrive-Publicapi-RAM-0021_Move2_drive1 |
|
861 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0021_Open2_drive1 |
|
862 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0021_RmDir_drive1 |
|
863 |
COMMAND file1 Close |
|
864 |
COMMAND fileMan1 ~ |
|
865 |
COMMAND file1 ~ |
|
866 |
COMMAND rfs1 ~ |
|
867 |
END_TEST_BLOCK |
|
868 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
869 |
CREATE_OBJECT RFs rfs2 |
|
870 |
CREATE_OBJECT RFile file2 |
|
871 |
CREATE_OBJECT CFileMan fileMan2 |
|
872 |
COMMAND rfs2 new |
|
873 |
COMMAND rfs2 Connect |
|
874 |
COMMAND file2 new |
|
875 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0018_Open_drive2 |
|
876 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0018_NewL_drive2 |
|
877 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0018_Copy_drive2 |
|
878 |
COMMAND file2 Close |
|
879 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0018_Open2_drive2 |
|
880 |
COMMAND file2 Write PBASE-F32-DualDrive-Publicapi-RAM-0018_Write_drive2 |
|
881 |
COMMAND file2 Close |
|
882 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0018_Open2_drive2 |
|
883 |
COMMAND file2 Read PBASE-F32-DualDrive-Publicapi-RAM-0018_Read_drive2 |
|
884 |
COMMAND file2 Close |
|
885 |
COMMAND file2 ~ |
|
886 |
COMMAND rfs2 Delete PBASE-F32-DualDrive-Publicapi-RAM-0018_Delete_drive2 |
|
887 |
COMMAND rfs2 ~ |
|
888 |
END_TEST_BLOCK |
|
889 |
CONSECUTIVE |
|
890 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0014 |
|
891 |
||
892 |
||
893 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0015 |
|
894 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0015 |
|
895 |
//! @SYMAPI CDirScan::SetScanDataL;CDirScan::NextL() |
|
896 |
//! @SYMAuthor Nirmala Bailur |
|
897 |
//! @SYMCreationDate 02/07/2008 |
|
898 |
//! @SYMTestCaseDesc Testcase to get the filtered list of filess from both the drives concurrently |
|
899 |
||
900 |
//! @SYMTestActions 1.Call Create a RFs session and call it's Connect() function. |
|
901 |
//! 2.Call RFs::MkDirAll() and <Drive>\dirscan\TempDir\ as parameter |
|
902 |
//! 3.Call CDirScan::NewL() and connected file server session as parameter. |
|
903 |
//! 4.Call CDirScan::SetScanDataL() and <Drive>\dirscan\ as first parameter, KEntryAttReadOnly as second |
|
904 |
//! parameter, ESortByName as third parameter and EScanDownTree as fourth parameter |
|
905 |
//! 5.Call CDirScan::NextL() and CDir object as parameter. |
|
906 |
//! 6.Call CDirScan::FullPath() to verify the expected directory path. |
|
907 |
//! 7.Call CDir::Count() to verify the number of entries returned. |
|
908 |
//! 8.Call CDir::operator[] to verify the entries returned. |
|
909 |
//! 9.Call RFs::RmDir() and <Drive>\dirscan\TempDir\ as parameter |
|
910 |
//! 10. Perform above operation on both the drives concurrently |
|
911 |
//! @SYMTestStatus Implemented |
|
912 |
//! @SYMTestPriority High |
|
913 |
//! @SYMTestExpectedResults Filters the file set with KEntryAttReadOnly as attribute mask on one drive and KEntryAttrNormal on other drives |
|
914 |
//! @SYMTestType CIT |
|
915 |
CONCURRENT |
|
916 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
917 |
CREATE_OBJECT RFs rfs1 |
|
918 |
CREATE_OBJECT CFileMan fileMan1 |
|
919 |
CREATE_OBJECT TEntry tEntry1 |
|
920 |
CREATE_OBJECT CDirScan cdirScan1 |
|
921 |
CREATE_OBJECT CDir cdir1 |
|
922 |
COMMAND rfs1 new |
|
923 |
COMMAND rfs1 Connect |
|
924 |
COMMAND rfs1 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0023_MkDirAll_drive1 |
|
925 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0023_NewL_drive1 |
|
926 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0023_Copy1_drive1 |
|
927 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0023_Copy2_drive1 |
|
928 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0023_Copy3_drive1 |
|
929 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0023_Copy4_drive1 |
|
930 |
COMMAND rfs1 SetAtt PBASE-F32-DualDrive-Publicapi-RAM-0023_SetAtt1_drive1 |
|
931 |
COMMAND rfs1 SetAtt PBASE-F32-DualDrive-Publicapi-RAM-0023_SetAtt2_drive1 |
|
932 |
COMMAND tEntry1 new |
|
933 |
COMMAND cdirScan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0023_CDirScan_NewL_drive1 |
|
934 |
COMMAND cdirScan1 SetScanDataL PBASE-F32-DualDrive-Publicapi-RAM-0023_SetScanDataL_drive1 |
|
935 |
COMMAND cdirScan1 NextL PBASE-F32-DualDrive-Publicapi-RAM-0023_NextL_drive1 |
|
936 |
COMMAND cdirScan1 FullPath PBASE-F32-DualDrive-Publicapi-RAM-0023_FullPath_drive1 |
|
937 |
COMMAND cdir1 Count PBASE-F32-DualDrive-Publicapi-RAM-0023_Count_drive1 |
|
938 |
COMMAND cdir1 [] PBASE-F32-DualDrive-Publicapi-RAM-0023_index1_drive1 |
|
939 |
COMMAND cdir1 [] PBASE-F32-DualDrive-Publicapi-RAM-0023_index2_drive1 |
|
940 |
COMMAND rfs1 SetAtt PBASE-F32-DualDrive-Publicapi-RAM-0023_SetAtt4_drive1 |
|
941 |
COMMAND rfs1 SetAtt PBASE-F32-DualDrive-Publicapi-RAM-0023_SetAtt5_drive1 |
|
942 |
COMMAND cdir1 ~ |
|
943 |
COMMAND cdirScan1 ~ |
|
944 |
COMMAND tEntry1 ~ |
|
945 |
COMMAND fileMan1 Delete PBASE-F32-DualDrive-Publicapi-RAM-0023_Delete_drive1 |
|
946 |
COMMAND rfs1 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0023_RmDir2_drive1 |
|
947 |
COMMAND fileMan1 ~ |
|
948 |
COMMAND rfs1 ~ |
|
949 |
END_TEST_BLOCK |
|
950 |
START_TEST_BLOCK 100 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
951 |
CREATE_OBJECT RFs rfs2 |
|
952 |
CREATE_OBJECT CFileMan fileMan2 |
|
953 |
CREATE_OBJECT TEntry tEntry2 |
|
954 |
CREATE_OBJECT CDirScan cdirScan2 |
|
955 |
CREATE_OBJECT CDir cdir2 |
|
956 |
COMMAND rfs2 new |
|
957 |
COMMAND rfs2 Connect |
|
958 |
COMMAND rfs2 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll_drive2 |
|
959 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0015_NewL_drive2 |
|
960 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy1_drive2 |
|
961 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy2_drive2 |
|
962 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy3_drive2 |
|
963 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0015_Copy4_drive2 |
|
964 |
COMMAND rfs2 MkDirAll PBASE-F32-DualDrive-Publicapi-RAM-0015_MkDirAll2_drive2 |
|
965 |
COMMAND tEntry2 new |
|
966 |
COMMAND cdirScan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0015_CDirScan_NewL_drive2 |
|
967 |
COMMAND cdirScan2 SetScanDataL PBASE-F32-DualDrive-Publicapi-RAM-0015_SetScanDataL_drive2 |
|
968 |
COMMAND cdirScan2 NextL PBASE-F32-DualDrive-Publicapi-RAM-0015_NextL_drive2 |
|
969 |
COMMAND cdirScan2 FullPath PBASE-F32-DualDrive-Publicapi-RAM-0015_FullPath_drive2 |
|
970 |
COMMAND cdir2 Count PBASE-F32-DualDrive-Publicapi-RAM-0015_Count_drive2 |
|
971 |
COMMAND cdir2 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index1_drive2 |
|
972 |
COMMAND cdir2 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index2_drive2 |
|
973 |
COMMAND cdir2 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index3_drive2 |
|
974 |
COMMAND cdir2 [] PBASE-F32-DualDrive-Publicapi-RAM-0015_index4_drive2 |
|
975 |
COMMAND cdir2 ~ |
|
976 |
COMMAND cdirScan2 ~ |
|
977 |
COMMAND rfs2 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir1_drive2 |
|
978 |
COMMAND tEntry2 ~ |
|
979 |
COMMAND fileMan2 Delete PBASE-F32-DualDrive-Publicapi-RAM-0015_Delete_drive2 |
|
980 |
COMMAND fileMan2 RmDir PBASE-F32-DualDrive-Publicapi-RAM-0015_RmDir2_drive2 |
|
981 |
COMMAND fileMan2 ~ |
|
982 |
COMMAND rfs2 ~ |
|
983 |
END_TEST_BLOCK |
|
984 |
CONSECUTIVE |
|
985 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0015 |
|
986 |
||
987 |
||
988 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0017 |
|
989 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0017 |
|
990 |
//! @SYMAPI RFormat::Open();RFormat::Next();RFile::Copy() |
|
991 |
//! @SYMAuthor Nirmala Bailur |
|
992 |
//! @SYMCreationDate 03/07/2008 |
|
993 |
//! @SYMTestCaseDesc Format the one drive concurrenlty with Copy operation on other drive. |
|
994 |
//! Uses API elements: Format() |
|
995 |
//! @SYMTestActions 1. Call Format() on the drive. |
|
996 |
//! 2. Try Copying files on to the other drive concurrantly with above operation |
|
997 |
//! @SYMTestStatus Implemented |
|
998 |
//! @SYMTestPriority High |
|
999 |
//! @SYMTestExpectedResults formats the one drive with the read/write operation on another drive concurrently. |
|
1000 |
//! @SYMTestType CIT |
|
1001 |
CONCURRENT |
|
1002 |
START_TEST_BLOCK 1000 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
1003 |
CREATE_OBJECT RFs rfs1 |
|
1004 |
CREATE_OBJECT RFile file1 |
|
1005 |
CREATE_OBJECT CFileMan fileMan1 |
|
1006 |
COMMAND rfs1 new |
|
1007 |
COMMAND rfs1 Connect |
|
1008 |
COMMAND file1 new |
|
1009 |
COMMAND file1 Open PBASE-F32-DualDrive-Publicapi-RAM-0020_Open_drive1 |
|
1010 |
COMMAND fileMan1 NewL PBASE-F32-DualDrive-Publicapi-RAM-0020_NewL_drive1 |
|
1011 |
COMMAND fileMan1 Copy PBASE-F32-DualDrive-Publicapi-RAM-0020_Copy_drive1 |
|
1012 |
COMMAND fileMan1 Attribs PBASE-F32-DualDrive-Publicapi-RAM-0020_Attribs_drive1 |
|
1013 |
COMMAND rfs1 Delete PBASE-F32-DualDrive-Publicapi-RAM-0020_Delete_drive1 |
|
1014 |
COMMAND fileMan1 ~ |
|
1015 |
COMMAND file1 Close |
|
1016 |
COMMAND file1 ~ |
|
1017 |
COMMAND rfs1 Close |
|
1018 |
COMMAND rfs1 ~ |
|
1019 |
END_TEST_BLOCK |
|
1020 |
START_TEST_BLOCK 1000 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
1021 |
CREATE_OBJECT RFormat format2 |
|
1022 |
CREATE_OBJECT RFs rfs2 |
|
1023 |
COMMAND rfs2 new |
|
1024 |
COMMAND rfs2 Connect |
|
1025 |
COMMAND format2 new |
|
1026 |
COMMAND format2 Open PBASE-F32-DualDrive-Publicapi-RAM-0004_Open_drive2 |
|
1027 |
COMMAND format2 Next |
|
1028 |
COMMAND format2 Close |
|
1029 |
COMMAND format2 ~ |
|
1030 |
COMMAND rfs2 Close |
|
1031 |
COMMAND rfs2 ~ |
|
1032 |
END_TEST_BLOCK |
|
1033 |
CONSECUTIVE |
|
1034 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0017 |
|
1035 |
||
1036 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0018 |
|
1037 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0018 |
|
1038 |
//! @SYMAPI RFormat::Open();RFormat::Next();RFile::Read();RFile::Write() |
|
1039 |
//! @SYMAuthor Nirmala Bailur |
|
1040 |
//! @SYMCreationDate 03/07/2008 |
|
1041 |
//! @SYMTestCaseDesc Format the one drive concurrenlty with read/write operation on large file on another drive. |
|
1042 |
//! Uses API elements: Format() |
|
1043 |
//! @SYMTestActions 1. Call Format() on the drive. |
|
1044 |
//! 2. Try Writing and reading operation on the drive concurrantly with above operation |
|
1045 |
//! @SYMTestStatus Implemented |
|
1046 |
//! @SYMTestPriority High |
|
1047 |
//! @SYMTestExpectedResults formats the one drive with the read/write operation on another drive concurrently. |
|
1048 |
//! @SYMTestType CIT |
|
1049 |
CONCURRENT |
|
1050 |
START_TEST_BLOCK 1000 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
1051 |
CREATE_OBJECT RFormat format1 |
|
1052 |
CREATE_OBJECT RFs rfs1 |
|
1053 |
COMMAND rfs1 new |
|
1054 |
COMMAND rfs1 Connect |
|
1055 |
COMMAND format1 new |
|
1056 |
COMMAND format1 Open PBASE-F32-DualDrive-Publicapi-RAM-0004_Open_drive1 |
|
1057 |
COMMAND format1 Next |
|
1058 |
COMMAND format1 Close |
|
1059 |
COMMAND format1 ~ |
|
1060 |
COMMAND rfs1 Close |
|
1061 |
COMMAND rfs1 ~ |
|
1062 |
END_TEST_BLOCK |
|
1063 |
START_TEST_BLOCK 1000 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
1064 |
CREATE_OBJECT RFs rfs2 |
|
1065 |
CREATE_OBJECT RFile file2 |
|
1066 |
CREATE_OBJECT CFileMan fileMan2 |
|
1067 |
COMMAND rfs2 new |
|
1068 |
COMMAND rfs2 Connect |
|
1069 |
COMMAND file2 new |
|
1070 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0018_Open_drive2 |
|
1071 |
COMMAND fileMan2 NewL PBASE-F32-DualDrive-Publicapi-RAM-0018_NewL_drive2 |
|
1072 |
COMMAND fileMan2 Copy PBASE-F32-DualDrive-Publicapi-RAM-0018_Copy_drive2 |
|
1073 |
COMMAND file2 Close |
|
1074 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0018_Open2_drive2 |
|
1075 |
COMMAND file2 Write PBASE-F32-DualDrive-Publicapi-RAM-0018_Write_drive2 |
|
1076 |
COMMAND file2 Close |
|
1077 |
COMMAND file2 Open PBASE-F32-DualDrive-Publicapi-RAM-0018_Open2_drive2 |
|
1078 |
COMMAND file2 Read PBASE-F32-DualDrive-Publicapi-RAM-0018_Read_drive2 |
|
1079 |
COMMAND file2 Close |
|
1080 |
COMMAND file2 ~ |
|
1081 |
COMMAND rfs2 Delete PBASE-F32-DualDrive-Publicapi-RAM-0018_Delete_drive2 |
|
1082 |
COMMAND rfs2 ~ |
|
1083 |
END_TEST_BLOCK |
|
1084 |
CONSECUTIVE |
|
1085 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0018 |
|
1086 |
||
1087 |
START_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0016 |
|
1088 |
//! @SYMTestCaseID PBASE-F32-DualDrive-Publicapi-RAM-0016 |
|
1089 |
//! @SYMAPI RFormat::Open();RFormat::Next() |
|
1090 |
//! @SYMAuthor Nirmala Bailur |
|
1091 |
//! @SYMCreationDate 30/05/2008 |
|
1092 |
//! @SYMTestCaseDesc Try to format both the drives. |
|
1093 |
//! Uses API elements: Format() |
|
1094 |
//! @SYMTestActions |
|
1095 |
//! 1. Call Format() on both the drives. |
|
1096 |
//! 2. Call Close(). |
|
1097 |
//! @SYMTestStatus Implemented |
|
1098 |
//! @SYMTestPriority High |
|
1099 |
//! @SYMTestExpectedResults Function Format() returns KErrNone and formats both the drives. |
|
1100 |
//! @SYMTestType CIT |
|
1101 |
CONCURRENT |
|
1102 |
START_TEST_BLOCK 1000 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
1103 |
CREATE_OBJECT RFormat format1 |
|
1104 |
CREATE_OBJECT RFs rfs1 |
|
1105 |
COMMAND rfs1 new |
|
1106 |
COMMAND rfs1 Connect |
|
1107 |
COMMAND format1 new |
|
1108 |
COMMAND format1 Open PBASE-F32-DualDrive-Publicapi-RAM-0004_Open_drive1 |
|
1109 |
COMMAND format1 Next |
|
1110 |
COMMAND format1 Close |
|
1111 |
COMMAND format1 ~ |
|
1112 |
COMMAND rfs1 Close |
|
1113 |
COMMAND rfs1 ~ |
|
1114 |
END_TEST_BLOCK |
|
1115 |
START_TEST_BLOCK 1000 T_Sfsrv \base\PBASE-F32-DUAL-DRIVE-Publicapi-RAM.ini |
|
1116 |
CREATE_OBJECT RFormat format2 |
|
1117 |
CREATE_OBJECT RFs rfs2 |
|
1118 |
COMMAND rfs2 new |
|
1119 |
COMMAND rfs2 Connect |
|
1120 |
COMMAND format2 new |
|
1121 |
COMMAND format2 Open PBASE-F32-DualDrive-Publicapi-RAM-0004_Open_drive2 |
|
1122 |
COMMAND format2 Next |
|
1123 |
COMMAND format2 Close |
|
1124 |
COMMAND format2 ~ |
|
1125 |
COMMAND rfs2 Close |
|
1126 |
COMMAND rfs2 ~ |
|
1127 |
END_TEST_BLOCK |
|
1128 |
CONSECUTIVE |
|
1129 |
END_TESTCASE PBASE-F32-DualDrive-Publicapi-RAM-0016 |
|
1130 |
||
1131 |
||
1132 |
||
1133 |
||
1134 |