|
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: Test application_framework_api |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 #ifndef C_TESTSDKAPPFW_H |
|
21 #define C_TESTSDKAPPFW_H |
|
22 |
|
23 // INCLUDES |
|
24 #include <stiflogger.h> |
|
25 #include <testscripterinternal.h> |
|
26 #include <stiftestmodule.h> |
|
27 #include <testclassassert.h> |
|
28 |
|
29 #include <aknapp.h> |
|
30 #include <aknappui.h> |
|
31 #include <akndoc.h> |
|
32 #include <aknview.h> |
|
33 #include <aknviewappui.h> |
|
34 |
|
35 // MACROS |
|
36 #define TEST_CLASS_VERSION_MAJOR 0 |
|
37 #define TEST_CLASS_VERSION_MINOR 0 |
|
38 #define TEST_CLASS_VERSION_BUILD 0 |
|
39 |
|
40 // Logging path |
|
41 _LIT( KtestsdkappfwLogPath, "\\logs\\testframework\\testsdkappfw\\" ); |
|
42 // Log file |
|
43 _LIT( KtestsdkappfwLogFile, "testsdkappfw.txt" ); |
|
44 _LIT( KtestsdkappfwLogFileWithTitle, "testsdkappfw_[%S].txt" ); |
|
45 |
|
46 /** |
|
47 * CTestSDKAppFW test class for STIF Test Framework TestScripter. |
|
48 * @since S60 5.0 |
|
49 */ |
|
50 NONSHARABLE_CLASS( CTestSDKAppFW ) : public CScriptBase |
|
51 { |
|
52 public: // Constructors and destructor |
|
53 |
|
54 /** |
|
55 * Two-phased constructor. |
|
56 */ |
|
57 static CTestSDKAppFW* NewL( CTestModuleIf& aTestModuleIf ); |
|
58 |
|
59 /** |
|
60 * Destructor. |
|
61 */ |
|
62 virtual ~CTestSDKAppFW(); |
|
63 |
|
64 public: // Functions from base classes |
|
65 |
|
66 /** |
|
67 * From CScriptBase Runs a script line. |
|
68 * @since S60 5.0 |
|
69 * @param aItem Script line containing method name and parameters |
|
70 * @return Symbian OS error code |
|
71 */ |
|
72 virtual TInt RunMethodL( CStifItemParser& aItem ); |
|
73 |
|
74 private: |
|
75 |
|
76 /** |
|
77 * C++ default constructor. |
|
78 */ |
|
79 CTestSDKAppFW( CTestModuleIf& aTestModuleIf ); |
|
80 |
|
81 /** |
|
82 * By default Symbian 2nd phase constructor is private. |
|
83 */ |
|
84 void ConstructL(); |
|
85 |
|
86 /** |
|
87 * Frees all resources allocated from test methods. |
|
88 * @since S60 5.0 |
|
89 */ |
|
90 void Delete(); |
|
91 |
|
92 /** |
|
93 * Method used to log version of test class |
|
94 */ |
|
95 void SendTestClassVersion(); |
|
96 |
|
97 /** |
|
98 * Turn off ScreenSaver |
|
99 * @since S60 5.0 |
|
100 * @return Symbian OS error code. |
|
101 */ |
|
102 void TurnOffScreenSaver(); |
|
103 |
|
104 /** |
|
105 * Restore ScreenSaver |
|
106 * @since S60 5.0 |
|
107 * @return Symbian OS error code. |
|
108 */ |
|
109 void RestoreScreenSaver(); |
|
110 |
|
111 //[TestMethods] |
|
112 |
|
113 private: // For aknApp.h |
|
114 |
|
115 /** |
|
116 * TestAppPreDocConstructL test function for testing the PreDocConstructL function |
|
117 * @since S60 5.0 |
|
118 * @param aItem never used |
|
119 * @return Symbian OS error code. |
|
120 */ |
|
121 virtual TInt TestAppPreDocConstructL( CStifItemParser& /*aItem*/ ); |
|
122 |
|
123 /** |
|
124 * TestAppOpenIniFileLC test function for testing the OpenIniFileLC function |
|
125 * @since S60 5.0 |
|
126 * @param aItem never used |
|
127 * @return Symbian OS error code. |
|
128 */ |
|
129 virtual TInt TestAppOpenIniFileLC( CStifItemParser& /*aItem*/ ); |
|
130 |
|
131 /** |
|
132 * TestAppNewAppServerL test function for testing the NewAppServerL function |
|
133 * @since S60 5.0 |
|
134 * @param aItem never used |
|
135 * @return Symbian OS error code. |
|
136 */ |
|
137 virtual TInt TestAppNewAppServerL( CStifItemParser& /*aItem*/ ); |
|
138 |
|
139 private: // For AknAppUi.h |
|
140 |
|
141 /** |
|
142 * TestAppUiBaseCAknAppUiBaseL test function for testing the CAknAppUiBase function |
|
143 * @since S60 5.0 |
|
144 * @param aItem never used |
|
145 * @return Symbian OS error code. |
|
146 */ |
|
147 virtual TInt TestAppUiBaseCAknAppUiBaseL( CStifItemParser& /*aItem*/ ); |
|
148 |
|
149 /** |
|
150 * TestAppUiBBaseConstructL test function for testing the BaseConstructL function |
|
151 * @since S60 5.0 |
|
152 * @param aItem never used |
|
153 * @return Symbian OS error code. |
|
154 */ |
|
155 virtual TInt TestAppUiBBaseConstructL( CStifItemParser& /*aItem*/ ); |
|
156 |
|
157 /** |
|
158 * TestAppUiBaseHandleForegroundEventL test function for testing the |
|
159 * HandleForegroundEventL function |
|
160 * @since S60 5.0 |
|
161 * @param aItem never used |
|
162 * @return Symbian OS error code. |
|
163 */ |
|
164 virtual TInt TestAppUiBaseHandleForegroundEventL( CStifItemParser& /*aItem*/ ); |
|
165 |
|
166 /** |
|
167 * TestAppUiBConstructL test function for testing the ConstructL function |
|
168 * @since S60 5.0 |
|
169 * @param aItem never used |
|
170 * @return Symbian OS error code. |
|
171 */ |
|
172 virtual TInt TestAppUiBConstructL( CStifItemParser& /*aItem*/ ); |
|
173 |
|
174 /** |
|
175 * TestAppUiBaseExitL test function for testing the Exit function |
|
176 * @since S60 5.0 |
|
177 * @param aItem never used |
|
178 * @return Symbian OS error code. |
|
179 */ |
|
180 virtual TInt TestAppUiBaseExitL( CStifItemParser& /*aItem*/ ); |
|
181 |
|
182 /** |
|
183 * TestAppUiBaseSetFadedL test function for testing the SetFadedL function |
|
184 * @since S60 5.0 |
|
185 * @param aItem never used |
|
186 * @return Symbian OS error code. |
|
187 */ |
|
188 virtual TInt TestAppUiBaseSetFadedL( CStifItemParser& /*aItem*/ ); |
|
189 |
|
190 /** |
|
191 * TestAppUiBaseHandleResourceChangeL test function for testing the HandleResourceChangeL function |
|
192 * @since S60 5.0 |
|
193 * @param aItem never used |
|
194 * @return Symbian OS error code. |
|
195 */ |
|
196 virtual TInt TestAppUiBaseHandleResourceChangeL( CStifItemParser& /*aItem*/ ); |
|
197 |
|
198 /** |
|
199 * TestAppUiBaseApplicationRect test function for testing the ApplicationRect function |
|
200 * @since S60 5.0 |
|
201 * @param aItem never used |
|
202 * @return Symbian OS error code. |
|
203 */ |
|
204 virtual TInt TestAppUiBaseApplicationRect( CStifItemParser& /*aItem*/ ); |
|
205 |
|
206 /** |
|
207 * TestAppUiBasePrepareToExit test function for testing the PrepareToExit function |
|
208 * @since S60 5.0 |
|
209 * @param aItem never used |
|
210 * @return Symbian OS error code. |
|
211 */ |
|
212 virtual TInt TestAppUiBasePrepareToExit( CStifItemParser& /*aItem*/ ); |
|
213 |
|
214 /** |
|
215 * TestAppUiBaseIsFadedL test function for testing the IsFaded function |
|
216 * @since S60 5.0 |
|
217 * @param aItem never used |
|
218 * @return Symbian OS error code. |
|
219 */ |
|
220 virtual TInt TestAppUiBaseIsFadedL( CStifItemParser& /*aItem*/ ); |
|
221 |
|
222 /** |
|
223 * TestAppUiBaseEventMonitor test function for testing the EventMonitor function |
|
224 * @since S60 5.0 |
|
225 * @param aItem never used |
|
226 * @return Symbian OS error code. |
|
227 */ |
|
228 virtual TInt TestAppUiBaseEventMonitor( CStifItemParser& /*aItem*/ ); |
|
229 |
|
230 /** |
|
231 * TestAppUiBaseKeySounds test function for testing the KeySounds function |
|
232 * @since S60 5.0 |
|
233 * @param aItem never used |
|
234 * @return Symbian OS error code. |
|
235 */ |
|
236 virtual TInt TestAppUiBaseKeySounds( CStifItemParser& /*aItem*/ ); |
|
237 |
|
238 /** |
|
239 * TestAppUiBaseIsFullScreenAppL test function for testing the IsFullScreenApp function |
|
240 * @since S60 5.0 |
|
241 * @param aItem never used |
|
242 * @return Symbian OS error code. |
|
243 */ |
|
244 virtual TInt TestAppUiBaseIsFullScreenAppL( CStifItemParser& /*aItem*/ ); |
|
245 |
|
246 /** |
|
247 * TestAppUiBaseIsLayoutAwareApp test function for testing the IsLayoutAwareApp function |
|
248 * @since S60 5.0 |
|
249 * @param aItem never used |
|
250 * @return Symbian OS error code. |
|
251 */ |
|
252 virtual TInt TestAppUiBaseIsLayoutAwareApp( CStifItemParser& /*aItem*/ ); |
|
253 |
|
254 /** |
|
255 * TestAppUiBaseSetLayoutAwareApp test function for testing the SetLayoutAwareApp function |
|
256 * @since S60 5.0 |
|
257 * @param aItem never used |
|
258 * @return Symbian OS error code. |
|
259 */ |
|
260 virtual TInt TestAppUiBaseSetLayoutAwareApp( CStifItemParser& /*aItem*/ ); |
|
261 |
|
262 /** |
|
263 * TestAppUiBaseIsForeground test function for testing the IsForeground function |
|
264 * @since S60 5.0 |
|
265 * @param aItem never used |
|
266 * @return Symbian OS error code. |
|
267 */ |
|
268 virtual TInt TestAppUiBaseIsForeground( CStifItemParser& /*aItem*/ ); |
|
269 |
|
270 /** |
|
271 * TestAppUiBaseIsPartialForeground test function for testing the IsPartialForeground function |
|
272 * @since S60 5.0 |
|
273 * @param aItem never used |
|
274 * @return Symbian OS error code. |
|
275 */ |
|
276 virtual TInt TestAppUiBaseIsPartialForeground( CStifItemParser& /*aItem*/ ); |
|
277 |
|
278 /** |
|
279 * TestAppUiBaseOrientationL test function for testing the Orientation function |
|
280 * @since S60 5.0 |
|
281 * @param aItem never used |
|
282 * @return Symbian OS error code. |
|
283 */ |
|
284 virtual TInt TestAppUiBaseOrientationL( CStifItemParser& /*aItem*/ ); |
|
285 |
|
286 /** |
|
287 * TestAppUiBaseOrientationCanBeChanged test function for testing the OrientationCanBeChanged function |
|
288 * @since S60 5.0 |
|
289 * @param aItem never used |
|
290 * @return Symbian OS error code. |
|
291 */ |
|
292 virtual TInt TestAppUiBaseOrientationCanBeChanged( CStifItemParser& /*aItem*/ ); |
|
293 |
|
294 /** |
|
295 * TestAppUiBaseSetOrientationL test function for testing the SetOrientationL function |
|
296 * @since S60 5.0 |
|
297 * @param aItem never used |
|
298 * @return Symbian OS error code. |
|
299 */ |
|
300 virtual TInt TestAppUiBaseSetOrientationL( CStifItemParser& /*aItem*/ ); |
|
301 |
|
302 /** |
|
303 * TestAppUiBaseLocalUiZoom test function for testing the LocalUiZoom function |
|
304 * @since S60 5.0 |
|
305 * @param aItem never used |
|
306 * @return Symbian OS error code. |
|
307 */ |
|
308 virtual TInt TestAppUiBaseLocalUiZoom( CStifItemParser& /*aItem*/ ); |
|
309 |
|
310 /** |
|
311 * TestAppUiBaseSetLocalUiZoom test function for testing the SetLocalUiZoom function |
|
312 * @since S60 5.0 |
|
313 * @param aItem never used |
|
314 * @return Symbian OS error code. |
|
315 */ |
|
316 virtual TInt TestAppUiBaseSetLocalUiZoom( CStifItemParser& /*aItem*/ ); |
|
317 |
|
318 /** |
|
319 * TestAppUiBaseApplyLayoutChangeL test function for testing the ApplyLayoutChangeL function |
|
320 * @since S60 5.0 |
|
321 * @param aItem never used |
|
322 * @return Symbian OS error code. |
|
323 */ |
|
324 virtual TInt TestAppUiBaseApplyLayoutChangeL( CStifItemParser& /*aItem*/ ); |
|
325 |
|
326 /** |
|
327 * TestAppUiBaseSetKeyEventFlags test function for testing the SetKeyEventFlags function |
|
328 * @since S60 5.0 |
|
329 * @param aItem never used |
|
330 * @return Symbian OS error code. |
|
331 */ |
|
332 virtual TInt TestAppUiBaseSetKeyEventFlags( CStifItemParser& /*aItem*/ ); |
|
333 |
|
334 /** |
|
335 * TestAppUiBasePointerEventModifier test function for testing the PointerEventModifier function |
|
336 * @since S60 5.0 |
|
337 * @param aItem never used |
|
338 * @return Symbian OS error code. |
|
339 */ |
|
340 virtual TInt TestAppUiBasePointerEventModifier( CStifItemParser& /*aItem*/ ); |
|
341 |
|
342 /** |
|
343 * TestAppUiBaseHandleScreenDeviceChangedL test function for testing the |
|
344 * HandleScreenDeviceChangedL function |
|
345 * @since S60 5.0 |
|
346 * @param aItem never used |
|
347 * @return Symbian OS error code. |
|
348 */ |
|
349 virtual TInt TestAppUiBaseHandleScreenDeviceChangedL( CStifItemParser& /*aItem*/ ); |
|
350 |
|
351 /** |
|
352 * TestAppUiBaseHandleApplicationSpecificEventL test function for testing the |
|
353 * HandleApplicationSpecificEventL function |
|
354 * @since S60 5.0 |
|
355 * @param aItem never used |
|
356 * @return Symbian OS error code. |
|
357 */ |
|
358 virtual TInt TestAppUiBaseHandleApplicationSpecificEventL( CStifItemParser& /*aItem*/ ); |
|
359 |
|
360 /** |
|
361 * TestAppUiBaseSetFullScreenAppL test function for testing the SetFullScreenApp function |
|
362 * @since S60 5.0 |
|
363 * @param aItem never used |
|
364 * @return Symbian OS error code. |
|
365 */ |
|
366 virtual TInt TestAppUiBaseSetFullScreenAppL( CStifItemParser& /*aItem*/ ); |
|
367 |
|
368 /** |
|
369 * TestAppUiBaseReplaceKeySoundsL test function for testing the ReplaceKeySoundsL function |
|
370 * @since S60 5.0 |
|
371 * @param aItem never used |
|
372 * @return Symbian OS error code. |
|
373 */ |
|
374 virtual TInt TestAppUiBaseReplaceKeySoundsL( CStifItemParser& /*aItem*/ ); |
|
375 |
|
376 /** |
|
377 * TestAppUiBaseMopSupplyObject test function for testing the MopSupplyObject function |
|
378 * @since S60 5.0 |
|
379 * @param aItem never used |
|
380 * @return Symbian OS error code. |
|
381 */ |
|
382 virtual TInt TestAppUiBaseMopSupplyObject( CStifItemParser& /*aItem*/ ); |
|
383 |
|
384 /** |
|
385 * TestAppUiBaseConstructL test function for testing the BaseConstructL function |
|
386 * @since S60 5.0 |
|
387 * @param aItem never used |
|
388 * @return Symbian OS error code. |
|
389 */ |
|
390 virtual TInt TestAppUiBaseConstructL( CStifItemParser& /*aItem*/ ); |
|
391 |
|
392 /** |
|
393 * TestAppUiConstructL test function for testing the ConstructL function |
|
394 * @since S60 5.0 |
|
395 * @param aItem never used |
|
396 * @return Symbian OS error code. |
|
397 */ |
|
398 virtual TInt TestAppUiConstructL( CStifItemParser& /*aItem*/ ); |
|
399 |
|
400 /** |
|
401 * TestAppUiStatusPaneL test function for testing the StatusPane function |
|
402 * @since S60 5.0 |
|
403 * @param aItem never used |
|
404 * @return Symbian OS error code. |
|
405 */ |
|
406 virtual TInt TestAppUiStatusPaneL( CStifItemParser& /*aItem*/ ); |
|
407 |
|
408 /** |
|
409 * TestAppUiCba test function for testing the Cba function |
|
410 * @since S60 5.0 |
|
411 * @param aItem never used |
|
412 * @return Symbian OS error code. |
|
413 */ |
|
414 virtual TInt TestAppUiCba( CStifItemParser& /*aItem*/ ); |
|
415 |
|
416 /** |
|
417 * TestAppUiTouchPane test function for testing the TouchPane function |
|
418 * @since S60 5.0 |
|
419 * @param aItem never used |
|
420 * @return Symbian OS error code. |
|
421 */ |
|
422 virtual TInt TestAppUiTouchPane( CStifItemParser& /*aItem*/ ); |
|
423 |
|
424 /** |
|
425 * TestAppUiPopupToolbar test function for testing the PopupToolbar function |
|
426 * @since S60 5.0 |
|
427 * @param aItem never used |
|
428 * @return Symbian OS error code. |
|
429 */ |
|
430 virtual TInt TestAppUiPopupToolbar( CStifItemParser& /*aItem*/ ); |
|
431 |
|
432 /** |
|
433 * TestAppUiCurrentPopupToolbar test function for testing the CurrentPopupToolbar function |
|
434 * @since S60 5.0 |
|
435 * @param aItem never used |
|
436 * @return Symbian OS error code. |
|
437 */ |
|
438 virtual TInt TestAppUiCurrentPopupToolbar( CStifItemParser& /*aItem*/ ); |
|
439 |
|
440 /** |
|
441 * TestAppUiCurrentFixedToolbar test function for testing the CurrentFixedToolbar function |
|
442 * @since S60 5.0 |
|
443 * @param aItem never used |
|
444 * @return Symbian OS error code. |
|
445 */ |
|
446 virtual TInt TestAppUiCurrentFixedToolbar( CStifItemParser& /*aItem*/ ); |
|
447 |
|
448 /** |
|
449 * TestAppUiProcessCommandL test function for testing the ProcessCommandL function |
|
450 * @since S60 5.0 |
|
451 * @param aItem never used |
|
452 * @return Symbian OS error code. |
|
453 */ |
|
454 virtual TInt TestAppUiProcessCommandL( CStifItemParser& /*aItem*/ ); |
|
455 |
|
456 /** |
|
457 * TestAppUiHandleError test function for testing the HandleError function |
|
458 * @since S60 5.0 |
|
459 * @param aItem never used |
|
460 * @return Symbian OS error code. |
|
461 */ |
|
462 virtual TInt TestAppUiHandleError( CStifItemParser& /*aItem*/ ); |
|
463 |
|
464 /** |
|
465 * TestAppUiRunAppShutterL test function for testing the RunAppShutter function |
|
466 * @since S60 5.0 |
|
467 * @param aItem never used |
|
468 * @return Symbian OS error code. |
|
469 */ |
|
470 virtual TInt TestAppUiRunAppShutterL( CStifItemParser& /*aItem*/ ); |
|
471 |
|
472 /** |
|
473 * TestAppUiIsAppShutterRunning test function for testing the IsAppShutterRunning function |
|
474 * @since S60 5.0 |
|
475 * @param aItem never used |
|
476 * @return Symbian OS error code. |
|
477 */ |
|
478 virtual TInt TestAppUiIsAppShutterRunning( CStifItemParser& /*aItem*/ ); |
|
479 |
|
480 /** |
|
481 * TestAppUiHandleViewDeactivation test function for testing the HandleViewDeactivation function |
|
482 * @since S60 5.0 |
|
483 * @param aItem never used |
|
484 * @return Symbian OS error code. |
|
485 */ |
|
486 virtual TInt TestAppUiHandleViewDeactivation( CStifItemParser& /*aItem*/ ); |
|
487 |
|
488 /** |
|
489 * TestAppUiPrepareToExit test function for testing the PrepareToExit function |
|
490 * @since S60 5.0 |
|
491 * @param aItem never used |
|
492 * @return Symbian OS error code. |
|
493 */ |
|
494 virtual TInt TestAppUiPrepareToExit( CStifItemParser& /*aItem*/ ); |
|
495 |
|
496 /** |
|
497 * TestAppUiHandleTouchPaneSizeChange test function for testing the HandleTouchPaneSizeChange function |
|
498 * @since S60 5.0 |
|
499 * @param aItem never used |
|
500 * @return Symbian OS error code. |
|
501 */ |
|
502 virtual TInt TestAppUiHandleTouchPaneSizeChange( CStifItemParser& /*aItem*/ ); |
|
503 |
|
504 /** |
|
505 * TestAppUiHandleStatusPaneSizeChange test function for testing the HandleStatusPaneSizeChange function |
|
506 * @since S60 5.0 |
|
507 * @param aItem never used |
|
508 * @return Symbian OS error code. |
|
509 */ |
|
510 virtual TInt TestAppUiHandleStatusPaneSizeChange( CStifItemParser& /*aItem*/ ); |
|
511 |
|
512 /** |
|
513 * TestAppUiHandleSystemEventL test function for testing the HandleSystemEventL function |
|
514 * @since S60 5.0 |
|
515 * @param aItem never used |
|
516 * @return Symbian OS error code. |
|
517 */ |
|
518 virtual TInt TestAppUiHandleSystemEventL( CStifItemParser& /*aItem*/ ); |
|
519 |
|
520 /** |
|
521 * TestAppUiReserved_MtsmPosition test function for testing the |
|
522 * Reserved_MtsmPosition function |
|
523 * @since S60 5.0 |
|
524 * @param aItem never used |
|
525 * @return Symbian OS error code. |
|
526 */ |
|
527 virtual TInt TestAppUiReserved_MtsmPosition( CStifItemParser& /*aItem*/ ); |
|
528 |
|
529 /** |
|
530 * TestAppUiReserved_MtsmObject test function for testing the |
|
531 * Reserved_MtsmObject function |
|
532 * @since S60 5.0 |
|
533 * @param aItem never used |
|
534 * @return Symbian OS error code. |
|
535 */ |
|
536 virtual TInt TestAppUiReserved_MtsmObject( CStifItemParser& /*aItem*/ ); |
|
537 |
|
538 /** |
|
539 * TestAppUiHandleForegroundEventL test function for testing the |
|
540 * HandleForegroundEventL function |
|
541 * @since S60 5.0 |
|
542 * @param aItem never used |
|
543 * @return Symbian OS error code. |
|
544 */ |
|
545 virtual TInt TestAppUiHandleForegroundEventL( CStifItemParser& /*aItem*/ ); |
|
546 |
|
547 /** |
|
548 * TestAppUiHandleWsEventL test function for testing the HandleWsEventL function |
|
549 * @since S60 5.0 |
|
550 * @param aItem never used |
|
551 * @return Symbian OS error code. |
|
552 */ |
|
553 virtual TInt TestAppUiHandleWsEventL( CStifItemParser& /*aItem*/ ); |
|
554 |
|
555 /** |
|
556 * TestAppUiSetKeyBlockMode test function for testing the SetKeyBlockMode function |
|
557 * @since S60 5.0 |
|
558 * @param aItem never used |
|
559 * @return Symbian OS error code. |
|
560 */ |
|
561 virtual TInt TestAppUiSetKeyBlockMode( CStifItemParser& /*aItem*/ ); |
|
562 |
|
563 /** |
|
564 * TestAppUiHandleErrorL test function for testing the HandleErrorL function |
|
565 * @since S60 5.0 |
|
566 * @param aItem never used |
|
567 * @return Symbian OS error code. |
|
568 */ |
|
569 virtual TInt TestAppUiHandleErrorL( CStifItemParser& /*aItem*/ ); |
|
570 |
|
571 /** |
|
572 * TestAppUiHideApplicationFromFSW test function for testing the |
|
573 * HideApplicationFromFSW function |
|
574 * @since S60 5.0 |
|
575 * @param aItem never used |
|
576 * @return Symbian OS error code. |
|
577 */ |
|
578 virtual TInt TestAppUiHideApplicationFromFSW( CStifItemParser& /*aItem*/ ); |
|
579 |
|
580 /** |
|
581 * TestAppUiGetAliasKeyCodeL test function for testing the GetAliasKeyCodeL function |
|
582 * @since S60 5.0 |
|
583 * @param aItem never used |
|
584 * @return Symbian OS error code. |
|
585 */ |
|
586 virtual TInt TestAppUiGetAliasKeyCodeL( CStifItemParser& /*aItem*/ ); |
|
587 |
|
588 /** |
|
589 * TestAppUiSetAliasKeyCodeResolverL test function for testing the |
|
590 * SetAliasKeyCodeResolverL function |
|
591 * @since S60 5.0 |
|
592 * @param aItem never used |
|
593 * @return Symbian OS error code. |
|
594 */ |
|
595 virtual TInt TestAppUiSetAliasKeyCodeResolverL( CStifItemParser& /*aItem*/ ); |
|
596 |
|
597 /** |
|
598 * TestAppUiCaptureKey test function for testing the CaptureKey function |
|
599 * @since S60 5.0 |
|
600 * @param aItem never used |
|
601 * @return Symbian OS error code. |
|
602 */ |
|
603 virtual TInt TestAppUiCaptureKey( CStifItemParser& /*aItem*/ ); |
|
604 |
|
605 /** |
|
606 * TestAppUiCaptureKeyL test function for testing the CaptureKeyL function |
|
607 * @since S60 5.0 |
|
608 * @param aItem never used |
|
609 * @return Symbian OS error code. |
|
610 */ |
|
611 virtual TInt TestAppUiCaptureKeyL( CStifItemParser& /*aItem*/ ); |
|
612 |
|
613 /** |
|
614 * TestAppUiExitHidesInBackground test function for testing the |
|
615 * ExitHidesInBackground function |
|
616 * @since S60 5.0 |
|
617 * @param aItem never used |
|
618 * @return Symbian OS error code. |
|
619 */ |
|
620 virtual TInt TestAppUiExitHidesInBackground( CStifItemParser& /*aItem*/ ); |
|
621 |
|
622 /** |
|
623 * TestAppUiHideInBackground test function for testing the HideInBackground function |
|
624 * @since S60 5.0 |
|
625 * @param aItem never used |
|
626 * @return Symbian OS error code. |
|
627 */ |
|
628 virtual TInt TestAppUiHideInBackground( CStifItemParser& /*aItem*/ ); |
|
629 |
|
630 private: // For AknDoc.h |
|
631 |
|
632 /** |
|
633 * TestDocOpenFileL test function for testing the OpenFileL function |
|
634 * @since S60 5.0 |
|
635 * @param aItem never used |
|
636 * @return Symbian OS error code. |
|
637 */ |
|
638 virtual TInt TestDocOpenFileL( CStifItemParser& /*aItem*/ ); |
|
639 |
|
640 /** |
|
641 * TestDocOpenFileLStoreL test function for testing the OpenFileL function |
|
642 * @since S60 5.0 |
|
643 * @param aItem never used |
|
644 * @return Symbian OS error code. |
|
645 */ |
|
646 virtual TInt TestDocOpenFileLStoreL( CStifItemParser& /*aItem*/ ); |
|
647 |
|
648 /** |
|
649 * TestDocCAknDocumentL test function for testing the CAknDocument function |
|
650 * @since S60 5.0 |
|
651 * @param aItem never used |
|
652 * @return Symbian OS error code. |
|
653 */ |
|
654 virtual TInt TestDocCAknDocumentL( CStifItemParser& /*aItem*/ ); |
|
655 |
|
656 private: // For aknview.h |
|
657 |
|
658 /** |
|
659 * TestViewCAknViewL test function for testing the CAknView function |
|
660 * @since S60 5.0 |
|
661 * @param aItem never used |
|
662 * @return Symbian OS error code. |
|
663 */ |
|
664 virtual TInt TestViewCAknViewL( CStifItemParser& /*aItem*/ ); |
|
665 |
|
666 /** |
|
667 * TestViewBaseConstructL test function for testing the BaseConstructL function |
|
668 * @since S60 5.0 |
|
669 * @param aItem never used |
|
670 * @return Symbian OS error code. |
|
671 */ |
|
672 virtual TInt TestViewBaseConstructL( CStifItemParser& /*aItem*/ ); |
|
673 |
|
674 /** |
|
675 * TestViewConstructMenuAndCbaEarlyL test function for testing the |
|
676 * ConstructMenuAndCbaEarlyL function |
|
677 * @since S60 5.0 |
|
678 * @param aItem never used |
|
679 * @return Symbian OS error code. |
|
680 */ |
|
681 virtual TInt TestViewConstructMenuAndCbaEarlyL( CStifItemParser& /*aItem*/ ); |
|
682 |
|
683 /** |
|
684 * TestViewActivateViewL test function for testing the ActivateViewL function |
|
685 * @since S60 5.0 |
|
686 * @param aItem never used |
|
687 * @return Symbian OS error code. |
|
688 */ |
|
689 virtual TInt TestViewActivateViewL( CStifItemParser& /*aItem*/ ); |
|
690 |
|
691 /** |
|
692 * TestViewActivateViewLCustomL test function for testing the ActivateViewL function |
|
693 * @since S60 5.0 |
|
694 * @param aItem never used |
|
695 * @return Symbian OS error code. |
|
696 */ |
|
697 virtual TInt TestViewActivateViewLCustomL( CStifItemParser& /*aItem*/ ); |
|
698 |
|
699 /** |
|
700 * TestViewIdL test function for testing the Id function |
|
701 * @since S60 5.0 |
|
702 * @param aItem never used |
|
703 * @return Symbian OS error code. |
|
704 */ |
|
705 virtual TInt TestViewIdL( CStifItemParser& /*aItem*/ ); |
|
706 |
|
707 /** |
|
708 * TestViewHandleStatusPaneSizeChangeL test function for testing the |
|
709 * HandleStatusPaneSizeChange function |
|
710 * @since S60 5.0 |
|
711 * @param aItem never used |
|
712 * @return Symbian OS error code. |
|
713 */ |
|
714 virtual TInt TestViewHandleStatusPaneSizeChangeL( CStifItemParser& /*aItem*/ ); |
|
715 |
|
716 /** |
|
717 * TestViewViewIdL test function for testing the ViewId function |
|
718 * @since S60 5.0 |
|
719 * @param aItem never used |
|
720 * @return Symbian OS error code. |
|
721 */ |
|
722 virtual TInt TestViewViewIdL( CStifItemParser& /*aItem*/ ); |
|
723 |
|
724 /** |
|
725 * TestViewProcessCommandL test function for testing the ProcessCommandL function |
|
726 * @since S60 5.0 |
|
727 * @param aItem never used |
|
728 * @return Symbian OS error code. |
|
729 */ |
|
730 virtual TInt TestViewProcessCommandL( CStifItemParser& /*aItem*/ ); |
|
731 |
|
732 /** |
|
733 * TestViewHandleCommandL test function for testing the HandleCommandL function |
|
734 * @since S60 5.0 |
|
735 * @param aItem never used |
|
736 * @return Symbian OS error code. |
|
737 */ |
|
738 virtual TInt TestViewHandleCommandL( CStifItemParser& /*aItem*/ ); |
|
739 |
|
740 /** |
|
741 * TestViewMenuBarL test function for testing the MenuBar function |
|
742 * @since S60 5.0 |
|
743 * @param aItem never used |
|
744 * @return Symbian OS error code. |
|
745 */ |
|
746 virtual TInt TestViewMenuBarL( CStifItemParser& /*aItem*/ ); |
|
747 |
|
748 /** |
|
749 * TestViewClientRectL test function for testing the ClientRect function |
|
750 * @since S60 5.0 |
|
751 * @param aItem never used |
|
752 * @return Symbian OS error code. |
|
753 */ |
|
754 virtual TInt TestViewClientRectL( CStifItemParser& /*aItem*/ ); |
|
755 |
|
756 /** |
|
757 * TestViewStopDisplayingMenuBarL test function for testing the |
|
758 * StopDisplayingMenuBar function |
|
759 * @since S60 5.0 |
|
760 * @param aItem never used |
|
761 * @return Symbian OS error code. |
|
762 */ |
|
763 virtual TInt TestViewStopDisplayingMenuBarL( CStifItemParser& /*aItem*/ ); |
|
764 |
|
765 /** |
|
766 * TestViewIsForegroundL test function for testing the IsForeground function |
|
767 * @since S60 5.0 |
|
768 * @param aItem never used |
|
769 * @return Symbian OS error code. |
|
770 */ |
|
771 virtual TInt TestViewIsForegroundL( CStifItemParser& /*aItem*/ ); |
|
772 |
|
773 /** |
|
774 * TestViewHandleViewRectChangeL test function for testing the |
|
775 * HandleViewRectChange function |
|
776 * @since S60 5.0 |
|
777 * @param aItem never used |
|
778 * @return Symbian OS error code. |
|
779 */ |
|
780 virtual TInt TestViewHandleViewRectChangeL( CStifItemParser& /*aItem*/ ); |
|
781 |
|
782 /** |
|
783 * TestViewRedrawL test function for testing the Redraw function |
|
784 * @since S60 5.0 |
|
785 * @param aItem never used |
|
786 * @return Symbian OS error code. |
|
787 */ |
|
788 virtual TInt TestViewRedrawL( CStifItemParser& /*aItem*/ ); |
|
789 |
|
790 /** |
|
791 * TestViewAknViewActivatedL test function for testing the |
|
792 * AknViewActivatedL function |
|
793 * @since S60 5.0 |
|
794 * @param aItem never used |
|
795 * @return Symbian OS error code. |
|
796 */ |
|
797 virtual TInt TestViewAknViewActivatedL( CStifItemParser& /*aItem*/ ); |
|
798 |
|
799 /** |
|
800 * TestViewAppUiL test function for testing the AppUi function |
|
801 * @since S60 5.0 |
|
802 * @param aItem never used |
|
803 * @return Symbian OS error code. |
|
804 */ |
|
805 virtual TInt TestViewAppUiL( CStifItemParser& /*aItem*/ ); |
|
806 |
|
807 /** |
|
808 * TestViewStatusPaneL test function for testing the StatusPane function |
|
809 * @since S60 5.0 |
|
810 * @param aItem never used |
|
811 * @return Symbian OS error code. |
|
812 */ |
|
813 virtual TInt TestViewStatusPaneL( CStifItemParser& /*aItem*/ ); |
|
814 |
|
815 /** |
|
816 * TestViewCbaL test function for testing the Cba function |
|
817 * @since S60 5.0 |
|
818 * @param aItem never used |
|
819 * @return Symbian OS error code. |
|
820 */ |
|
821 virtual TInt TestViewCbaL( CStifItemParser& /*aItem*/ ); |
|
822 |
|
823 /** |
|
824 * TestViewDoActivateL test function for testing the DoActivateL function |
|
825 * @since S60 5.0 |
|
826 * @param aItem never used |
|
827 * @return Symbian OS error code. |
|
828 */ |
|
829 virtual TInt TestViewDoActivateL( CStifItemParser& /*aItem*/ ); |
|
830 |
|
831 /** |
|
832 * TestViewViewActivatedL test function for testing the ViewActivatedL function |
|
833 * @since S60 5.0 |
|
834 * @param aItem never used |
|
835 * @return Symbian OS error code. |
|
836 */ |
|
837 virtual TInt TestViewViewActivatedL( CStifItemParser& /*aItem*/ ); |
|
838 |
|
839 /** |
|
840 * TestViewViewDeactivatedL test function for testing the ViewDeactivated function |
|
841 * @since S60 5.0 |
|
842 * @param aItem never used |
|
843 * @return Symbian OS error code. |
|
844 */ |
|
845 virtual TInt TestViewViewDeactivatedL( CStifItemParser& /*aItem*/ ); |
|
846 |
|
847 /** |
|
848 * TestViewViewScreenDeviceChangedL test function for testing the |
|
849 * ViewScreenDeviceChangedL function |
|
850 * @since S60 5.0 |
|
851 * @param aItem never used |
|
852 * @return Symbian OS error code. |
|
853 */ |
|
854 virtual TInt TestViewViewScreenDeviceChangedL( CStifItemParser& /*aItem*/ ); |
|
855 |
|
856 /** |
|
857 * TestViewMopSupplyObjectL test function for testing the MopSupplyObject function |
|
858 * @since S60 5.0 |
|
859 * @param aItem never used |
|
860 * @return Symbian OS error code. |
|
861 */ |
|
862 virtual TInt TestViewMopSupplyObjectL( CStifItemParser& /*aItem*/ ); |
|
863 |
|
864 /** |
|
865 * TestViewMopNextL test function for testing the MopNext function |
|
866 * @since S60 5.0 |
|
867 * @param aItem never used |
|
868 * @return Symbian OS error code. |
|
869 */ |
|
870 virtual TInt TestViewMopNextL( CStifItemParser& /*aItem*/ ); |
|
871 |
|
872 /** |
|
873 * TestViewSetEmphasisL test function for testing the SetEmphasis function |
|
874 * @since S60 5.0 |
|
875 * @param aItem never used |
|
876 * @return Symbian OS error code. |
|
877 */ |
|
878 virtual TInt TestViewSetEmphasisL( CStifItemParser& /*aItem*/ ); |
|
879 |
|
880 /** |
|
881 * TestViewHandleForegroundEventL test function for testing the |
|
882 * HandleForegroundEventL function |
|
883 * @since S60 5.0 |
|
884 * @param aItem never used |
|
885 * @return Symbian OS error code. |
|
886 */ |
|
887 virtual TInt TestViewHandleForegroundEventL( CStifItemParser& /*aItem*/ ); |
|
888 |
|
889 /** |
|
890 * TestViewToolbarL test function for testing the Toolbar function |
|
891 * @since S60 5.0 |
|
892 * @param aItem never used |
|
893 * @return Symbian OS error code. |
|
894 */ |
|
895 virtual TInt TestViewToolbarL( CStifItemParser& /*aItem*/ ); |
|
896 |
|
897 /** |
|
898 * TestViewStopDisplayingToolbarL test function for testing the |
|
899 * StopDisplayingToolbar function |
|
900 * @since S60 5.0 |
|
901 * @param aItem never used |
|
902 * @return Symbian OS error code. |
|
903 */ |
|
904 virtual TInt TestViewStopDisplayingToolbarL( CStifItemParser& /*aItem*/ ); |
|
905 |
|
906 /** |
|
907 * TestViewToolbarShownOnViewActivationL test function for testing the |
|
908 * ToolbarShownOnViewActivation function |
|
909 * @since S60 5.0 |
|
910 * @param aItem never used |
|
911 * @return Symbian OS error code. |
|
912 */ |
|
913 virtual TInt TestViewToolbarShownOnViewActivationL( CStifItemParser& /*aItem*/ ); |
|
914 |
|
915 /** |
|
916 * TestViewShowToolbarOnViewActivationL test function for testing the |
|
917 * ShowToolbarOnViewActivation function |
|
918 * @since S60 5.0 |
|
919 * @param aItem never used |
|
920 * @return Symbian OS error code. |
|
921 */ |
|
922 virtual TInt TestViewShowToolbarOnViewActivationL( CStifItemParser& /*aItem*/ ); |
|
923 |
|
924 /** |
|
925 * TestViewSetToolbarL test function for testing the SetToolbar function |
|
926 * @since S60 5.0 |
|
927 * @param aItem never used |
|
928 * @return Symbian OS error code. |
|
929 */ |
|
930 virtual TInt TestViewSetToolbarL( CStifItemParser& /*aItem*/ ); |
|
931 |
|
932 /** |
|
933 * TestViewCreateAndSetToolbarL test function for testing the |
|
934 * CreateAndSetToolbarL function |
|
935 * @since S60 5.0 |
|
936 * @param aItem never used |
|
937 * @return Symbian OS error code. |
|
938 */ |
|
939 virtual TInt TestViewCreateAndSetToolbarL( CStifItemParser& /*aItem*/ ); |
|
940 |
|
941 private: // For aknViewAppUi.h |
|
942 |
|
943 /** |
|
944 * TestViewAppUiBaseConstructL test function for testing the |
|
945 * BaseConstructL function |
|
946 * @since S60 5.0 |
|
947 * @param aItem never used |
|
948 * @return Symbian OS error code. |
|
949 */ |
|
950 virtual TInt TestViewAppUiBaseConstructL( CStifItemParser& /*aItem*/ ); |
|
951 |
|
952 /** |
|
953 * TestViewAppUiActivateLocalViewL test function for testing the |
|
954 * ActivateLocalViewL function |
|
955 * @since S60 5.0 |
|
956 * @param aItem never used |
|
957 * @return Symbian OS error code. |
|
958 */ |
|
959 virtual TInt TestViewAppUiActivateLocalViewL( CStifItemParser& /*aItem*/ ); |
|
960 |
|
961 /** |
|
962 * TestViewAppUiActivateLocalViewLCustomL test function for testing the |
|
963 * ActivateLocalViewL function |
|
964 * @since S60 5.0 |
|
965 * @param aItem never used |
|
966 * @return Symbian OS error code. |
|
967 */ |
|
968 virtual TInt TestViewAppUiActivateLocalViewLCustomL( CStifItemParser& /*aItem*/ ); |
|
969 |
|
970 /** |
|
971 * TestViewAppUiViewL test function for testing the View function |
|
972 * @since S60 5.0 |
|
973 * @param aItem never used |
|
974 * @return Symbian OS error code. |
|
975 */ |
|
976 virtual TInt TestViewAppUiViewL( CStifItemParser& /*aItem*/ ); |
|
977 |
|
978 /** |
|
979 * TestViewAppUiAddViewL test function for testing the AddViewL function |
|
980 * @since S60 5.0 |
|
981 * @param aItem never used |
|
982 * @return Symbian OS error code. |
|
983 */ |
|
984 virtual TInt TestViewAppUiAddViewL( CStifItemParser& /*aItem*/ ); |
|
985 |
|
986 /** |
|
987 * TestViewAppUiRemoveViewL test function for testing the RemoveView function |
|
988 * @since S60 5.0 |
|
989 * @param aItem never used |
|
990 * @return Symbian OS error code. |
|
991 */ |
|
992 virtual TInt TestViewAppUiRemoveViewL( CStifItemParser& /*aItem*/ ); |
|
993 |
|
994 /** |
|
995 * TestViewAppUiProcessCommandL test function for testing the |
|
996 * ProcessCommandL function |
|
997 * @since S60 5.0 |
|
998 * @param aItem never used |
|
999 * @return Symbian OS error code. |
|
1000 */ |
|
1001 virtual TInt TestViewAppUiProcessCommandL( CStifItemParser& /*aItem*/ ); |
|
1002 |
|
1003 /** |
|
1004 * TestViewAppUiStopDisplayingMenuBarL test function for testing the |
|
1005 * StopDisplayingMenuBar function |
|
1006 * @since S60 5.0 |
|
1007 * @param aItem never used |
|
1008 * @return Symbian OS error code. |
|
1009 */ |
|
1010 virtual TInt TestViewAppUiStopDisplayingMenuBarL( CStifItemParser& /*aItem*/ ); |
|
1011 |
|
1012 /** |
|
1013 * TestViewAppUiSetSplitViewL test function for testing the SetSplitViewL function |
|
1014 * @since S60 5.0 |
|
1015 * @param aItem never used |
|
1016 * @return Symbian OS error code. |
|
1017 */ |
|
1018 virtual TInt TestViewAppUiSetSplitViewL( CStifItemParser& /*aItem*/ ); |
|
1019 |
|
1020 /** |
|
1021 * TestViewAppUiRemoveSplitViewL test function for testing the |
|
1022 * RemoveSplitViewL function |
|
1023 * @since S60 5.0 |
|
1024 * @param aItem never used |
|
1025 * @return Symbian OS error code. |
|
1026 */ |
|
1027 virtual TInt TestViewAppUiRemoveSplitViewL( CStifItemParser& /*aItem*/ ); |
|
1028 |
|
1029 /** |
|
1030 * TestViewAppUiSplitViewActiveL test function for testing the |
|
1031 * SplitViewActive function |
|
1032 * @since S60 5.0 |
|
1033 * @param aItem never used |
|
1034 * @return Symbian OS error code. |
|
1035 */ |
|
1036 virtual TInt TestViewAppUiSplitViewActiveL( CStifItemParser& /*aItem*/ ); |
|
1037 |
|
1038 /** |
|
1039 * TestViewAppUiFocusedViewL test function for testing the FocusedView function |
|
1040 * @since S60 5.0 |
|
1041 * @param aItem never used |
|
1042 * @return Symbian OS error code. |
|
1043 */ |
|
1044 virtual TInt TestViewAppUiFocusedViewL( CStifItemParser& /*aItem*/ ); |
|
1045 |
|
1046 /** |
|
1047 * TestViewAppUiViewShownL test function for testing the ViewShown function |
|
1048 * @since S60 5.0 |
|
1049 * @param aItem never used |
|
1050 * @return Symbian OS error code. |
|
1051 */ |
|
1052 virtual TInt TestViewAppUiViewShownL( CStifItemParser& /*aItem*/ ); |
|
1053 |
|
1054 /** |
|
1055 * TestViewAppUiEnableLocalScreenClearerL test function for testing the |
|
1056 * EnableLocalScreenClearer function |
|
1057 * @since S60 5.0 |
|
1058 * @param aItem never used |
|
1059 * @return Symbian OS error code. |
|
1060 */ |
|
1061 virtual TInt TestViewAppUiEnableLocalScreenClearerL( CStifItemParser& /*aItem*/ ); |
|
1062 |
|
1063 /** |
|
1064 * TestViewAppUiHandleStatusPaneSizeChangeL test function for testing the |
|
1065 * HandleStatusPaneSizeChange function |
|
1066 * @since S60 5.0 |
|
1067 * @param aItem never used |
|
1068 * @return Symbian OS error code. |
|
1069 */ |
|
1070 virtual TInt TestViewAppUiHandleStatusPaneSizeChangeL( CStifItemParser& /*aItem*/ ); |
|
1071 |
|
1072 /** |
|
1073 * TestViewAppUiHandleForegroundEventL test function for testing the |
|
1074 * HandleForegroundEventL function |
|
1075 * @since S60 5.0 |
|
1076 * @param aItem never used |
|
1077 * @return Symbian OS error code. |
|
1078 */ |
|
1079 virtual TInt TestViewAppUiHandleForegroundEventL( CStifItemParser& /*aItem*/ ); |
|
1080 |
|
1081 /** |
|
1082 * TestViewAppUiHandleWsEventL test function for testing the HandleWsEventL function |
|
1083 * @since S60 5.0 |
|
1084 * @param aItem never used |
|
1085 * @return Symbian OS error code. |
|
1086 */ |
|
1087 virtual TInt TestViewAppUiHandleWsEventL( CStifItemParser& /*aItem*/ ); |
|
1088 |
|
1089 /** |
|
1090 * TestAppUiBaseIsSingleClickCompatible test function for IsSingleClickCompatible function |
|
1091 * @since S60 5.2 |
|
1092 * @param aItem never used |
|
1093 * @return Symbian OS error code. |
|
1094 */ |
|
1095 virtual TInt TestAppUiBaseIsSingleClickCompatible( CStifItemParser& /*aItem*/ ); |
|
1096 |
|
1097 private: // Data |
|
1098 |
|
1099 /** |
|
1100 * ScreenSaver Property |
|
1101 */ |
|
1102 TInt iOldScreenSaverProperty; |
|
1103 |
|
1104 /** |
|
1105 * EikonEnv Poniter |
|
1106 * Not own. |
|
1107 */ |
|
1108 CEikonEnv* iEikonEnvPointer; |
|
1109 |
|
1110 // Resource file offset |
|
1111 TInt iOffset; |
|
1112 |
|
1113 }; |
|
1114 |
|
1115 #endif // C_TESTSDKAPPFW_H |
|
1116 |
|
1117 // End of File |