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 private: // [TestMethods] |
|
119 /** |
|
120 * TestCHgDoubleGraphicListL test of CHgDoubleGraphicList |
|
121 * @since S60 5.0 |
|
122 * @param aItem never used |
|
123 * @return Symbian OS error code. |
|
124 */ |
|
125 virtual TInt TestCHgDoubleGraphicListL( CStifItemParser& aItem ); |
|
126 |
|
127 /** |
|
128 * TestCHgDoubleGraphicListPreferredImageSize test PreferredImageSize of CHgDoubleGraphicList |
|
129 * @since S60 5.0 |
|
130 * @param aItem never used |
|
131 * @return Symbian OS error code. |
|
132 */ |
|
133 virtual TInt TestCHgDoubleGraphicListPreferredImageSize( CStifItemParser& aItem ); |
|
134 |
|
135 /** |
|
136 * TestCHgDoubleGraphicListL test of CHgDoubleGraphicList |
|
137 * @since S60 5.0 |
|
138 * @param aItem never used |
|
139 * @return Symbian OS error code. |
|
140 */ |
|
141 virtual TInt TestCHgDoubleGraphicListFlatL( CStifItemParser& aItem ); |
|
142 |
|
143 /** |
|
144 * TestCHgDoubleGraphicListPreferredImageSize test PreferredImageSize of CHgDoubleGraphicList |
|
145 * @since S60 5.0 |
|
146 * @param aItem never used |
|
147 * @return Symbian OS error code. |
|
148 */ |
|
149 virtual TInt TestCHgDoubleGraphicListFlatPreferredImageSize( CStifItemParser& aItem ); |
|
150 |
|
151 /** |
|
152 * TestCHgDoubleTextListL test of CHgDoubleTextList |
|
153 * @since S60 5.0 |
|
154 * @param aItem never used |
|
155 * @return Symbian OS error code. |
|
156 */ |
|
157 virtual TInt TestCHgDoubleTextListL( CStifItemParser& aItem ); |
|
158 |
|
159 /** |
|
160 * TestCHgDoubleTextListPreferredImageSize test PreferredImageSize of CHgDoubleTextList |
|
161 * @since S60 5.0 |
|
162 * @param aItem never used |
|
163 * @return Symbian OS error code. |
|
164 */ |
|
165 virtual TInt TestCHgDoubleTextListPreferredImageSize( CStifItemParser& aItem ); |
|
166 |
|
167 /** |
|
168 * TestCHgGridNewL test NewL of CHgGrid |
|
169 * @since S60 5.0 |
|
170 * @param aItem never used |
|
171 * @return Symbian OS error code. |
|
172 */ |
|
173 virtual TInt TestCHgGridNewL( CStifItemParser& aItem ); |
|
174 |
|
175 /** |
|
176 * TestCHgGridPreferredImageSize test PreferredImageSize of CHgGrid |
|
177 * @since S60 5.0 |
|
178 * @param aItem never used |
|
179 * @return Symbian OS error code. |
|
180 */ |
|
181 virtual TInt TestCHgGridPreferredImageSize( CStifItemParser& aItem ); |
|
182 |
|
183 /** |
|
184 * TestCHgGridSetLandscapeScrollingSupport test SetLandscapeScrollingSupport of CHgGrid |
|
185 * @since S60 5.0 |
|
186 * @param aItem never used |
|
187 * @return Symbian OS error code. |
|
188 */ |
|
189 virtual TInt TestCHgGridSetLandscapeScrollingSupport( CStifItemParser& aItem ); |
|
190 |
|
191 /** |
|
192 * TestCHgItemNewL test NewL of CHgItem |
|
193 * @since S60 5.0 |
|
194 * @param aItem never used |
|
195 * @return Symbian OS error code. |
|
196 */ |
|
197 virtual TInt TestCHgItemNewL( CStifItemParser& aItem ); |
|
198 |
|
199 /** |
|
200 * TestCHgItemNewLCL test NewLC of CHgItem |
|
201 * @since S60 5.0 |
|
202 * @param aItem never used |
|
203 * @return Symbian OS error code. |
|
204 */ |
|
205 virtual TInt TestCHgItemNewLCL( CStifItemParser& aItem ); |
|
206 |
|
207 /** |
|
208 * TestCHgItemIconL test Icon of CHgItem |
|
209 * @since S60 5.0 |
|
210 * @param aItem never used |
|
211 * @return Symbian OS error code. |
|
212 */ |
|
213 virtual TInt TestCHgItemIconL( CStifItemParser& aItem ); |
|
214 |
|
215 /** |
|
216 * TestCHgItemTitleL test Title of CHgItem |
|
217 * @since S60 5.0 |
|
218 * @param aItem never used |
|
219 * @return Symbian OS error code. |
|
220 */ |
|
221 virtual TInt TestCHgItemTitleL( CStifItemParser& aItem ); |
|
222 |
|
223 /** |
|
224 * TestCHgItemTextL test Text of CHgItem |
|
225 * @since S60 5.0 |
|
226 * @param aItem never used |
|
227 * @return Symbian OS error code. |
|
228 */ |
|
229 virtual TInt TestCHgItemTextL( CStifItemParser& aItem ); |
|
230 |
|
231 /** |
|
232 * TestCHgItemTimeL test Time of CHgItem |
|
233 * @since S60 5.0 |
|
234 * @param aItem never used |
|
235 * @return Symbian OS error code. |
|
236 */ |
|
237 virtual TInt TestCHgItemTimeL( CStifItemParser& aItem ); |
|
238 |
|
239 /** |
|
240 * TestCHgItemSetIconL test SetIcon of CHgItem |
|
241 * @since S60 5.0 |
|
242 * @param aItem never used |
|
243 * @return Symbian OS error code. |
|
244 */ |
|
245 virtual TInt TestCHgItemSetIconL( CStifItemParser& aItem ); |
|
246 |
|
247 /** |
|
248 * TestCHgItemSetTitleL test SetTitleL of CHgItem |
|
249 * @since S60 5.0 |
|
250 * @param aItem never used |
|
251 * @return Symbian OS error code. |
|
252 */ |
|
253 virtual TInt TestCHgItemSetTitleL( CStifItemParser& aItem ); |
|
254 |
|
255 /** |
|
256 * TestCHgItemSetTextL test SetTextL of CHgItem |
|
257 * @since S60 5.0 |
|
258 * @param aItem never used |
|
259 * @return Symbian OS error code. |
|
260 */ |
|
261 virtual TInt TestCHgItemSetTextL( CStifItemParser& aItem ); |
|
262 |
|
263 /** |
|
264 * TestCHgItemSetTimeL test SetTime of CHgItem |
|
265 * @since S60 5.0 |
|
266 * @param aItem never used |
|
267 * @return Symbian OS error code. |
|
268 */ |
|
269 virtual TInt TestCHgItemSetTimeL( CStifItemParser& aItem ); |
|
270 |
|
271 /** |
|
272 * TestCHgItemFlagsL test Flags of CHgItem |
|
273 * @since S60 5.0 |
|
274 * @param aItem never used |
|
275 * @return Symbian OS error code. |
|
276 */ |
|
277 virtual TInt TestCHgItemFlagsL( CStifItemParser& aItem ); |
|
278 |
|
279 /** |
|
280 * TestCHgItemSetFlagsL test SetFlags of CHgItem |
|
281 * @since S60 5.0 |
|
282 * @param aItem never used |
|
283 * @return Symbian OS error code. |
|
284 */ |
|
285 virtual TInt TestCHgItemSetFlagsL( CStifItemParser& aItem ); |
|
286 |
|
287 /** |
|
288 * TestCHgItemClearFlagsL test ClearFlags of CHgItem |
|
289 * @since S60 5.0 |
|
290 * @param aItem never used |
|
291 * @return Symbian OS error code. |
|
292 */ |
|
293 virtual TInt TestCHgItemClearFlagsL( CStifItemParser& aItem ); |
|
294 |
|
295 /** |
|
296 * TestCHgScrollerInitScreenL1 test InitScreenL of CHgScroller |
|
297 * @since S60 5.0 |
|
298 * @param aItem never used |
|
299 * @return Symbian OS error code. |
|
300 */ |
|
301 virtual TInt TestCHgScrollerInitScreenL1( CStifItemParser& aItem ); |
|
302 |
|
303 /** |
|
304 * TestCHgScrollerInitScreenL2L test InitScreenL of CHgScroller |
|
305 * @since S60 5.0 |
|
306 * @param aItem never used |
|
307 * @return Symbian OS error code. |
|
308 */ |
|
309 virtual TInt TestCHgScrollerInitScreenL2L( CStifItemParser& aItem ); |
|
310 |
|
311 /** |
|
312 * TestCHgScrollerRefreshScreenL test RefreshScreen of CHgScroller |
|
313 * @since S60 5.0 |
|
314 * @param aItem never used |
|
315 * @return Symbian OS error code. |
|
316 */ |
|
317 virtual TInt TestCHgScrollerRefreshScreenL( CStifItemParser& aItem ); |
|
318 |
|
319 /** |
|
320 * TestCHgScrollerFirstIndexOnScreenL test FirstIndexOnScreen of CHgScroller |
|
321 * @since S60 5.0 |
|
322 * @param aItem never used |
|
323 * @return Symbian OS error code. |
|
324 */ |
|
325 virtual TInt TestCHgScrollerFirstIndexOnScreenL( CStifItemParser& aItem ); |
|
326 |
|
327 /** |
|
328 * TestCHgScrollerItemsOnScreenL test ItemsOnScreen of CHgScroller |
|
329 * @since S60 5.0 |
|
330 * @param aItem never used |
|
331 * @return Symbian OS error code. |
|
332 */ |
|
333 virtual TInt TestCHgScrollerItemsOnScreenL( CStifItemParser& aItem ); |
|
334 |
|
335 /** |
|
336 * TestCHgScrollerItemL test ItemL of CHgScroller |
|
337 * @since S60 5.0 |
|
338 * @param aItem never used |
|
339 * @return Symbian OS error code. |
|
340 */ |
|
341 virtual TInt TestCHgScrollerItemL( CStifItemParser& aItem ); |
|
342 |
|
343 /** |
|
344 * TestCHgScrollerSetItemL test SetItem of CHgScroller |
|
345 * @since S60 5.0 |
|
346 * @param aItem never used |
|
347 * @return Symbian OS error code. |
|
348 */ |
|
349 virtual TInt TestCHgScrollerSetItemL( CStifItemParser& aItem ); |
|
350 |
|
351 /** |
|
352 * TestCHgScrollerAddItemL test AddItem of CHgScroller |
|
353 * @since S60 5.0 |
|
354 * @param aItem never used |
|
355 * @return Symbian OS error code. |
|
356 */ |
|
357 virtual TInt TestCHgScrollerAddItemL( CStifItemParser& aItem ); |
|
358 |
|
359 /** |
|
360 * TestCHgScrollerInsertItemL test InsertItem of CHgScroller |
|
361 * @since S60 5.0 |
|
362 * @param aItem never used |
|
363 * @return Symbian OS error code. |
|
364 */ |
|
365 virtual TInt TestCHgScrollerInsertItemL( CStifItemParser& aItem ); |
|
366 |
|
367 /** |
|
368 * TestCHgScrollerRemoveItemL test RemoveItem of CHgScroller |
|
369 * @since S60 5.0 |
|
370 * @param aItem never used |
|
371 * @return Symbian OS error code. |
|
372 */ |
|
373 virtual TInt TestCHgScrollerRemoveItemL( CStifItemParser& aItem ); |
|
374 |
|
375 /** |
|
376 * TestCHgScrollerSelectedIndexL test SelectedIndex of CHgScroller |
|
377 * @since S60 5.0 |
|
378 * @param aItem never used |
|
379 * @return Symbian OS error code. |
|
380 */ |
|
381 virtual TInt TestCHgScrollerSelectedIndexL( CStifItemParser& aItem ); |
|
382 |
|
383 /** |
|
384 * TestCHgScrollerSetSelectedIndexL test SetSelectedIndex of CHgScroller |
|
385 * @since S60 5.0 |
|
386 * @param aItem never used |
|
387 * @return Symbian OS error code. |
|
388 */ |
|
389 virtual TInt TestCHgScrollerSetSelectedIndexL( CStifItemParser& aItem ); |
|
390 |
|
391 /** |
|
392 * TestCHgScrollerMarkL test Mark of CHgScroller |
|
393 * @since S60 5.0 |
|
394 * @param aItem never used |
|
395 * @return Symbian OS error code. |
|
396 */ |
|
397 virtual TInt TestCHgScrollerMarkL( CStifItemParser& aItem ); |
|
398 |
|
399 /** |
|
400 * TestCHgScrollerUnMarkL test UnMark of CHgScroller |
|
401 * @since S60 5.0 |
|
402 * @param aItem never used |
|
403 * @return Symbian OS error code. |
|
404 */ |
|
405 virtual TInt TestCHgScrollerUnMarkL( CStifItemParser& aItem ); |
|
406 |
|
407 /** |
|
408 * TestCHgScrollerMarkAllL test MarkAll of CHgScroller |
|
409 * @since S60 5.0 |
|
410 * @param aItem never used |
|
411 * @return Symbian OS error code. |
|
412 */ |
|
413 virtual TInt TestCHgScrollerMarkAllL( CStifItemParser& aItem ); |
|
414 |
|
415 /** |
|
416 * TestCHgScrollerUnMarkAllL test UnMarkAll of CHgScroller |
|
417 * @since S60 5.0 |
|
418 * @param aItem never used |
|
419 * @return Symbian OS error code. |
|
420 */ |
|
421 virtual TInt TestCHgScrollerUnMarkAllL( CStifItemParser& aItem ); |
|
422 |
|
423 /** |
|
424 * TestCHgScrollerGetMarkedItemsL test GetMarkedItemsL of CHgScroller |
|
425 * @since S60 5.0 |
|
426 * @param aItem never used |
|
427 * @return Symbian OS error code. |
|
428 */ |
|
429 virtual TInt TestCHgScrollerGetMarkedItemsL( CStifItemParser& aItem ); |
|
430 |
|
431 /** |
|
432 * TestCHgScrollerEnableScrollBufferL test EnableScrollBufferL of CHgScroller |
|
433 * @since S60 5.0 |
|
434 * @param aItem never used |
|
435 * @return Symbian OS error code. |
|
436 */ |
|
437 virtual TInt TestCHgScrollerEnableScrollBufferL( CStifItemParser& aItem ); |
|
438 |
|
439 /** |
|
440 * TestCHgScrollerSetSelectionObserver test SetSelectionObserver of CHgScroller |
|
441 * @since S60 5.0 |
|
442 * @param aItem never used |
|
443 * @return Symbian OS error code. |
|
444 */ |
|
445 virtual TInt TestCHgScrollerSetSelectionObserver( CStifItemParser& aItem ); |
|
446 |
|
447 /** |
|
448 * TestCHgScrollerSetMarkingObserver test SetMarkingObserver of CHgScroller |
|
449 * @since S60 5.0 |
|
450 * @param aItem never used |
|
451 * @return Symbian OS error code. |
|
452 */ |
|
453 virtual TInt TestCHgScrollerSetMarkingObserver( CStifItemParser& aItem ); |
|
454 |
|
455 /** |
|
456 * TestCHgScrollerResetL test Reset of CHgScroller |
|
457 * @since S60 5.0 |
|
458 * @param aItem never used |
|
459 * @return Symbian OS error code. |
|
460 */ |
|
461 virtual TInt TestCHgScrollerResetL( CStifItemParser& aItem ); |
|
462 |
|
463 /** |
|
464 * TestCHgScrollerResizeL test ResizeL of CHgScroller |
|
465 * @since S60 5.0 |
|
466 * @param aItem never used |
|
467 * @return Symbian OS error code. |
|
468 */ |
|
469 virtual TInt TestCHgScrollerResizeL( CStifItemParser& aItem ); |
|
470 |
|
471 /** |
|
472 * TestCHgScrollerSetEmptyTextL test SetEmptyTextL of CHgScroller |
|
473 * @since S60 5.0 |
|
474 * @param aItem never used |
|
475 * @return Symbian OS error code. |
|
476 */ |
|
477 virtual TInt TestCHgScrollerSetEmptyTextL( CStifItemParser& aItem ); |
|
478 |
|
479 /** |
|
480 * TestCHgScrollerItemCountL test ItemCount of CHgScroller |
|
481 * @since S60 5.0 |
|
482 * @param aItem never used |
|
483 * @return Symbian OS error code. |
|
484 */ |
|
485 virtual TInt TestCHgScrollerItemCountL( CStifItemParser& aItem ); |
|
486 |
|
487 /** |
|
488 * TestCHgScrollerSetScrollBarTypeL test SetScrollBarTypeL of CHgScroller |
|
489 * @since S60 5.0 |
|
490 * @param aItem never used |
|
491 * @return Symbian OS error code. |
|
492 */ |
|
493 virtual TInt TestCHgScrollerSetScrollBarTypeL( CStifItemParser& aItem ); |
|
494 |
|
495 /** |
|
496 * TestCHgScrollerSetFlagsL test SetFlags of CHgScroller |
|
497 * @since S60 5.0 |
|
498 * @param aItem never used |
|
499 * @return Symbian OS error code. |
|
500 */ |
|
501 virtual TInt TestCHgScrollerSetFlagsL( CStifItemParser& aItem ); |
|
502 |
|
503 /** |
|
504 * TestCHgScrollerClearFlagsL test ClearFlags of CHgScroller |
|
505 * @since S60 5.0 |
|
506 * @param aItem never used |
|
507 * @return Symbian OS error code. |
|
508 */ |
|
509 virtual TInt TestCHgScrollerClearFlagsL( CStifItemParser& aItem ); |
|
510 |
|
511 /** |
|
512 * TestCHgScrollerFlagsL test Flags of CHgScroller |
|
513 * @since S60 5.0 |
|
514 * @param aItem never used |
|
515 * @return Symbian OS error code. |
|
516 */ |
|
517 virtual TInt TestCHgScrollerFlagsL( CStifItemParser& aItem ); |
|
518 |
|
519 /** |
|
520 * TestCHgScrollerHightlightItemL test HightlightItem of CHgScroller |
|
521 * @since S60 5.0 |
|
522 * @param aItem never used |
|
523 * @return Symbian OS error code. |
|
524 */ |
|
525 virtual TInt TestCHgScrollerHightlightItemL( CStifItemParser& aItem ); |
|
526 |
|
527 /** |
|
528 * TestCHgScrollerSetDefaultIconL test SetDefaultIconL of CHgScroller |
|
529 * @since S60 5.0 |
|
530 * @param aItem never used |
|
531 * @return Symbian OS error code. |
|
532 */ |
|
533 virtual TInt TestCHgScrollerSetDefaultIconL( CStifItemParser& aItem ); |
|
534 |
|
535 /** |
|
536 * TestCHgScrollerDisableScrollBufferL test DisableScrollBuffer of CHgScroller |
|
537 * @since S60 5.0 |
|
538 * @param aItem never used |
|
539 * @return Symbian OS error code. |
|
540 */ |
|
541 virtual TInt TestCHgScrollerDisableScrollBufferL( CStifItemParser& aItem ); |
|
542 |
|
543 /** |
|
544 * TestCHgScrollerWithTitleNewL test NewL of CHgScrollerWithTitle |
|
545 * @since S60 5.0 |
|
546 * @param aItem never used |
|
547 * @return Symbian OS error code. |
|
548 */ |
|
549 virtual TInt TestCHgScrollerWithTitleNewL( CStifItemParser& aItem ); |
|
550 |
|
551 /** |
|
552 * TestCHgScrollerWithTitleInitScreenL test InitScreenL of CHgScrollerWithTitle |
|
553 * @since S60 5.0 |
|
554 * @param aItem never used |
|
555 * @return Symbian OS error code. |
|
556 */ |
|
557 virtual TInt TestCHgScrollerWithTitleInitScreenL( CStifItemParser& aItem ); |
|
558 |
|
559 /** |
|
560 * TestCHgScrollerWithTitleScrollerL test Scroller of CHgScrollerWithTitle |
|
561 * @since S60 5.0 |
|
562 * @param aItem never used |
|
563 * @return Symbian OS error code. |
|
564 */ |
|
565 virtual TInt TestCHgScrollerWithTitleScrollerL( CStifItemParser& aItem ); |
|
566 |
|
567 /** |
|
568 * TestCHgScrollerWithTitleTitleItemL test TitleItem of CHgScrollerWithTitle |
|
569 * @since S60 5.0 |
|
570 * @param aItem never used |
|
571 * @return Symbian OS error code. |
|
572 */ |
|
573 virtual TInt TestCHgScrollerWithTitleTitleItemL( CStifItemParser& aItem ); |
|
574 |
|
575 /** |
|
576 * TestCHgScrollerWithTitlePreferredImageSize test PreferredImageSize of CHgScrollerWithTitle |
|
577 * @since S60 5.0 |
|
578 * @param aItem never used |
|
579 * @return Symbian OS error code. |
|
580 */ |
|
581 virtual TInt TestCHgScrollerWithTitlePreferredImageSize( CStifItemParser& aItem ); |
|
582 |
|
583 /** |
|
584 * TestCHgSingleGraphicListNewL test NewL of CHgSingleGraphicList |
|
585 * @since S60 5.0 |
|
586 * @param aItem never used |
|
587 * @return Symbian OS error code. |
|
588 */ |
|
589 virtual TInt TestCHgSingleGraphicListNewL( CStifItemParser& aItem ); |
|
590 |
|
591 /** |
|
592 * TestCHgSingleGraphicListPreferredImageSize test PreferredImageSize of CHgSingleGraphicList |
|
593 * @since S60 5.0 |
|
594 * @param aItem never used |
|
595 * @return Symbian OS error code. |
|
596 */ |
|
597 virtual TInt TestCHgSingleGraphicListPreferredImageSize( CStifItemParser& aItem ); |
|
598 |
|
599 /** |
|
600 * TestCHgSingleLargeListNewL test NewL of CHgSingleLargeList |
|
601 * @since S60 5.0 |
|
602 * @param aItem never used |
|
603 * @return Symbian OS error code. |
|
604 */ |
|
605 virtual TInt TestCHgSingleLargeListNewL( CStifItemParser& aItem ); |
|
606 |
|
607 /** |
|
608 * TestCHgSingleLargeListPreferredImageSize test PreferredImageSize of CHgSingleLargeList |
|
609 * @since S60 5.0 |
|
610 * @param aItem never used |
|
611 * @return Symbian OS error code. |
|
612 */ |
|
613 virtual TInt TestCHgSingleLargeListPreferredImageSize( CStifItemParser& aItem ); |
|
614 |
|
615 /** |
|
616 * TestCHgSingleTextListL test of CHgSingleTextList |
|
617 * @since S60 5.0 |
|
618 * @param aItem never used |
|
619 * @return Symbian OS error code. |
|
620 */ |
|
621 virtual TInt TestCHgSingleTextListL( CStifItemParser& aItem ); |
|
622 |
|
623 /** |
|
624 * TestCHgVgMediaWallNewL test NewL of CHgVgMediaWall |
|
625 * @since S60 5.0 |
|
626 * @param aItem never used |
|
627 * @return Symbian OS error code. |
|
628 */ |
|
629 virtual TInt TestCHgVgMediaWallNewL( CStifItemParser& aItem ); |
|
630 |
|
631 /** |
|
632 * TestCHgVgMediaWallInitScreenL test InitScreenL of CHgVgMediaWall |
|
633 * @since S60 5.0 |
|
634 * @param aItem never used |
|
635 * @return Symbian OS error code. |
|
636 */ |
|
637 virtual TInt TestCHgVgMediaWallInitScreenL( CStifItemParser& aItem ); |
|
638 |
|
639 |
|
640 /** |
|
641 * TestCHgVgMediaWallRefreshScreen test RefreshScreen of CHgVgMediaWall |
|
642 * @since S60 5.0 |
|
643 * @param aItem never used |
|
644 * @return Symbian OS error code. |
|
645 */ |
|
646 virtual TInt TestCHgVgMediaWallRefreshScreen( CStifItemParser& aItem ); |
|
647 |
|
648 |
|
649 /** |
|
650 * TestCHgVgMediaWallFirstIndexOnScreen test FirstIndexOnScreen of CHgVgMediaWall |
|
651 * @since S60 5.0 |
|
652 * @param aItem never used |
|
653 * @return Symbian OS error code. |
|
654 */ |
|
655 virtual TInt TestCHgVgMediaWallFirstIndexOnScreen( CStifItemParser& aItem ); |
|
656 |
|
657 /** |
|
658 * TestCHgVgMediaWallItemsOnScreen test ItemsOnScreen of CHgVgMediaWall |
|
659 * @since S60 5.0 |
|
660 * @param aItem never used |
|
661 * @return Symbian OS error code. |
|
662 */ |
|
663 virtual TInt TestCHgVgMediaWallItemsOnScreen( CStifItemParser& aItem ); |
|
664 |
|
665 /** |
|
666 * TestCHgVgMediaWallItemL test ItemL of CHgVgMediaWall |
|
667 * @since S60 5.0 |
|
668 * @param aItem never used |
|
669 * @return Symbian OS error code. |
|
670 */ |
|
671 virtual TInt TestCHgVgMediaWallItemL( CStifItemParser& aItem ); |
|
672 |
|
673 /** |
|
674 * TestCHgVgMediaWallSetItem test SetItem of CHgVgMediaWall |
|
675 * @since S60 5.0 |
|
676 * @param aItem never used |
|
677 * @return Symbian OS error code. |
|
678 */ |
|
679 virtual TInt TestCHgVgMediaWallSetItem( CStifItemParser& aItem ); |
|
680 |
|
681 /** |
|
682 * TestCHgVgMediaWallAddItem test AddItem of CHgVgMediaWall |
|
683 * @since S60 5.0 |
|
684 * @param aItem never used |
|
685 * @return Symbian OS error code. |
|
686 */ |
|
687 virtual TInt TestCHgVgMediaWallAddItem( CStifItemParser& aItem ); |
|
688 |
|
689 /** |
|
690 * TestCHgVgMediaWallInsertItem test InsertItem of CHgVgMediaWall |
|
691 * @since S60 5.0 |
|
692 * @param aItem never used |
|
693 * @return Symbian OS error code. |
|
694 */ |
|
695 virtual TInt TestCHgVgMediaWallInsertItem( CStifItemParser& aItem ); |
|
696 |
|
697 /** |
|
698 * TestCHgVgMediaWallRemoveItem test InsertItem of CHgVgMediaWall |
|
699 * @since S60 5.0 |
|
700 * @param aItem never used |
|
701 * @return Symbian OS error code. |
|
702 */ |
|
703 virtual TInt TestCHgVgMediaWallRemoveItem( CStifItemParser& aItem ); |
|
704 |
|
705 |
|
706 /** |
|
707 * TestCHgVgMediaWallSelectedIndex test SelectedIndex of CHgVgMediaWall |
|
708 * @since S60 5.0 |
|
709 * @param aItem never used |
|
710 * @return Symbian OS error code. |
|
711 */ |
|
712 virtual TInt TestCHgVgMediaWallSelectedIndex( CStifItemParser& aItem ); |
|
713 |
|
714 |
|
715 /** |
|
716 * TestCHgVgMediaWallSetSelectedIndex test SetSelectedIndex of CHgVgMediaWall |
|
717 * @since S60 5.0 |
|
718 * @param aItem never used |
|
719 * @return Symbian OS error code. |
|
720 */ |
|
721 virtual TInt TestCHgVgMediaWallSetSelectedIndex( CStifItemParser& aItem ); |
|
722 |
|
723 |
|
724 /** |
|
725 * TestCHgVgMediaWallEnableScrollBufferL test EnableScrollBufferL of CHgVgMediaWall |
|
726 * @since S60 5.0 |
|
727 * @param aItem never used |
|
728 * @return Symbian OS error code. |
|
729 */ |
|
730 virtual TInt TestCHgVgMediaWallEnableScrollBufferL( CStifItemParser& aItem ); |
|
731 |
|
732 |
|
733 /** |
|
734 * TestCHgVgMediaWallSetSelectionObserver test SetSelectionObserver of CHgVgMediaWall |
|
735 * @since S60 5.0 |
|
736 * @param aItem never used |
|
737 * @return Symbian OS error code. |
|
738 */ |
|
739 virtual TInt TestCHgVgMediaWallSetSelectionObserver( CStifItemParser& aItem ); |
|
740 |
|
741 /** |
|
742 * TestCHgVgMediaWallSetSelectionReset test Reset of CHgVgMediaWall |
|
743 * @since S60 5.0 |
|
744 * @param aItem never used |
|
745 * @return Symbian OS error code. |
|
746 */ |
|
747 virtual TInt TestCHgVgMediaWallReset( CStifItemParser& aItem ); |
|
748 |
|
749 /** |
|
750 * TestCHgVgMediaWallSetSelectionResizeL test ResizeL of CHgVgMediaWall |
|
751 * @since S60 5.0 |
|
752 * @param aItem never used |
|
753 * @return Symbian OS error code. |
|
754 */ |
|
755 virtual TInt TestCHgVgMediaWallResizeL( CStifItemParser& aItem ); |
|
756 |
|
757 /** |
|
758 * TestCHgVgMediaWallSetEmptyTextL test SetEmptyTextL of CHgVgMediaWall |
|
759 * @since S60 5.0 |
|
760 * @param aItem never used |
|
761 * @return Symbian OS error code. |
|
762 */ |
|
763 virtual TInt TestCHgVgMediaWallSetEmptyTextL( CStifItemParser& aItem ); |
|
764 |
|
765 |
|
766 /** |
|
767 * TestCHgVgMediaWallItemCount test ItemCount of CHgVgMediaWall |
|
768 * @since S60 5.0 |
|
769 * @param aItem never used |
|
770 * @return Symbian OS error code. |
|
771 */ |
|
772 virtual TInt TestCHgVgMediaWallItemCount( CStifItemParser& aItem ); |
|
773 |
|
774 /** |
|
775 * TestCHgVgMediaWallSetDefaultIconL test SetDefaultIconL of CHgVgMediaWall |
|
776 * @since S60 5.0 |
|
777 * @param aItem never used |
|
778 * @return Symbian OS error code. |
|
779 */ |
|
780 virtual TInt TestCHgVgMediaWallSetDefaultIconL( CStifItemParser& aItem ); |
|
781 |
|
782 /** |
|
783 * TestCHgVgMediaWallDisableScrollBuffer test DisableScrollBuffer of CHgVgMediaWall |
|
784 * @since S60 5.0 |
|
785 * @param aItem never used |
|
786 * @return Symbian OS error code. |
|
787 */ |
|
788 virtual TInt TestCHgVgMediaWallDisableScrollBuffer( CStifItemParser& aItem ); |
|
789 |
|
790 |
|
791 /** |
|
792 * TestCHgVgMediaWallChangeStyleL test ChangeStyleL of CHgVgMediaWall |
|
793 * @since S60 5.0 |
|
794 * @param aItem never used |
|
795 * @return Symbian OS error code. |
|
796 */ |
|
797 virtual TInt TestCHgVgMediaWallChangeStyleL( CStifItemParser& aItem ); |
|
798 |
|
799 /** |
|
800 * TestCHgVgMediaWallSetObserver test SetObserver of CHgVgMediaWall |
|
801 * @since S60 5.0 |
|
802 * @param aItem never used |
|
803 * @return Symbian OS error code. |
|
804 */ |
|
805 virtual TInt TestCHgVgMediaWallSetObserver( CStifItemParser& aItem ); |
|
806 |
|
807 /** |
|
808 * TestCHgVgMediaWallSetOpeningAnimationType test SetOpeningAnimationType of CHgVgMediaWall |
|
809 * @since S60 5.0 |
|
810 * @param aItem never used |
|
811 * @return Symbian OS error code. |
|
812 */ |
|
813 virtual TInt TestCHgVgMediaWallSetOpeningAnimationType( CStifItemParser& aItem ); |
|
814 |
|
815 /** |
|
816 * TestCHgVgMediaWallStyle test Style of CHgVgMediaWall |
|
817 * @since S60 5.0 |
|
818 * @param aItem never used |
|
819 * @return Symbian OS error code. |
|
820 */ |
|
821 virtual TInt TestCHgVgMediaWallStyle( CStifItemParser& aItem ); |
|
822 |
|
823 /** |
|
824 * TestCHgVgMediaWallOpeningAnimationType test OpeningAnimationType of CHgVgMediaWall |
|
825 * @since S60 5.0 |
|
826 * @param aItem never used |
|
827 * @return Symbian OS error code. |
|
828 */ |
|
829 virtual TInt TestCHgVgMediaWallOpeningAnimationType( CStifItemParser& aItem ); |
|
830 |
|
831 /** |
|
832 * TestCHgVgMediaWallStartOpeningAnimationL test StartOpeningAnimationL of CHgVgMediaWall |
|
833 * @since S60 5.0 |
|
834 * @param aItem never used |
|
835 * @return Symbian OS error code. |
|
836 */ |
|
837 virtual TInt TestCHgVgMediaWallStartOpeningAnimationL( CStifItemParser& aItem ); |
|
838 |
|
839 /** |
|
840 * TestCHgVgItemNewL test NewL of CHgVgItem |
|
841 * @since S60 5.0 |
|
842 * @param aItem never used |
|
843 * @return Symbian OS error code. |
|
844 */ |
|
845 virtual TInt TestCHgVgItemNewL( CStifItemParser& aItem ); |
|
846 |
|
847 /** |
|
848 * TestCHgVgItemNewLC test NewLC of CHgVgItem |
|
849 * @since S60 5.0 |
|
850 * @param aItem never used |
|
851 * @return Symbian OS error code. |
|
852 */ |
|
853 virtual TInt TestCHgVgItemNewLC( CStifItemParser& aItem ); |
|
854 |
|
855 /** |
|
856 * TestCHgVgItemSetIcon test SetIcon of CHgVgItem |
|
857 * @since S60 5.0 |
|
858 * @param aItem never used |
|
859 * @return Symbian OS error code. |
|
860 */ |
|
861 virtual TInt TestCHgVgItemSetIcon( CStifItemParser& aItem ); |
|
862 |
|
863 /** |
|
864 * TestCHgSingleTextListWithIconNewL test NewL of CHgSingleTextListWithIcon |
|
865 * @since S60 5.0 |
|
866 * @param aItem never used |
|
867 * @return Symbian OS error code. |
|
868 */ |
|
869 virtual TInt TestCHgSingleTextListWithIconNewL( CStifItemParser& aItem ); |
|
870 |
|
871 |
|
872 private: // Data |
|
873 |
|
874 /** |
|
875 * ScreenSaver Property |
|
876 */ |
|
877 TInt iOldScreenSaverProperty; |
|
878 |
|
879 }; |
|
880 |
|
881 #endif // C_TESTPLATGANE_H |
|
882 |
|
883 // End of File |
|
884 |
|