56
|
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 ui framework utilities api
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
#ifndef C_TESTSDKUIFWUTIL_H
|
|
21 |
#define C_TESTSDKUIFWUTIL_H
|
|
22 |
|
|
23 |
// INCLUDES
|
|
24 |
#include <stiflogger.h>
|
|
25 |
#include <testscripterinternal.h>
|
|
26 |
#include <stiftestmodule.h>
|
|
27 |
#include <testclassassert.h>
|
|
28 |
#include <aknbiditextutils.h>
|
|
29 |
#include <aknenv.h>
|
|
30 |
#include <e32base.h>
|
|
31 |
#include <akniconarray.h>
|
|
32 |
#include <aknutils.h>
|
|
33 |
#include <coemain.h>
|
|
34 |
#include <aknindicatorcontainer.h>
|
|
35 |
#include <akneditstateindicator.h>
|
|
36 |
#include <barsread.h>
|
|
37 |
#include <coemain.h>
|
|
38 |
|
|
39 |
#include "testsdkuifwutilview.h"
|
|
40 |
#include "testsdkuifwutilcontainer.h"
|
|
41 |
// MACROS
|
|
42 |
#define TEST_CLASS_VERSION_MAJOR 0
|
|
43 |
#define TEST_CLASS_VERSION_MINOR 0
|
|
44 |
#define TEST_CLASS_VERSION_BUILD 0
|
|
45 |
|
|
46 |
// Logging path
|
|
47 |
_LIT( KtestsdkuifwutilLogPath, "\\logs\\testframework\\testsdkuifwutil\\" );
|
|
48 |
// Log file
|
|
49 |
_LIT( KtestsdkuifwutilLogFile, "testsdkuifwutil.txt" );
|
|
50 |
_LIT( KtestsdkuifwutilLogFileWithTitle, "testsdkuifwutil_[%S].txt" );
|
|
51 |
|
|
52 |
/**
|
|
53 |
* CTestSDKUiFwUtil test class for STIF Test Framework TestScripter.
|
|
54 |
* @since S60 5.0
|
|
55 |
*/
|
|
56 |
NONSHARABLE_CLASS( CTestSDKUiFwUtil ) : public CScriptBase
|
|
57 |
{
|
|
58 |
public: // Constructors and destructor
|
|
59 |
|
|
60 |
/**
|
|
61 |
* Two-phased constructor.
|
|
62 |
*/
|
|
63 |
static CTestSDKUiFwUtil* NewL( CTestModuleIf& aTestModuleIf );
|
|
64 |
|
|
65 |
/**
|
|
66 |
* Destructor.
|
|
67 |
*/
|
|
68 |
virtual ~CTestSDKUiFwUtil();
|
|
69 |
|
|
70 |
public: // Functions from base classes
|
|
71 |
|
|
72 |
/**
|
|
73 |
* From CScriptBase Runs a script line.
|
|
74 |
* @since S60 5.0
|
|
75 |
* @param aItem Script line containing method name and parameters
|
|
76 |
* @return Symbian OS error code
|
|
77 |
*/
|
|
78 |
virtual TInt RunMethodL( CStifItemParser& aItem );
|
|
79 |
|
|
80 |
private:
|
|
81 |
|
|
82 |
/**
|
|
83 |
* C++ default constructor.
|
|
84 |
*/
|
|
85 |
CTestSDKUiFwUtil( CTestModuleIf& aTestModuleIf );
|
|
86 |
|
|
87 |
/**
|
|
88 |
* By default Symbian 2nd phase constructor is private.
|
|
89 |
*/
|
|
90 |
void ConstructL();
|
|
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 |
private: // [TestMethods]
|
|
112 |
/**
|
|
113 |
* TestAknBidiTextUtilsConvertToVisualAndClipL test ConvertToVisualAndClipL
|
|
114 |
* of AknBidiTextUtils in aknbiditextutils.h
|
|
115 |
* @since S60 5.0
|
|
116 |
* @param aItem is a number, 0 test ConvertToVisualAndClipL, 1 test ConvertToVisualAndClip.
|
|
117 |
* @return Symbian OS error code.
|
|
118 |
*/
|
|
119 |
virtual TInt TestAknBidiTextUtilsConvertToVisualAndClipL( CStifItemParser& aItem );
|
|
120 |
|
|
121 |
/**
|
|
122 |
* TestAknBidiTextUtilsPrepareRunInfoArray test PrepareRunInfoArray
|
|
123 |
* of AknBidiTextUtils in aknbiditextutils.h
|
|
124 |
* @since S60 5.0
|
|
125 |
* @param aItem is not used.
|
|
126 |
* @return Symbian OS error code.
|
|
127 |
*/
|
|
128 |
virtual TInt TestAknBidiTextUtilsPrepareRunInfoArray( CStifItemParser& aItem );
|
|
129 |
|
|
130 |
/**
|
|
131 |
* TestAknBidiTextUtilsConvertToVisualAndWrapToArrayL test two ConvertToVisualAndWrapToArrayL
|
|
132 |
* of AknBidiTextUtils in aknbiditextutils.h
|
|
133 |
* @since S60 5.0
|
|
134 |
* @param aItem is a number, 0 test function wiht line width array, 1 test the other.
|
|
135 |
* @return Symbian OS error code.
|
|
136 |
*/
|
|
137 |
virtual TInt TestAknBidiTextUtilsConvertToVisualAndWrapToArrayL( CStifItemParser& aItem );
|
|
138 |
|
|
139 |
/**
|
|
140 |
* TestAknBidiTextUtilsConvertToVisualAndChopToArrayL test two ConvertToVisualAndChopToArrayL
|
|
141 |
* of AknBidiTextUtils in aknbiditextutils.h
|
|
142 |
* @since S60 5.0
|
|
143 |
* @param aItem is a number, 0 test function wiht line width array, 1 test the other.
|
|
144 |
* @return Symbian OS error code.
|
|
145 |
*/
|
|
146 |
virtual TInt TestAknBidiTextUtilsConvertToVisualAndChopToArrayL( CStifItemParser& aItem );
|
|
147 |
|
|
148 |
/**
|
|
149 |
* TestAknBidiTextUtilsConvertToVisualAndWrapToStringL test ConvertToVisualAndWrapToStringL
|
|
150 |
* of AknBidiTextUtils in aknbiditextutils.h
|
|
151 |
* @since S60 5.0
|
|
152 |
* @param aItem is not used.
|
|
153 |
* @return Symbian OS error code.
|
|
154 |
*/
|
|
155 |
virtual TInt TestAknBidiTextUtilsConvertToVisualAndWrapToStringL( CStifItemParser& aItem );
|
|
156 |
|
|
157 |
/**
|
|
158 |
* TestAknBidiTextUtilsConvertToVisualAndWrapToArrayWholeTextL test ConvertToVisualAndWrapToArrayWholeTextL
|
|
159 |
* of AknBidiTextUtils in aknbiditextutils.h
|
|
160 |
* @since S60 5.0
|
|
161 |
* @param aItem is not used.
|
|
162 |
* @return Symbian OS error code.
|
|
163 |
*/
|
|
164 |
virtual TInt TestAknBidiTextUtilsConvertToVisualAndWrapToArrayWholeTextL( CStifItemParser& aItem );
|
|
165 |
|
|
166 |
/**
|
|
167 |
* TestAknBidiTextUtilsMeasureTextBoundsWidth test MeasureTextBoundsWidth
|
|
168 |
* of AknBidiTextUtils in aknbiditextutils.h
|
|
169 |
* @since S60 5.0
|
|
170 |
* @param aItem is not used.
|
|
171 |
* @return Symbian OS error code.
|
|
172 |
*/
|
|
173 |
virtual TInt TestAknBidiTextUtilsMeasureTextBoundsWidth( CStifItemParser& aItem );
|
|
174 |
|
|
175 |
/**
|
|
176 |
* TestAknEnvStatic test Static
|
|
177 |
* of CAknEnv in aknenv.h
|
|
178 |
* @since S60 5.0
|
|
179 |
* @param aItem is not used.
|
|
180 |
* @return Symbian OS error code.
|
|
181 |
*/
|
|
182 |
virtual TInt TestAknEnvStatic( CStifItemParser& aItem );
|
|
183 |
|
|
184 |
/**
|
|
185 |
* TestAknEnvExecuteEmptyPopupListL test ExecuteEmptyPopupListL
|
|
186 |
* of CAknEnv in aknenv.h
|
|
187 |
* @since S60 5.0
|
|
188 |
* @param aItem is a number, 0 test function with only on parameter, 1test the other.
|
|
189 |
* @return Symbian OS error code.
|
|
190 |
*/
|
|
191 |
virtual TInt TestAknEnvExecuteEmptyPopupListL( CStifItemParser& aItem );
|
|
192 |
|
|
193 |
/**
|
|
194 |
* TestAknEnvSetAndGetObserverL test SetFepMenuObserver and FepMenuObserver
|
|
195 |
* of CAknEnv in aknenv.h
|
|
196 |
* @since S60 5.0
|
|
197 |
* @param aItem is not used.
|
|
198 |
* @return Symbian OS error code.
|
|
199 |
*/
|
|
200 |
virtual TInt TestAknEnvSetAndGetObserverL( CStifItemParser& aItem );
|
|
201 |
|
|
202 |
/**
|
|
203 |
* TestAknEnvEditingStateIndicator test EditingStateIndicator
|
|
204 |
* of CAknEnv in aknenv.h
|
|
205 |
* @since S60 5.0
|
|
206 |
* @param aItem is not used.
|
|
207 |
* @return Symbian OS error code.
|
|
208 |
*/
|
|
209 |
virtual TInt TestAknEnvEditingStateIndicator( CStifItemParser& aItem );
|
|
210 |
|
|
211 |
/**
|
|
212 |
* TestAknEnvSwapEditingStateIndicatorL test SwapEditingStateIndicatorL
|
|
213 |
* of CAknEnv in aknenv.h
|
|
214 |
* @since S60 5.0
|
|
215 |
* @param aItem is not used.
|
|
216 |
* @return Symbian OS error code.
|
|
217 |
*/
|
|
218 |
virtual TInt TestAknEnvSwapEditingStateIndicatorL( CStifItemParser& aItem );
|
|
219 |
|
|
220 |
/**
|
|
221 |
* TestAknEnvExitForegroundAppL test ExitForegroundAppL
|
|
222 |
* of CAknEnv in aknenv.h
|
|
223 |
* @since S60 5.0
|
|
224 |
* @param aItem is not used.
|
|
225 |
* @return Symbian OS error code.
|
|
226 |
*/
|
|
227 |
virtual TInt TestAknEnvExitForegroundAppL( CStifItemParser& aItem );
|
|
228 |
|
|
229 |
/**
|
|
230 |
* TestAknEnvRegisterIntermediateStateL test RegisterIntermediateStateL
|
|
231 |
* of CAknEnv in aknenv.h
|
|
232 |
* @since S60 5.0
|
|
233 |
* @param aItem is not used.
|
|
234 |
* @return Symbian OS error code.
|
|
235 |
*/
|
|
236 |
virtual TInt TestAknEnvRegisterIntermediateStateL( CStifItemParser& aItem );
|
|
237 |
|
|
238 |
/**
|
|
239 |
* TestAknEnvUnRegisterIntermediateStateL test UnRegisterIntermediateState
|
|
240 |
* of CAknEnv in aknenv.h
|
|
241 |
* @since S60 5.0
|
|
242 |
* @param aItem is not used.
|
|
243 |
* @return Symbian OS error code.
|
|
244 |
*/
|
|
245 |
virtual TInt TestAknEnvUnRegisterIntermediateStateL( CStifItemParser& aItem );
|
|
246 |
|
|
247 |
/**
|
|
248 |
* TestAknEnvCloseAllIntermediateStates test CloseAllIntermediateStates
|
|
249 |
* of CAknEnv in aknenv.h
|
|
250 |
* @since S60 5.0
|
|
251 |
* @param aItem is not used.
|
|
252 |
* @return Symbian OS error code.
|
|
253 |
*/
|
|
254 |
virtual TInt TestAknEnvCloseAllIntermediateStates( CStifItemParser& aItem );
|
|
255 |
|
|
256 |
/**
|
|
257 |
* TestAknEnvRunAppShutterL test RunAppShutter
|
|
258 |
* of CAknEnv in aknenv.h
|
|
259 |
* @since S60 5.0
|
|
260 |
* @param aItem is not used.
|
|
261 |
* @return Symbian OS error code.
|
|
262 |
*/
|
|
263 |
virtual TInt TestAknEnvRunAppShutterL( CStifItemParser& aItem );
|
|
264 |
|
|
265 |
/**
|
|
266 |
* TestAknEnvAppWithShutterRunningL test AppWithShutterRunning
|
|
267 |
* of CAknEnv in aknenv.h
|
|
268 |
* @since S60 5.0
|
|
269 |
* @param aItem is not used.
|
|
270 |
* @return Symbian OS error code.
|
|
271 |
*/
|
|
272 |
virtual TInt TestAknEnvAppWithShutterRunningL( CStifItemParser& aItem );
|
|
273 |
|
|
274 |
/**
|
|
275 |
* TestAknEnvStopSchedulerWaitWithBusyMessage test StopSchedulerWaitWithBusyMessage
|
|
276 |
* of CAknEnv in aknenv.h
|
|
277 |
* @since S60 5.0
|
|
278 |
* @param aItem is not used.
|
|
279 |
* @return Symbian OS error code.
|
|
280 |
*/
|
|
281 |
virtual TInt TestAknEnvStopSchedulerWaitWithBusyMessage( CStifItemParser& aItem );
|
|
282 |
|
|
283 |
/**
|
|
284 |
* TestAknEnvProcessObserverL test CreateCbaObserverL, RemoveCbaObserver and InformCbaDeletion
|
|
285 |
* of CAknEnv in aknenv.h
|
|
286 |
* @since S60 5.0
|
|
287 |
* @param aItem is not used.
|
|
288 |
* @return Symbian OS error code.
|
|
289 |
*/
|
|
290 |
virtual TInt TestAknEnvProcessObserverL( CStifItemParser& aItem );
|
|
291 |
|
|
292 |
/**
|
|
293 |
* TestAknEnvProcessCommandMediationL test RequestCommandMediationL and EndCommandMediation
|
|
294 |
* of CAknEnv in aknenv.h
|
|
295 |
* @since S60 5.0
|
|
296 |
* @param aItem is not used.
|
|
297 |
* @return Symbian OS error code.
|
|
298 |
*/
|
|
299 |
virtual TInt TestAknEnvProcessCommandMediationL( CStifItemParser& aItem );
|
|
300 |
|
|
301 |
/**
|
|
302 |
* TestAknEnvGetCurrentLayoutId test GetCurrentLayoutId
|
|
303 |
* of CAknEnv in aknenv.h
|
|
304 |
* @since S60 5.0
|
|
305 |
* @param aItem is not used.
|
|
306 |
* @return Symbian OS error code.
|
|
307 |
*/
|
|
308 |
virtual TInt TestAknEnvGetCurrentLayoutId( CStifItemParser& aItem );
|
|
309 |
|
|
310 |
/**
|
|
311 |
* TestAknEnvGetCurrentGlobalUiZoom test GetCurrentGlobalUiZoom
|
|
312 |
* of CAknEnv in aknenv.h
|
|
313 |
* @since S60 5.0
|
|
314 |
* @param aItem is not used.
|
|
315 |
* @return Symbian OS error code.
|
|
316 |
*/
|
|
317 |
virtual TInt TestAknEnvGetCurrentGlobalUiZoom( CStifItemParser& aItem );
|
|
318 |
|
|
319 |
/**
|
|
320 |
* TestAknEnvStatusPaneResIdForCurrentLayout test StatusPaneResIdForCurrentLayout
|
|
321 |
* of CAknEnv in aknenv.h
|
|
322 |
* @since S60 5.0
|
|
323 |
* @param aItem is not used.
|
|
324 |
* @return Symbian OS error code.
|
|
325 |
*/
|
|
326 |
virtual TInt TestAknEnvStatusPaneResIdForCurrentLayout( CStifItemParser& aItem );
|
|
327 |
|
|
328 |
/**
|
|
329 |
* TestAknEnvRequestWsBuffer test RequestWsBuffer and CancelWsBufferRequest
|
|
330 |
* of CAknEnv in aknenv.h
|
|
331 |
* @since S60 5.0
|
|
332 |
* @param aItem is not used.
|
|
333 |
* @return Symbian OS error code.
|
|
334 |
*/
|
|
335 |
virtual TInt TestAknEnvRequestWsBuffer( CStifItemParser& aItem );
|
|
336 |
|
|
337 |
/**
|
|
338 |
* TestAknEnvSettingCache test SettingCache
|
|
339 |
* of CAknEnv in aknenv.h
|
|
340 |
* @since S60 5.0
|
|
341 |
* @param aItem is not used.
|
|
342 |
* @return Symbian OS error code.
|
|
343 |
*/
|
|
344 |
virtual TInt TestAknEnvSettingCache( CStifItemParser& aItem );
|
|
345 |
|
|
346 |
/**
|
|
347 |
* TestAknEnvLoadAknLayoutL test two LoadAknLayoutL functions and AknLayout
|
|
348 |
* of CAknEnv in aknenv.h
|
|
349 |
* @since S60 5.0
|
|
350 |
* @param aItem is not used.
|
|
351 |
* @return Symbian OS error code.
|
|
352 |
*/
|
|
353 |
virtual TInt TestAknEnvLoadAknLayoutL( CStifItemParser& aItem );
|
|
354 |
|
|
355 |
/**
|
|
356 |
* TestAknEnvAvkonColor test AvkonColor
|
|
357 |
* of CAknEnv in aknenv.h
|
|
358 |
* @since S60 5.0
|
|
359 |
* @param aItem is not used.
|
|
360 |
* @return Symbian OS error code.
|
|
361 |
*/
|
|
362 |
virtual TInt TestAknEnvAvkonColor( CStifItemParser& aItem );
|
|
363 |
|
|
364 |
/**
|
|
365 |
* TestAknEnvSplitViewActive test SplitViewActive
|
|
366 |
* of CAknEnv in aknenv.h
|
|
367 |
* @since S60 5.0
|
|
368 |
* @param aItem is not used.
|
|
369 |
* @return Symbian OS error code.
|
|
370 |
*/
|
|
371 |
virtual TInt TestAknEnvSplitViewActive( CStifItemParser& aItem );
|
|
372 |
|
|
373 |
/**
|
|
374 |
* TestAknEnvTransparencyEnabled test TransparencyEnabled
|
|
375 |
* of CAknEnv in aknenv.h
|
|
376 |
* @since S60 5.0
|
|
377 |
* @param aItem is not used.
|
|
378 |
* @return Symbian OS error code.
|
|
379 |
*/
|
|
380 |
virtual TInt TestAknEnvTransparencyEnabled( CStifItemParser& aItem );
|
|
381 |
|
|
382 |
/**
|
|
383 |
* TestCAknIconArrayConstructor test CAknIconArray
|
|
384 |
* of CAknEnv in akniconarray.h
|
|
385 |
* @since S60 5.0
|
|
386 |
* @param aItem is not used.
|
|
387 |
* @return Symbian OS error code.
|
|
388 |
*/
|
|
389 |
virtual TInt TestCAknIconArrayConstructorL( CStifItemParser& aItem );
|
|
390 |
|
|
391 |
/**
|
|
392 |
* TestCAknIconArrayConstructFromResourceL test two ConstructFromResourceL
|
|
393 |
* of CAknEnv in akniconarray.h
|
|
394 |
* @since S60 5.0
|
|
395 |
* @param aItem is a number, 0 test Construct From Resource,
|
|
396 |
* 1 test Construct From Reader.
|
|
397 |
* @return Symbian OS error code.
|
|
398 |
*/
|
|
399 |
virtual TInt TestCAknIconArrayConstructFromResourceL( CStifItemParser& aItem );
|
|
400 |
|
|
401 |
/**
|
|
402 |
* TestCAknIconArrayAppendFromResourceL test two AppendFromResourceL
|
|
403 |
* of CAknEnv in akniconarray.h
|
|
404 |
* @since S60 5.0
|
|
405 |
* @param aItem is a number, 0 test append From Resource,
|
|
406 |
* 1 test append From Reader.
|
|
407 |
* @return Symbian OS error code.
|
|
408 |
*/
|
|
409 |
virtual TInt TestCAknIconArrayAppendFromResourceL( CStifItemParser& aItem );
|
|
410 |
|
|
411 |
/**
|
|
412 |
* TestCAknTextUtilsClipToFitL test three ClipToFit
|
|
413 |
* of AknTextUtils in aknutils.h
|
|
414 |
* @since S60 5.0
|
|
415 |
* @param aItem is a number,
|
|
416 |
* 0 test function with default parameter
|
|
417 |
* 1 test function with CEikColumnListBox parameter
|
|
418 |
* 2 test function with CEikFormattedCellListBox parameter
|
|
419 |
* @return Symbian OS error code.
|
|
420 |
*/
|
|
421 |
virtual TInt TestAknTextUtilsClipToFitL( CStifItemParser& aItem );
|
|
422 |
|
|
423 |
/**
|
|
424 |
* TestCAknTextUtilsWrapToArrayL test two WrapToArrayL
|
|
425 |
* of AknTextUtils in aknutils.h
|
|
426 |
* @since S60 5.0
|
|
427 |
* @param aItem is a number, 0 test function with CArrayFix<TInt> parameters,
|
|
428 |
* 1 test the other.
|
|
429 |
* @return Symbian OS error code.
|
|
430 |
*/
|
|
431 |
virtual TInt TestAknTextUtilsWrapToArrayL( CStifItemParser& aItem );
|
|
432 |
|
|
433 |
/**
|
|
434 |
* TestCAknTextUtilsWrapToArrayAndClipL test WrapToArrayAndClipL
|
|
435 |
* of AknTextUtils in aknutils.h
|
|
436 |
* @since S60 5.0
|
|
437 |
* @param aItem is not used
|
|
438 |
* @return Symbian OS error code.
|
|
439 |
*/
|
|
440 |
virtual TInt TestAknTextUtilsWrapToArrayAndClipL( CStifItemParser& aItem );
|
|
441 |
|
|
442 |
/**
|
|
443 |
* TestCAknTextUtilsChopToArrayAndClipL test two ChopToArrayAndClipL
|
|
444 |
* of AknTextUtils in aknutils.h
|
|
445 |
* @since S60 5.0
|
|
446 |
* @param aItem is a number, 0 test function with CArrayFix<TInt> parameters,
|
|
447 |
* 1 test the other.
|
|
448 |
* @return Symbian OS error code.
|
|
449 |
*/
|
|
450 |
virtual TInt TestAknTextUtilsChopToArrayAndClipL( CStifItemParser& aItem );
|
|
451 |
|
|
452 |
/**
|
|
453 |
* TestCAknTextUtilsWrapToStringL test WrapToStringL
|
|
454 |
* of AknTextUtils in aknutils.h
|
|
455 |
* @since S60 5.0
|
|
456 |
* @param aItem is not used
|
|
457 |
* @return Symbian OS error code.
|
|
458 |
*/
|
|
459 |
virtual TInt TestAknTextUtilsWrapToStringL( CStifItemParser& aItem );
|
|
460 |
|
|
461 |
/**
|
|
462 |
* TestCAknTextUtilsWrapToStringAndClipL test WrapToStringAndClipL
|
|
463 |
* of AknTextUtils in aknutils.h
|
|
464 |
* @since S60 5.0
|
|
465 |
* @param aItem is not used
|
|
466 |
* @return Symbian OS error code.
|
|
467 |
*/
|
|
468 |
virtual TInt TestAknTextUtilsWrapToStringAndClipL( CStifItemParser& aItem );
|
|
469 |
|
|
470 |
/**
|
|
471 |
* TestCAknTextUtilsProcessCharacters test three function
|
|
472 |
* of AknTextUtils in aknutils.h
|
|
473 |
* @since S60 5.0
|
|
474 |
* @param aItem is a number,
|
|
475 |
* 0 test function StripCharacters
|
|
476 |
* 1 test function ReplaceCharacters
|
|
477 |
* 2 test function PackWhiteSpaces
|
|
478 |
* @return Symbian OS error code.
|
|
479 |
*/
|
|
480 |
virtual TInt TestAknTextUtilsProcessCharacters( CStifItemParser& aItem );
|
|
481 |
|
|
482 |
/**
|
|
483 |
* TestCAknTextUtilsLanguageSpecificNumberConversion test LanguageSpecificNumberConversion
|
|
484 |
* of AknTextUtils in aknutils.h
|
|
485 |
* @since S60 5.0
|
|
486 |
* @param aItem is not used
|
|
487 |
* @return Symbian OS error code.
|
|
488 |
*/
|
|
489 |
virtual TInt TestAknTextUtilsLanguageSpecificNumberConversion( CStifItemParser& aItem );
|
|
490 |
|
|
491 |
/**
|
|
492 |
* TestCAknTextUtilsConvertDigitsTo test ConvertDigitsTo
|
|
493 |
* of AknTextUtils in aknutils.h
|
|
494 |
* @since S60 5.0
|
|
495 |
* @param aItem is not used
|
|
496 |
* @return Symbian OS error code.
|
|
497 |
*/
|
|
498 |
virtual TInt TestAknTextUtilsConvertDigitsTo( CStifItemParser& aItem );
|
|
499 |
|
|
500 |
/**
|
|
501 |
* TestCAknTextUtilsCurrentScriptDirectionality test CurrentScriptDirectionality
|
|
502 |
* of AknTextUtils in aknutils.h
|
|
503 |
* @since S60 5.0
|
|
504 |
* @param aItem is not used
|
|
505 |
* @return Symbian OS error code.
|
|
506 |
*/
|
|
507 |
virtual TInt TestAknTextUtilsCurrentScriptDirectionality( CStifItemParser& aItem );
|
|
508 |
|
|
509 |
/**
|
|
510 |
* TestCAknTextUtilsNumericEditorDigitType test NumericEditorDigitType of
|
|
511 |
* AknTextUtils in aknutils.h
|
|
512 |
* @since S60 5.0
|
|
513 |
* @param aItem is not used.
|
|
514 |
* @return Symbian OS error code.
|
|
515 |
*/
|
|
516 |
virtual TInt TestAknTextUtilsNumericEditorDigitType( CStifItemParser& aItem );
|
|
517 |
|
|
518 |
/**
|
|
519 |
* TestCAknTextUtilsDisplayTextLanguageSpecificNumberConversion test
|
|
520 |
* DisplayTextLanguageSpecificNumberConversion of
|
|
521 |
* AknTextUtils in aknutils.h
|
|
522 |
* @since S60 5.0
|
|
523 |
* @param aItem is not used.
|
|
524 |
* @return Symbian OS error code.
|
|
525 |
*/
|
|
526 |
virtual TInt TestAknTextUtilsDisplayTextLanguageSpecificNumberConversion( CStifItemParser& aItem );
|
|
527 |
|
|
528 |
/**
|
|
529 |
* TestCAknTextUtilsTextEditorDigitType test TextEditorDigitType of
|
|
530 |
* AknTextUtils in aknutils.h
|
|
531 |
* @since S60 5.0
|
|
532 |
* @param aItem is not used.
|
|
533 |
* @return Symbian OS error code.
|
|
534 |
*/
|
|
535 |
virtual TInt TestAknTextUtilsTextEditorDigitType( CStifItemParser& aItem );
|
|
536 |
|
|
537 |
/**
|
|
538 |
* TestCAknTextUtilsDigitModeQuery test DigitModeQuery of
|
|
539 |
* AknTextUtils in aknutils.h
|
|
540 |
* @since S60 5.0
|
|
541 |
* @param aItem is not used.
|
|
542 |
* @return Symbian OS error code.
|
|
543 |
*/
|
|
544 |
virtual TInt TestAknTextUtilsDigitModeQuery( CStifItemParser& aItem );
|
|
545 |
|
|
546 |
/**
|
|
547 |
* TestCAknTextUtilsConvertFileNameL test ConvertFileNameL of
|
|
548 |
* AknTextUtils in aknutils.h
|
|
549 |
* @since S60 5.0
|
|
550 |
* @param aItem is not used.
|
|
551 |
* @return Symbian OS error code.
|
|
552 |
*/
|
|
553 |
virtual TInt TestAknTextUtilsConvertFileNameL( CStifItemParser& aItem );
|
|
554 |
|
|
555 |
/**
|
|
556 |
* TestCAknTextUtilsLoadTextL test LoadScalableTextL, LoadScalableTextLC
|
|
557 |
* and LoadScalableText of
|
|
558 |
* AknTextUtils in aknutils.h
|
|
559 |
* @since S60 5.0
|
|
560 |
* @param aItem is not used.
|
|
561 |
* @return Symbian OS error code.
|
|
562 |
*/
|
|
563 |
virtual TInt TestAknTextUtilsLoadTextL( CStifItemParser& aItem );
|
|
564 |
|
|
565 |
/**
|
|
566 |
* TestCAknTextUtilsClipAccordingScreenOrientationLCL test ClipAccordingScreenOrientationLC
|
|
567 |
* AknTextUtils in aknutils.h
|
|
568 |
* @since S60 5.0
|
|
569 |
* @param aItem is not used.
|
|
570 |
* @return Symbian OS error code.
|
|
571 |
*/
|
|
572 |
virtual TInt TestAknTextUtilsClipAccordingScreenOrientationLCL( CStifItemParser& aItem );
|
|
573 |
|
|
574 |
/**
|
|
575 |
* TestCAknTextUtilsChooseScalableText test ChooseScalableText
|
|
576 |
* AknTextUtils in aknutils.h
|
|
577 |
* @since S60 5.0
|
|
578 |
* @param aItem is not used.
|
|
579 |
* @return Symbian OS error code.
|
|
580 |
*/
|
|
581 |
virtual TInt TestAknTextUtilsChooseScalableText( CStifItemParser& aItem );
|
|
582 |
|
|
583 |
/**
|
|
584 |
* TestAknSelectServHandleSelectionListProcessCommandL test
|
|
585 |
* HandleSelectionListProcessCommandL of AknSelectionService in aknutils.h
|
|
586 |
* @since S60 5.0
|
|
587 |
* @param aItem is not used.
|
|
588 |
* @return Symbian OS error code.
|
|
589 |
*/
|
|
590 |
virtual TInt TestAknSelectServHandleSelectionListProcessCommandL( CStifItemParser& aItem );
|
|
591 |
|
|
592 |
/**
|
|
593 |
* TestAknSelectServHandleMultiselectionListProcessCommandL test
|
|
594 |
* HandleMultiselectionListProcessCommandL of AknSelectionService in aknutils.h
|
|
595 |
* @since S60 5.0
|
|
596 |
* @param aItem is not used.
|
|
597 |
* @return Symbian OS error code.
|
|
598 |
*/
|
|
599 |
virtual TInt TestAknSelectServHandleMultiselectionListProcessCommandL( CStifItemParser& aItem );
|
|
600 |
|
|
601 |
/**
|
|
602 |
* TestAknSelectServHandleMarkableListProcessCommandL test
|
|
603 |
* HandleMarkableListProcessCommandL of AknSelectionService in aknutils.h
|
|
604 |
* @since S60 5.0
|
|
605 |
* @param aItem is not used.
|
|
606 |
* @return Symbian OS error code.
|
|
607 |
*/
|
|
608 |
virtual TInt TestAknSelectServHandleMarkableListProcessCommandL( CStifItemParser& aItem );
|
|
609 |
|
|
610 |
/**
|
|
611 |
* TestAknSelectServHandleMenuListOfferKeyEventL test
|
|
612 |
* HandleMenuListOfferKeyEventL of AknSelectionService in aknutils.h
|
|
613 |
* @since S60 5.0
|
|
614 |
* @param aItem is not used.
|
|
615 |
* @return Symbian OS error code.
|
|
616 |
*/
|
|
617 |
virtual TInt TestAknSelectServHandleMenuListOfferKeyEventL( CStifItemParser& aItem );
|
|
618 |
|
|
619 |
/**
|
|
620 |
* TestAknSelectServHandleMarkableListDynInitMenuPaneL test
|
|
621 |
* HandleMarkableListDynInitMenuPane of AknSelectionService in aknutils.h
|
|
622 |
* @since S60 5.0
|
|
623 |
* @param aItem is not used.
|
|
624 |
* @return Symbian OS error code.
|
|
625 |
*/
|
|
626 |
virtual TInt TestAknSelectServHandleMarkableListDynInitMenuPaneL( CStifItemParser& aItem );
|
|
627 |
|
|
628 |
/**
|
|
629 |
* TestAknSelectServHandleMarkableListDynInitMenuItemL test
|
|
630 |
* HandleMarkableListDynInitMenuItem of AknSelectionService in aknutils.h
|
|
631 |
* @since S60 5.0
|
|
632 |
* @param aItem is not used.
|
|
633 |
* @return Symbian OS error code.
|
|
634 |
*/
|
|
635 |
virtual TInt TestAknSelectServHandleMarkableListDynInitMenuItemL( CStifItemParser& aItem );
|
|
636 |
|
|
637 |
/**
|
|
638 |
* TestAknSelectServHandleMarkableListUpdateAfterCommandExecutionL test
|
|
639 |
* HandleMarkableListUpdateAfterCommandExecution of AknSelectionService in aknutils.h
|
|
640 |
* @since S60 5.0
|
|
641 |
* @param aItem is not used.
|
|
642 |
* @return Symbian OS error code.
|
|
643 |
*/
|
|
644 |
virtual TInt TestAknSelectServHandleMarkableListUpdateAfterCommandExecutionL( CStifItemParser& aItem );
|
|
645 |
|
|
646 |
/**
|
|
647 |
* TestAknSelectServHandleItemRemovalAndPositionHighlightL test two
|
|
648 |
* HandleItemRemovalAndPositionHighlightL of AknSelectionService in aknutils.h
|
|
649 |
* @since S60 5.0
|
|
650 |
* @param aItem is not used.
|
|
651 |
* @return Symbian OS error code.
|
|
652 |
*/
|
|
653 |
virtual TInt TestAknSelectServHandleItemRemovalAndPositionHighlightL( CStifItemParser& aItem );
|
|
654 |
|
|
655 |
/**
|
|
656 |
* TestAknFindHandleFindPopupProcessCommandL test HandleFindPopupProcessCommandL
|
|
657 |
* of AknFind in aknutils.h
|
|
658 |
* @since S60 5.0
|
|
659 |
* @param aItem is not used.
|
|
660 |
* @return Symbian OS error code.
|
|
661 |
*/
|
|
662 |
virtual TInt TestAknFindHandleFindPopupProcessCommandL( CStifItemParser& aItem );
|
|
663 |
|
|
664 |
/**
|
|
665 |
* TestAknFindHandleFindOfferKeyEventL test HandleFindOfferKeyEventL
|
|
666 |
* of AknFind in aknutils.h
|
|
667 |
* @since S60 5.0
|
|
668 |
* @param aItem is not used.
|
|
669 |
* @return Symbian OS error code.
|
|
670 |
*/
|
|
671 |
virtual TInt TestAknFindHandleFindOfferKeyEventL( CStifItemParser& aItem );
|
|
672 |
|
|
673 |
/**
|
|
674 |
* TestAknFindHandleSizeChangeL test HandleFindSizeChanged,HandleFixedFindSizeChanged,
|
|
675 |
* HandlePopupFindSizeChanged and HandleFindSizeChangedLayouts
|
|
676 |
* of AknFind in aknutils.h
|
|
677 |
* @since S60 5.0
|
|
678 |
* @param aItem is not used.
|
|
679 |
* @return Symbian OS error code.
|
|
680 |
*/
|
|
681 |
virtual TInt TestAknFindHandleSizeChangeL( CStifItemParser& aItem );
|
|
682 |
|
|
683 |
/**
|
|
684 |
* TestAknFindProcessStrL test IsFindMatch, IsFindWordSeparator, IsAdaptiveFindMatch,
|
|
685 |
* UpdateNextCharsFromString and UpdateItemTextAccordingToFlag of AknFind in aknutils.h
|
|
686 |
* @since S60 5.0
|
|
687 |
* @param aItem is not used.
|
|
688 |
* @return Symbian OS error code.
|
|
689 |
*/
|
|
690 |
virtual TInt TestAknFindProcessStrL( CStifItemParser& aItem );
|
|
691 |
|
|
692 |
/**
|
|
693 |
* TestAknFindConstructEditingL test five ConstructEditingL of AknEditUtils in aknutils.h
|
|
694 |
* @since S60 5.0
|
|
695 |
* @param aItem is not used.
|
|
696 |
* @return Symbian OS error code.
|
|
697 |
*/
|
|
698 |
virtual TInt TestAknFindConstructEditingL( CStifItemParser& aItem );
|
|
699 |
|
|
700 |
/**
|
|
701 |
* TestCListBoxNumbersL test three export functions of CListBoxNumbers in aknutils.h
|
|
702 |
* @since S60 5.0
|
|
703 |
* @param aItem is not used.
|
|
704 |
* @return Symbian OS error code.
|
|
705 |
*/
|
|
706 |
virtual TInt TestCListBoxNumbersL( CStifItemParser& aItem );
|
|
707 |
|
|
708 |
/**
|
|
709 |
* TestFilterTextListBoxModelProcessFilterL test CreateFilterL, RemoveFilter,
|
|
710 |
* Filter of CAknFilteredTextListBoxModel in aknutils.h
|
|
711 |
* @since S60 5.0
|
|
712 |
* @param aItem is not used.
|
|
713 |
* @return Symbian OS error code.
|
|
714 |
*/
|
|
715 |
virtual TInt TestFilterTextListBoxModelProcessFilterL( CStifItemParser& aItem );
|
|
716 |
|
|
717 |
/**
|
|
718 |
* TestFilterTextListBoxModelParaInfoL test NumberOfItems, ItemText,
|
|
719 |
* MatchableTextArray of CAknFilteredTextListBoxModel in aknutils.h
|
|
720 |
* @since S60 5.0
|
|
721 |
* @param aItem is not used.
|
|
722 |
* @return Symbian OS error code.
|
|
723 |
*/
|
|
724 |
virtual TInt TestFilterTextListBoxModelParaInfoL( CStifItemParser& aItem );
|
|
725 |
|
|
726 |
/**
|
|
727 |
* TestCAknListBoxFilterItemsConstructorL test constructor
|
|
728 |
* of CAknListBoxFilterItems in aknutils.h
|
|
729 |
* @since S60 5.0
|
|
730 |
* @param aItem is not used.
|
|
731 |
* @return Symbian OS error code.
|
|
732 |
*/
|
|
733 |
virtual TInt TestCAknListBoxFilterItemsConstructorL( CStifItemParser& aItem );
|
|
734 |
|
|
735 |
/**
|
|
736 |
* TestCAknListBoxFilterItemsConstructL test ConstructL
|
|
737 |
* of CAknListBoxFilterItems in aknutils.h
|
|
738 |
* @since S60 5.0
|
|
739 |
* @param aItem is not used.
|
|
740 |
* @return Symbian OS error code.
|
|
741 |
*/
|
|
742 |
virtual TInt TestCAknListBoxFilterItemsConstructL( CStifItemParser& aItem );
|
|
743 |
|
|
744 |
/**
|
|
745 |
* TestCAknListBoxFilterItemsResetFilteringL test ResetFilteringL
|
|
746 |
* of CAknListBoxFilterItems in aknutils.h
|
|
747 |
* @since S60 5.0
|
|
748 |
* @param aItem is not used.
|
|
749 |
* @return Symbian OS error code.
|
|
750 |
*/
|
|
751 |
virtual TInt TestCAknListBoxFilterItemsResetFilteringL( CStifItemParser& aItem );
|
|
752 |
|
|
753 |
/**
|
|
754 |
* TestCAknListBoxFilterItemsUpdateCachedDataL test UpdateCachedDataL
|
|
755 |
* of CAknListBoxFilterItems in aknutils.h
|
|
756 |
* @since S60 5.0
|
|
757 |
* @param aItem is not used.
|
|
758 |
* @return Symbian OS error code.
|
|
759 |
*/
|
|
760 |
virtual TInt TestCAknListBoxFilterItemsUpdateCachedDataL( CStifItemParser& aItem );
|
|
761 |
|
|
762 |
/**
|
|
763 |
* TestCAknListBoxFilterItemsProcessSelectionIndexL test SelectionIndexes,
|
|
764 |
* two UpdateSelectionIndexesL of CAknListBoxFilterItems in aknutils.h
|
|
765 |
* @since S60 5.0
|
|
766 |
* @param aItem is not used.
|
|
767 |
* @return Symbian OS error code.
|
|
768 |
*/
|
|
769 |
virtual TInt TestCAknListBoxFilterItemsProcessSelectionIndexL( CStifItemParser& aItem );
|
|
770 |
|
|
771 |
/**
|
|
772 |
* TestCAknListBoxFilterItemsFilteredItemL test FilteredNumberOfItems,
|
|
773 |
* FilteredItemIndex, NonFilteredNumberOfItems, VisibleItemIndex, DefaultMatchableItemFromItem
|
|
774 |
* of CAknListBoxFilterItems in aknutils.h
|
|
775 |
* @since S60 5.0
|
|
776 |
* @param aItem is not used.
|
|
777 |
* @return Symbian OS error code.
|
|
778 |
*/
|
|
779 |
virtual TInt TestCAknListBoxFilterItemsFilteredItemL( CStifItemParser& aItem );
|
|
780 |
|
|
781 |
/**
|
|
782 |
* TestCAknListBoxFilterItemsHandleOfferkeyEventL test HandleOfferkeyEventL
|
|
783 |
* of CAknListBoxFilterItems in aknutils.h
|
|
784 |
* @since S60 5.0
|
|
785 |
* @param aItem is not used.
|
|
786 |
* @return Symbian OS error code.
|
|
787 |
*/
|
|
788 |
virtual TInt TestCAknListBoxFilterItemsHandleOfferkeyEventL( CStifItemParser& aItem );
|
|
789 |
|
|
790 |
/**
|
|
791 |
* TestCAknListBoxFilterItemsHandleItemArrayChangeL test HandleItemArrayChangeL
|
|
792 |
* of CAknListBoxFilterItems in aknutils.h
|
|
793 |
* @since S60 5.0
|
|
794 |
* @param aItem is not used.
|
|
795 |
* @return Symbian OS error code.
|
|
796 |
*/
|
|
797 |
virtual TInt TestCAknListBoxFilterItemsHandleItemArrayChangeL( CStifItemParser& aItem );
|
|
798 |
|
|
799 |
/**
|
|
800 |
* TestCAknListBoxFilterItemsDoObserverFuncL test SetObserver and HandleControlEventL
|
|
801 |
* of CAknListBoxFilterItems in aknutils.h
|
|
802 |
* @since S60 5.0
|
|
803 |
* @param aItem is not used.
|
|
804 |
* @return Symbian OS error code.
|
|
805 |
*/
|
|
806 |
virtual TInt TestCAknListBoxFilterItemsDoObserverFuncL( CStifItemParser& aItem );
|
|
807 |
|
|
808 |
/**
|
|
809 |
* TestCAknListBoxFilterItemsDoFuncFromFepL test DeferredSendKeyEventToFepL
|
|
810 |
* of CAknListBoxFilterItems in aknutils.h
|
|
811 |
* @since S60 5.0
|
|
812 |
* @param aItem is not used.
|
|
813 |
* @return Symbian OS error code.
|
|
814 |
*/
|
|
815 |
virtual TInt TestCAknListBoxFilterItemsDoFuncFromFepL( CStifItemParser& aItem );
|
|
816 |
|
|
817 |
/**
|
|
818 |
* TestCAknListBoxFilterItemsSetNewParaL test SetListBox, SetSearchField,
|
|
819 |
* SetModel and SetView of CAknListBoxFilterItems in aknutils.h
|
|
820 |
* @since S60 5.0
|
|
821 |
* @param aItem is not used.
|
|
822 |
* @return Symbian OS error code.
|
|
823 |
*/
|
|
824 |
virtual TInt TestCAknListBoxFilterItemsSetNewParaL( CStifItemParser& aItem );
|
|
825 |
|
|
826 |
/**
|
|
827 |
* TestCAknListBoxFilterItemsProcessControlL test SetParentControl, SetPopup,
|
|
828 |
* FindBox of CAknListBoxFilterItems in aknutils.h
|
|
829 |
* @since S60 5.0
|
|
830 |
* @param aItem is not used.
|
|
831 |
* @return Symbian OS error code.
|
|
832 |
*/
|
|
833 |
virtual TInt TestCAknListBoxFilterItemsProcessControlL( CStifItemParser& aItem );
|
|
834 |
|
|
835 |
/**
|
|
836 |
* TestAknLAFUtilsReplaceColumn test ReplaceColumn of AknLAFUtils in aknutils.h
|
|
837 |
* @since S60 5.0
|
|
838 |
* @param aItem is not used.
|
|
839 |
* @return Symbian OS error code.
|
|
840 |
*/
|
|
841 |
virtual TInt TestAknLAFUtilsReplaceColumn( CStifItemParser& aItem );
|
|
842 |
|
|
843 |
/**
|
|
844 |
* TestCAknGenericReaderFuncsL test ConstructL, ConstructFromResourceL, of CAknGenericReader,
|
|
845 |
* GfxItem, TextItem, CmdItem and AreaItem of CAknGenericReader in aknutils.h
|
|
846 |
* @since S60 5.0
|
|
847 |
* @param aItem is not used.
|
|
848 |
* @return Symbian OS error code.
|
|
849 |
*/
|
|
850 |
virtual TInt TestCAknGenericReaderFuncsL( CStifItemParser& aItem );
|
|
851 |
|
|
852 |
/**
|
|
853 |
* TestAknLayoutUtilsLayoutLabelL test six overload function LayoutLabel
|
|
854 |
* of AknLayoutUtils in aknutils.h
|
|
855 |
* @since S60 5.0
|
|
856 |
* @param aItem is not used.
|
|
857 |
* @return Symbian OS error code.
|
|
858 |
*/
|
|
859 |
virtual TInt TestAknLayoutUtilsLayoutLabelL( CStifItemParser& aItem );
|
|
860 |
|
|
861 |
/**
|
|
862 |
* TestAknLayoutUtilsLayoutLabelL test ten overload function LayoutEdwin
|
|
863 |
* of AknLayoutUtils in aknutils.h
|
|
864 |
* @since S60 5.0
|
|
865 |
* @param aItem is not used.
|
|
866 |
* @return Symbian OS error code.
|
|
867 |
*/
|
|
868 |
virtual TInt TestAknLayoutUtilsLayoutEdwinL( CStifItemParser& aItem );
|
|
869 |
|
|
870 |
/**
|
|
871 |
* TestAknLayoutUtilsMinimizedEdwinRectL test MinimizedEdwinRect
|
|
872 |
* of AknLayoutUtils in aknutils.h
|
|
873 |
* @since S60 5.0
|
|
874 |
* @param aItem is not used.
|
|
875 |
* @return Symbian OS error code.
|
|
876 |
*/
|
|
877 |
virtual TInt TestAknLayoutUtilsMinimizedEdwinRectL( CStifItemParser& aItem );
|
|
878 |
|
|
879 |
/**
|
|
880 |
* TestAknLayoutUtilsLayoutMfneL test five overload function LayoutMfne
|
|
881 |
* of AknLayoutUtils in aknutils.h
|
|
882 |
* @since S60 5.0
|
|
883 |
* @param aItem is not used.
|
|
884 |
* @return Symbian OS error code.
|
|
885 |
*/
|
|
886 |
virtual TInt TestAknLayoutUtilsLayoutMfneL( CStifItemParser& aItem );
|
|
887 |
|
|
888 |
/**
|
|
889 |
* TestAknLayoutUtilsLayoutControlL test five overload function LayoutControl
|
|
890 |
* of AknLayoutUtils in aknutils.h
|
|
891 |
* @since S60 5.0
|
|
892 |
* @param aItem is not used.
|
|
893 |
* @return Symbian OS error code.
|
|
894 |
*/
|
|
895 |
virtual TInt TestAknLayoutUtilsLayoutControlL( CStifItemParser& aItem );
|
|
896 |
|
|
897 |
/**
|
|
898 |
* TestAknLayoutUtilsLayoutImageL test five overload function LayoutImage
|
|
899 |
* of AknLayoutUtils in aknutils.h
|
|
900 |
* @since S60 5.0
|
|
901 |
* @param aItem is not used.
|
|
902 |
* @return Symbian OS error code.
|
|
903 |
*/
|
|
904 |
virtual TInt TestAknLayoutUtilsLayoutImageL( CStifItemParser& aItem );
|
|
905 |
|
|
906 |
/**
|
|
907 |
* TestAknLayoutUtilsLayoutSecretEditorL test two overload function LayoutSecretEditor
|
|
908 |
* of AknLayoutUtils in aknutils.h
|
|
909 |
* @since S60 5.0
|
|
910 |
* @param aItem is not used.
|
|
911 |
* @return Symbian OS error code.
|
|
912 |
*/
|
|
913 |
virtual TInt TestAknLayoutUtilsLayoutSecretEditorL( CStifItemParser& aItem );
|
|
914 |
|
|
915 |
/**
|
|
916 |
* TestAknLayoutUtilsRectFromCoords test TextRectFromCoords and RectFromCoords
|
|
917 |
* of AknLayoutUtils in aknutils.h
|
|
918 |
* @since S60 5.0
|
|
919 |
* @param aItem is not used.
|
|
920 |
* @return Symbian OS error code.
|
|
921 |
*/
|
|
922 |
virtual TInt TestAknLayoutUtilsRectFromCoords( CStifItemParser& aItem );
|
|
923 |
|
|
924 |
/**
|
|
925 |
* TestAknLayoutUtilsFontFromId test LayoutFontFromId and FontFromId
|
|
926 |
* of AknLayoutUtils in aknutils.h
|
|
927 |
* @since S60 5.0
|
|
928 |
* @param aItem is not used.
|
|
929 |
* @return Symbian OS error code.
|
|
930 |
*/
|
|
931 |
virtual TInt TestAknLayoutUtilsFontFromId( CStifItemParser& aItem );
|
|
932 |
|
|
933 |
/**
|
|
934 |
* TestAknLayoutUtilsCreateLayoutFontFromSpecificationL test two overload function
|
|
935 |
* CreateLayoutFontFromSpecificationL of AknLayoutUtils in aknutils.h
|
|
936 |
* @since S60 5.0
|
|
937 |
* @param aItem is not used.
|
|
938 |
* @return Symbian OS error code.
|
|
939 |
*/
|
|
940 |
virtual TInt TestAknLayoutUtilsCreateLayoutFontFromSpecificationL( CStifItemParser& aItem );
|
|
941 |
|
|
942 |
/**
|
|
943 |
* TestAknLayoutUtilsSomeSimpleFunc test FontFromName, TextAlignFromId,GulAlignFromId,
|
|
944 |
* CursorHeightFromFont,CursorWidthFromFont, CursorAscentFromFont, CursorExtensionsFromFont,
|
|
945 |
* HighlightLeftPixelsFromFont, HighlightRightPixelsFromFont, LayoutMirrored,
|
|
946 |
* Variant, SubVariant of AknLayoutUtils in aknutils.h
|
|
947 |
* @since S60 5.0
|
|
948 |
* @param aItem is not used.
|
|
949 |
* @return Symbian OS error code.
|
|
950 |
*/
|
|
951 |
virtual TInt TestAknLayoutUtilsSomeSimpleFunc( CStifItemParser& aItem );
|
|
952 |
|
|
953 |
/**
|
|
954 |
* TestAknLayoutUtilsOverrideControlColorL test OverrideControlColorL
|
|
955 |
* of AknLayoutUtils in aknutils.h
|
|
956 |
* @since S60 5.0
|
|
957 |
* @param aItem is not used.
|
|
958 |
* @return Symbian OS error code.
|
|
959 |
*/
|
|
960 |
virtual TInt TestAknLayoutUtilsOverrideControlColorL( CStifItemParser& aItem );
|
|
961 |
|
|
962 |
/**
|
|
963 |
* TestAknLayoutUtilsScrollBarTypeL test DefaultScrollBarType,LayoutVerticalScrollBar
|
|
964 |
* and LayoutHorizontalScrollBar of AknLayoutUtils in aknutils.h
|
|
965 |
* @since S60 5.0
|
|
966 |
* @param aItem is not used.
|
|
967 |
* @return Symbian OS error code.
|
|
968 |
*/
|
|
969 |
virtual TInt TestAknLayoutUtilsScrollBarTypeL( CStifItemParser& aItem );
|
|
970 |
|
|
971 |
/**
|
|
972 |
* TestAknLayoutUtilsLayoutMetrics test LayoutMetricsPosition,LayoutMetricsSize
|
|
973 |
* and LayoutMetricsPosition of AknLayoutUtils in aknutils.h
|
|
974 |
* @since S60 5.0
|
|
975 |
* @param aItem is not used.
|
|
976 |
* @return Symbian OS error code.
|
|
977 |
*/
|
|
978 |
virtual TInt TestAknLayoutUtilsLayoutMetrics( CStifItemParser& aItem );
|
|
979 |
|
|
980 |
/**
|
|
981 |
* TestAknLayoutUtilsScalableLayoutInterfaceAvailable test ScalableLayoutInterfaceAvailable
|
|
982 |
* of AknLayoutUtils in aknutils.h
|
|
983 |
* @since S60 5.0
|
|
984 |
* @param aItem is not used.
|
|
985 |
* @return Symbian OS error code.
|
|
986 |
*/
|
|
987 |
virtual TInt TestAknLayoutUtilsScalableLayoutInterfaceAvailable( CStifItemParser& aItem );
|
|
988 |
|
|
989 |
/**
|
|
990 |
* TestAknLayoutUtilsSimpleFunc test CbaLocation, MainPaneState, PenEnabled
|
|
991 |
* and MSKEnabled of AknLayoutUtils in aknutils.h
|
|
992 |
* @since S60 5.0
|
|
993 |
* @param aItem is not used.
|
|
994 |
* @return Symbian OS error code.
|
|
995 |
*/
|
|
996 |
virtual TInt TestAknLayoutUtilsSimpleFunc( CStifItemParser& aItem );
|
|
997 |
|
|
998 |
/**
|
|
999 |
* TestAknLayoutUtilsEdwinLine test GetEdwinVerticalPositionAndHeightFromLines
|
|
1000 |
* and EdwinLinesWithinHeight of AknLayoutUtils in aknutils.h
|
|
1001 |
* @since S60 5.0
|
|
1002 |
* @param aItem is not used.
|
|
1003 |
* @return Symbian OS error code.
|
|
1004 |
*/
|
|
1005 |
virtual TInt TestAknLayoutUtilsEdwinLine( CStifItemParser& aItem );
|
|
1006 |
|
|
1007 |
/**
|
|
1008 |
* TestTAknLayoutTextConstructorL test constructor of TAknLayoutText in aknutils.h
|
|
1009 |
* @since S60 5.0
|
|
1010 |
* @param aItem is not used.
|
|
1011 |
* @return Symbian OS error code.
|
|
1012 |
*/
|
|
1013 |
virtual TInt TestTAknLayoutTextConstructorL( CStifItemParser& aItem );
|
|
1014 |
|
|
1015 |
/**
|
|
1016 |
* TestTAknLayoutTextLayoutTextL test five overload functions LayoutText
|
|
1017 |
* of TAknLayoutText in aknutils.h
|
|
1018 |
* @since S60 5.0
|
|
1019 |
* @param aItem is not used.
|
|
1020 |
* @return Symbian OS error code.
|
|
1021 |
*/
|
|
1022 |
virtual TInt TestTAknLayoutTextLayoutTextL( CStifItemParser& aItem );
|
|
1023 |
|
|
1024 |
/**
|
|
1025 |
* TestTAknLayoutTextDrawTextL test three overload functions DrawText and
|
|
1026 |
* TextRect of TAknLayoutText in aknutils.h
|
|
1027 |
* @since S60 5.0
|
|
1028 |
* @param aItem is not used.
|
|
1029 |
* @return Symbian OS error code.
|
|
1030 |
*/
|
|
1031 |
virtual TInt TestTAknLayoutTextDrawTextL( CStifItemParser& aItem );
|
|
1032 |
|
|
1033 |
/**
|
|
1034 |
* TestTAknLayoutRectConstructorL test constructor of TAknLayoutRect in aknutils.h
|
|
1035 |
* @since S60 5.0
|
|
1036 |
* @param aItem is not used.
|
|
1037 |
* @return Symbian OS error code.
|
|
1038 |
*/
|
|
1039 |
virtual TInt TestTAknLayoutRectConstructorL( CStifItemParser& aItem );
|
|
1040 |
|
|
1041 |
/**
|
|
1042 |
* TestTAknLayoutRectLayoutRectL test five overload functions LayoutRect
|
|
1043 |
* of TAknLayoutRect in aknutils.h
|
|
1044 |
* @since S60 5.0
|
|
1045 |
* @param aItem is not used.
|
|
1046 |
* @return Symbian OS error code.
|
|
1047 |
*/
|
|
1048 |
virtual TInt TestTAknLayoutRectLayoutRectL( CStifItemParser& aItem );
|
|
1049 |
|
|
1050 |
/**
|
|
1051 |
* TestTAknLayoutRectSimpleFuncL test Color, Rect, DrawImage, DrawRect and
|
|
1052 |
* DrawOutLineRect of TAknLayoutRect in aknutils.h
|
|
1053 |
* @since S60 5.0
|
|
1054 |
* @param aItem is not used.
|
|
1055 |
* @return Symbian OS error code.
|
|
1056 |
*/
|
|
1057 |
virtual TInt TestTAknLayoutRectSimpleFuncL( CStifItemParser& aItem );
|
|
1058 |
|
|
1059 |
/**
|
|
1060 |
* TestAknDrawDoDrawFuncsL test DrawEmptyList, DrawEmptyListForSettingPage,
|
|
1061 |
* DrawEmptyListWithFind, DrawEmptyListHeading, DrawWindowShadow and
|
|
1062 |
* DrawEmptyListImpl of AknDraw in aknutils.h
|
|
1063 |
* @since S60 5.0
|
|
1064 |
* @param aItem is not used.
|
|
1065 |
* @return Symbian OS error code.
|
|
1066 |
*/
|
|
1067 |
virtual TInt TestAknDrawDoDrawFuncsL( CStifItemParser& aItem );
|
|
1068 |
|
|
1069 |
/**
|
|
1070 |
* TestAknDrawWithSkinsDoDrawFuncsL test DrawEmptyList, DrawEmptyListForSettingPage,
|
|
1071 |
* DrawEmptyListWithFind, DrawEmptyListHeading and DrawWindowShadow
|
|
1072 |
* of AknDrawWithSkins in aknutils.h
|
|
1073 |
* @since S60 5.0
|
|
1074 |
* @param aItem is not used.
|
|
1075 |
* @return Symbian OS error code.
|
|
1076 |
*/
|
|
1077 |
virtual TInt TestAknDrawWithSkinsDoDrawFuncsL( CStifItemParser& aItem );
|
|
1078 |
|
|
1079 |
/**
|
|
1080 |
* TestAknUtilsGlobalFuncsL test LatinPlain12,LatinBold12, LatinBold13, LatinBold16, LatinBold17,
|
|
1081 |
* LatinBold19, NumberPlain5, ClockBold30, LatinClock14,ApacPlain12, ApacPlain16, CompleteWithAppPath,
|
|
1082 |
* DefaultInputLanguageFromUILanguage, SetKeyblockMode,ConvertUtcTimeToHomeTime and DisplayLanguageTagL
|
|
1083 |
* in aknutils.h
|
|
1084 |
* @since S60 5.0
|
|
1085 |
* @param aItem is not used.
|
|
1086 |
* @return Symbian OS error code.
|
|
1087 |
*/
|
|
1088 |
virtual TInt TestAknUtilsGlobalFuncsL( CStifItemParser& aItem );
|
|
1089 |
|
|
1090 |
/**
|
|
1091 |
* TestFilterTextListBoxModelRemoveFilterL test Remove
|
|
1092 |
* of AknDrawWithSkins in aknutils.h
|
|
1093 |
* @since S60 5.0
|
|
1094 |
* @param aItem is not used.
|
|
1095 |
* @return Symbian OS error code.
|
|
1096 |
*/
|
|
1097 |
virtual TInt TestFilterTextListBoxModelRemoveFilterL( CStifItemParser& aItem );
|
|
1098 |
|
|
1099 |
/**
|
|
1100 |
* TestAknPopupUtilsPosition test popup position in aknutils.h.
|
|
1101 |
* @since S60 5.2
|
|
1102 |
* @param aItem is not used.
|
|
1103 |
* @return Symbian OS error code.
|
|
1104 |
*/
|
|
1105 |
virtual TInt TestAknPopupUtilsPosition( CStifItemParser& aItem );
|
|
1106 |
|
|
1107 |
/**
|
|
1108 |
* TestAknListUtilsDrawSeparator test separator line drawing in aknutils.h.
|
|
1109 |
* @since S60 5.2
|
|
1110 |
* @param aItem is not used.
|
|
1111 |
* @return Symbian OS error code.
|
|
1112 |
*/
|
|
1113 |
virtual TInt TestAknListUtilsDrawSeparator( CStifItemParser& aItem );
|
|
1114 |
|
|
1115 |
private: // Data
|
|
1116 |
|
|
1117 |
enum TSwitchCaseId
|
|
1118 |
{
|
|
1119 |
ECaseZero = 0,
|
|
1120 |
ECaseOne,
|
|
1121 |
ECaseTwo,
|
|
1122 |
ECaseThree,
|
|
1123 |
ECaseFour
|
|
1124 |
};
|
|
1125 |
|
|
1126 |
/**
|
|
1127 |
* ScreenSaver Property
|
|
1128 |
*/
|
|
1129 |
TInt iOldScreenSaverProperty;
|
|
1130 |
|
|
1131 |
/**
|
|
1132 |
* Font
|
|
1133 |
* Not own.
|
|
1134 |
*/
|
|
1135 |
const CFont* iFont;
|
|
1136 |
|
|
1137 |
/**
|
|
1138 |
* View
|
|
1139 |
* Own.
|
|
1140 |
*/
|
|
1141 |
CTestUiFwUtilView* iUiFwUtilView;
|
|
1142 |
|
|
1143 |
/**
|
|
1144 |
* Container for control, get from iUiFwUtilView
|
|
1145 |
* Not own.
|
|
1146 |
*/
|
|
1147 |
CTestUiFwUtilContainer* iContainer;
|
|
1148 |
|
|
1149 |
/**
|
|
1150 |
* Resource file offset
|
|
1151 |
*/
|
|
1152 |
TInt iOffset;
|
|
1153 |
|
|
1154 |
/**
|
|
1155 |
* Pointer to get system parameter
|
|
1156 |
* Remove warning
|
|
1157 |
*/
|
|
1158 |
CEikonEnv* iEnv;
|
|
1159 |
|
|
1160 |
};
|
|
1161 |
|
|
1162 |
#endif // C_TESTSDKUIFWUTIL_H
|
|
1163 |
|
|
1164 |
// End of File
|