|
1 // |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of the License "Eclipse Public License v1.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 // |
|
14 // Description: |
|
15 // |
|
16 // |
|
17 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
18 // All rights reserved. |
|
19 // This component and the accompanying materials are made available |
|
20 // under the terms of the License "Symbian Foundation License v1.0" |
|
21 // which accompanies this distribution, and is available |
|
22 // at the URL "http://www.symbianfoundation.org/legal/sfl-v10.html". |
|
23 // |
|
24 // Initial Contributors: |
|
25 // Nokia Corporation - initial contribution. |
|
26 // |
|
27 // Contributors: |
|
28 // |
|
29 // Description: |
|
30 // |
|
31 |
|
32 LOAD_SUITE tcaf |
|
33 |
|
34 //! @file |
|
35 //! @SYMTestCaseID SEC-CAF-CONS-0001 |
|
36 //! @SYMTestCaseDesc Get an attribute for a content object within a file |
|
37 //! @SYMREQ REQ3679 |
|
38 //! @SYMTestStatus Implemented |
|
39 //! @SYMTestPriority Normal |
|
40 //! @SYMTestActions Get a single attribute for a content object within a file |
|
41 //! @SYMTestExpectedResults Should return KErrNone |
|
42 //! @SYMTestType CIT |
|
43 START_TESTCASE SEC-CAF-CONS-0001 |
|
44 RUN_TEST_STEP 100 tcaf CAFDataAttributeStep c:\tcaf\attributes.ini Attribute |
|
45 END_TESTCASE SEC-CAF-CONS-0001 |
|
46 |
|
47 //! @file |
|
48 //! @SYMTestCaseID SEC-CAF-CONS-0002 |
|
49 //! @SYMTestCaseDesc Get a set of attributes for a content object within a file |
|
50 //! @SYMREQ REQ3679 |
|
51 //! @SYMTestStatus Implemented |
|
52 //! @SYMTestPriority Normal |
|
53 //! @SYMTestActions Get a set of attributes for a content object within a file |
|
54 //! @SYMTestExpectedResults Should return KErrNone |
|
55 //! @SYMTestType CIT |
|
56 START_TESTCASE SEC-CAF-CONS-0002 |
|
57 RUN_TEST_STEP 100 tcaf CAFDataAttributeSetStep c:\tcaf\attributes.ini AttributeSet |
|
58 END_TESTCASE SEC-CAF-CONS-0002 |
|
59 |
|
60 //! @file |
|
61 //! @SYMTestCaseID SEC-CAF-CONS-0003 |
|
62 //! @SYMTestCaseDesc Get a string attribute for a content object within a file |
|
63 //! @SYMREQ REQ3679 |
|
64 //! @SYMTestStatus Implemented |
|
65 //! @SYMTestPriority Normal |
|
66 //! @SYMTestActions Get a single string attribute for a content object within a file |
|
67 //! @SYMTestExpectedResults Should return KErrNone |
|
68 //! @SYMTestType CIT |
|
69 START_TESTCASE SEC-CAF-CONS-0003 |
|
70 RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini StringAttribute |
|
71 END_TESTCASE SEC-CAF-CONS-0003 |
|
72 |
|
73 //! @file |
|
74 //! @SYMTestCaseID SEC-CAF-CONS-0004 |
|
75 //! @SYMTestCaseDesc Get a string attribute for a content object within a file |
|
76 //! @SYMREQ CR1440 |
|
77 //! @SYMTestStatus Implemented |
|
78 //! @SYMTestPriority Normal |
|
79 //! @SYMTestActions Get a single string attribute for a content object within a file |
|
80 //! @SYMTestExpectedResults Should return KErrCANotSupported |
|
81 //! @SYMTestType CIT |
|
82 START_TESTCASE SEC-CAF-CONS-0004 |
|
83 RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini StringAttributeECoverURI |
|
84 END_TESTCASE SEC-CAF-CONS-0004 |
|
85 |
|
86 //! @file |
|
87 //! @SYMTestCaseID SEC-CAF-CONS-3443 |
|
88 //! @SYMTestCaseDesc Get a string attribute for a data object within a valid gif file |
|
89 //! @SYMDEF PDEF104571 |
|
90 //! @SYMTestStatus Implemented |
|
91 //! @SYMTestPriority Normal |
|
92 //! @SYMTestActions Get a single string attribute for a data object within a valid gif file |
|
93 //! @SYMTestExpectedResults A string attribute should successfully be returned |
|
94 //! @SYMTestType CT |
|
95 START_TESTCASE SEC-CAF-CONS-3443 |
|
96 RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini StringAttributeGoodGif |
|
97 END_TESTCASE SEC-CAF-CONS-3443 |
|
98 |
|
99 //! @file |
|
100 //! @SYMTestCaseID SEC-CAF-CONS-3444 |
|
101 //! @SYMTestCaseDesc Failure to return a string attribute for a data object within an invalid gif file |
|
102 //! @SYMDEF PDEF104571 |
|
103 //! @SYMTestStatus Implemented |
|
104 //! @SYMTestPriority Normal |
|
105 //! @SYMTestActions Attempt to get a single string attribute for a data object within an invalid gif file |
|
106 //! @SYMTestExpectedResults An error should be returned |
|
107 //! @SYMTestType CT |
|
108 START_TESTCASE SEC-CAF-CONS-3444 |
|
109 RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini StringAttributeErrorGif |
|
110 END_TESTCASE SEC-CAF-CONS-3444 |
|
111 |
|
112 //! @file |
|
113 //! @SYMTestCaseID SEC-CAF-CONS-0005 |
|
114 //! @SYMTestCaseDesc Get a set of string attributes for a content object within a file |
|
115 //! @SYMREQ REQ3679 |
|
116 //! @SYMTestStatus Implemented |
|
117 //! @SYMTestPriority Normal |
|
118 //! @SYMTestActions Get a set of string attributes for a content object within a file |
|
119 //! @SYMTestExpectedResults Should return KErrNone |
|
120 //! @SYMTestType CIT |
|
121 START_TESTCASE SEC-CAF-CONS-0005 |
|
122 RUN_TEST_STEP 100 tcaf CAFDataStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSet |
|
123 END_TESTCASE SEC-CAF-CONS-0005 |
|
124 |
|
125 //! @file |
|
126 //! @SYMTestCaseID SEC-CAF-CONS-3445 |
|
127 //! @SYMTestCaseDesc Get a set of string attributes for a data object within a valid gif file |
|
128 //! @SYMDEF PDEF104571 |
|
129 //! @SYMTestStatus Implemented |
|
130 //! @SYMTestPriority Normal |
|
131 //! @SYMTestActions Get a set of string attributes for a data object within a valid gif file |
|
132 //! @SYMTestExpectedResults A set of string attributes should successfully be returned |
|
133 //! @SYMTestType CT |
|
134 START_TESTCASE SEC-CAF-CONS-3445 |
|
135 RUN_TEST_STEP 100 tcaf CAFDataStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSetGoodGif |
|
136 END_TESTCASE SEC-CAF-CONS-3445 |
|
137 |
|
138 //! @file |
|
139 //! @SYMTestCaseID SEC-CAF-CONS-3446 |
|
140 //! @SYMTestCaseDesc Get a set of string attributes for a data object within an invalid gif file |
|
141 //! @SYMDEF PDEF104571 |
|
142 //! @SYMTestStatus Implemented |
|
143 //! @SYMTestPriority Normal |
|
144 //! @SYMTestActions Get a set of string attributes for a data object within an invalid gif file |
|
145 //! @SYMTestExpectedResults An error should be returned for the invalid gif file within the set |
|
146 //! @SYMTestType CT |
|
147 START_TESTCASE SEC-CAF-CONS-3446 |
|
148 RUN_TEST_STEP 100 tcaf CAFDataStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSetErrorGif |
|
149 END_TESTCASE SEC-CAF-CONS-3446 |
|
150 |
|
151 //! @file |
|
152 //! @SYMTestCaseID SEC-CAF-CONS-0006 |
|
153 //! @SYMTestCaseDesc Plaintext File Size |
|
154 //! @SYMPREQ PREQ1951 |
|
155 //! @SYMTestStatus Implemented |
|
156 //! @SYMTestPriority Critical |
|
157 //! @SYMTestActions Checks that the size of the file reported by RFile is the same as the size reported by CAF (F32Agent). CAF opens the file using the given filename |
|
158 //! @SYMTestExpectedResults Sizes are equal |
|
159 //! @SYMTestType CIT |
|
160 START_TESTCASE SEC-CAF-CONS-0006 |
|
161 RUN_TEST_STEP 100 tcaf CAFSizeStep c:\tcaf\consumerstep.ini CompareContentF32Agent |
|
162 END_TESTCASE SEC-CAF-CONS-0006 |
|
163 |
|
164 //! @file |
|
165 //! @SYMTestCaseID SEC-CAF-CONS-0007 |
|
166 //! @SYMTestCaseDesc Plaintext File Size |
|
167 //! @SYMREQ REQ0000 |
|
168 //! @SYMTestStatus Implemented |
|
169 //! @SYMTestPriority Critical |
|
170 //! @SYMTestActions Checks that the size of the file reported by RFile is the same as the size reported by CAF (F32Agent). CAF opens the file using the given filename, split the construction and evaluation of CData |
|
171 //! @SYMTestExpectedResults Sizes are equal |
|
172 //! @SYMTestType CIT |
|
173 START_TESTCASE SEC-CAF-CONS-0007 |
|
174 RUN_TEST_STEP 100 tcaf CAFSizeStep c:\tcaf\consumerstep.ini CompareContentF32AgentWithoutIntent |
|
175 END_TESTCASE SEC-CAF-CONS-0007 |
|
176 |
|
177 //! @file |
|
178 //! @SYMTestCaseID SEC-CAF-CONS-0008 |
|
179 //! @SYMTestCaseDesc Plaintext File Read and Seek |
|
180 //! @SYMPREQ PREQ1951 |
|
181 //! @SYMTestStatus Implemented |
|
182 //! @SYMTestPriority Critical |
|
183 //! @SYMTestActions Checks that the data read from an RFile is the same as the data read from CAF (F32Agent). Caf opens the file using the given filename. |
|
184 //! @SYMTestExpectedResults Data read is the same for both |
|
185 //! @SYMTestType CIT |
|
186 START_TESTCASE SEC-CAF-CONS-0008 |
|
187 RUN_TEST_STEP 100 tcaf CAFSeekReadStep c:\tcaf\consumerstep.ini CompareContentF32Agent |
|
188 END_TESTCASE SEC-CAF-CONS-0008 |
|
189 |
|
190 //! @file |
|
191 //! @SYMTestCaseID SEC-CAF-CONS-0009 |
|
192 //! @SYMTestCaseDesc Plaintext File Handle Size |
|
193 //! @SYMPREQ PREQ280 |
|
194 //! @SYMTestStatus Implemented |
|
195 //! @SYMTestPriority Critical |
|
196 //! @SYMTestActions Checks that the size of the file reported by RFile is the same as the size reported by CAF (F32Agent). CAF is supplied with a handle to the open file. |
|
197 //! @SYMTestExpectedResults Sizes are equal |
|
198 //! @SYMTestType CIT |
|
199 START_TESTCASE SEC-CAF-CONS-0009 |
|
200 RUN_TEST_STEP 100 tcaf CAFHandleSizeStep c:\tcaf\consumerstep.ini CompareContentF32Agent |
|
201 END_TESTCASE SEC-CAF-CONS-0009 |
|
202 |
|
203 |
|
204 //! @file |
|
205 //! @SYMTestCaseID SEC-CAF-CONS-0010 |
|
206 //! @SYMTestCaseDesc Plaintext File Handle Read and Seek |
|
207 //! @SYMPREQ PREQ280 |
|
208 //! @SYMTestStatus Implemented |
|
209 //! @SYMTestPriority Critical |
|
210 //! @SYMTestActions Checks that the data read from an RFile is the same as the data read from CAF (F32Agent). Caf is supplied with a handle to an open file. |
|
211 //! @SYMTestExpectedResults Data read is the same for both |
|
212 //! @SYMTestType CIT |
|
213 START_TESTCASE SEC-CAF-CONS-0010 |
|
214 RUN_TEST_STEP 100 tcaf CAFHandleSeekReadStep c:\tcaf\consumerstep.ini CompareContentF32Agent |
|
215 END_TESTCASE SEC-CAF-CONS-0010 |
|
216 |
|
217 //! @file |
|
218 //! @SYMTestCaseID SEC-CAF-CONS-0011 |
|
219 //! @SYMTestCaseDesc DRM File Size |
|
220 //! @SYMPREQ PREQ1951 |
|
221 //! @SYMTestStatus Implemented |
|
222 //! @SYMTestPriority Critical |
|
223 //! @SYMTestActions Checks that the size of a plaintext file reported by RFile is the same as the size of the content within a DRM file reported by CAF (TestAgent). CAF opens the file using the given filename |
|
224 //! @SYMTestExpectedResults Sizes are equal |
|
225 //! @SYMTestType CIT |
|
226 START_TESTCASE SEC-CAF-CONS-0011 |
|
227 RUN_TEST_STEP 100 tcaf CAFSizeStep c:\tcaf\consumerstep.ini CompareContentTestAgent |
|
228 END_TESTCASE SEC-CAF-CONS-0011 |
|
229 |
|
230 //! @file |
|
231 //! @SYMTestCaseID SEC-CAF-CONS-0012 |
|
232 //! @SYMTestCaseDesc DRM File Read and Seek |
|
233 //! @SYMPREQ PREQ1951 |
|
234 //! @SYMTestStatus Implemented |
|
235 //! @SYMTestPriority Critical |
|
236 //! @SYMTestActions Checks that data read from a plaintext file by RFile is the same as data read from the content within a DRM file by CAF (TestAgent). CAF opens the file using the given filename |
|
237 //! @SYMTestExpectedResults data read is the same for both |
|
238 //! @SYMTestType CIT |
|
239 START_TESTCASE SEC-CAF-CONS-0012 |
|
240 RUN_TEST_STEP 100 tcaf CAFSeekReadStep c:\tcaf\consumerstep.ini CompareContentTestAgent |
|
241 END_TESTCASE SEC-CAF-CONS-0012 |
|
242 |
|
243 //! @file |
|
244 //! @SYMTestCaseID SEC-CAF-CONS-0013 |
|
245 //! @SYMTestCaseDesc DRM File Size with file handle |
|
246 //! @SYMPREQ PREQ280 |
|
247 //! @SYMTestStatus Implemented |
|
248 //! @SYMTestPriority Critical |
|
249 //! @SYMTestActions Checks that the size of a plaintext file reported by RFile is the same as the size of the content within a DRM file reported by CAF (TestAgent). CAF opens is passed an open file handle |
|
250 //! @SYMTestExpectedResults Sizes are equal |
|
251 //! @SYMTestType CIT |
|
252 START_TESTCASE SEC-CAF-CONS-0013 |
|
253 RUN_TEST_STEP 100 tcaf CAFHandleSizeStep c:\tcaf\consumerstep.ini CompareContentTestAgent |
|
254 END_TESTCASE SEC-CAF-CONS-0013 |
|
255 |
|
256 //! @file |
|
257 //! @SYMTestCaseID SEC-CAF-CONS-0014 |
|
258 //! @SYMTestCaseDesc DRM File Read and Seek with file handle |
|
259 //! @SYMPREQ PREQ280 |
|
260 //! @SYMTestStatus Implemented |
|
261 //! @SYMTestPriority Critical |
|
262 //! @SYMTestActions Checks that data read from a plaintext file by RFile is the same as data read from the content within a DRM file by CAF (TestAgent). CAF is passed an open file handle |
|
263 //! @SYMTestExpectedResults Data read is the same for both |
|
264 //! @SYMTestType CIT |
|
265 START_TESTCASE SEC-CAF-CONS-0014 |
|
266 RUN_TEST_STEP 100 tcaf CAFHandleSeekReadStep c:\tcaf\consumerstep.ini CompareContentTestAgent |
|
267 END_TESTCASE SEC-CAF-CONS-0014 |
|
268 |
|
269 //! @file |
|
270 //! @SYMTestCaseID SEC-CAF-CONS-0015 |
|
271 //! @SYMTestCaseDesc Compare the size of the entire file opened with TestAgent vs RFile entire file |
|
272 //! @SYMREQ REQ3679 |
|
273 //! @SYMTestStatus Implemented |
|
274 //! @SYMTestPriority Critical |
|
275 //! @SYMTestActions Checks that the size of the file reported by RFile is the same as the size reported by CAF (F32Agent). Caf opens the file using a concatenated URI and UniqueId |
|
276 //! @SYMTestExpectedResults Sizes are equal |
|
277 //! @SYMTestType CIT |
|
278 START_TESTCASE SEC-CAF-CONS-0015 |
|
279 RUN_TEST_STEP 100 tcaf CAFSizeStep c:\tcaf\consumerstep.ini CompareContentCombinedURI |
|
280 END_TESTCASE SEC-CAF-CONS-0015 |
|
281 |
|
282 //! @file |
|
283 //! @SYMTestCaseID SEC-CAF-CONS-0016 |
|
284 //! @SYMTestCaseDesc Read and Seek through the entire file opened with TestAgent vs RFile entire file |
|
285 //! @SYMREQ REQ3679 |
|
286 //! @SYMTestStatus Implemented |
|
287 //! @SYMTestPriority Critical |
|
288 //! @SYMTestActions Checks that the data read from an RFile is the same as the data read from CAF (TestAgent). Caf opens the file using a concatenated URI and UniqueId |
|
289 //! @SYMTestExpectedResults Data read is the same for both |
|
290 //! @SYMTestType CIT |
|
291 START_TESTCASE SEC-CAF-CONS-0016 |
|
292 RUN_TEST_STEP 100 tcaf CAFSeekReadStep c:\tcaf\consumerstep.ini CompareContentCombinedURI |
|
293 END_TESTCASE SEC-CAF-CONS-0016 |
|
294 |
|
295 //! @file |
|
296 //! @SYMTestCaseID SEC-CAF-CONS-0017 |
|
297 //! @SYMTestCaseDesc Plaintext multithread read |
|
298 //! @SYMPREQ PREQ1951 |
|
299 //! @SYMTestStatus Implemented |
|
300 //! @SYMTestPriority Critical |
|
301 //! @SYMTestActions Checks that a CAF session can be shared between multiple threads |
|
302 //! @SYMTestExpectedResults Data read sucessfully |
|
303 //! @SYMTestType CIT |
|
304 START_TESTCASE SEC-CAF-CONS-0017 |
|
305 RUN_TEST_STEP 100 tcaf CAFMultiThreadCDataStep c:\tcaf\consumerstep.ini F32AgentThreadSharing |
|
306 END_TESTCASE SEC-CAF-CONS-0017 |
|
307 |
|
308 //! @file |
|
309 //! @SYMTestCaseID SEC-CAF-CONS-0018 |
|
310 //! @SYMTestCaseDesc Plaintext multithread read from handle |
|
311 //! @SYMPREQ PREQ280 |
|
312 //! @SYMTestStatus Implemented |
|
313 //! @SYMTestPriority Critical |
|
314 //! @SYMTestActions Checks that a CAF session can be shared between multiple threads, open file handle is supplied to CAF |
|
315 //! @SYMTestExpectedResults Data read sucessfully |
|
316 //! @SYMTestType CIT |
|
317 START_TESTCASE SEC-CAF-CONS-0018 |
|
318 RUN_TEST_STEP 100 tcaf CAFHandleMultiThreadCDataStep c:\tcaf\consumerstep.ini F32AgentThreadSharing |
|
319 END_TESTCASE SEC-CAF-CONS-0018 |
|
320 |
|
321 //! @file |
|
322 //! @SYMTestCaseID SEC-CAF-CONS-0019 |
|
323 //! @SYMTestCaseDesc DRM multithread read |
|
324 //! @SYMPREQ PREQ1951 |
|
325 //! @SYMTestStatus Implemented |
|
326 //! @SYMTestPriority Critical |
|
327 //! @SYMTestActions Checks that a CAF session can be shared between multiple threads |
|
328 //! @SYMTestExpectedResults Data read sucessfully |
|
329 //! @SYMTestType CIT |
|
330 START_TESTCASE SEC-CAF-CONS-0019 |
|
331 RUN_TEST_STEP 100 tcaf CAFMultiThreadCDataStep c:\tcaf\consumerstep.ini TestAgentThreadSharing |
|
332 END_TESTCASE SEC-CAF-CONS-0019 |
|
333 |
|
334 //! @file |
|
335 //! @SYMTestCaseID SEC-CAF-CONS-0020 |
|
336 //! @SYMTestCaseDesc DRM multithread read |
|
337 //! @SYMPREQ PREQ280 |
|
338 //! @SYMTestStatus Implemented |
|
339 //! @SYMTestPriority Critical |
|
340 //! @SYMTestActions Checks that a CAF session can be shared between multiple threads, open file handle is supplied to CAF |
|
341 //! @SYMTestExpectedResults Data read sucessfully |
|
342 //! @SYMTestType CIT |
|
343 START_TESTCASE SEC-CAF-CONS-0020 |
|
344 RUN_TEST_STEP 100 tcaf CAFHandleMultiThreadCDataStep c:\tcaf\consumerstep.ini TestAgentThreadSharing |
|
345 END_TESTCASE SEC-CAF-CONS-0020 |
|
346 |
|
347 //! @file |
|
348 //! @SYMTestCaseID SEC-CAF-CONS-0021 |
|
349 //! @SYMTestCaseDesc Plaintext mime type |
|
350 //! @SYMPREQ PREQ1951 |
|
351 //! @SYMTestStatus Implemented |
|
352 //! @SYMTestPriority Critical |
|
353 //! @SYMTestActions Asks CAF for the mime type of a file handled by F32Agent |
|
354 //! @SYMTestExpectedResults F32Agent uses Apparc to find out the mime type |
|
355 //! @SYMTestType CIT |
|
356 START_TESTCASE SEC-CAF-CONS-0021 |
|
357 RUN_TEST_STEP 100 tcaf CAFMimeTypeCDataStep c:\tcaf\consumerstep.ini UnprotectedContentMimeType |
|
358 END_TESTCASE SEC-CAF-CONS-0021 |
|
359 |
|
360 //! @file |
|
361 //! @SYMTestCaseID SEC-CAF-CONS-0022 |
|
362 //! @SYMTestCaseDesc DRM mime type |
|
363 //! @SYMPREQ PREQ1951 |
|
364 //! @SYMTestStatus Implemented |
|
365 //! @SYMTestPriority Critical |
|
366 //! @SYMTestActions Asks CAF for the mime type of a file handled by TestAgent |
|
367 //! @SYMTestExpectedResults TestAgent returns the mimetype of the content |
|
368 //! @SYMTestType CIT |
|
369 START_TESTCASE SEC-CAF-CONS-0022 |
|
370 RUN_TEST_STEP 100 tcaf CAFMimeTypeCDataStep c:\tcaf\consumerstep.ini ProtectedContentMimeType |
|
371 END_TESTCASE SEC-CAF-CONS-0022 |
|
372 |
|
373 //! @file |
|
374 //! @SYMTestCaseID SEC-CAF-CONS-0023 |
|
375 //! @SYMTestCaseDesc DRM ShareMode |
|
376 //! @SYMPREQ PREQ1951 |
|
377 //! @SYMTestStatus Implemented |
|
378 //! @SYMTestPriority Critical |
|
379 //! @SYMTestActions Opens a DRM file using all share modes |
|
380 //! @SYMTestExpectedResults TestAgent sucessfully opens the file using all share modes |
|
381 //! @SYMTestType CIT |
|
382 START_TESTCASE SEC-CAF-CONS-0023 |
|
383 RUN_UTILS MAKEREADWRITE C:\TCAF\testdata\TEST.DRM |
|
384 RUN_TEST_STEP 100 tcaf CAFShareModeStep c:\tcaf\consumerstep.ini TestAgentShareMode |
|
385 END_TESTCASE SEC-CAF-CONS-0023 |
|
386 |
|
387 //! @file |
|
388 //! @SYMTestCaseID SEC-CAF-CONS-0024 |
|
389 //! @SYMTestCaseDesc Plaintext ShareMode |
|
390 //! @SYMPREQ PREQ1951 |
|
391 //! @SYMTestStatus Implemented |
|
392 //! @SYMTestPriority Critical |
|
393 //! @SYMTestActions Opens a plaintext file using all share modes |
|
394 //! @SYMTestExpectedResults F32Agent sucessfully opens the file using all share modes |
|
395 //! @SYMTestType CIT |
|
396 START_TESTCASE SEC-CAF-CONS-0024 |
|
397 RUN_UTILS MAKEREADWRITE C:\tcaf\testdata\dummydata.txt |
|
398 RUN_TEST_STEP 100 tcaf CAFShareModeStep c:\tcaf\consumerstep.ini F32AgentShareMode |
|
399 END_TESTCASE SEC-CAF-CONS-0024 |
|
400 |
|
401 //! @file |
|
402 //! @SYMTestCaseID SEC-CAF-CONS-0025 |
|
403 //! @SYMTestCaseDesc Checks that implemented attributes are returned correctly |
|
404 //! @SYMPREQ CR1184 |
|
405 //! @SYMTestStatus Implemented |
|
406 //! @SYMTestPriority Critical |
|
407 //! @SYMTestActions Requests EIsMediaPlayerOnly for an unprotected file |
|
408 //! @SYMTestExpectedResults EFalse is returned |
|
409 //! @SYMTestType CIT |
|
410 START_TESTCASE SEC-CAF-CONS-0025 |
|
411 RUN_TEST_STEP 100 tcaf CAFDataAttributeStep c:\tcaf\attributes.ini IsMediaPlayerOnlyAttribute |
|
412 END_TESTCASE SEC-CAF-CONS-0025 |
|
413 |
|
414 //! @file |
|
415 //! @SYMTestCaseID SEC-CAF-CONS-0026 |
|
416 //! @SYMTestCaseDesc Checks that implemented attributes are returned correctly |
|
417 //! @SYMPREQ CR1184 |
|
418 //! @SYMTestStatus Implemented |
|
419 //! @SYMTestPriority Critical |
|
420 //! @SYMTestActions Requests EIsAutomated for an unprotected file |
|
421 //! @SYMTestExpectedResults EFalse is returned |
|
422 //! @SYMTestType CIT |
|
423 START_TESTCASE SEC-CAF-CONS-0026 |
|
424 RUN_TEST_STEP 100 tcaf CAFDataAttributeStep c:\tcaf\attributes.ini IsAutomatedOnlyAttribute |
|
425 END_TESTCASE SEC-CAF-CONS-0026 |
|
426 |
|
427 //! @file |
|
428 //! @SYMTestCaseID SEC-CAF-CONS-0027 |
|
429 //! @SYMTestCaseDesc Checks that for non-implemented attributes a correct error code is returned |
|
430 //! @SYMPREQ CR1184 |
|
431 //! @SYMTestStatus Implemented |
|
432 //! @SYMTestPriority Critical |
|
433 //! @SYMTestActions Requests EObjectNumber for an unprotected file |
|
434 //! @SYMTestExpectedResults KErrCaNotSupported is returned |
|
435 //! @SYMTestType CIT |
|
436 START_TESTCASE SEC-CAF-CONS-0027 |
|
437 RUN_TEST_STEP !Result=-17450 100 tcaf CAFDataAttributeStep c:\tcaf\attributes.ini TrackNumberAttribute |
|
438 END_TESTCASE SEC-CAF-CONS-0027 |
|
439 |
|
440 //! @file |
|
441 //! @SYMTestCaseID SEC-CAF-CONS-0028 |
|
442 //! @SYMTestCaseDesc Checks that for non-implemented attributes a correct error code is returned |
|
443 //! @SYMPREQ CR1184 |
|
444 //! @SYMTestStatus Implemented |
|
445 //! @SYMTestPriority Critical |
|
446 //! @SYMTestActions Requests EGenre for an unprotected file |
|
447 //! @SYMTestExpectedResults KErrCaNotSupported is returned |
|
448 //! @SYMTestType CIT |
|
449 START_TESTCASE SEC-CAF-CONS-0028 |
|
450 RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini GenreStringAttribute |
|
451 END_TESTCASE SEC-CAF-CONS-0028 |
|
452 |
|
453 //! @file |
|
454 //! @SYMTestCaseID SEC-CAF-CONS-0029 |
|
455 //! @SYMTestCaseDesc Checks that for non-implemented attributes a correct error code is returned |
|
456 //! @SYMPREQ CR1184 |
|
457 //! @SYMTestStatus Implemented |
|
458 //! @SYMTestPriority Critical |
|
459 //! @SYMTestActions Requests EUserRating for an unprotected file |
|
460 //! @SYMTestExpectedResults KErrCaNotSupported is returned |
|
461 //! @SYMTestType CIT |
|
462 START_TESTCASE SEC-CAF-CONS-0029 |
|
463 RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini UserRatingStringAttribute |
|
464 END_TESTCASE SEC-CAF-CONS-0029 |
|
465 |
|
466 //! @file |
|
467 //! @SYMTestCaseID SEC-CAF-CONS-0030 |
|
468 //! @SYMTestCaseDesc Checks that for non-implemented attributes a correct error code is returned |
|
469 //! @SYMPREQ CR1184 |
|
470 //! @SYMTestStatus Implemented |
|
471 //! @SYMTestPriority Critical |
|
472 //! @SYMTestActions Requests EAuthoredDate for an unprotected file |
|
473 //! @SYMTestExpectedResults KErrCaNotSupported is returned |
|
474 //! @SYMTestType CIT |
|
475 START_TESTCASE SEC-CAF-CONS-0030 |
|
476 RUN_TEST_STEP 100 tcaf CAFDataStringAttributeStep c:\tcaf\attributes.ini AuthoredDateStringAttribute |
|
477 END_TESTCASE SEC-CAF-CONS-0030 |