|
1 /* |
|
2 * Copyright (c) 2002 - 2007 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: ganes_api |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_TESTPLATGANE_H |
|
20 #define C_TESTPLATGANE_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <stiflogger.h> |
|
24 #include <testscripterinternal.h> |
|
25 #include <stiftestmodule.h> |
|
26 #include <testclassassert.h> |
|
27 |
|
28 #include <ganes\HgDoubleGraphicList.h> |
|
29 #include <ganes\HgDoubleGraphicListFlat.h> |
|
30 #include <ganes\HgDoubleTextList.h> |
|
31 #include <ganes\HgGrid.h> |
|
32 #include <ganes\HgItem.h> |
|
33 #include <ganes\HgScroller.h> |
|
34 #include <ganes\HgScrollerWithTitle.h> |
|
35 #include <ganes\HgSingleGraphicList.h> |
|
36 #include <ganes\HgSingleLargeList.h> |
|
37 #include <ganes\HgSingleTextList.h> |
|
38 #include <ganes\HgVgMediaWall.h> |
|
39 #include <ganes\HgVgItem.h> |
|
40 #include <ganes\HgScrollBufferObserverIface.h> |
|
41 #include <ganes\HgSelectionObserverIface.h> |
|
42 #include <ganes\HgMarkingObserverIface.h> |
|
43 #include <ganes\HgSingleTextListWithIcon.h> |
|
44 |
|
45 // MACROS |
|
46 #define TEST_CLASS_VERSION_MAJOR 0 |
|
47 #define TEST_CLASS_VERSION_MINOR 0 |
|
48 #define TEST_CLASS_VERSION_BUILD 0 |
|
49 |
|
50 // Logging path |
|
51 _LIT( KTestPlatGaneLogPath, "\\logs\\testframework\\testplatgane\\" ); |
|
52 // Log file |
|
53 _LIT( KTestPlatGaneLogFile, "testplatgane.txt" ); |
|
54 _LIT( KTestPlatGaneLogFileWithTitle, "testplatgane_[%S].txt" ); |
|
55 |
|
56 // const variable |
|
57 const int KTest = 5; |
|
58 const int KStringSize = 20; |
|
59 |
|
60 // Dummy observer for testing some methods. |
|
61 class TDummyObserver : public MHgScrollBufferObserver, public MHgSelectionObserver, public MHgMarkingObserver |
|
62 { |
|
63 public: |
|
64 void Request(TInt /*aRequestStart*/, TInt /*aRequestEnd*/, THgScrollDirection /*aDirection*/) {} |
|
65 void Release(TInt /*aReleaseStart*/, TInt /*aReleaseEnd*/) { } |
|
66 void HandleOpenL(TInt /*aIndex*/) { } |
|
67 void HandleSelectL(TInt /*aIndex*/) { } |
|
68 void HandleMarkingL( TInt /*aIndex*/, TBool /*aMarked*/ ) {} |
|
69 }; |
|
70 |
|
71 |
|
72 |
|
73 /** |
|
74 * CTestPlatGane test class for STIF Test Framework TestScripter. |
|
75 * @since S60 5.0 |
|
76 */ |
|
77 NONSHARABLE_CLASS( CTestPlatGane ) : public CScriptBase |
|
78 { |
|
79 public: // Constructors and destructor |
|
80 |
|
81 /** |
|
82 * Two-phased constructor. |
|
83 */ |
|
84 static CTestPlatGane* NewL( CTestModuleIf& aTestModuleIf ); |
|
85 |
|
86 /** |
|
87 * Destructor. |
|
88 */ |
|
89 virtual ~CTestPlatGane(); |
|
90 |
|
91 public: // Functions from base classes |
|
92 |
|
93 /** |
|
94 * From CScriptBase Runs a script line. |
|
95 * @since S60 5.0 |
|
96 * @param aItem Script line containing method name and parameters |
|
97 * @return Symbian OS error code |
|
98 */ |
|
99 virtual TInt RunMethodL( CStifItemParser& aItem ); |
|
100 |
|
101 private: |
|
102 |
|
103 /** |
|
104 * C++ default constructor. |
|
105 */ |
|
106 CTestPlatGane( CTestModuleIf& aTestModuleIf ); |
|
107 |
|
108 /** |
|
109 * By default Symbian 2nd phase constructor is private. |
|
110 */ |
|
111 void ConstructL(); |
|
112 |
|
113 /** |
|
114 * Method used to log version of test class |
|
115 */ |
|
116 void SendTestClassVersion(); |
|
117 |
|
118 /** |
|
119 * Turn off ScreenSaver |
|
120 * @since S60 5.0 |
|
121 * @return Symbian OS error code. |
|
122 */ |
|
123 void TurnOffScreenSaver(); |
|
124 |
|
125 /** |
|
126 * Restore ScreenSaver |
|
127 * @since S60 5.0 |
|
128 * @return Symbian OS error code. |
|
129 */ |
|
130 void RestoreScreenSaver(); |
|
131 |
|
132 private: // [TestMethods] |
|
133 /** |
|
134 * TestCHgDoubleGraphicListL test of CHgDoubleGraphicList |
|
135 * @since S60 5.0 |
|
136 * @param aItem never used |
|
137 * @return Symbian OS error code. |
|
138 */ |
|
139 virtual TInt TestCHgDoubleGraphicListL( CStifItemParser& aItem ); |
|
140 |
|
141 /** |
|
142 * TestCHgDoubleGraphicListPreferredImageSize test PreferredImageSize of CHgDoubleGraphicList |
|
143 * @since S60 5.0 |
|
144 * @param aItem never used |
|
145 * @return Symbian OS error code. |
|
146 */ |
|
147 virtual TInt TestCHgDoubleGraphicListPreferredImageSize( CStifItemParser& aItem ); |
|
148 |
|
149 /** |
|
150 * TestCHgDoubleGraphicListL test of CHgDoubleGraphicList |
|
151 * @since S60 5.0 |
|
152 * @param aItem never used |
|
153 * @return Symbian OS error code. |
|
154 */ |
|
155 virtual TInt TestCHgDoubleGraphicListFlatL( CStifItemParser& aItem ); |
|
156 |
|
157 /** |
|
158 * TestCHgDoubleGraphicListPreferredImageSize test PreferredImageSize of CHgDoubleGraphicList |
|
159 * @since S60 5.0 |
|
160 * @param aItem never used |
|
161 * @return Symbian OS error code. |
|
162 */ |
|
163 virtual TInt TestCHgDoubleGraphicListFlatPreferredImageSize( CStifItemParser& aItem ); |
|
164 |
|
165 /** |
|
166 * TestCHgDoubleTextListL test of CHgDoubleTextList |
|
167 * @since S60 5.0 |
|
168 * @param aItem never used |
|
169 * @return Symbian OS error code. |
|
170 */ |
|
171 virtual TInt TestCHgDoubleTextListL( CStifItemParser& aItem ); |
|
172 |
|
173 /** |
|
174 * TestCHgDoubleTextListPreferredImageSize test PreferredImageSize of CHgDoubleTextList |
|
175 * @since S60 5.0 |
|
176 * @param aItem never used |
|
177 * @return Symbian OS error code. |
|
178 */ |
|
179 virtual TInt TestCHgDoubleTextListPreferredImageSize( CStifItemParser& aItem ); |
|
180 |
|
181 /** |
|
182 * TestCHgGridNewL test NewL of CHgGrid |
|
183 * @since S60 5.0 |
|
184 * @param aItem never used |
|
185 * @return Symbian OS error code. |
|
186 */ |
|
187 virtual TInt TestCHgGridNewL( CStifItemParser& aItem ); |
|
188 |
|
189 /** |
|
190 * TestCHgGridPreferredImageSize test PreferredImageSize of CHgGrid |
|
191 * @since S60 5.0 |
|
192 * @param aItem never used |
|
193 * @return Symbian OS error code. |
|
194 */ |
|
195 virtual TInt TestCHgGridPreferredImageSize( CStifItemParser& aItem ); |
|
196 |
|
197 /** |
|
198 * TestCHgGridSetLandscapeScrollingSupport test SetLandscapeScrollingSupport of CHgGrid |
|
199 * @since S60 5.0 |
|
200 * @param aItem never used |
|
201 * @return Symbian OS error code. |
|
202 */ |
|
203 virtual TInt TestCHgGridSetLandscapeScrollingSupport( CStifItemParser& aItem ); |
|
204 |
|
205 /** |
|
206 * TestCHgItemNewL test NewL of CHgItem |
|
207 * @since S60 5.0 |
|
208 * @param aItem never used |
|
209 * @return Symbian OS error code. |
|
210 */ |
|
211 virtual TInt TestCHgItemNewL( CStifItemParser& aItem ); |
|
212 |
|
213 /** |
|
214 * TestCHgItemNewLCL test NewLC of CHgItem |
|
215 * @since S60 5.0 |
|
216 * @param aItem never used |
|
217 * @return Symbian OS error code. |
|
218 */ |
|
219 virtual TInt TestCHgItemNewLCL( CStifItemParser& aItem ); |
|
220 |
|
221 /** |
|
222 * TestCHgItemIconL test Icon of CHgItem |
|
223 * @since S60 5.0 |
|
224 * @param aItem never used |
|
225 * @return Symbian OS error code. |
|
226 */ |
|
227 virtual TInt TestCHgItemIconL( CStifItemParser& aItem ); |
|
228 |
|
229 /** |
|
230 * TestCHgItemTitleL test Title of CHgItem |
|
231 * @since S60 5.0 |
|
232 * @param aItem never used |
|
233 * @return Symbian OS error code. |
|
234 */ |
|
235 virtual TInt TestCHgItemTitleL( CStifItemParser& aItem ); |
|
236 |
|
237 /** |
|
238 * TestCHgItemTextL test Text of CHgItem |
|
239 * @since S60 5.0 |
|
240 * @param aItem never used |
|
241 * @return Symbian OS error code. |
|
242 */ |
|
243 virtual TInt TestCHgItemTextL( CStifItemParser& aItem ); |
|
244 |
|
245 /** |
|
246 * TestCHgItemTimeL test Time of CHgItem |
|
247 * @since S60 5.0 |
|
248 * @param aItem never used |
|
249 * @return Symbian OS error code. |
|
250 */ |
|
251 virtual TInt TestCHgItemTimeL( CStifItemParser& aItem ); |
|
252 |
|
253 /** |
|
254 * TestCHgItemSetIconL test SetIcon of CHgItem |
|
255 * @since S60 5.0 |
|
256 * @param aItem never used |
|
257 * @return Symbian OS error code. |
|
258 */ |
|
259 virtual TInt TestCHgItemSetIconL( CStifItemParser& aItem ); |
|
260 |
|
261 /** |
|
262 * TestCHgItemSetTitleL test SetTitleL of CHgItem |
|
263 * @since S60 5.0 |
|
264 * @param aItem never used |
|
265 * @return Symbian OS error code. |
|
266 */ |
|
267 virtual TInt TestCHgItemSetTitleL( CStifItemParser& aItem ); |
|
268 |
|
269 /** |
|
270 * TestCHgItemSetTextL test SetTextL of CHgItem |
|
271 * @since S60 5.0 |
|
272 * @param aItem never used |
|
273 * @return Symbian OS error code. |
|
274 */ |
|
275 virtual TInt TestCHgItemSetTextL( CStifItemParser& aItem ); |
|
276 |
|
277 /** |
|
278 * TestCHgItemSetTimeL test SetTime of CHgItem |
|
279 * @since S60 5.0 |
|
280 * @param aItem never used |
|
281 * @return Symbian OS error code. |
|
282 */ |
|
283 virtual TInt TestCHgItemSetTimeL( CStifItemParser& aItem ); |
|
284 |
|
285 /** |
|
286 * TestCHgItemFlagsL test Flags of CHgItem |
|
287 * @since S60 5.0 |
|
288 * @param aItem never used |
|
289 * @return Symbian OS error code. |
|
290 */ |
|
291 virtual TInt TestCHgItemFlagsL( CStifItemParser& aItem ); |
|
292 |
|
293 /** |
|
294 * TestCHgItemSetFlagsL test SetFlags of CHgItem |
|
295 * @since S60 5.0 |
|
296 * @param aItem never used |
|
297 * @return Symbian OS error code. |
|
298 */ |
|
299 virtual TInt TestCHgItemSetFlagsL( CStifItemParser& aItem ); |
|
300 |
|
301 /** |
|
302 * TestCHgItemClearFlagsL test ClearFlags of CHgItem |
|
303 * @since S60 5.0 |
|
304 * @param aItem never used |
|
305 * @return Symbian OS error code. |
|
306 */ |
|
307 virtual TInt TestCHgItemClearFlagsL( CStifItemParser& aItem ); |
|
308 |
|
309 /** |
|
310 * TestCHgScrollerInitScreenL1 test InitScreenL of CHgScroller |
|
311 * @since S60 5.0 |
|
312 * @param aItem never used |
|
313 * @return Symbian OS error code. |
|
314 */ |
|
315 virtual TInt TestCHgScrollerInitScreenL1( CStifItemParser& aItem ); |
|
316 |
|
317 /** |
|
318 * TestCHgScrollerInitScreenL2L test InitScreenL of CHgScroller |
|
319 * @since S60 5.0 |
|
320 * @param aItem never used |
|
321 * @return Symbian OS error code. |
|
322 */ |
|
323 virtual TInt TestCHgScrollerInitScreenL2L( CStifItemParser& aItem ); |
|
324 |
|
325 /** |
|
326 * TestCHgScrollerRefreshScreenL test RefreshScreen of CHgScroller |
|
327 * @since S60 5.0 |
|
328 * @param aItem never used |
|
329 * @return Symbian OS error code. |
|
330 */ |
|
331 virtual TInt TestCHgScrollerRefreshScreenL( CStifItemParser& aItem ); |
|
332 |
|
333 /** |
|
334 * TestCHgScrollerFirstIndexOnScreenL test FirstIndexOnScreen of CHgScroller |
|
335 * @since S60 5.0 |
|
336 * @param aItem never used |
|
337 * @return Symbian OS error code. |
|
338 */ |
|
339 virtual TInt TestCHgScrollerFirstIndexOnScreenL( CStifItemParser& aItem ); |
|
340 |
|
341 /** |
|
342 * TestCHgScrollerItemsOnScreenL test ItemsOnScreen of CHgScroller |
|
343 * @since S60 5.0 |
|
344 * @param aItem never used |
|
345 * @return Symbian OS error code. |
|
346 */ |
|
347 virtual TInt TestCHgScrollerItemsOnScreenL( CStifItemParser& aItem ); |
|
348 |
|
349 /** |
|
350 * TestCHgScrollerItemL test ItemL of CHgScroller |
|
351 * @since S60 5.0 |
|
352 * @param aItem never used |
|
353 * @return Symbian OS error code. |
|
354 */ |
|
355 virtual TInt TestCHgScrollerItemL( CStifItemParser& aItem ); |
|
356 |
|
357 /** |
|
358 * TestCHgScrollerSetItemL test SetItem of CHgScroller |
|
359 * @since S60 5.0 |
|
360 * @param aItem never used |
|
361 * @return Symbian OS error code. |
|
362 */ |
|
363 virtual TInt TestCHgScrollerSetItemL( CStifItemParser& aItem ); |
|
364 |
|
365 /** |
|
366 * TestCHgScrollerAddItemL test AddItem of CHgScroller |
|
367 * @since S60 5.0 |
|
368 * @param aItem never used |
|
369 * @return Symbian OS error code. |
|
370 */ |
|
371 virtual TInt TestCHgScrollerAddItemL( CStifItemParser& aItem ); |
|
372 |
|
373 /** |
|
374 * TestCHgScrollerInsertItemL test InsertItem of CHgScroller |
|
375 * @since S60 5.0 |
|
376 * @param aItem never used |
|
377 * @return Symbian OS error code. |
|
378 */ |
|
379 virtual TInt TestCHgScrollerInsertItemL( CStifItemParser& aItem ); |
|
380 |
|
381 /** |
|
382 * TestCHgScrollerRemoveItemL test RemoveItem of CHgScroller |
|
383 * @since S60 5.0 |
|
384 * @param aItem never used |
|
385 * @return Symbian OS error code. |
|
386 */ |
|
387 virtual TInt TestCHgScrollerRemoveItemL( CStifItemParser& aItem ); |
|
388 |
|
389 /** |
|
390 * TestCHgScrollerSelectedIndexL test SelectedIndex of CHgScroller |
|
391 * @since S60 5.0 |
|
392 * @param aItem never used |
|
393 * @return Symbian OS error code. |
|
394 */ |
|
395 virtual TInt TestCHgScrollerSelectedIndexL( CStifItemParser& aItem ); |
|
396 |
|
397 /** |
|
398 * TestCHgScrollerSetSelectedIndexL test SetSelectedIndex of CHgScroller |
|
399 * @since S60 5.0 |
|
400 * @param aItem never used |
|
401 * @return Symbian OS error code. |
|
402 */ |
|
403 virtual TInt TestCHgScrollerSetSelectedIndexL( CStifItemParser& aItem ); |
|
404 |
|
405 /** |
|
406 * TestCHgScrollerMarkL test Mark of CHgScroller |
|
407 * @since S60 5.0 |
|
408 * @param aItem never used |
|
409 * @return Symbian OS error code. |
|
410 */ |
|
411 virtual TInt TestCHgScrollerMarkL( CStifItemParser& aItem ); |
|
412 |
|
413 /** |
|
414 * TestCHgScrollerUnMarkL test UnMark of CHgScroller |
|
415 * @since S60 5.0 |
|
416 * @param aItem never used |
|
417 * @return Symbian OS error code. |
|
418 */ |
|
419 virtual TInt TestCHgScrollerUnMarkL( CStifItemParser& aItem ); |
|
420 |
|
421 /** |
|
422 * TestCHgScrollerMarkAllL test MarkAll of CHgScroller |
|
423 * @since S60 5.0 |
|
424 * @param aItem never used |
|
425 * @return Symbian OS error code. |
|
426 */ |
|
427 virtual TInt TestCHgScrollerMarkAllL( CStifItemParser& aItem ); |
|
428 |
|
429 /** |
|
430 * TestCHgScrollerUnMarkAllL test UnMarkAll of CHgScroller |
|
431 * @since S60 5.0 |
|
432 * @param aItem never used |
|
433 * @return Symbian OS error code. |
|
434 */ |
|
435 virtual TInt TestCHgScrollerUnMarkAllL( CStifItemParser& aItem ); |
|
436 |
|
437 /** |
|
438 * TestCHgScrollerGetMarkedItemsL test GetMarkedItemsL of CHgScroller |
|
439 * @since S60 5.0 |
|
440 * @param aItem never used |
|
441 * @return Symbian OS error code. |
|
442 */ |
|
443 virtual TInt TestCHgScrollerGetMarkedItemsL( CStifItemParser& aItem ); |
|
444 |
|
445 /** |
|
446 * TestCHgScrollerEnableScrollBufferL test EnableScrollBufferL of CHgScroller |
|
447 * @since S60 5.0 |
|
448 * @param aItem never used |
|
449 * @return Symbian OS error code. |
|
450 */ |
|
451 virtual TInt TestCHgScrollerEnableScrollBufferL( CStifItemParser& aItem ); |
|
452 |
|
453 /** |
|
454 * TestCHgScrollerSetSelectionObserver test SetSelectionObserver of CHgScroller |
|
455 * @since S60 5.0 |
|
456 * @param aItem never used |
|
457 * @return Symbian OS error code. |
|
458 */ |
|
459 virtual TInt TestCHgScrollerSetSelectionObserver( CStifItemParser& aItem ); |
|
460 |
|
461 /** |
|
462 * TestCHgScrollerSetMarkingObserver test SetMarkingObserver of CHgScroller |
|
463 * @since S60 5.0 |
|
464 * @param aItem never used |
|
465 * @return Symbian OS error code. |
|
466 */ |
|
467 virtual TInt TestCHgScrollerSetMarkingObserver( CStifItemParser& aItem ); |
|
468 |
|
469 /** |
|
470 * TestCHgScrollerResetL test Reset of CHgScroller |
|
471 * @since S60 5.0 |
|
472 * @param aItem never used |
|
473 * @return Symbian OS error code. |
|
474 */ |
|
475 virtual TInt TestCHgScrollerResetL( CStifItemParser& aItem ); |
|
476 |
|
477 /** |
|
478 * TestCHgScrollerResizeL test ResizeL of CHgScroller |
|
479 * @since S60 5.0 |
|
480 * @param aItem never used |
|
481 * @return Symbian OS error code. |
|
482 */ |
|
483 virtual TInt TestCHgScrollerResizeL( CStifItemParser& aItem ); |
|
484 |
|
485 /** |
|
486 * TestCHgScrollerSetEmptyTextL test SetEmptyTextL of CHgScroller |
|
487 * @since S60 5.0 |
|
488 * @param aItem never used |
|
489 * @return Symbian OS error code. |
|
490 */ |
|
491 virtual TInt TestCHgScrollerSetEmptyTextL( CStifItemParser& aItem ); |
|
492 |
|
493 /** |
|
494 * TestCHgScrollerItemCountL test ItemCount of CHgScroller |
|
495 * @since S60 5.0 |
|
496 * @param aItem never used |
|
497 * @return Symbian OS error code. |
|
498 */ |
|
499 virtual TInt TestCHgScrollerItemCountL( CStifItemParser& aItem ); |
|
500 |
|
501 /** |
|
502 * TestCHgScrollerSetScrollBarTypeL test SetScrollBarTypeL of CHgScroller |
|
503 * @since S60 5.0 |
|
504 * @param aItem never used |
|
505 * @return Symbian OS error code. |
|
506 */ |
|
507 virtual TInt TestCHgScrollerSetScrollBarTypeL( CStifItemParser& aItem ); |
|
508 |
|
509 /** |
|
510 * TestCHgScrollerSetFlagsL test SetFlags of CHgScroller |
|
511 * @since S60 5.0 |
|
512 * @param aItem never used |
|
513 * @return Symbian OS error code. |
|
514 */ |
|
515 virtual TInt TestCHgScrollerSetFlagsL( CStifItemParser& aItem ); |
|
516 |
|
517 /** |
|
518 * TestCHgScrollerClearFlagsL test ClearFlags of CHgScroller |
|
519 * @since S60 5.0 |
|
520 * @param aItem never used |
|
521 * @return Symbian OS error code. |
|
522 */ |
|
523 virtual TInt TestCHgScrollerClearFlagsL( CStifItemParser& aItem ); |
|
524 |
|
525 /** |
|
526 * TestCHgScrollerFlagsL test Flags of CHgScroller |
|
527 * @since S60 5.0 |
|
528 * @param aItem never used |
|
529 * @return Symbian OS error code. |
|
530 */ |
|
531 virtual TInt TestCHgScrollerFlagsL( CStifItemParser& aItem ); |
|
532 |
|
533 /** |
|
534 * TestCHgScrollerHightlightItemL test HightlightItem of CHgScroller |
|
535 * @since S60 5.0 |
|
536 * @param aItem never used |
|
537 * @return Symbian OS error code. |
|
538 */ |
|
539 virtual TInt TestCHgScrollerHightlightItemL( CStifItemParser& aItem ); |
|
540 |
|
541 /** |
|
542 * TestCHgScrollerSetDefaultIconL test SetDefaultIconL of CHgScroller |
|
543 * @since S60 5.0 |
|
544 * @param aItem never used |
|
545 * @return Symbian OS error code. |
|
546 */ |
|
547 virtual TInt TestCHgScrollerSetDefaultIconL( CStifItemParser& aItem ); |
|
548 |
|
549 /** |
|
550 * TestCHgScrollerDisableScrollBufferL test DisableScrollBuffer of CHgScroller |
|
551 * @since S60 5.0 |
|
552 * @param aItem never used |
|
553 * @return Symbian OS error code. |
|
554 */ |
|
555 virtual TInt TestCHgScrollerDisableScrollBufferL( CStifItemParser& aItem ); |
|
556 |
|
557 /** |
|
558 * TestCHgScrollerWithTitleNewL test NewL of CHgScrollerWithTitle |
|
559 * @since S60 5.0 |
|
560 * @param aItem never used |
|
561 * @return Symbian OS error code. |
|
562 */ |
|
563 virtual TInt TestCHgScrollerWithTitleNewL( CStifItemParser& aItem ); |
|
564 |
|
565 /** |
|
566 * TestCHgScrollerWithTitleInitScreenL test InitScreenL of CHgScrollerWithTitle |
|
567 * @since S60 5.0 |
|
568 * @param aItem never used |
|
569 * @return Symbian OS error code. |
|
570 */ |
|
571 virtual TInt TestCHgScrollerWithTitleInitScreenL( CStifItemParser& aItem ); |
|
572 |
|
573 /** |
|
574 * TestCHgScrollerWithTitleScrollerL test Scroller of CHgScrollerWithTitle |
|
575 * @since S60 5.0 |
|
576 * @param aItem never used |
|
577 * @return Symbian OS error code. |
|
578 */ |
|
579 virtual TInt TestCHgScrollerWithTitleScrollerL( CStifItemParser& aItem ); |
|
580 |
|
581 /** |
|
582 * TestCHgScrollerWithTitleTitleItemL test TitleItem of CHgScrollerWithTitle |
|
583 * @since S60 5.0 |
|
584 * @param aItem never used |
|
585 * @return Symbian OS error code. |
|
586 */ |
|
587 virtual TInt TestCHgScrollerWithTitleTitleItemL( CStifItemParser& aItem ); |
|
588 |
|
589 /** |
|
590 * TestCHgScrollerWithTitlePreferredImageSize test PreferredImageSize of CHgScrollerWithTitle |
|
591 * @since S60 5.0 |
|
592 * @param aItem never used |
|
593 * @return Symbian OS error code. |
|
594 */ |
|
595 virtual TInt TestCHgScrollerWithTitlePreferredImageSize( CStifItemParser& aItem ); |
|
596 |
|
597 /** |
|
598 * TestCHgSingleGraphicListNewL test NewL of CHgSingleGraphicList |
|
599 * @since S60 5.0 |
|
600 * @param aItem never used |
|
601 * @return Symbian OS error code. |
|
602 */ |
|
603 virtual TInt TestCHgSingleGraphicListNewL( CStifItemParser& aItem ); |
|
604 |
|
605 /** |
|
606 * TestCHgSingleGraphicListPreferredImageSize test PreferredImageSize of CHgSingleGraphicList |
|
607 * @since S60 5.0 |
|
608 * @param aItem never used |
|
609 * @return Symbian OS error code. |
|
610 */ |
|
611 virtual TInt TestCHgSingleGraphicListPreferredImageSize( CStifItemParser& aItem ); |
|
612 |
|
613 /** |
|
614 * TestCHgSingleLargeListNewL test NewL of CHgSingleLargeList |
|
615 * @since S60 5.0 |
|
616 * @param aItem never used |
|
617 * @return Symbian OS error code. |
|
618 */ |
|
619 virtual TInt TestCHgSingleLargeListNewL( CStifItemParser& aItem ); |
|
620 |
|
621 /** |
|
622 * TestCHgSingleLargeListPreferredImageSize test PreferredImageSize of CHgSingleLargeList |
|
623 * @since S60 5.0 |
|
624 * @param aItem never used |
|
625 * @return Symbian OS error code. |
|
626 */ |
|
627 virtual TInt TestCHgSingleLargeListPreferredImageSize( CStifItemParser& aItem ); |
|
628 |
|
629 /** |
|
630 * TestCHgSingleTextListL test of CHgSingleTextList |
|
631 * @since S60 5.0 |
|
632 * @param aItem never used |
|
633 * @return Symbian OS error code. |
|
634 */ |
|
635 virtual TInt TestCHgSingleTextListL( CStifItemParser& aItem ); |
|
636 |
|
637 /** |
|
638 * TestCHgVgMediaWallNewL test NewL of CHgVgMediaWall |
|
639 * @since S60 5.0 |
|
640 * @param aItem never used |
|
641 * @return Symbian OS error code. |
|
642 */ |
|
643 virtual TInt TestCHgVgMediaWallNewL( CStifItemParser& aItem ); |
|
644 |
|
645 /** |
|
646 * TestCHgVgMediaWallInitScreenL test InitScreenL of CHgVgMediaWall |
|
647 * @since S60 5.0 |
|
648 * @param aItem never used |
|
649 * @return Symbian OS error code. |
|
650 */ |
|
651 virtual TInt TestCHgVgMediaWallInitScreenL( CStifItemParser& aItem ); |
|
652 |
|
653 |
|
654 /** |
|
655 * TestCHgVgMediaWallRefreshScreen test RefreshScreen of CHgVgMediaWall |
|
656 * @since S60 5.0 |
|
657 * @param aItem never used |
|
658 * @return Symbian OS error code. |
|
659 */ |
|
660 virtual TInt TestCHgVgMediaWallRefreshScreen( CStifItemParser& aItem ); |
|
661 |
|
662 |
|
663 /** |
|
664 * TestCHgVgMediaWallFirstIndexOnScreen test FirstIndexOnScreen of CHgVgMediaWall |
|
665 * @since S60 5.0 |
|
666 * @param aItem never used |
|
667 * @return Symbian OS error code. |
|
668 */ |
|
669 virtual TInt TestCHgVgMediaWallFirstIndexOnScreen( CStifItemParser& aItem ); |
|
670 |
|
671 /** |
|
672 * TestCHgVgMediaWallItemsOnScreen test ItemsOnScreen of CHgVgMediaWall |
|
673 * @since S60 5.0 |
|
674 * @param aItem never used |
|
675 * @return Symbian OS error code. |
|
676 */ |
|
677 virtual TInt TestCHgVgMediaWallItemsOnScreen( CStifItemParser& aItem ); |
|
678 |
|
679 /** |
|
680 * TestCHgVgMediaWallItemL test ItemL of CHgVgMediaWall |
|
681 * @since S60 5.0 |
|
682 * @param aItem never used |
|
683 * @return Symbian OS error code. |
|
684 */ |
|
685 virtual TInt TestCHgVgMediaWallItemL( CStifItemParser& aItem ); |
|
686 |
|
687 /** |
|
688 * TestCHgVgMediaWallSetItem test SetItem of CHgVgMediaWall |
|
689 * @since S60 5.0 |
|
690 * @param aItem never used |
|
691 * @return Symbian OS error code. |
|
692 */ |
|
693 virtual TInt TestCHgVgMediaWallSetItem( CStifItemParser& aItem ); |
|
694 |
|
695 /** |
|
696 * TestCHgVgMediaWallAddItem test AddItem of CHgVgMediaWall |
|
697 * @since S60 5.0 |
|
698 * @param aItem never used |
|
699 * @return Symbian OS error code. |
|
700 */ |
|
701 virtual TInt TestCHgVgMediaWallAddItem( CStifItemParser& aItem ); |
|
702 |
|
703 /** |
|
704 * TestCHgVgMediaWallInsertItem test InsertItem of CHgVgMediaWall |
|
705 * @since S60 5.0 |
|
706 * @param aItem never used |
|
707 * @return Symbian OS error code. |
|
708 */ |
|
709 virtual TInt TestCHgVgMediaWallInsertItem( CStifItemParser& aItem ); |
|
710 |
|
711 /** |
|
712 * TestCHgVgMediaWallRemoveItem test InsertItem of CHgVgMediaWall |
|
713 * @since S60 5.0 |
|
714 * @param aItem never used |
|
715 * @return Symbian OS error code. |
|
716 */ |
|
717 virtual TInt TestCHgVgMediaWallRemoveItem( CStifItemParser& aItem ); |
|
718 |
|
719 |
|
720 /** |
|
721 * TestCHgVgMediaWallSelectedIndex test SelectedIndex of CHgVgMediaWall |
|
722 * @since S60 5.0 |
|
723 * @param aItem never used |
|
724 * @return Symbian OS error code. |
|
725 */ |
|
726 virtual TInt TestCHgVgMediaWallSelectedIndex( CStifItemParser& aItem ); |
|
727 |
|
728 |
|
729 /** |
|
730 * TestCHgVgMediaWallSetSelectedIndex test SetSelectedIndex of CHgVgMediaWall |
|
731 * @since S60 5.0 |
|
732 * @param aItem never used |
|
733 * @return Symbian OS error code. |
|
734 */ |
|
735 virtual TInt TestCHgVgMediaWallSetSelectedIndex( CStifItemParser& aItem ); |
|
736 |
|
737 |
|
738 /** |
|
739 * TestCHgVgMediaWallEnableScrollBufferL test EnableScrollBufferL of CHgVgMediaWall |
|
740 * @since S60 5.0 |
|
741 * @param aItem never used |
|
742 * @return Symbian OS error code. |
|
743 */ |
|
744 virtual TInt TestCHgVgMediaWallEnableScrollBufferL( CStifItemParser& aItem ); |
|
745 |
|
746 |
|
747 /** |
|
748 * TestCHgVgMediaWallSetSelectionObserver test SetSelectionObserver of CHgVgMediaWall |
|
749 * @since S60 5.0 |
|
750 * @param aItem never used |
|
751 * @return Symbian OS error code. |
|
752 */ |
|
753 virtual TInt TestCHgVgMediaWallSetSelectionObserver( CStifItemParser& aItem ); |
|
754 |
|
755 /** |
|
756 * TestCHgVgMediaWallSetSelectionReset test Reset of CHgVgMediaWall |
|
757 * @since S60 5.0 |
|
758 * @param aItem never used |
|
759 * @return Symbian OS error code. |
|
760 */ |
|
761 virtual TInt TestCHgVgMediaWallReset( CStifItemParser& aItem ); |
|
762 |
|
763 /** |
|
764 * TestCHgVgMediaWallSetSelectionResizeL test ResizeL of CHgVgMediaWall |
|
765 * @since S60 5.0 |
|
766 * @param aItem never used |
|
767 * @return Symbian OS error code. |
|
768 */ |
|
769 virtual TInt TestCHgVgMediaWallResizeL( CStifItemParser& aItem ); |
|
770 |
|
771 /** |
|
772 * TestCHgVgMediaWallSetEmptyTextL test SetEmptyTextL of CHgVgMediaWall |
|
773 * @since S60 5.0 |
|
774 * @param aItem never used |
|
775 * @return Symbian OS error code. |
|
776 */ |
|
777 virtual TInt TestCHgVgMediaWallSetEmptyTextL( CStifItemParser& aItem ); |
|
778 |
|
779 |
|
780 /** |
|
781 * TestCHgVgMediaWallItemCount test ItemCount of CHgVgMediaWall |
|
782 * @since S60 5.0 |
|
783 * @param aItem never used |
|
784 * @return Symbian OS error code. |
|
785 */ |
|
786 virtual TInt TestCHgVgMediaWallItemCount( CStifItemParser& aItem ); |
|
787 |
|
788 /** |
|
789 * TestCHgVgMediaWallSetDefaultIconL test SetDefaultIconL of CHgVgMediaWall |
|
790 * @since S60 5.0 |
|
791 * @param aItem never used |
|
792 * @return Symbian OS error code. |
|
793 */ |
|
794 virtual TInt TestCHgVgMediaWallSetDefaultIconL( CStifItemParser& aItem ); |
|
795 |
|
796 /** |
|
797 * TestCHgVgMediaWallDisableScrollBuffer test DisableScrollBuffer of CHgVgMediaWall |
|
798 * @since S60 5.0 |
|
799 * @param aItem never used |
|
800 * @return Symbian OS error code. |
|
801 */ |
|
802 virtual TInt TestCHgVgMediaWallDisableScrollBuffer( CStifItemParser& aItem ); |
|
803 |
|
804 |
|
805 /** |
|
806 * TestCHgVgMediaWallChangeStyleL test ChangeStyleL of CHgVgMediaWall |
|
807 * @since S60 5.0 |
|
808 * @param aItem never used |
|
809 * @return Symbian OS error code. |
|
810 */ |
|
811 virtual TInt TestCHgVgMediaWallChangeStyleL( CStifItemParser& aItem ); |
|
812 |
|
813 /** |
|
814 * TestCHgVgMediaWallSetObserver test SetObserver of CHgVgMediaWall |
|
815 * @since S60 5.0 |
|
816 * @param aItem never used |
|
817 * @return Symbian OS error code. |
|
818 */ |
|
819 virtual TInt TestCHgVgMediaWallSetObserver( CStifItemParser& aItem ); |
|
820 |
|
821 /** |
|
822 * TestCHgVgMediaWallSetOpeningAnimationType test SetOpeningAnimationType of CHgVgMediaWall |
|
823 * @since S60 5.0 |
|
824 * @param aItem never used |
|
825 * @return Symbian OS error code. |
|
826 */ |
|
827 virtual TInt TestCHgVgMediaWallSetOpeningAnimationType( CStifItemParser& aItem ); |
|
828 |
|
829 /** |
|
830 * TestCHgVgMediaWallStyle test Style of CHgVgMediaWall |
|
831 * @since S60 5.0 |
|
832 * @param aItem never used |
|
833 * @return Symbian OS error code. |
|
834 */ |
|
835 virtual TInt TestCHgVgMediaWallStyle( CStifItemParser& aItem ); |
|
836 |
|
837 /** |
|
838 * TestCHgVgMediaWallOpeningAnimationType test OpeningAnimationType of CHgVgMediaWall |
|
839 * @since S60 5.0 |
|
840 * @param aItem never used |
|
841 * @return Symbian OS error code. |
|
842 */ |
|
843 virtual TInt TestCHgVgMediaWallOpeningAnimationType( CStifItemParser& aItem ); |
|
844 |
|
845 /** |
|
846 * TestCHgVgMediaWallStartOpeningAnimationL test StartOpeningAnimationL of CHgVgMediaWall |
|
847 * @since S60 5.0 |
|
848 * @param aItem never used |
|
849 * @return Symbian OS error code. |
|
850 */ |
|
851 virtual TInt TestCHgVgMediaWallStartOpeningAnimationL( CStifItemParser& aItem ); |
|
852 |
|
853 /** |
|
854 * TestCHgVgItemNewL test NewL of CHgVgItem |
|
855 * @since S60 5.0 |
|
856 * @param aItem never used |
|
857 * @return Symbian OS error code. |
|
858 */ |
|
859 virtual TInt TestCHgVgItemNewL( CStifItemParser& aItem ); |
|
860 |
|
861 /** |
|
862 * TestCHgVgItemNewLC test NewLC of CHgVgItem |
|
863 * @since S60 5.0 |
|
864 * @param aItem never used |
|
865 * @return Symbian OS error code. |
|
866 */ |
|
867 virtual TInt TestCHgVgItemNewLC( CStifItemParser& aItem ); |
|
868 |
|
869 /** |
|
870 * TestCHgVgItemSetIcon test SetIcon of CHgVgItem |
|
871 * @since S60 5.0 |
|
872 * @param aItem never used |
|
873 * @return Symbian OS error code. |
|
874 */ |
|
875 virtual TInt TestCHgVgItemSetIcon( CStifItemParser& aItem ); |
|
876 |
|
877 /** |
|
878 * TestCHgSingleTextListWithIconNewL test NewL of CHgSingleTextListWithIcon |
|
879 * @since S60 5.0 |
|
880 * @param aItem never used |
|
881 * @return Symbian OS error code. |
|
882 */ |
|
883 virtual TInt TestCHgSingleTextListWithIconNewL( CStifItemParser& aItem ); |
|
884 |
|
885 |
|
886 private: // Data |
|
887 |
|
888 /** |
|
889 * ScreenSaver Property |
|
890 */ |
|
891 TInt iOldScreenSaverProperty; |
|
892 |
|
893 }; |
|
894 |
|
895 #endif // C_TESTPLATGANE_H |
|
896 |
|
897 // End of File |
|
898 |