|
1 [Test] |
|
2 title PressKey |
|
3 pause 2000 |
|
4 presskey global EKeyDevice1 |
|
5 [Endtest] |
|
6 |
|
7 //----------------------------------------------------------------------------------// |
|
8 //------------------------------------AknsUtils.H-----------------------------------// |
|
9 //----------------------------------------------------------------------------------// |
|
10 // Test AknsUtils.H |
|
11 // For test function: |
|
12 // IMPORT_C static void InitSkinSupportL(); |
|
13 [Test] |
|
14 title TestUInitSkinSupportL |
|
15 create testsdkskins test |
|
16 bringtoforeground |
|
17 test TestUInitSkinSupportL |
|
18 delete test |
|
19 sendtobackground |
|
20 [Endtest] |
|
21 |
|
22 // For test function: |
|
23 // IMPORT_C static MAknsDataContext* CreateDataContextForContainerL(); |
|
24 [Test] |
|
25 title TestUCreateDataContextForContainerL |
|
26 create testsdkskins test |
|
27 bringtoforeground |
|
28 test TestUCreateDataContextForContainerL |
|
29 delete test |
|
30 sendtobackground |
|
31 [Endtest] |
|
32 |
|
33 // For test function: |
|
34 // IMPORT_C static CAknsItemDef* CreateBitmapItemDefL( |
|
35 // const TAknsItemID& aID, const TDesC& aFilename, |
|
36 // const TInt aIndex ); |
|
37 [Test] |
|
38 title TestUCreateBitmapItemDefL |
|
39 create testsdkskins test |
|
40 bringtoforeground |
|
41 test TestUCreateBitmapItemDefL |
|
42 delete test |
|
43 sendtobackground |
|
44 [Endtest] |
|
45 |
|
46 // For test function: |
|
47 // IMPORT_C static CAknsItemDef* CreateMaskedBitmapItemDefL( |
|
48 // const TAknsItemID& aID, const TDesC& aFilename, |
|
49 // const TInt aIndex, const TInt aMaskIndex ); |
|
50 [Test] |
|
51 title TestUCreateMaskedBitmapItemDefL |
|
52 create testsdkskins test |
|
53 bringtoforeground |
|
54 test TestUCreateMaskedBitmapItemDefL |
|
55 delete test |
|
56 sendtobackground |
|
57 [Endtest] |
|
58 |
|
59 // For test function: |
|
60 // IMPORT_C static MAknsSkinInstance* SkinInstance(); |
|
61 [Test] |
|
62 title TestUSkinInstanceL |
|
63 create testsdkskins test |
|
64 bringtoforeground |
|
65 test TestUSkinInstanceL |
|
66 delete test |
|
67 sendtobackground |
|
68 [Endtest] |
|
69 |
|
70 // For test function: |
|
71 // IMPORT_C static MAknsDataContext* DataContext( MObjectProvider* aMop ); |
|
72 [Test] |
|
73 title TestUDataContextL |
|
74 create testsdkskins test |
|
75 bringtoforeground |
|
76 test TestUDataContextL |
|
77 delete test |
|
78 sendtobackground |
|
79 [Endtest] |
|
80 |
|
81 // For test function: |
|
82 // IMPORT_C static void CreateIconL( |
|
83 // MAknsSkinInstance* aInstance, const TAknsItemID& aID, |
|
84 // CFbsBitmap*& aBitmap, CFbsBitmap*& aMask, |
|
85 // const TDesC& aFilename, |
|
86 // const TInt aFileBitmapId, const TInt aFileMaskId ); |
|
87 [Test] |
|
88 title TestUCreateIconML |
|
89 create testsdkskins test |
|
90 bringtoforeground |
|
91 test TestUCreateIconML |
|
92 delete test |
|
93 sendtobackground |
|
94 [Endtest] |
|
95 |
|
96 // For test function: |
|
97 // IMPORT_C static void CreateIconLC( |
|
98 // MAknsSkinInstance* aInstance, const TAknsItemID& aID, |
|
99 // CFbsBitmap*& aBitmap, CFbsBitmap*& aMask, |
|
100 // const TDesC& aFilename, |
|
101 // const TInt aFileBitmapId, const TInt aFileMaskId ); |
|
102 [Test] |
|
103 title TestUCreateIconMLC |
|
104 create testsdkskins test |
|
105 bringtoforeground |
|
106 test TestUCreateIconMLC |
|
107 delete test |
|
108 sendtobackground |
|
109 [Endtest] |
|
110 |
|
111 // For test function: |
|
112 // IMPORT_C static void CreateIconL( |
|
113 // MAknsSkinInstance* aInstance, const TAknsItemID& aID, |
|
114 // CFbsBitmap*& aBitmap, |
|
115 // const TDesC& aFilename, |
|
116 // const TInt aFileBitmapId ); |
|
117 [Test] |
|
118 title TestUCreateIconL |
|
119 create testsdkskins test |
|
120 bringtoforeground |
|
121 test TestUCreateIconL |
|
122 delete test |
|
123 sendtobackground |
|
124 [Endtest] |
|
125 |
|
126 // For test function: |
|
127 // IMPORT_C static void CreateIconLC( |
|
128 // MAknsSkinInstance* aInstance, const TAknsItemID& aID, |
|
129 // CFbsBitmap*& aBitmap, |
|
130 // const TDesC& aFilename, |
|
131 // const TInt aFileBitmapId ); |
|
132 [Test] |
|
133 title TestUCreateIconLC |
|
134 create testsdkskins test |
|
135 bringtoforeground |
|
136 test TestUCreateIconLC |
|
137 delete test |
|
138 sendtobackground |
|
139 [Endtest] |
|
140 |
|
141 // For test function: |
|
142 // IMPORT_C static CApaMaskedBitmap* CreateMaskedBitmapL( |
|
143 // MAknsSkinInstance* aInstance, const TAknsItemID& aID, |
|
144 // const TDesC& aFilename, |
|
145 // const TInt aFileIndex, const TInt aFileMaskIndex ); |
|
146 [Test] |
|
147 title TestUCreateMaskedBitmapL |
|
148 create testsdkskins test |
|
149 bringtoforeground |
|
150 test TestUCreateMaskedBitmapL |
|
151 delete test |
|
152 sendtobackground |
|
153 [Endtest] |
|
154 |
|
155 // For test function: |
|
156 // IMPORT_C static CGulIcon* CreateGulIconL( |
|
157 // MAknsSkinInstance* aInstance, const TAknsItemID& aID, |
|
158 // const TDesC& aFilename, |
|
159 // const TInt aFileIndex, const TInt aFileMaskIndex ); |
|
160 [Test] |
|
161 title TestUCreateGulIconL |
|
162 create testsdkskins test |
|
163 bringtoforeground |
|
164 test TestUCreateGulIconL |
|
165 delete test |
|
166 sendtobackground |
|
167 [Endtest] |
|
168 |
|
169 // For test function: |
|
170 // IMPORT_C static void CreateAppIconLC( |
|
171 // MAknsSkinInstance* aInstance, TUid aAppUid, |
|
172 // TAknsAppIconType aType, |
|
173 // CFbsBitmap*& aBitmap, CFbsBitmap*& aMask ); |
|
174 [Test] |
|
175 title TestUCreateAppIconLC |
|
176 create testsdkskins test |
|
177 bringtoforeground |
|
178 test TestUCreateAppIconLC |
|
179 delete test |
|
180 sendtobackground |
|
181 [Endtest] |
|
182 |
|
183 // For test function: |
|
184 // IMPORT_C TInt OpenAppIconFile( |
|
185 // MAknsSkinInstance* aInstance, TUid aAppUid, |
|
186 // TAknsAppIconType aType, RFile& aFile ); |
|
187 [Test] |
|
188 title TestUOpenAppIconFileL |
|
189 create testsdkskins test |
|
190 bringtoforeground |
|
191 test TestUOpenAppIconFileL |
|
192 delete test |
|
193 sendtobackground |
|
194 [Endtest] |
|
195 |
|
196 // For test function: |
|
197 // IMPORT_C static void CreateColorIconL( |
|
198 // MAknsSkinInstance* aInstance, const TAknsItemID& aID, |
|
199 // const TAknsItemID& aColorID, const TInt aColorIndex, |
|
200 // CFbsBitmap*& aBitmap, CFbsBitmap*& aMask, |
|
201 // const TDesC& aFilename, |
|
202 // const TInt aFileBitmapId, const TInt aFileMaskId, |
|
203 // const TRgb aDefaultColor ); |
|
204 [Test] |
|
205 title TestUCreateColorIconL |
|
206 create testsdkskins test |
|
207 bringtoforeground |
|
208 test TestUCreateColorIconL |
|
209 delete test |
|
210 sendtobackground |
|
211 [Endtest] |
|
212 |
|
213 // For test function: |
|
214 // IMPORT_C static void CreateColorIconLC( |
|
215 // MAknsSkinInstance* aInstance, const TAknsItemID& aID, |
|
216 // const TAknsItemID& aColorID, const TInt aColorIndex, |
|
217 // CFbsBitmap*& aBitmap, CFbsBitmap*& aMask, |
|
218 // const TDesC& aFilename, |
|
219 // const TInt aFileBitmapId, const TInt aFileMaskId, |
|
220 // const TRgb aDefaultColor ); |
|
221 [Test] |
|
222 title TestUCreateColorIconLC |
|
223 create testsdkskins test |
|
224 bringtoforeground |
|
225 test TestUCreateColorIconLC |
|
226 delete test |
|
227 sendtobackground |
|
228 [Endtest] |
|
229 |
|
230 // For test function: |
|
231 // IMPORT_C static void CreateColorIconL( |
|
232 // MAknsSkinInstance* aInstance, const TAknsItemID& aID, |
|
233 // const TAknsItemID& aColorID, const TInt aColorIndex, |
|
234 // CFbsBitmap*& aBitmap, CFbsBitmap*& aMask, |
|
235 // const TDesC& aFilename, |
|
236 // const TInt aFileBitmapId, const TInt aFileMaskId, |
|
237 // const TRgb aDefaultColor, |
|
238 // const TSize& aSize, const TScaleMode aScaleMode ); |
|
239 [Test] |
|
240 title TestUCreateColorIconML |
|
241 create testsdkskins test |
|
242 bringtoforeground |
|
243 test TestUCreateColorIconML |
|
244 delete test |
|
245 sendtobackground |
|
246 [Endtest] |
|
247 |
|
248 // For test function: |
|
249 // IMPORT_C static void CreateColorIconLC( |
|
250 // MAknsSkinInstance* aInstance, const TAknsItemID& aID, |
|
251 // const TAknsItemID& aColorID, const TInt aColorIndex, |
|
252 // CFbsBitmap*& aBitmap, CFbsBitmap*& aMask, |
|
253 // const TDesC& aFilename, |
|
254 // const TInt aFileBitmapId, const TInt aFileMaskId, |
|
255 // const TRgb aDefaultColor, |
|
256 // const TSize& aSize, const TScaleMode aScaleMode ); |
|
257 [Test] |
|
258 title TestUCreateColorIconMLC |
|
259 create testsdkskins test |
|
260 bringtoforeground |
|
261 test TestUCreateColorIconMLC |
|
262 delete test |
|
263 sendtobackground |
|
264 [Endtest] |
|
265 |
|
266 // For test function: |
|
267 // IMPORT_C static TInt GetAppIcon( |
|
268 // MAknsSkinInstance* aInstance, TUid aAppUid, TSize aSize, |
|
269 // CApaMaskedBitmap& aAppBitmap ); |
|
270 [Test] |
|
271 title TestUGetAppIconL |
|
272 create testsdkskins test |
|
273 bringtoforeground |
|
274 test TestUGetAppIconL |
|
275 delete test |
|
276 sendtobackground |
|
277 [Endtest] |
|
278 |
|
279 // For test function: |
|
280 // IMPORT_C static CFbsBitmap* CreateBitmapL( |
|
281 // MAknsSkinInstance* aInstance, const TAknsItemID& aID ); |
|
282 [Test] |
|
283 title TestUCreateBitmapL |
|
284 create testsdkskins test |
|
285 bringtoforeground |
|
286 test TestUCreateBitmapL |
|
287 delete test |
|
288 sendtobackground |
|
289 [Endtest] |
|
290 |
|
291 // For test function: |
|
292 // IMPORT_C static CApaMaskedBitmap* CreateMaskedBitmapL( |
|
293 // MAknsSkinInstance* aInstance, const TAknsItemID& aID ); |
|
294 [Test] |
|
295 title TestUCreateMaskedBitmapIL |
|
296 create testsdkskins test |
|
297 bringtoforeground |
|
298 test TestUCreateMaskedBitmapIL |
|
299 delete test |
|
300 sendtobackground |
|
301 [Endtest] |
|
302 |
|
303 // For test function: |
|
304 // IMPORT_C static CGulIcon* CreateGulIconL( |
|
305 // MAknsSkinInstance* aInstance, const TAknsItemID& aID, |
|
306 // const TBool aRequireMask ); |
|
307 [Test] |
|
308 title TestUCreateGulIconIL |
|
309 create testsdkskins test |
|
310 bringtoforeground |
|
311 test TestUCreateGulIconIL |
|
312 delete test |
|
313 sendtobackground |
|
314 [Endtest] |
|
315 |
|
316 // For test function: |
|
317 // IMPORT_C static CFbsBitmap* GetCachedBitmap( |
|
318 // MAknsSkinInstance* aInstance, const TAknsItemID& aID ); |
|
319 [Test] |
|
320 title TestUGetCachedBitmapL |
|
321 create testsdkskins test |
|
322 bringtoforeground |
|
323 test TestUGetCachedBitmapL |
|
324 delete test |
|
325 sendtobackground |
|
326 [Endtest] |
|
327 |
|
328 // For test function: |
|
329 // IMPORT_C static void GetCachedMaskedBitmap( |
|
330 // MAknsSkinInstance* aInstance, const TAknsItemID& aID, |
|
331 // CFbsBitmap*& aBitmap, CFbsBitmap*& aMask ); |
|
332 [Test] |
|
333 title TestUGetCachedMaskedBitmapL |
|
334 create testsdkskins test |
|
335 bringtoforeground |
|
336 test TestUGetCachedMaskedBitmapL |
|
337 delete test |
|
338 sendtobackground |
|
339 [Endtest] |
|
340 |
|
341 // For test function: |
|
342 // IMPORT_C static TInt GetCachedColor( |
|
343 // MAknsSkinInstance* aInstance, TRgb& aRgb, const TAknsItemID& aID, |
|
344 // const TInt aIndex ); |
|
345 [Test] |
|
346 title TestUGetCachedColorL |
|
347 create testsdkskins test |
|
348 bringtoforeground |
|
349 test TestUGetCachedColorL |
|
350 delete test |
|
351 sendtobackground |
|
352 [Endtest] |
|
353 |
|
354 // For test function: |
|
355 // IMPORT_C static TBool BooleanPropertyL( MAknsSkinInstance* aInstance, |
|
356 // const TAknsItemID& aID ); |
|
357 [Test] |
|
358 title TestUBooleanPropertyL |
|
359 create testsdkskins test |
|
360 bringtoforeground |
|
361 test TestUBooleanPropertyL |
|
362 delete test |
|
363 sendtobackground |
|
364 [Endtest] |
|
365 |
|
366 // For test function: |
|
367 // IMPORT_C static void SetAvkonSkinEnabledL( const TBool aEnabled ); |
|
368 [Test] |
|
369 title TestUSetAvkonSkinEnabledL |
|
370 create testsdkskins test |
|
371 bringtoforeground |
|
372 test TestUSetAvkonSkinEnabledL |
|
373 delete test |
|
374 sendtobackground |
|
375 [Endtest] |
|
376 |
|
377 // For test function: |
|
378 // IMPORT_C static TBool AvkonSkinEnabled(); |
|
379 [Test] |
|
380 title TestUAvkonSkinEnabledL |
|
381 create testsdkskins test |
|
382 bringtoforeground |
|
383 test TestUAvkonSkinEnabledL |
|
384 delete test |
|
385 sendtobackground |
|
386 [Endtest] |
|
387 |
|
388 // For test function: |
|
389 // IMPORT_C static void SetAvkonHighlightAnimationEnabledL( const TBool aEnabled ); |
|
390 [Test] |
|
391 title TestUSetAvkonHighlightAnimationEnabledL |
|
392 create testsdkskins test |
|
393 bringtoforeground |
|
394 test TestUSetAvkonHighlightAnimationEnabledL |
|
395 delete test |
|
396 sendtobackground |
|
397 [Endtest] |
|
398 |
|
399 // For test function: |
|
400 // IMPORT_C static TBool AvkonHighlightAnimationEnabled(); |
|
401 [Test] |
|
402 title TestUAvkonHighlightAnimationEnabledL |
|
403 create testsdkskins test |
|
404 bringtoforeground |
|
405 test TestUAvkonHighlightAnimationEnabledL |
|
406 delete test |
|
407 sendtobackground |
|
408 [Endtest] |
|
409 |
|
410 // For test function: |
|
411 // IMPORT_C static void RegisterControlPosition( |
|
412 // const CCoeControl* aControl ); |
|
413 [Test] |
|
414 title TestURegisterControlPositionL |
|
415 create testsdkskins test |
|
416 bringtoforeground |
|
417 test TestURegisterControlPositionL |
|
418 delete test |
|
419 sendtobackground |
|
420 [Endtest] |
|
421 |
|
422 // For test function: |
|
423 // IMPORT_C static void RegisterControlPosition( |
|
424 // const CCoeControl* aControl, const TPoint& aPoint ); |
|
425 [Test] |
|
426 title TestURegisterControlPositionPL |
|
427 create testsdkskins test |
|
428 bringtoforeground |
|
429 test TestURegisterControlPositionPL |
|
430 delete test |
|
431 sendtobackground |
|
432 [Endtest] |
|
433 |
|
434 // For test function: |
|
435 // IMPORT_C static void DeregisterControlPosition( |
|
436 // const CCoeControl* aControl ); |
|
437 [Test] |
|
438 title TestUDeregisterControlPositionL |
|
439 create testsdkskins test |
|
440 bringtoforeground |
|
441 test TestUDeregisterControlPositionL |
|
442 delete test |
|
443 sendtobackground |
|
444 [Endtest] |
|
445 |
|
446 // For test function: |
|
447 // IMPORT_C static TInt GetControlPosition( const CCoeControl* aControl, |
|
448 // TPoint& aScreenPos ); |
|
449 [Test] |
|
450 title TestUGetControlPositionL |
|
451 create testsdkskins test |
|
452 bringtoforeground |
|
453 test TestUGetControlPositionL |
|
454 delete test |
|
455 sendtobackground |
|
456 [Endtest] |
|
457 |