sl@0
|
1 |
//
|
sl@0
|
2 |
// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
3 |
// All rights reserved.
|
sl@0
|
4 |
// This component and the accompanying materials are made available
|
sl@0
|
5 |
// under the terms of the License "Eclipse Public License v1.0"
|
sl@0
|
6 |
// which accompanies this distribution, and is available
|
sl@0
|
7 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
8 |
//
|
sl@0
|
9 |
// Initial Contributors:
|
sl@0
|
10 |
// Nokia Corporation - initial contribution.
|
sl@0
|
11 |
//
|
sl@0
|
12 |
// Contributors:
|
sl@0
|
13 |
//
|
sl@0
|
14 |
// Description:
|
sl@0
|
15 |
//
|
sl@0
|
16 |
|
sl@0
|
17 |
|
sl@0
|
18 |
LOAD_SUITE RTAUtils
|
sl@0
|
19 |
LOAD_SUITE tcaf
|
sl@0
|
20 |
|
sl@0
|
21 |
// Required for managerstep.script test cases
|
sl@0
|
22 |
RUN_UTILS MkDir C:\private\
|
sl@0
|
23 |
RUN_UTILS MkDir C:\private\Reference Test Agent\
|
sl@0
|
24 |
|
sl@0
|
25 |
|
sl@0
|
26 |
RUN_UTILS Delete c:\tcaf\testdata\sample.content
|
sl@0
|
27 |
|
sl@0
|
28 |
START_TESTCASE SEC-CAF-MAN-0001
|
sl@0
|
29 |
//! @file
|
sl@0
|
30 |
//! @SYMTestCaseID SEC-CAF-MAN-0001
|
sl@0
|
31 |
//! @SYMTestCaseDesc Create a sample Drm archive
|
sl@0
|
32 |
//! (TCAF_CreateArchive)
|
sl@0
|
33 |
//! @SYMPREQ REQ3678
|
sl@0
|
34 |
//! @SYMTestStatus Implemented
|
sl@0
|
35 |
//! @SYMTestPriority Normal
|
sl@0
|
36 |
//! @SYMTestActions Constructs a DRM archive from the content and rights xml files provided
|
sl@0
|
37 |
//! @SYMTestExpectedResults A .contentrights file is produced
|
sl@0
|
38 |
//! @SYMTestType UT
|
sl@0
|
39 |
RUN_TEST_STEP 100 RTAUtils CreateDrmArchive c:\tcaf\managerstep.ini CreateDrmArchive
|
sl@0
|
40 |
END_TESTCASE SEC-CAF-MAN-0001
|
sl@0
|
41 |
|
sl@0
|
42 |
START_TESTCASE SEC-CAF-MAN-0002
|
sl@0
|
43 |
//! @file
|
sl@0
|
44 |
//! @SYMTestCaseID SEC-CAF-MAN-0002
|
sl@0
|
45 |
//! @SYMTestCaseDesc Plaintext Copy File not found
|
sl@0
|
46 |
//! (PlainText_CopyFile_Not_Found)
|
sl@0
|
47 |
//! @SYMREQ REQ3691
|
sl@0
|
48 |
//! @SYMTestStatus Implemented
|
sl@0
|
49 |
//! @SYMTestPriority Critical
|
sl@0
|
50 |
//! @SYMTestActions Attempt to copy an file that does not exist, should return expected error code
|
sl@0
|
51 |
//! @SYMTestExpectedResults returns expected error code
|
sl@0
|
52 |
//! @SYMTestType CIT
|
sl@0
|
53 |
RUN_TEST_STEP 100 tcaf CAFCopyFileStep c:\tcaf\managerstep.ini PlainTextCopyFileNotFound
|
sl@0
|
54 |
END_TESTCASE SEC-CAF-MAN-0002
|
sl@0
|
55 |
|
sl@0
|
56 |
START_TESTCASE SEC-CAF-MAN-0003
|
sl@0
|
57 |
//! @file
|
sl@0
|
58 |
//! @SYMTestCaseID SEC-CAF-MAN-0003
|
sl@0
|
59 |
//! @SYMTestCaseDesc Plaintext Copy File
|
sl@0
|
60 |
//! (PlainText_CopyFile)
|
sl@0
|
61 |
//! @SYMREQ REQ3691
|
sl@0
|
62 |
//! @SYMTestStatus Implemented
|
sl@0
|
63 |
//! @SYMTestPriority Critical
|
sl@0
|
64 |
//! @SYMTestActions Attempt to copy an unprotected file
|
sl@0
|
65 |
//! @SYMTestExpectedResults File copied sucessfully
|
sl@0
|
66 |
//! @SYMTestType CIT
|
sl@0
|
67 |
RUN_TEST_STEP 100 tcaf CAFCopyFileStep c:\tcaf\managerstep.ini PlainTextCopyFileOk
|
sl@0
|
68 |
END_TESTCASE SEC-CAF-MAN-0003
|
sl@0
|
69 |
|
sl@0
|
70 |
START_TESTCASE SEC-CAF-MAN-0004
|
sl@0
|
71 |
//! @file
|
sl@0
|
72 |
//! @SYMTestCaseID SEC-CAF-MAN-0004
|
sl@0
|
73 |
//! @SYMTestCaseDesc Rename a file in the same directory using CAF
|
sl@0
|
74 |
//! (PlainText_RenameFile_Ok)
|
sl@0
|
75 |
//! @SYMREQ REQ3691
|
sl@0
|
76 |
//! @SYMTestStatus Implemented
|
sl@0
|
77 |
//! @SYMTestPriority Critical
|
sl@0
|
78 |
//! @SYMTestActions Use CAF to try and rename a file
|
sl@0
|
79 |
//! @SYMTestExpectedResults Rename should return KErrNone
|
sl@0
|
80 |
//! @SYMTestType CIT
|
sl@0
|
81 |
RUN_TEST_STEP 100 tcaf CAFRenameFileStep c:\tcaf\managerstep.ini PlainTextRenameFileOk
|
sl@0
|
82 |
END_TESTCASE SEC-CAF-MAN-0004
|
sl@0
|
83 |
|
sl@0
|
84 |
START_TESTCASE SEC-CAF-MAN-0005
|
sl@0
|
85 |
//! @file
|
sl@0
|
86 |
//! @SYMTestCaseID SEC-CAF-MAN-0005
|
sl@0
|
87 |
//! @SYMTestCaseDesc Rename a non existant file using caf
|
sl@0
|
88 |
//! (PlainText_RenameFile_Fail)
|
sl@0
|
89 |
//! @SYMREQ REQ3691
|
sl@0
|
90 |
//! @SYMTestStatus Implemented
|
sl@0
|
91 |
//! @SYMTestPriority Critical
|
sl@0
|
92 |
//! @SYMTestActions Use CAF to try and rename a file that does not exist
|
sl@0
|
93 |
//! @SYMTestExpectedResults Rename should return KErrNotFound
|
sl@0
|
94 |
//! @SYMTestType CIT
|
sl@0
|
95 |
RUN_TEST_STEP 100 tcaf CAFRenameFileStep c:\tcaf\managerstep.ini PlainTextRenameFileNotFound
|
sl@0
|
96 |
END_TESTCASE SEC-CAF-MAN-0005
|
sl@0
|
97 |
|
sl@0
|
98 |
START_TESTCASE SEC-CAF-MAN-0006
|
sl@0
|
99 |
//! @file
|
sl@0
|
100 |
//! @SYMTestCaseID SEC-CAF-MAN-0006
|
sl@0
|
101 |
//! @SYMTestCaseDesc Move file across different drives using CAF
|
sl@0
|
102 |
//! (PlainText_DifferentDrivesSameNameRenameFile_Ok)
|
sl@0
|
103 |
//! @SYMREQ REQ3691, INC106214
|
sl@0
|
104 |
//! @SYMTestStatus Implemented
|
sl@0
|
105 |
//! @SYMTestPriority Critical
|
sl@0
|
106 |
//! @SYMTestActions Use CAF to try and move a file to a different drive
|
sl@0
|
107 |
//! @SYMTestExpectedResults Rename should return KErrNone
|
sl@0
|
108 |
//! @SYMTestType CIT
|
sl@0
|
109 |
RUN_TEST_STEP 100 tcaf CAFRenameFileStep c:\tcaf\managerstep.ini DifferentDrivesSameNameRenameFileOk
|
sl@0
|
110 |
END_TESTCASE SEC-CAF-MAN-0006
|
sl@0
|
111 |
|
sl@0
|
112 |
START_TESTCASE SEC-CAF-MAN-0007
|
sl@0
|
113 |
//! @file
|
sl@0
|
114 |
//! @SYMTestCaseID SEC-CAF-MAN-0007
|
sl@0
|
115 |
//! @SYMTestCaseDesc Move file across different drives using CAF
|
sl@0
|
116 |
//! (PlainText_DifferentDrivesDifferentNameRenameFile_Ok)
|
sl@0
|
117 |
//! @SYMREQ REQ3691, INC106214
|
sl@0
|
118 |
//! @SYMTestStatus Implemented
|
sl@0
|
119 |
//! @SYMTestPriority Critical
|
sl@0
|
120 |
//! @SYMTestActions Use CAF to try and move a file to a different drive while changing the file name
|
sl@0
|
121 |
//! @SYMTestExpectedResults Rename should return KErrNone
|
sl@0
|
122 |
//! @SYMTestType CIT
|
sl@0
|
123 |
RUN_TEST_STEP 100 tcaf CAFRenameFileStep c:\tcaf\managerstep.ini DifferentDrivesDifferentNameRenameFileOk
|
sl@0
|
124 |
END_TESTCASE SEC-CAF-MAN-0007
|
sl@0
|
125 |
|
sl@0
|
126 |
START_TESTCASE SEC-CAF-MAN-0008
|
sl@0
|
127 |
//! @file
|
sl@0
|
128 |
//! @SYMTestCaseID SEC-CAF-MAN-0008
|
sl@0
|
129 |
//! @SYMTestCaseDesc Delete a plain text file using CAF
|
sl@0
|
130 |
//! (PlainText_Delete_Ok)
|
sl@0
|
131 |
//! @SYMREQ REQ3691
|
sl@0
|
132 |
//! @SYMTestStatus Implemented
|
sl@0
|
133 |
//! @SYMTestPriority Critical
|
sl@0
|
134 |
//! @SYMTestActions Use CAF to delete the file that was copied in the previous test
|
sl@0
|
135 |
//! @SYMTestExpectedResults Delete should return KErrNone when the file is deleted
|
sl@0
|
136 |
//! @SYMTestType CIT
|
sl@0
|
137 |
RUN_TEST_STEP 100 tcaf CAFDeleteStep c:\tcaf\managerstep.ini PlainTextDeleteOk
|
sl@0
|
138 |
END_TESTCASE SEC-CAF-MAN-0008
|
sl@0
|
139 |
|
sl@0
|
140 |
START_TESTCASE SEC-CAF-MAN-0009
|
sl@0
|
141 |
//! @file
|
sl@0
|
142 |
//! @SYMTestCaseID SEC-CAF-MAN-0009
|
sl@0
|
143 |
//! @SYMTestCaseDesc Delete a non existant file using caf
|
sl@0
|
144 |
//! (PlainText_Delete_Fail)
|
sl@0
|
145 |
//! @SYMREQ REQ3691
|
sl@0
|
146 |
//! @SYMTestStatus Implemented
|
sl@0
|
147 |
//! @SYMTestPriority Critical
|
sl@0
|
148 |
//! @SYMTestActions Use CAF to try and delete a file that does not exist
|
sl@0
|
149 |
//! @SYMTestExpectedResults Delete should return KErrNotFound
|
sl@0
|
150 |
//! @SYMTestType CIT
|
sl@0
|
151 |
RUN_TEST_STEP 100 tcaf CAFDeleteStep c:\tcaf\managerstep.ini PlainTextDeleteFail
|
sl@0
|
152 |
END_TESTCASE SEC-CAF-MAN-0009
|
sl@0
|
153 |
|
sl@0
|
154 |
START_TESTCASE SEC-CAF-MAN-0010
|
sl@0
|
155 |
//! @file
|
sl@0
|
156 |
//! @SYMTestCaseID SEC-CAF-MAN-0010
|
sl@0
|
157 |
//! @SYMTestCaseDesc Tries to creates several nested directories
|
sl@0
|
158 |
//! (public_Mkdir_fail)
|
sl@0
|
159 |
//! @SYMREQ REQ3691
|
sl@0
|
160 |
//! @SYMTestStatus Implemented
|
sl@0
|
161 |
//! @SYMTestPriority Critical
|
sl@0
|
162 |
//! @SYMTestActions Use CAF to create a nested directory in the file system, fails
|
sl@0
|
163 |
//! @SYMTestExpectedResults MkDir should return kErrPathNotFound
|
sl@0
|
164 |
//! @SYMTestType CIT
|
sl@0
|
165 |
RUN_TEST_STEP 100 tcaf CAFMkDirStep c:\tcaf\managerstep.ini MkDirPublicDirFail
|
sl@0
|
166 |
END_TESTCASE SEC-CAF-MAN-0010
|
sl@0
|
167 |
|
sl@0
|
168 |
START_TESTCASE SEC-CAF-MAN-0011
|
sl@0
|
169 |
|
sl@0
|
170 |
//! @file
|
sl@0
|
171 |
//! @SYMTestCaseID SEC-CAF-MAN-0011
|
sl@0
|
172 |
//! @SYMTestCaseDesc Creates a directory in a public part of the file system
|
sl@0
|
173 |
//! (public_Mkdir_Ok)
|
sl@0
|
174 |
//! @SYMREQ REQ3691
|
sl@0
|
175 |
//! @SYMTestStatus Implemented
|
sl@0
|
176 |
//! @SYMTestPriority Critical
|
sl@0
|
177 |
//! @SYMTestActions Use CAF to create a directory in the file system
|
sl@0
|
178 |
//! @SYMTestExpectedResults MkDir should return kErrNone
|
sl@0
|
179 |
//! @SYMTestType CIT
|
sl@0
|
180 |
RUN_TEST_STEP 100 tcaf CAFMkDirStep c:\tcaf\managerstep.ini MkDirPublicDirOk
|
sl@0
|
181 |
END_TESTCASE SEC-CAF-MAN-0011
|
sl@0
|
182 |
|
sl@0
|
183 |
START_TESTCASE SEC-CAF-MAN-0012
|
sl@0
|
184 |
//! @file
|
sl@0
|
185 |
//! @SYMTestCaseID SEC-CAF-MAN-0012
|
sl@0
|
186 |
//! @SYMTestCaseDesc Creates a directory in a public part of the file system
|
sl@0
|
187 |
//! (public_Rmdir)
|
sl@0
|
188 |
//! @SYMREQ REQ3691
|
sl@0
|
189 |
//! @SYMTestStatus Implemented
|
sl@0
|
190 |
//! @SYMTestPriority Critical
|
sl@0
|
191 |
//! @SYMTestActions Use CAF to create a directory in the file system
|
sl@0
|
192 |
//! @SYMTestExpectedResults MkDir should return kErrNone
|
sl@0
|
193 |
//! @SYMTestType CIT
|
sl@0
|
194 |
RUN_TEST_STEP 100 tcaf CAFRmDirStep c:\tcaf\managerstep.ini RmDirPublicDirOk
|
sl@0
|
195 |
END_TESTCASE SEC-CAF-MAN-0012
|
sl@0
|
196 |
|
sl@0
|
197 |
START_TESTCASE SEC-CAF-MAN-0013
|
sl@0
|
198 |
//! @file
|
sl@0
|
199 |
//! @SYMTestCaseID SEC-CAF-MAN-0013
|
sl@0
|
200 |
//! @SYMTestCaseDesc Remove a directory that does not exist
|
sl@0
|
201 |
//! (public_Rmdir_fail)
|
sl@0
|
202 |
//! @SYMREQ REQ3691
|
sl@0
|
203 |
//! @SYMTestStatus Implemented
|
sl@0
|
204 |
//! @SYMTestPriority Critical
|
sl@0
|
205 |
//! @SYMTestActions Use CAF to remove a directory that does not exist in the file system
|
sl@0
|
206 |
//! @SYMTestExpectedResults RmDir should return KErrNotFound
|
sl@0
|
207 |
//! @SYMTestType CIT
|
sl@0
|
208 |
RUN_TEST_STEP 100 tcaf CAFRmDirStep c:\tcaf\managerstep.ini RmDirPublicDirFail
|
sl@0
|
209 |
END_TESTCASE SEC-CAF-MAN-0013
|
sl@0
|
210 |
|
sl@0
|
211 |
START_TESTCASE SEC-CAF-MAN-0014
|
sl@0
|
212 |
//! @file
|
sl@0
|
213 |
//! @SYMTestCaseID SEC-CAF-MAN-0014
|
sl@0
|
214 |
//! @SYMTestCaseDesc Creates a directory in a public part of the file system
|
sl@0
|
215 |
//! (public_MkDirAll_ok)
|
sl@0
|
216 |
//! @SYMREQ REQ3691
|
sl@0
|
217 |
//! @SYMTestStatus Implemented
|
sl@0
|
218 |
//! @SYMTestPriority Critical
|
sl@0
|
219 |
//! @SYMTestActions Use CAF to create a directory in the file system
|
sl@0
|
220 |
//! @SYMTestExpectedResults MkDir should return kErrNone
|
sl@0
|
221 |
//! @SYMTestType CIT
|
sl@0
|
222 |
RUN_TEST_STEP 100 tcaf CAFMkDirAllStep c:\tcaf\managerstep.ini MkDirAllPublicDirOk
|
sl@0
|
223 |
END_TESTCASE SEC-CAF-MAN-0014
|
sl@0
|
224 |
|
sl@0
|
225 |
START_TESTCASE SEC-CAF-MAN-0015
|
sl@0
|
226 |
//! @file
|
sl@0
|
227 |
//! @SYMTestCaseID SEC-CAF-MAN-0015
|
sl@0
|
228 |
//! @SYMTestCaseDesc Create directory fails
|
sl@0
|
229 |
//! (public_MkDirAll_fail)
|
sl@0
|
230 |
//! @SYMREQ REQ3691
|
sl@0
|
231 |
//! @SYMTestStatus Implemented
|
sl@0
|
232 |
//! @SYMTestPriority Critical
|
sl@0
|
233 |
//! @SYMTestActions Use CAF to create a directory on the read only Z:\ drive
|
sl@0
|
234 |
//! @SYMTestExpectedResults MkDir should return kErrAccessDenied
|
sl@0
|
235 |
//! @SYMTestType CIT
|
sl@0
|
236 |
RUN_TEST_STEP 100 tcaf CAFMkDirAllStep c:\tcaf\managerstep.ini MkDirAllPublicDirFail
|
sl@0
|
237 |
END_TESTCASE SEC-CAF-MAN-0015
|
sl@0
|
238 |
|
sl@0
|
239 |
START_TESTCASE SEC-CAF-MAN-0016
|
sl@0
|
240 |
//! @file
|
sl@0
|
241 |
//! @SYMTestCaseID SEC-CAF-MAN-0016
|
sl@0
|
242 |
//! @SYMTestCaseDesc List a directory
|
sl@0
|
243 |
//! (public_GetDir1_ok)
|
sl@0
|
244 |
//! @SYMREQ REQ3691
|
sl@0
|
245 |
//! @SYMTestStatus Implemented
|
sl@0
|
246 |
//! @SYMTestPriority Critical
|
sl@0
|
247 |
//! @SYMTestActions Use CAF to list a directory
|
sl@0
|
248 |
//! @SYMTestExpectedResults GetDir should return KErrNone
|
sl@0
|
249 |
//! @SYMTestType CIT
|
sl@0
|
250 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI1StepOk
|
sl@0
|
251 |
END_TESTCASE SEC-CAF-MAN-0016
|
sl@0
|
252 |
|
sl@0
|
253 |
START_TESTCASE SEC-CAF-MAN-0017
|
sl@0
|
254 |
//! @file
|
sl@0
|
255 |
//! @SYMTestCaseID SEC-CAF-MAN-0017
|
sl@0
|
256 |
//! @SYMTestCaseDesc List a directory
|
sl@0
|
257 |
//! (public_GetDir2_ok)
|
sl@0
|
258 |
//! @SYMREQ REQ3691
|
sl@0
|
259 |
//! @SYMTestStatus Implemented
|
sl@0
|
260 |
//! @SYMTestPriority Critical
|
sl@0
|
261 |
//! @SYMTestActions Use CAF to list a directory
|
sl@0
|
262 |
//! @SYMTestExpectedResults GetDir should return KErrNone
|
sl@0
|
263 |
//! @SYMTestType CIT
|
sl@0
|
264 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI2StepOk
|
sl@0
|
265 |
END_TESTCASE SEC-CAF-MAN-0017
|
sl@0
|
266 |
|
sl@0
|
267 |
START_TESTCASE SEC-CAF-MAN-0018
|
sl@0
|
268 |
//! @file
|
sl@0
|
269 |
//! @SYMTestCaseID SEC-CAF-MAN-0018
|
sl@0
|
270 |
//! @SYMTestCaseDesc List a directory
|
sl@0
|
271 |
//! (public_GetDir3_ok)
|
sl@0
|
272 |
//! @SYMREQ REQ3691
|
sl@0
|
273 |
//! @SYMTestStatus Implemented
|
sl@0
|
274 |
//! @SYMTestPriority Critical
|
sl@0
|
275 |
//! @SYMTestActions Use CAF to list a directory
|
sl@0
|
276 |
//! @SYMTestExpectedResults GetDir should return KErrNone
|
sl@0
|
277 |
//! @SYMTestType CIT
|
sl@0
|
278 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI3StepOk
|
sl@0
|
279 |
END_TESTCASE SEC-CAF-MAN-0018
|
sl@0
|
280 |
|
sl@0
|
281 |
START_TESTCASE SEC-CAF-MAN-0019
|
sl@0
|
282 |
//! @file
|
sl@0
|
283 |
//! @SYMTestCaseID SEC-CAF-MAN-0019
|
sl@0
|
284 |
//! @SYMTestCaseDesc List a directory
|
sl@0
|
285 |
//! (public_GetDir_fail)
|
sl@0
|
286 |
//! @SYMREQ REQ3691
|
sl@0
|
287 |
//! @SYMTestStatus Implemented
|
sl@0
|
288 |
//! @SYMTestPriority Critical
|
sl@0
|
289 |
//! @SYMTestActions Use CAF to list a directory
|
sl@0
|
290 |
//! @SYMTestExpectedResults GetDir should return KErrPathNotFound
|
sl@0
|
291 |
//! @SYMTestType CIT
|
sl@0
|
292 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirStepFail
|
sl@0
|
293 |
END_TESTCASE SEC-CAF-MAN-0019
|
sl@0
|
294 |
|
sl@0
|
295 |
START_TESTCASE SEC-CAF-MAN-0020
|
sl@0
|
296 |
//! @file
|
sl@0
|
297 |
//! @SYMTestCaseID SEC-CAF-MAN-0020
|
sl@0
|
298 |
//! @SYMTestCaseDesc List a directory
|
sl@0
|
299 |
//! (public_GetDir_Private1)
|
sl@0
|
300 |
//! @SYMREQ REQ3691
|
sl@0
|
301 |
//! @SYMTestStatus Implemented
|
sl@0
|
302 |
//! @SYMTestPriority Critical
|
sl@0
|
303 |
//! @SYMTestActions Use CAF to list a C:\private\
|
sl@0
|
304 |
//! @SYMTestExpectedResults GetDir should return KErrNone
|
sl@0
|
305 |
//! @SYMTestType CIT
|
sl@0
|
306 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI1StepPrivate
|
sl@0
|
307 |
END_TESTCASE SEC-CAF-MAN-0020
|
sl@0
|
308 |
|
sl@0
|
309 |
START_TESTCASE SEC-CAF-MAN-0021
|
sl@0
|
310 |
//! @file
|
sl@0
|
311 |
//! @SYMTestCaseID SEC-CAF-MAN-0021
|
sl@0
|
312 |
//! @SYMTestCaseDesc List a directory
|
sl@0
|
313 |
//! (public_GetDir_Private2)
|
sl@0
|
314 |
//! @SYMREQ REQ3691
|
sl@0
|
315 |
//! @SYMTestStatus Implemented
|
sl@0
|
316 |
//! @SYMTestPriority Critical
|
sl@0
|
317 |
//! @SYMTestActions Use CAF to list a C:\private\
|
sl@0
|
318 |
//! @SYMTestExpectedResults GetDir should return KErrNone
|
sl@0
|
319 |
//! @SYMTestType CIT
|
sl@0
|
320 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI2StepPrivate
|
sl@0
|
321 |
END_TESTCASE SEC-CAF-MAN-0021
|
sl@0
|
322 |
|
sl@0
|
323 |
START_TESTCASE SEC-CAF-MAN-0022
|
sl@0
|
324 |
//! @file
|
sl@0
|
325 |
//! @SYMTestCaseID SEC-CAF-MAN-0022
|
sl@0
|
326 |
//! @SYMTestCaseDesc List a directory
|
sl@0
|
327 |
//! (public_GetDir_Private3)
|
sl@0
|
328 |
//! @SYMREQ REQ3691
|
sl@0
|
329 |
//! @SYMTestStatus Implemented
|
sl@0
|
330 |
//! @SYMTestPriority Critical
|
sl@0
|
331 |
//! @SYMTestActions Use CAF to list a C:\private\
|
sl@0
|
332 |
//! @SYMTestExpectedResults GetDir should return KErrNone
|
sl@0
|
333 |
//! @SYMTestType CIT
|
sl@0
|
334 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI3StepPrivate
|
sl@0
|
335 |
END_TESTCASE SEC-CAF-MAN-0022
|
sl@0
|
336 |
|
sl@0
|
337 |
START_TESTCASE SEC-CAF-MAN-0023
|
sl@0
|
338 |
//! @file
|
sl@0
|
339 |
//! @SYMTestCaseID SEC-CAF-MAN-0023
|
sl@0
|
340 |
//! @SYMTestCaseDesc Copy File to private dir
|
sl@0
|
341 |
//! (private_CopyFile_Ok)
|
sl@0
|
342 |
//! @SYMREQ REQ3691
|
sl@0
|
343 |
//! @SYMTestStatus Implemented
|
sl@0
|
344 |
//! @SYMTestPriority Critical
|
sl@0
|
345 |
//! @SYMTestActions Attempt to copy an file to the reference test agent private dir
|
sl@0
|
346 |
//! @SYMTestExpectedResults copy succeeds
|
sl@0
|
347 |
//! @SYMTestType CIT
|
sl@0
|
348 |
RUN_TEST_STEP 100 tcaf CAFCopyFileStep c:\tcaf\managerstep.ini PrivateCopyFileOk
|
sl@0
|
349 |
END_TESTCASE SEC-CAF-MAN-0023
|
sl@0
|
350 |
|
sl@0
|
351 |
START_TESTCASE SEC-CAF-MAN-0024
|
sl@0
|
352 |
//! @file
|
sl@0
|
353 |
//! @SYMTestCaseID SEC-CAF-MAN-0024
|
sl@0
|
354 |
//! @SYMTestCaseDesc Creates a directory in the private directory of the reference test agent
|
sl@0
|
355 |
//! (private_Mkdir_Ok)
|
sl@0
|
356 |
//! @SYMREQ REQ3691
|
sl@0
|
357 |
//! @SYMTestStatus Implemented
|
sl@0
|
358 |
//! @SYMTestPriority Critical
|
sl@0
|
359 |
//! @SYMTestActions Use CAF to create a directory in agents private directory
|
sl@0
|
360 |
//! @SYMTestExpectedResults MkDir should return kErrNone
|
sl@0
|
361 |
//! @SYMTestType CIT
|
sl@0
|
362 |
RUN_TEST_STEP 100 tcaf CAFMkDirStep c:\tcaf\managerstep.ini MkDirPrivateDirOk
|
sl@0
|
363 |
END_TESTCASE SEC-CAF-MAN-0024
|
sl@0
|
364 |
|
sl@0
|
365 |
START_TESTCASE SEC-CAF-MAN-0025
|
sl@0
|
366 |
//! @file
|
sl@0
|
367 |
//! @SYMTestCaseID SEC-CAF-MAN-0025
|
sl@0
|
368 |
//! @SYMTestCaseDesc List a directory
|
sl@0
|
369 |
//! (public_GetDir_Private1)
|
sl@0
|
370 |
//! @SYMREQ REQ3691
|
sl@0
|
371 |
//! @SYMTestStatus Implemented
|
sl@0
|
372 |
//! @SYMTestPriority Critical
|
sl@0
|
373 |
//! @SYMTestActions Use CAF to list a C:\private\Reference Test Agent\
|
sl@0
|
374 |
//! @SYMTestExpectedResults GetDir should return KErrNone
|
sl@0
|
375 |
//! @SYMTestType CIT
|
sl@0
|
376 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI1StepPrivateServer
|
sl@0
|
377 |
END_TESTCASE SEC-CAF-MAN-0025
|
sl@0
|
378 |
|
sl@0
|
379 |
START_TESTCASE SEC-CAF-MAN-0026
|
sl@0
|
380 |
//! @file
|
sl@0
|
381 |
//! @SYMTestCaseID SEC-CAF-MAN-0026
|
sl@0
|
382 |
//! @SYMTestCaseDesc List a directory
|
sl@0
|
383 |
//! (public_GetDir_Private2)
|
sl@0
|
384 |
//! @SYMREQ REQ3691
|
sl@0
|
385 |
//! @SYMTestStatus Implemented
|
sl@0
|
386 |
//! @SYMTestPriority Critical
|
sl@0
|
387 |
//! @SYMTestActions Use CAF to list a C:\private\Reference Test Agent\
|
sl@0
|
388 |
//! @SYMTestExpectedResults GetDir should return KErrNone
|
sl@0
|
389 |
//! @SYMTestType CIT
|
sl@0
|
390 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI2StepPrivateServer
|
sl@0
|
391 |
END_TESTCASE SEC-CAF-MAN-0026
|
sl@0
|
392 |
|
sl@0
|
393 |
START_TESTCASE SEC-CAF-MAN-0027
|
sl@0
|
394 |
//! @file
|
sl@0
|
395 |
//! @SYMTestCaseID SEC-CAF-MAN-0027
|
sl@0
|
396 |
//! @SYMTestCaseDesc List a directory
|
sl@0
|
397 |
//! (public_GetDir_Private3)
|
sl@0
|
398 |
//! @SYMREQ REQ3691
|
sl@0
|
399 |
//! @SYMTestStatus Implemented
|
sl@0
|
400 |
//! @SYMTestPriority Critical
|
sl@0
|
401 |
//! @SYMTestActions Use CAF to list a C:\private\Reference Test Agent\
|
sl@0
|
402 |
//! @SYMTestExpectedResults GetDir should return KErrNone
|
sl@0
|
403 |
//! @SYMTestType CIT
|
sl@0
|
404 |
RUN_TEST_STEP 100 tcaf CAFGetDirStep c:\tcaf\managerstep.ini GetDirAPI3StepPrivateServer
|
sl@0
|
405 |
END_TESTCASE SEC-CAF-MAN-0027
|
sl@0
|
406 |
|
sl@0
|
407 |
START_TESTCASE SEC-CAF-MAN-0028
|
sl@0
|
408 |
//! @file
|
sl@0
|
409 |
//! @SYMTestCaseID SEC-CAF-MAN-0028
|
sl@0
|
410 |
//! @SYMTestCaseDesc Delete a file in the reference test agents private directory
|
sl@0
|
411 |
//! (Private_Delete_Ok)
|
sl@0
|
412 |
//! @SYMREQ REQ3691
|
sl@0
|
413 |
//! @SYMTestStatus Implemented
|
sl@0
|
414 |
//! @SYMTestPriority Critical
|
sl@0
|
415 |
//! @SYMTestActions Use CAF to delete the file in the private directory of the reference test agent
|
sl@0
|
416 |
//! @SYMTestExpectedResults Delete should return KErrNone when the file is deleted
|
sl@0
|
417 |
//! @SYMTestType CIT
|
sl@0
|
418 |
RUN_TEST_STEP 100 tcaf CAFDeleteStep c:\tcaf\managerstep.ini PrivateDeleteFileOk
|
sl@0
|
419 |
END_TESTCASE SEC-CAF-MAN-0028
|
sl@0
|
420 |
|
sl@0
|
421 |
START_TESTCASE SEC-CAF-MAN-0029
|
sl@0
|
422 |
//! @file
|
sl@0
|
423 |
//! @SYMTestCaseID SEC-CAF-MAN-0029
|
sl@0
|
424 |
//! @SYMTestCaseDesc Remove a directory within the agents private directory
|
sl@0
|
425 |
//! (private_Rmdir)
|
sl@0
|
426 |
//! @SYMREQ REQ3691
|
sl@0
|
427 |
//! @SYMTestStatus Implemented
|
sl@0
|
428 |
//! @SYMTestPriority Critical
|
sl@0
|
429 |
//! @SYMTestActions Use CAF to remove a directory in the agents private directory
|
sl@0
|
430 |
//! @SYMTestExpectedResults MkDir should return kErrNone
|
sl@0
|
431 |
//! @SYMTestType CIT
|
sl@0
|
432 |
RUN_TEST_STEP 100 tcaf CAFRmDirStep c:\tcaf\managerstep.ini RmDirPrivateDirOk
|
sl@0
|
433 |
END_TESTCASE SEC-CAF-MAN-0029
|
sl@0
|
434 |
|
sl@0
|
435 |
START_TESTCASE SEC-CAF-MAN-0030
|
sl@0
|
436 |
//! @file
|
sl@0
|
437 |
//! @SYMTestCaseID SEC-CAF-MAN-0030
|
sl@0
|
438 |
//! @SYMTestCaseDesc Request a status notification on a file
|
sl@0
|
439 |
//! (Manager_NotifyStatusChange)
|
sl@0
|
440 |
//! @SYMREQ REQ3680
|
sl@0
|
441 |
//! @SYMTestStatus Implemented
|
sl@0
|
442 |
//! @SYMTestPriority Normal
|
sl@0
|
443 |
//! @SYMTestActions Request a notification on an unprotected file
|
sl@0
|
444 |
//! @SYMTestExpectedResults Should return KErrCANotSupported
|
sl@0
|
445 |
//! @SYMTestType CIT
|
sl@0
|
446 |
RUN_TEST_STEP 100 tcaf CAFManagerNotifyStep c:\tcaf\managerstep.ini NotifyStatusChange
|
sl@0
|
447 |
END_TESTCASE SEC-CAF-MAN-0030
|
sl@0
|
448 |
|
sl@0
|
449 |
START_TESTCASE SEC-CAF-MAN-0031
|
sl@0
|
450 |
//! @file
|
sl@0
|
451 |
//! @SYMTestCaseID SEC-CAF-MAN-0031
|
sl@0
|
452 |
//! @SYMTestCaseDesc Set a property within all agents
|
sl@0
|
453 |
//! (Manager_SetProperty)
|
sl@0
|
454 |
//! @SYMPREQ PREQ780
|
sl@0
|
455 |
//! @SYMTestStatus Implemented
|
sl@0
|
456 |
//! @SYMTestPriority Normal
|
sl@0
|
457 |
//! @SYMTestActions Set a property within all agents
|
sl@0
|
458 |
//! @SYMTestExpectedResults Should return KErrCANotSupported
|
sl@0
|
459 |
//! @SYMTestType CIT
|
sl@0
|
460 |
RUN_TEST_STEP 100 tcaf CAFManagerSetPropertyStep c:\tcaf\managerstep.ini SetProperty
|
sl@0
|
461 |
END_TESTCASE SEC-CAF-MAN-0031
|
sl@0
|
462 |
|
sl@0
|
463 |
START_TESTCASE SEC-CAF-MAN-0032
|
sl@0
|
464 |
//! @file
|
sl@0
|
465 |
//! @SYMTestCaseID SEC-CAF-MAN-0032
|
sl@0
|
466 |
//! @SYMTestCaseDesc Display information about an unprotected file
|
sl@0
|
467 |
//! (Manager_DisplayInfo)
|
sl@0
|
468 |
//! @SYMPREQ PREQ780
|
sl@0
|
469 |
//! @SYMTestStatus Implemented
|
sl@0
|
470 |
//! @SYMTestPriority Normal
|
sl@0
|
471 |
//! @SYMTestActions Ask the agent to display information about the file
|
sl@0
|
472 |
//! @SYMTestExpectedResults Should return KErrCANotSupported
|
sl@0
|
473 |
//! @SYMTestType CIT
|
sl@0
|
474 |
RUN_TEST_STEP 100 tcaf CAFManagerDisplayInfoStep c:\tcaf\managerstep.ini DisplayInfo
|
sl@0
|
475 |
END_TESTCASE SEC-CAF-MAN-0032
|
sl@0
|
476 |
|
sl@0
|
477 |
START_TESTCASE SEC-CAF-MAN-0033
|
sl@0
|
478 |
//! @file
|
sl@0
|
479 |
//! @SYMTestCaseID SEC-CAF-MAN-0033
|
sl@0
|
480 |
//! @SYMTestCaseDesc List all the agents not including the F32 Agent
|
sl@0
|
481 |
//! (Manager_List_Agents)
|
sl@0
|
482 |
//! @SYMPREQ PREQ780
|
sl@0
|
483 |
//! @SYMTestStatus Implemented
|
sl@0
|
484 |
//! @SYMTestPriority Normal
|
sl@0
|
485 |
//! @SYMTestActions List all agents
|
sl@0
|
486 |
//! @SYMTestExpectedResults Should return KErrNone
|
sl@0
|
487 |
//! @SYMTestType CIT
|
sl@0
|
488 |
RUN_TEST_STEP 100 tcaf CAFManagerListAgentsStep c:\tcaf\managerstep.ini ListAgents
|
sl@0
|
489 |
END_TESTCASE SEC-CAF-MAN-0033
|
sl@0
|
490 |
|
sl@0
|
491 |
START_TESTCASE SEC-CAF-MAN-0034
|
sl@0
|
492 |
//! @file
|
sl@0
|
493 |
//! @SYMTestCaseID SEC-CAF-MAN-0034
|
sl@0
|
494 |
//! @SYMTestCaseDesc Execute an agent specific command
|
sl@0
|
495 |
//! (Manager_Agent_Specific)
|
sl@0
|
496 |
//! @SYMPREQ PREQ780
|
sl@0
|
497 |
//! @SYMTestStatus Implemented
|
sl@0
|
498 |
//! @SYMTestPriority Normal
|
sl@0
|
499 |
//! @SYMTestActions Execute an agent specific command
|
sl@0
|
500 |
//! @SYMTestExpectedResults Should return KErrNone
|
sl@0
|
501 |
//! @SYMTestType CIT
|
sl@0
|
502 |
RUN_TEST_STEP 100 tcaf CAFManagerAgentSpecificStep c:\tcaf\managerstep.ini AgentSpecific
|
sl@0
|
503 |
END_TESTCASE SEC-CAF-MAN-0034
|
sl@0
|
504 |
|
sl@0
|
505 |
START_TESTCASE SEC-CAF-MAN-0035
|
sl@0
|
506 |
//! @file
|
sl@0
|
507 |
//! @SYMTestCaseID SEC-CAF-MAN-0035
|
sl@0
|
508 |
//! @SYMTestCaseDesc Execute an agent specific command
|
sl@0
|
509 |
//! (Manager_Display_Management_Info)
|
sl@0
|
510 |
//! @SYMPREQ PREQ780
|
sl@0
|
511 |
//! @SYMTestStatus Implemented
|
sl@0
|
512 |
//! @SYMTestPriority Normal
|
sl@0
|
513 |
//! @SYMTestActions Execute an agent specific command
|
sl@0
|
514 |
//! @SYMTestExpectedResults Should return KErrCANotSupported
|
sl@0
|
515 |
//! @SYMTestType CIT
|
sl@0
|
516 |
RUN_TEST_STEP 100 tcaf CAFManagerDisplayConfigStep c:\tcaf\managerstep.ini DisplayManagement
|
sl@0
|
517 |
END_TESTCASE SEC-CAF-MAN-0035
|
sl@0
|
518 |
|
sl@0
|
519 |
START_TESTCASE SEC-CAF-MAN-0036
|
sl@0
|
520 |
//! @file
|
sl@0
|
521 |
//! @SYMTestCaseID SEC-CAF-MAN-0036
|
sl@0
|
522 |
//! @SYMTestCaseDesc Get an attribute for a file
|
sl@0
|
523 |
//! (Manager_Attribute)
|
sl@0
|
524 |
//! @SYMREQ REQ3679
|
sl@0
|
525 |
//! @SYMTestStatus Implemented
|
sl@0
|
526 |
//! @SYMTestPriority Normal
|
sl@0
|
527 |
//! @SYMTestActions Get a single attribute for a file
|
sl@0
|
528 |
//! @SYMTestExpectedResults Should return KErrNone
|
sl@0
|
529 |
//! @SYMTestType CIT
|
sl@0
|
530 |
RUN_TEST_STEP 100 tcaf CAFManagerAttributeStep c:\tcaf\attributes.ini Attribute
|
sl@0
|
531 |
END_TESTCASE SEC-CAF-MAN-0036
|
sl@0
|
532 |
|
sl@0
|
533 |
START_TESTCASE SEC-CAF-MAN-0037
|
sl@0
|
534 |
//! @file
|
sl@0
|
535 |
//! @SYMTestCaseID SEC-CAF-MAN-0037
|
sl@0
|
536 |
//! @SYMTestCaseDesc Get a set of attributes for a file
|
sl@0
|
537 |
//! (Manager_AttributeSet)
|
sl@0
|
538 |
//! @SYMREQ REQ3679
|
sl@0
|
539 |
//! @SYMTestStatus Implemented
|
sl@0
|
540 |
//! @SYMTestPriority Normal
|
sl@0
|
541 |
//! @SYMTestActions Get a set of attributes for a file
|
sl@0
|
542 |
//! @SYMTestExpectedResults Should return KErrNone
|
sl@0
|
543 |
//! @SYMTestType CIT
|
sl@0
|
544 |
RUN_TEST_STEP 100 tcaf CAFManagerAttributeSetStep c:\tcaf\attributes.ini AttributeSet
|
sl@0
|
545 |
END_TESTCASE SEC-CAF-MAN-0037
|
sl@0
|
546 |
|
sl@0
|
547 |
START_TESTCASE SEC-CAF-MAN-0038
|
sl@0
|
548 |
//! @file
|
sl@0
|
549 |
//! @SYMTestCaseID SEC-CAF-MAN-0038
|
sl@0
|
550 |
//! @SYMTestCaseDesc Get a string attribute for a file
|
sl@0
|
551 |
//! (Manager_String_Attribute)
|
sl@0
|
552 |
//! @SYMREQ REQ3679
|
sl@0
|
553 |
//! @SYMTestStatus Implemented
|
sl@0
|
554 |
//! @SYMTestPriority Normal
|
sl@0
|
555 |
//! @SYMTestActions Get a single string attribute for a file
|
sl@0
|
556 |
//! @SYMTestExpectedResults Should return KErrNone
|
sl@0
|
557 |
//! @SYMTestType CIT
|
sl@0
|
558 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeStep c:\tcaf\attributes.ini StringAttribute
|
sl@0
|
559 |
END_TESTCASE SEC-CAF-MAN-0038
|
sl@0
|
560 |
|
sl@0
|
561 |
START_TESTCASE SEC-CAF-MAN-3457
|
sl@0
|
562 |
//! @file
|
sl@0
|
563 |
//! @SYMTestCaseID SEC-CAF-MAN-3457
|
sl@0
|
564 |
//! @SYMTestCaseDesc Get a string attribute for a manager object within a valid gif file
|
sl@0
|
565 |
//! @SYMDEF PDEF104571
|
sl@0
|
566 |
//! @SYMTestStatus Implemented
|
sl@0
|
567 |
//! @SYMTestPriority Normal
|
sl@0
|
568 |
//! @SYMTestActions Get a single string attribute for a manager object within a valid gif file
|
sl@0
|
569 |
//! @SYMTestExpectedResults A string attribute should successfully be returned
|
sl@0
|
570 |
//! @SYMTestType CT
|
sl@0
|
571 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeStep c:\tcaf\attributes.ini StringAttributeGoodGif
|
sl@0
|
572 |
END_TESTCASE SEC-CAF-MAN-3457
|
sl@0
|
573 |
|
sl@0
|
574 |
START_TESTCASE SEC-CAF-MAN-3458
|
sl@0
|
575 |
//! @file
|
sl@0
|
576 |
//! @SYMTestCaseID SEC-CAF-MAN-3458
|
sl@0
|
577 |
//! @SYMTestCaseDesc Failure to return a string attribute for a manager object within an invalid gif file
|
sl@0
|
578 |
//! @SYMDEF PDEF104571
|
sl@0
|
579 |
//! @SYMTestStatus Implemented
|
sl@0
|
580 |
//! @SYMTestPriority Normal
|
sl@0
|
581 |
//! @SYMTestActions Attempt to get a single string attribute for a manager object within an invalid gif file
|
sl@0
|
582 |
//! @SYMTestExpectedResults An error should be returned
|
sl@0
|
583 |
//! @SYMTestType CT
|
sl@0
|
584 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeStep c:\tcaf\attributes.ini StringAttributeErrorGif
|
sl@0
|
585 |
END_TESTCASE SEC-CAF-MAN-3458
|
sl@0
|
586 |
|
sl@0
|
587 |
START_TESTCASE SEC-CAF-MAN-0039
|
sl@0
|
588 |
//! @file
|
sl@0
|
589 |
//! @SYMTestCaseID SEC-CAF-MAN-0039
|
sl@0
|
590 |
//! @SYMTestCaseDesc Get a set of string attributes for a file
|
sl@0
|
591 |
//! (Manager_String_AttributeSet)
|
sl@0
|
592 |
//! @SYMREQ REQ3679
|
sl@0
|
593 |
//! @SYMTestStatus Implemented
|
sl@0
|
594 |
//! @SYMTestPriority Normal
|
sl@0
|
595 |
//! @SYMTestActions Get a set of string attributes for a file
|
sl@0
|
596 |
//! @SYMTestExpectedResults Should return KErrNone
|
sl@0
|
597 |
//! @SYMTestType CIT
|
sl@0
|
598 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSet
|
sl@0
|
599 |
END_TESTCASE SEC-CAF-MAN-0039
|
sl@0
|
600 |
|
sl@0
|
601 |
START_TESTCASE SEC-CAF-MAN-3459
|
sl@0
|
602 |
//! @file
|
sl@0
|
603 |
//! @SYMTestCaseID SEC-CAF-MAN-3459
|
sl@0
|
604 |
//! @SYMTestCaseDesc Get a set of string attributes for a manager object within a valid gif file
|
sl@0
|
605 |
//! @SYMDEF PDEF104571
|
sl@0
|
606 |
//! @SYMTestStatus Implemented
|
sl@0
|
607 |
//! @SYMTestPriority Normal
|
sl@0
|
608 |
//! @SYMTestActions Get a set of string attributes for a manager object within a valid gif file
|
sl@0
|
609 |
//! @SYMTestExpectedResults A set of string attributes should successfully be returned
|
sl@0
|
610 |
//! @SYMTestType CT
|
sl@0
|
611 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSetGoodGif
|
sl@0
|
612 |
END_TESTCASE SEC-CAF-MAN-3459
|
sl@0
|
613 |
|
sl@0
|
614 |
START_TESTCASE SEC-CAF-MAN-3460
|
sl@0
|
615 |
//! @file
|
sl@0
|
616 |
//! @SYMTestCaseID SEC-CAF-MAN-3460
|
sl@0
|
617 |
//! @SYMTestCaseDesc Get a set of string attributes for a manager object within an invalid gif file
|
sl@0
|
618 |
//! @SYMDEF PDEF104571
|
sl@0
|
619 |
//! @SYMTestStatus Implemented
|
sl@0
|
620 |
//! @SYMTestPriority Normal
|
sl@0
|
621 |
//! @SYMTestActions Get a set of string attributes for a manager object within an invalid gif file
|
sl@0
|
622 |
//! @SYMTestExpectedResults An error should be returned for the invalid gif file within the set
|
sl@0
|
623 |
//! @SYMTestType CT
|
sl@0
|
624 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeSetStep c:\tcaf\attributes.ini StringAttributeSetErrorGif
|
sl@0
|
625 |
END_TESTCASE SEC-CAF-MAN-3460
|
sl@0
|
626 |
|
sl@0
|
627 |
|
sl@0
|
628 |
//---------------------------------------------------------------------------------------------------------------------------------
|
sl@0
|
629 |
//! @file
|
sl@0
|
630 |
//! @SYMTestCaseID SEC-CAF-MAN-0040
|
sl@0
|
631 |
//! @SYMTestCaseDesc Query standardised information about a content object using a file handle.
|
sl@0
|
632 |
//! (FileHandle-DRM-Content)
|
sl@0
|
633 |
//! @SYMREQ REQ8758
|
sl@0
|
634 |
//! @SYMTestStatus Implemented
|
sl@0
|
635 |
//! @SYMTestPriority Normal
|
sl@0
|
636 |
//! @SYMTestActions 1. Get a content's attribute from a file specified by file handle
|
sl@0
|
637 |
//! 2. Get content’s set of attributes from a file specified by file handle.
|
sl@0
|
638 |
//! 3. Get content’s text string attribute from a file specified by file handle.
|
sl@0
|
639 |
//! 4. Get content’s set of string attributes from a file specified by file handle.
|
sl@0
|
640 |
//! 5. View information associated with a single content object in a file specified by file handle.
|
sl@0
|
641 |
//! @SYMTestExpectedResults 1.Should return KErrNone. Attribute’s value should match the expected value.
|
sl@0
|
642 |
//! 2.Should return KErrNone. Value of all the attributes queried must match the expected value.
|
sl@0
|
643 |
//! 3.Should return KErrNone. The text string attribute value should match the expected value.
|
sl@0
|
644 |
//! 4.Should return KErrNone. Value of all the text string attributes queried must match the expected value.
|
sl@0
|
645 |
//! 5.Should return KErrCANotSupported
|
sl@0
|
646 |
//! @SYMTestType CIT
|
sl@0
|
647 |
|
sl@0
|
648 |
START_TESTCASE SEC-CAF-MAN-0040
|
sl@0
|
649 |
RUN_TEST_STEP 100 tcaf CAFManagerAttributeByFileHandleStep c:\tcaf\attributes.ini AttributeByFileHandle_DRM_Content
|
sl@0
|
650 |
RUN_TEST_STEP 100 tcaf CAFManagerAttributeSetByFileHandleStep c:\tcaf\attributes.ini AttributeSetByFileHandle_DRM_Content
|
sl@0
|
651 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeByFileHandleStep c:\tcaf\attributes.ini StringAttributeByFileHandle_DRM_Content
|
sl@0
|
652 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeSetByFileHandleStep c:\tcaf\attributes.ini StringAttributeSetByFileHandle_DRM_Content
|
sl@0
|
653 |
RUN_TEST_STEP 100 tcaf CAFManagerDisplayInfoByFileHandleStep c:\tcaf\managerstep.ini DisplayInfoByFileHandle_DRM_Content
|
sl@0
|
654 |
END_TESTCASE SEC-CAF-MAN-0040
|
sl@0
|
655 |
|
sl@0
|
656 |
//! @file
|
sl@0
|
657 |
//! @SYMTestCaseID SEC-CAF-MAN-0041
|
sl@0
|
658 |
//! @SYMTestCaseDesc Query standardised information about a content object using a file handle.
|
sl@0
|
659 |
//! (FileHandle-PlainText)
|
sl@0
|
660 |
//! @SYMREQ REQ8758
|
sl@0
|
661 |
//! @SYMTestStatus Implemented
|
sl@0
|
662 |
//! @SYMTestPriority Normal
|
sl@0
|
663 |
//! @SYMTestActions 1. Get a content's attribute from a file specified by file handle
|
sl@0
|
664 |
//! 2. Get content’s set of attributes from a file specified by file handle.
|
sl@0
|
665 |
//! 3. Get content’s text string attribute from a file specified by file handle.
|
sl@0
|
666 |
//! 4. Get content’s set of string attributes from a file specified by file handle.
|
sl@0
|
667 |
//! 5. View information associated with a single content object in a file specified by file handle.
|
sl@0
|
668 |
//! @SYMTestExpectedResults 1.Should return KErrNone. Attribute’s value should match the expected value.
|
sl@0
|
669 |
//! 2.Should return KErrNone. Value of all the attributes queried must match the expected value.
|
sl@0
|
670 |
//! 3.Should return KErrNone. The text string attribute value should match the expected value.
|
sl@0
|
671 |
//! 4.Should return KErrNone. Value of all the text string attributes queried must match the expected value.
|
sl@0
|
672 |
//! 5.Should return KErrCANotSupported
|
sl@0
|
673 |
//! @SYMTestType CIT
|
sl@0
|
674 |
|
sl@0
|
675 |
START_TESTCASE SEC-CAF-MAN-0041
|
sl@0
|
676 |
RUN_TEST_STEP 100 tcaf CAFManagerAttributeByFileHandleStep c:\tcaf\attributes.ini Attribute
|
sl@0
|
677 |
RUN_TEST_STEP 100 tcaf CAFManagerAttributeSetByFileHandleStep c:\tcaf\attributes.ini AttributeSet
|
sl@0
|
678 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeByFileHandleStep c:\tcaf\attributes.ini StringAttribute
|
sl@0
|
679 |
RUN_TEST_STEP 100 tcaf CAFManagerStringAttributeSetByFileHandleStep c:\tcaf\attributes.ini StringAttributeSet_PlainText
|
sl@0
|
680 |
RUN_TEST_STEP 100 tcaf CAFManagerDisplayInfoByFileHandleStep c:\tcaf\managerstep.ini DisplayInfo
|
sl@0
|
681 |
END_TESTCASE SEC-CAF-MAN-0041
|
sl@0
|
682 |
//---------------------------------------------------------------------------------------------------------------------------------
|
sl@0
|
683 |
|