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 |
|
5 // under the terms of "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 //! @file |
|
17 //! @SYMTestSuiteName GRAPHICS-WSERV-AnimDll-PublicApi |
|
18 //! @SYMScriptTestEnvironment This test script requires a basic ROM. |
|
19 |
|
20 ///////////////////////////////////////////////////////////////////// |
|
21 // GRAPHICS-WSERV-AnimDll-PublicAPI.script |
|
22 // |
|
23 // Tests all public elements of the RAnimDll |
|
24 // classes as a means of confidence that the APIs work as expected. |
|
25 // |
|
26 // The purpose is to provide a regression test suite of PublishedAll APIs for RAnimDll |
|
27 // The tests are fully automated. |
|
28 ///////////////////////////////////////////////////////////////////// |
|
29 |
|
30 LOAD_SUITE T_GraphicsWservAPI |
|
31 DELAY 1000 |
|
32 |
|
33 |
|
34 ///////////////////////////////////////////////////////////////////// |
|
35 // RAnimDll class |
|
36 ///////////////////////////////////////////////////////////////////// |
|
37 |
|
38 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0001 |
|
39 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0001 |
|
40 //! @SYMAPI RAnimDll::RAnimDll() |
|
41 //! @SYMAuthor Jeffery Zhao |
|
42 //! @SYMCreationDate 21-04-2008 |
|
43 //! @SYMTestCaseDesc Create a RAnimDll object by default constructor. |
|
44 //! @SYMTestActions 1. Create RAnimDll object. |
|
45 //! @SYMTestStatus Implemented |
|
46 //! @SYMTestPriority High |
|
47 //! @SYMTestExpectedResults RAnimDll object was created without causing panic. |
|
48 //! @SYMTestType CIT |
|
49 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
50 CREATE_OBJECT RAnimDll animdll |
|
51 COMMAND animdll new |
|
52 END_TEST_BLOCK |
|
53 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0001 |
|
54 |
|
55 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0002 |
|
56 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0002 |
|
57 //! @SYMAPI RAnimDll::RAnimDll(RWsSession {ref}) |
|
58 //! @SYMAuthor Jeffery Zhao |
|
59 //! @SYMCreationDate 21-04-2008 |
|
60 //! @SYMTestCaseDesc Create a RAnimDll object within the specified RWsSession. |
|
61 //! @SYMTestActions 1.Create and connect a RWsSession. |
|
62 //! 2.Create a RAnimDll with RWsSession. |
|
63 //! 3.Close RWsSession object. |
|
64 //! @SYMTestStatus Implemented |
|
65 //! @SYMTestPriority High |
|
66 //! @SYMTestExpectedResults RAnimDll object was created without causing panic. |
|
67 //! @SYMTestType CIT |
|
68 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
69 CREATE_OBJECT RWsSession ws |
|
70 CREATE_OBJECT RAnimDll animdll |
|
71 COMMAND ws new |
|
72 COMMAND ws Connect |
|
73 COMMAND animdll new GRAPHICS-WSERV-AnimDll-PublicAPI-0002-0001-new_Command001 |
|
74 COMMAND ws Close |
|
75 END_TEST_BLOCK |
|
76 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0002 |
|
77 |
|
78 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0003 |
|
79 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0003 |
|
80 //! @SYMAPI RAnimDll::RAnimDll(); |
|
81 //! RAnimDll::Close() |
|
82 //! @SYMAuthor Dorothy Zhang |
|
83 //! @SYMCreationDate 10-03-2008 |
|
84 //! @SYMTestCaseDesc Create a RAnimDll object by Default constructor and end with Close |
|
85 //! @SYMTestActions 1. Create RAnimDll object. |
|
86 //! 2. Close the object. |
|
87 //! @SYMTestStatus Implemented |
|
88 //! @SYMTestPriority High |
|
89 //! @SYMTestExpectedResults RAnimDll object was created and closed without causing panic. |
|
90 //! @SYMTestType CIT |
|
91 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
92 CREATE_OBJECT RAnimDll animdll |
|
93 COMMAND animdll new |
|
94 COMMAND animdll Close |
|
95 END_TEST_BLOCK |
|
96 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0003 |
|
97 |
|
98 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0004 |
|
99 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0004 |
|
100 //! @SYMAPI RAnimDll::RAnimDll(); |
|
101 //! RAnimDll::Destroy() |
|
102 //! @SYMAuthor Dorothy Zhang |
|
103 //! @SYMCreationDate 10-03-2008 |
|
104 //! @SYMTestCaseDesc Create a RAnimDll object by Default constructor and end with Destroy() |
|
105 //! @SYMTestActions 1. Create RAnimDll object. |
|
106 //! 2. Destory the object. |
|
107 //! @SYMTestStatus Implemented |
|
108 //! @SYMTestPriority High |
|
109 //! @SYMTestExpectedResults RAnimDll object was created and destroyed without causing panic. |
|
110 //! @SYMTestType CIT |
|
111 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
112 CREATE_OBJECT RAnimDll animdll |
|
113 COMMAND animdll new |
|
114 COMMAND animdll Destroy |
|
115 END_TEST_BLOCK |
|
116 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0004 |
|
117 |
|
118 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0005 |
|
119 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0005 |
|
120 //! @SYMAPI RAnimDll::RAnimDll(RWsSession {ref}); |
|
121 //! RAnimDll::Close() |
|
122 //! @SYMAuthor Dorothy Zhang |
|
123 //! @SYMCreationDate 10-03-2008 |
|
124 //! @SYMTestCaseDesc Create a RAnimDll object within the specified RWsSession and end with Close. |
|
125 //! @SYMTestActions 1.Create and connect a RWsSession. |
|
126 //! 2.Create a RAnimDll with RWsSession. |
|
127 //! 3.Close all used objects |
|
128 //! @SYMTestStatus Implemented |
|
129 //! @SYMTestPriority High |
|
130 //! @SYMTestExpectedResults RAnimDll object was created without causing panic. |
|
131 //! @SYMTestType CIT |
|
132 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
133 CREATE_OBJECT RWsSession ws |
|
134 CREATE_OBJECT RAnimDll animdll |
|
135 COMMAND ws new |
|
136 COMMAND ws Connect |
|
137 COMMAND animdll new GRAPHICS-WSERV-AnimDll-PublicAPI-0005-001-new_Command01 |
|
138 COMMAND animdll Close |
|
139 COMMAND ws Close |
|
140 END_TEST_BLOCK |
|
141 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0005 |
|
142 |
|
143 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0006 |
|
144 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0006 |
|
145 //! @SYMAPI RAnimDll::RAnimDll(RWsSession {ref}); |
|
146 //! RAnimDll::Destroy() |
|
147 //! @SYMAuthor Dorothy Zhang |
|
148 //! @SYMCreationDate 10-03-2008 |
|
149 //! @SYMTestCaseDesc Create a RAnimDll object within the specified RWsSession and end with Destroy. |
|
150 //! @SYMTestActions 1. Create and connect a RWsSession |
|
151 //! 2. Create a RAnimDll with RWsSession |
|
152 //! 3. Destroy RAnimDll |
|
153 //! 4. Close RWsSession |
|
154 //! @SYMTestStatus Implemented |
|
155 //! @SYMTestPriority High |
|
156 //! @SYMTestExpectedResults RAnimDll object was created and destroyed without causing panic. |
|
157 //! @SYMTestType CIT |
|
158 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
159 CREATE_OBJECT RWsSession ws |
|
160 CREATE_OBJECT RAnimDll animdll |
|
161 COMMAND ws new |
|
162 COMMAND ws Connect |
|
163 COMMAND animdll new GRAPHICS-WSERV-AnimDll-PublicAPI-0006-001-new_Command01 |
|
164 COMMAND animdll Destroy |
|
165 COMMAND ws Close |
|
166 END_TEST_BLOCK |
|
167 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0006 |
|
168 |
|
169 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0007 |
|
170 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0007 |
|
171 //! @SYMAPI RAnimDll::Load(const TDesC {ref}); |
|
172 //! RAnimDll::Close() |
|
173 //! @SYMAuthor Dorothy Zhang |
|
174 //! @SYMCreationDate 10-03-2008 |
|
175 //! @SYMTestCaseDesc Load an animation Dll file, close the loaded dll and re-load it |
|
176 //! @SYMTestActions 1. Create and connect a RWsSession |
|
177 //! 2. Create a RAnimDll with RWsSession |
|
178 //! 3. Load a animation Dll file(t_animplugin.dll) |
|
179 //! 4. Close RAnimDll |
|
180 //! 5. Re-load the animation Dll file(t_animplugin.dll) |
|
181 //! 6. Destory the RAnimDll |
|
182 //! 7. Close RWsSession |
|
183 //! @SYMTestStatus Implemented |
|
184 //! @SYMTestPriority High |
|
185 //! @SYMTestExpectedResults 1. The Dll is loaded and closed without causing panic |
|
186 //! 2. Re-load the closed dll without causing panic |
|
187 //! @SYMTestType CIT |
|
188 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
189 CREATE_OBJECT RWsSession ws |
|
190 CREATE_OBJECT RAnimDll animdll |
|
191 COMMAND ws new |
|
192 COMMAND ws Connect |
|
193 COMMAND animdll new GRAPHICS-WSERV-AnimDll-PublicAPI-0007-001-new_Command01 |
|
194 COMMAND animdll Load GRAPHICS-WSERV-AnimDll-PublicAPI-0007-001-Load_Command02 |
|
195 COMMAND animdll Close |
|
196 COMMAND animdll Load GRAPHICS-WSERV-AnimDll-PublicAPI-0007-001-Load_Command04 |
|
197 COMMAND animdll Destroy |
|
198 COMMAND ws Close |
|
199 END_TEST_BLOCK |
|
200 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0007 |
|
201 |
|
202 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0008 |
|
203 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0008 |
|
204 //! @SYMAPI RAnimDll::Load(const TDesC {ref}) |
|
205 //! @SYMAuthor Dorothy Zhang |
|
206 //! @SYMCreationDate 11-03-2008 |
|
207 //! @SYMTestCaseDesc Load a non-exist Dll file |
|
208 //! @SYMTestActions 1. Create and connect a RWsSession |
|
209 //! 2. Create a RAnimDll with RWsSession |
|
210 //! 3. Load a non-exist Dll file |
|
211 //! 4. Destroy RAnimDll |
|
212 //! 5. Close RWsSession |
|
213 //! @SYMTestStatus Implemented |
|
214 //! @SYMTestPriority High |
|
215 //! @SYMTestExpectedResults The call Load() returns KErrNotFound |
|
216 //! @SYMTestType CIT |
|
217 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
218 CREATE_OBJECT RWsSession ws |
|
219 CREATE_OBJECT RAnimDll animdll |
|
220 COMMAND ws new |
|
221 COMMAND ws Connect |
|
222 COMMAND animdll new GRAPHICS-WSERV-AnimDll-PublicAPI-0008-001-new_Command01 |
|
223 COMMAND !Error=-1 animdll Load GRAPHICS-WSERV-AnimDll-PublicAPI-0008-001-Load_Command02 |
|
224 COMMAND animdll Destroy |
|
225 COMMAND ws Close |
|
226 END_TEST_BLOCK |
|
227 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0008 |
|
228 |
|
229 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0009 |
|
230 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0009 |
|
231 //! @SYMAPI RAnimDll::Load(const TDesC {ref}) |
|
232 //! @SYMAuthor Dorothy Zhang |
|
233 //! @SYMCreationDate 11-03-2008 |
|
234 //! @SYMTestCaseDesc Load a not supported Dll file |
|
235 //! @SYMTestActions 1. Create and connect a RWsSession |
|
236 //! 2. Create a RAnimDll with RWsSession |
|
237 //! 3. Load a not supported Dll file |
|
238 //! 4. Destroy RAnimDll |
|
239 //! 5. Close RWsSession |
|
240 //! @SYMTestStatus Implemented |
|
241 //! @SYMTestPriority High |
|
242 //! @SYMTestExpectedResults The call Load() returns KErrNotSupported |
|
243 //! @SYMTestType CIT |
|
244 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
245 CREATE_OBJECT RWsSession ws |
|
246 CREATE_OBJECT RAnimDll animdll |
|
247 COMMAND ws new |
|
248 COMMAND ws Connect |
|
249 COMMAND animdll new GRAPHICS-WSERV-AnimDll-PublicAPI-0009-001-new_Command01 |
|
250 COMMAND !Error=-5 animdll Load GRAPHICS-WSERV-AnimDll-PublicAPI-0009-001-Load_Command02 |
|
251 COMMAND animdll Destroy |
|
252 COMMAND ws Close |
|
253 END_TEST_BLOCK |
|
254 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0009 |
|
255 |
|
256 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0011 |
|
257 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0011 |
|
258 //! @SYMAPI RAnimDll::Load(const TDesC {ref}); |
|
259 //! RAnimDll::Close() |
|
260 //! @SYMAuthor Jeffery Zhao |
|
261 //! @SYMCreationDate 21-04-2008 |
|
262 //! @SYMTestCaseDesc Load an animation Dll file and the close the loaded dll. |
|
263 //! @SYMTestActions 1. Create and connect a RWsSession |
|
264 //! 2. Create a RAnimDll with RWsSession |
|
265 //! 3. Load a animation Dll file(t_animplugin.dll) |
|
266 //! 4. Close RAnimDll |
|
267 //! 5. Close RWsSession |
|
268 //! @SYMTestStatus Implemented |
|
269 //! @SYMTestPriority High |
|
270 //! @SYMTestExpectedResults The Dll is loaded and closed without causing panic. |
|
271 //! @SYMTestType CIT |
|
272 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
273 CREATE_OBJECT RWsSession ws |
|
274 CREATE_OBJECT RAnimDll animdll |
|
275 COMMAND ws new |
|
276 COMMAND ws Connect |
|
277 COMMAND animdll new GRAPHICS-WSERV-AnimDll-PublicAPI-0011-0001-new_Command003 |
|
278 COMMAND animdll Load GRAPHICS-WSERV-AnimDll-PublicAPI-0011-0001-Load_Command004 |
|
279 COMMAND animdll Close |
|
280 COMMAND ws Close |
|
281 END_TEST_BLOCK |
|
282 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0011 |
|
283 |
|
284 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0012 |
|
285 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0012 |
|
286 //! @SYMAPI RAnimDll::Load(const TDesC {ref}); |
|
287 //! RAnimDll::Destroy() |
|
288 //! @SYMAuthor Jeffery Zhao |
|
289 //! @SYMCreationDate 21-04-2008 |
|
290 //! @SYMTestCaseDesc Load an animation Dll file and then destory the loaded object. |
|
291 //! @SYMTestActions 1. Create and connect a RWsSession |
|
292 //! 2. Create a RAnimDll with RWsSession |
|
293 //! 3. Load a animation Dll file(t_animplugin.dll) |
|
294 //! 4. Destory RAnimDll object. |
|
295 //! 5. Close RWsSession |
|
296 //! @SYMTestStatus Implemented |
|
297 //! @SYMTestPriority High |
|
298 //! @SYMTestExpectedResults The Dll is loaded and closed without causing panic. |
|
299 //! @SYMTestType CIT |
|
300 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
301 CREATE_OBJECT RWsSession ws |
|
302 CREATE_OBJECT RAnimDll animdll |
|
303 COMMAND ws new |
|
304 COMMAND ws Connect |
|
305 COMMAND animdll new GRAPHICS-WSERV-AnimDll-PublicAPI-0012-0001-new_Command003 |
|
306 COMMAND animdll Load GRAPHICS-WSERV-AnimDll-PublicAPI-0012-0001-Load_Command004 |
|
307 COMMAND animdll Destroy |
|
308 COMMAND ws Close |
|
309 END_TEST_BLOCK |
|
310 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0012 |
|
311 |
|
312 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0013 |
|
313 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0013 |
|
314 //! @SYMAPI RAnimDll::Load(const TDesC {ref}); |
|
315 //! @SYMAuthor Jeffery Zhao |
|
316 //! @SYMCreationDate 21-04-2008 |
|
317 //! @SYMTestCaseDesc Load an animation Dll file twice and then destory the loaded object. |
|
318 //! @SYMTestActions 1. Create and connect a RWsSession |
|
319 //! 2. Create a RAnimDll with RWsSession |
|
320 //! 3. Load a animation Dll file(t_animplugin.dll) |
|
321 //! 4. Load the animation Dll file again. |
|
322 //! 4. Destory RAnimDll object. |
|
323 //! 5. Close RWsSession |
|
324 //! @SYMTestStatus Implemented |
|
325 //! @SYMTestPriority High |
|
326 //! @SYMTestExpectedResults The Dll is loaded and closed without causing panic. |
|
327 //! @SYMTestType CIT |
|
328 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
329 CREATE_OBJECT RWsSession ws |
|
330 CREATE_OBJECT RAnimDll animdll |
|
331 COMMAND ws new |
|
332 COMMAND ws Connect |
|
333 COMMAND animdll new GRAPHICS-WSERV-AnimDll-PublicAPI-0013-0001-new_Command003 |
|
334 COMMAND animdll Load GRAPHICS-WSERV-AnimDll-PublicAPI-0013-0001-Load_Command004 |
|
335 COMMAND animdll Load GRAPHICS-WSERV-AnimDll-PublicAPI-0013-0001-Load_Command005 |
|
336 COMMAND animdll Destroy |
|
337 COMMAND ws Close |
|
338 END_TEST_BLOCK |
|
339 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0013 |
|
340 |
|
341 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0014 |
|
342 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0014 |
|
343 //! @SYMAPI RAnimDll::Load(const TDesC {ref}); |
|
344 //! @SYMAuthor Jeffery Zhao |
|
345 //! @SYMCreationDate 21-04-2008 |
|
346 //! @SYMTestCaseDesc Load two different animation Dll files and then destory the loaded objects. |
|
347 //! @SYMTestActions 1. Create and connect a RWsSession |
|
348 //! 2. Create a RAnimDll with RWsSession |
|
349 //! 3. Load a animation Dll file(t_animplugin.dll) |
|
350 //! 4. Load another system animation Dll file(BMPANSRV.DLL). |
|
351 //! 4. Destory RAnimDll object. |
|
352 //! 5. Close RWsSession |
|
353 //! @SYMTestStatus Implemented |
|
354 //! @SYMTestPriority High |
|
355 //! @SYMTestExpectedResults The two Dll files are loaded and closed without causing panic. |
|
356 //! @SYMTestType CIT |
|
357 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
358 CREATE_OBJECT RWsSession ws |
|
359 CREATE_OBJECT RAnimDll animdll |
|
360 COMMAND ws new |
|
361 COMMAND ws Connect |
|
362 COMMAND animdll new GRAPHICS-WSERV-AnimDll-PublicAPI-0014-0001-new_Command003 |
|
363 COMMAND animdll Load GRAPHICS-WSERV-AnimDll-PublicAPI-0014-0001-Load_Command004 |
|
364 COMMAND animdll Load GRAPHICS-WSERV-AnimDll-PublicAPI-0014-0001-Load_Command005 |
|
365 COMMAND animdll Destroy |
|
366 COMMAND ws Close |
|
367 END_TEST_BLOCK |
|
368 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0014 |
|
369 |
|
370 START_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0015 |
|
371 //! @SYMTestCaseID GRAPHICS-WSERV-AnimDll-PublicAPI-0015 |
|
372 //! @SYMAPI RAnimDll::Load(const TDesC {ref}); |
|
373 //! @SYMAuthor Jeffery Zhao |
|
374 //! @SYMCreationDate 21-04-2008 |
|
375 //! @SYMTestCaseDesc Create two RAnimDll object and load the same animation Dll file. |
|
376 //! @SYMTestActions 1. Create and connect a RWsSession. |
|
377 //! 2. Create two RAnimDll with RWsSession. |
|
378 //! 3. Load animation Dll file(t_animplugin.dll) with the first RAnimDll object. |
|
379 //! 4. Load animation Dll file(t_animplugin.dll) with the second RAnimDll object. |
|
380 //! 4. Destory all RAnimDll objects. |
|
381 //! 5. Close RWsSession. |
|
382 //! @SYMTestStatus Implemented |
|
383 //! @SYMTestPriority High |
|
384 //! @SYMTestExpectedResults The two RAnimDll object load animation Dll file without causing panic. |
|
385 //! @SYMTestType CIT |
|
386 START_TEST_BLOCK 10 T_GraphicsWservAPI c:\graphics\GRAPHICS-WSERV-AnimDll-PublicAPI.ini |
|
387 CREATE_OBJECT RWsSession ws |
|
388 CREATE_OBJECT RAnimDll animdll |
|
389 CREATE_OBJECT RAnimDll animdll2 |
|
390 COMMAND ws new |
|
391 COMMAND ws Connect |
|
392 COMMAND animdll new GRAPHICS-WSERV-AnimDll-PublicAPI-0015-0001-new_Command003 |
|
393 COMMAND animdll2 new GRAPHICS-WSERV-AnimDll-PublicAPI-0015-0001-new_Command004 |
|
394 COMMAND animdll Load GRAPHICS-WSERV-AnimDll-PublicAPI-0015-0001-Load_Command005 |
|
395 COMMAND animdll2 Load GRAPHICS-WSERV-AnimDll-PublicAPI-0015-0001-Load_Command006 |
|
396 COMMAND animdll Destroy |
|
397 COMMAND animdll2 Destroy |
|
398 COMMAND ws Close |
|
399 END_TEST_BLOCK |
|
400 END_TESTCASE GRAPHICS-WSERV-AnimDll-PublicAPI-0015 |
|