45
|
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 grids_api
|
|
15 |
*
|
|
16 |
*/
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
#ifndef C_TESTSDKGRIDS_H
|
|
21 |
#define C_TESTSDKGRIDS_H
|
|
22 |
|
|
23 |
/*
|
|
24 |
* INCLUDES
|
|
25 |
*/
|
|
26 |
#include <stiflogger.h>
|
|
27 |
#include <testscripterinternal.h>
|
|
28 |
#include <stiftestmodule.h>
|
|
29 |
#include <testclassassert.h>
|
|
30 |
|
|
31 |
|
|
32 |
#define TEST_CLASS_VERSION_MAJOR 0
|
|
33 |
#define TEST_CLASS_VERSION_MINOR 0
|
|
34 |
#define TEST_CLASS_VERSION_BUILD 0
|
|
35 |
|
|
36 |
|
|
37 |
_LIT( KtestsdkgridsLogPath, "\\logs\\testframework\\testsdkgrids\\" );
|
|
38 |
|
|
39 |
_LIT( KtestsdkgridsLogFile, "testsdkgrids.txt" );
|
|
40 |
_LIT( KtestsdkgridsLogFileWithTitle, "testsdkgrids_[%S].txt" );
|
|
41 |
|
|
42 |
class CTestSDKGridsView;
|
|
43 |
class CTestSDKGridsContainer;
|
|
44 |
class CAknColourSelectionGrid;
|
|
45 |
class CAknGMSStyleGrid;
|
|
46 |
class CAknGrid;
|
|
47 |
/**
|
|
48 |
* Ctestsdkgrids test class for STIF Test Framework TestScripter.
|
|
49 |
* @since S60 5.0
|
|
50 |
*/
|
|
51 |
NONSHARABLE_CLASS(CTestSDKGrids) : public CScriptBase
|
|
52 |
{
|
|
53 |
public:
|
|
54 |
|
|
55 |
/**
|
|
56 |
* Two-phased constructor.
|
|
57 |
*/
|
|
58 |
static CTestSDKGrids* NewL( CTestModuleIf& aTestModuleIf );
|
|
59 |
|
|
60 |
/**
|
|
61 |
* Destructor.
|
|
62 |
*/
|
|
63 |
virtual ~CTestSDKGrids();
|
|
64 |
|
|
65 |
public:
|
|
66 |
|
|
67 |
/**
|
|
68 |
* From CScriptBase Runs a script line.
|
|
69 |
* @since S60 5.0
|
|
70 |
* @param aItem Script line containing method name and parameters
|
|
71 |
* @return Symbian OS error code
|
|
72 |
*/
|
|
73 |
virtual TInt RunMethodL( CStifItemParser& aItem );
|
|
74 |
|
|
75 |
private:
|
|
76 |
|
|
77 |
/**
|
|
78 |
* C++ default constructor.
|
|
79 |
*/
|
|
80 |
CTestSDKGrids( CTestModuleIf& aTestModuleIf );
|
|
81 |
|
|
82 |
/**
|
|
83 |
* By default Symbian 2nd phase constructor is private.
|
|
84 |
*/
|
|
85 |
void ConstructL();
|
|
86 |
|
|
87 |
/**
|
|
88 |
* Frees all resources allocated from test methods.
|
|
89 |
* @since S60 5.0
|
|
90 |
*/
|
|
91 |
void Delete();
|
|
92 |
|
|
93 |
/**
|
|
94 |
* Method used to log version of test class
|
|
95 |
*/
|
|
96 |
void SendTestClassVersion();
|
|
97 |
|
|
98 |
//[TestMethods]
|
|
99 |
private:
|
|
100 |
//akncolourselectiongrid.h
|
|
101 |
/**
|
|
102 |
* TestGridsCCSGNewL test function for testing the NewL function
|
|
103 |
* @since S60 5.0
|
|
104 |
* @param aItem never used
|
|
105 |
* @return Symbian OS error code.
|
|
106 |
*/
|
|
107 |
|
|
108 |
virtual TInt TestGridsCCSGNewL( CStifItemParser& aItem );
|
|
109 |
/**
|
|
110 |
* TestGridsCCSGExecuteLD test function for testing the NewL function
|
|
111 |
* @since S60 5.0
|
|
112 |
* @param aItem never used
|
|
113 |
* @return Symbian OS error code.
|
|
114 |
*/
|
|
115 |
|
|
116 |
virtual TInt TestGridsCCSGExecuteLD( CStifItemParser& aItem );
|
|
117 |
/**
|
|
118 |
* TestGridsCCSGDelete test function for testing the Destruct function
|
|
119 |
* @since S60 5.0
|
|
120 |
* @param aItem never used
|
|
121 |
* @return Symbian OS error code.
|
|
122 |
*/
|
|
123 |
virtual TInt TestGridsCCSGDelete( CStifItemParser& aItem );
|
|
124 |
|
|
125 |
/**
|
|
126 |
* TestGridsCCSGHandlePointerEventL test function for testing the HandlePointerEventL function
|
|
127 |
* @since S60 5.0
|
|
128 |
* @param aItem never used
|
|
129 |
* @return Symbian OS error code.
|
|
130 |
*/
|
|
131 |
virtual TInt TestGridsCCSGHandlePointerEventL( CStifItemParser& aItem );
|
|
132 |
|
|
133 |
private:
|
|
134 |
//AknGMSStyleGrid.h------class CAknGMSStyleGridView
|
|
135 |
/**
|
|
136 |
* TestGridsGMSSGVConstuctionL test function for testing the construction function
|
|
137 |
* @since S60 5.0
|
|
138 |
* @param aItem never used
|
|
139 |
* @return Symbian OS error code.
|
|
140 |
*/
|
|
141 |
virtual TInt TestGridsGMSSGVConstuctionL( CStifItemParser& aItem );
|
|
142 |
|
|
143 |
/**
|
|
144 |
* TestGridsGMSSGVDrawL test function for testing the Draw function
|
|
145 |
* @since S60 5.0
|
|
146 |
* @param aItem never used
|
|
147 |
* @return Symbian OS error code.
|
|
148 |
*/
|
|
149 |
virtual TInt TestGridsGMSSGVDrawL( CStifItemParser& aItem );
|
|
150 |
|
|
151 |
/**
|
|
152 |
* TestGridsGMSSGVSetupLayoutL test function for testing the SetupLayout function
|
|
153 |
* @since S60 5.0
|
|
154 |
* @param aItem never used
|
|
155 |
* @return Symbian OS error code.
|
|
156 |
*/
|
|
157 |
virtual TInt TestGridsGMSSGVSetupLayoutL( CStifItemParser& aItem );
|
|
158 |
|
|
159 |
//AknGMSStyleGrid.h------class CAknGMSStyleGrid
|
|
160 |
/**
|
|
161 |
* TestGridsGMSSGNewL test function for testing the NewL function
|
|
162 |
* @since S60 5.0
|
|
163 |
* @param aItem never used
|
|
164 |
* @return Symbian OS error code.
|
|
165 |
*/
|
|
166 |
virtual TInt TestGridsGMSSGNewL( CStifItemParser& aItem );
|
|
167 |
|
|
168 |
/**
|
|
169 |
* TestGridsGMSSGConstructionL test function for testing the Construction function
|
|
170 |
* @since S60 5.0
|
|
171 |
* @param aItem never used
|
|
172 |
* @return Symbian OS error code.
|
|
173 |
*/
|
|
174 |
virtual TInt TestGridsGMSSGConstructionL( CStifItemParser& aItem );
|
|
175 |
|
|
176 |
/**
|
|
177 |
* TestGridsGMSSGConstructionWithTBoolL test function for testing the CAknGMSStyleGrid(TBool aIsPopup) function
|
|
178 |
* @since S60 5.0
|
|
179 |
* @param aItem never used
|
|
180 |
* @return Symbian OS error code.
|
|
181 |
*/
|
|
182 |
virtual TInt TestGridsGMSSGConstructionWithTBoolL( CStifItemParser& aItem );
|
|
183 |
|
|
184 |
/**
|
|
185 |
* TestGridsGMSSGConstructL test function for testing the ConstructL function
|
|
186 |
* @since S60 5.0
|
|
187 |
* @param aItem never used
|
|
188 |
* @return Symbian OS error code.
|
|
189 |
*/
|
|
190 |
virtual TInt TestGridsGMSSGConstructL( CStifItemParser& aItem );
|
|
191 |
|
|
192 |
/**
|
|
193 |
* TestGridsGMSSGDelete test function for testing the Destruct function
|
|
194 |
* @since S60 5.0
|
|
195 |
* @param aItem never used
|
|
196 |
* @return Symbian OS error code.
|
|
197 |
*/
|
|
198 |
virtual TInt TestGridsGMSSGDelete( CStifItemParser& aItem );
|
|
199 |
|
|
200 |
/**
|
|
201 |
* TestGridsGMSSGSetupLayout test function for testing the SetupLayout function
|
|
202 |
* @since S60 5.0
|
|
203 |
* @param aItem never used
|
|
204 |
* @return Symbian OS error code.
|
|
205 |
*/
|
|
206 |
virtual TInt TestGridsGMSSGSetupLayout( CStifItemParser& aItem );
|
|
207 |
|
|
208 |
/**
|
|
209 |
* TestGridsGMSSGHandlePointerEventL test function for testing the HandlePointerEventL function
|
|
210 |
* @since S60 5.0
|
|
211 |
* @param aItem never used
|
|
212 |
* @return Symbian OS error code.
|
|
213 |
*/
|
|
214 |
virtual TInt TestGridsGMSSGHandlePointerEventL( CStifItemParser& aItem );
|
|
215 |
|
|
216 |
/**
|
|
217 |
* TestGridsGMSSGSizeChanged test function for testing the SizeChanged function
|
|
218 |
* @since S60 5.0
|
|
219 |
* @param aItem never used
|
|
220 |
* @return Symbian OS error code.
|
|
221 |
*/
|
|
222 |
virtual TInt TestGridsGMSSGSizeChanged( CStifItemParser& aItem );
|
|
223 |
|
|
224 |
/**
|
|
225 |
* TestGridsGMSSGMinimumSize test function for testing the MinimumSize function
|
|
226 |
* @since S60 5.0
|
|
227 |
* @param aItem never used
|
|
228 |
* @return Symbian OS error code.
|
|
229 |
*/
|
|
230 |
virtual TInt TestGridsGMSSGMinimumSize( CStifItemParser& aItem );
|
|
231 |
|
|
232 |
/**
|
|
233 |
* TestGridsGMSSGOfferKeyEventL test function for testing the OfferKeyEventL function
|
|
234 |
* @since S60 5.0
|
|
235 |
* @param aItem never used
|
|
236 |
* @return Symbian OS error code.
|
|
237 |
*/
|
|
238 |
virtual TInt TestGridsGMSSGOfferKeyEventL( CStifItemParser& aItem );
|
|
239 |
|
|
240 |
/**
|
|
241 |
* TestGridsGMSSGDraw test function for testing the Draw function
|
|
242 |
* @since S60 5.0
|
|
243 |
* @param aItem never used
|
|
244 |
* @return Symbian OS error code.
|
|
245 |
*/
|
|
246 |
virtual TInt TestGridsGMSSGDraw( CStifItemParser& aItem );
|
|
247 |
|
|
248 |
/**
|
|
249 |
* TestGridsGMSSGMakeViewClassInstanceL test function for testing the MakeViewClassInstanceL function
|
|
250 |
* @since S60 5.0
|
|
251 |
* @param aItem never used
|
|
252 |
* @return Symbian OS error code.
|
|
253 |
*/
|
|
254 |
virtual TInt TestGridsGMSSGMakeViewClassInstanceL( CStifItemParser& aItem );
|
|
255 |
|
|
256 |
// AknGMSStyleGrid.h------class CAknGMSPopupGrid
|
|
257 |
/**
|
|
258 |
* TestGridsGMSPGNewL test function for testing the NewL function
|
|
259 |
* @since S60 5.0
|
|
260 |
* @param aItem never used
|
|
261 |
* @return Symbian OS error code.
|
|
262 |
*/
|
|
263 |
virtual TInt TestGridsGMSPGNewL( CStifItemParser& aItem );
|
|
264 |
|
|
265 |
/**
|
|
266 |
* TestGridsGMSPGSetupWindowLayoutL test function for testing the SetupWindowLayout function
|
|
267 |
* @since S60 5.0
|
|
268 |
* @param aItem never used
|
|
269 |
* @return Symbian OS error code.
|
|
270 |
*/
|
|
271 |
virtual TInt TestGridsGMSPGSetupWindowLayoutL( CStifItemParser& aItem );
|
|
272 |
|
|
273 |
/**
|
|
274 |
* TestGridsGMSPGCalcPopupGridLargeGraphicWindowL test function for testing the CalcPopupGridLargeGraphicWindow function
|
|
275 |
* @since S60 5.0
|
|
276 |
* @param aItem never used
|
|
277 |
* @return Symbian OS error code.
|
|
278 |
*/
|
|
279 |
virtual TInt TestGridsGMSPGCalcPopupGridLargeGraphicWindowL( CStifItemParser& aItem );
|
|
280 |
|
|
281 |
/**
|
|
282 |
* TestGridsGMSPGSetupPopupGridLargeGraphicWindowL test function for testing the SetupPopupGridLargeGraphicWindow function
|
|
283 |
* @since S60 5.0
|
|
284 |
* @param aItem never used
|
|
285 |
* @return Symbian OS error code.
|
|
286 |
*/
|
|
287 |
virtual TInt TestGridsGMSPGSetupPopupGridLargeGraphicWindowL( CStifItemParser& aItem );
|
|
288 |
|
|
289 |
/**
|
|
290 |
* TestGridsGMSPGPopupGridLargeGraphicGraphicsL test function for testing the PopupGridLargeGraphicGraphics function
|
|
291 |
* @since S60 5.0
|
|
292 |
* @param aItem never used
|
|
293 |
* @return Symbian OS error code.
|
|
294 |
*/
|
|
295 |
virtual TInt TestGridsGMSPGPopupGridLargeGraphicGraphicsL( CStifItemParser& aItem );
|
|
296 |
|
|
297 |
/**
|
|
298 |
* TestGridsGMSPGHandlePointerEventL test function for testing the HandlePointerEventL function
|
|
299 |
* @since S60 5.0
|
|
300 |
* @param aItem never used
|
|
301 |
* @return Symbian OS error code.
|
|
302 |
*/
|
|
303 |
virtual TInt TestGridsGMSPGHandlePointerEventL( CStifItemParser& aItem );
|
|
304 |
|
|
305 |
private:
|
|
306 |
//akngrid.h
|
|
307 |
/**
|
|
308 |
* TestGridsGridConstructionL test function for testing the construction function
|
|
309 |
* @since S60 5.0
|
|
310 |
* @param aItem never used
|
|
311 |
* @return Symbian OS error code.
|
|
312 |
*/
|
|
313 |
virtual TInt TestGridsGridConstructionL( CStifItemParser& aItem );
|
|
314 |
|
|
315 |
/**
|
|
316 |
* TestGridsGridDelete test function for testing the destruct function
|
|
317 |
* @since S60 5.0
|
|
318 |
* @param aItem never used
|
|
319 |
* @return Symbian OS error code.
|
|
320 |
*/
|
|
321 |
virtual TInt TestGridsGridDelete( CStifItemParser& aItem );
|
|
322 |
|
|
323 |
/**
|
|
324 |
* TestGridsGridSetModelL test function for testing the SetModel function
|
|
325 |
* @since S60 5.0
|
|
326 |
* @param aItem never used
|
|
327 |
* @return Symbian OS error code.
|
|
328 |
*/
|
|
329 |
virtual TInt TestGridsGridSetModelL( CStifItemParser& aItem );
|
|
330 |
|
|
331 |
/**
|
|
332 |
* TestGridsGridConstructL test function for testing the ConstructL function
|
|
333 |
* @since S60 5.0
|
|
334 |
* @param aItem never used
|
|
335 |
* @return Symbian OS error code.
|
|
336 |
*/
|
|
337 |
virtual TInt TestGridsGridConstructL( CStifItemParser& aItem );
|
|
338 |
|
|
339 |
/**
|
|
340 |
* TestGridsGridConstructFromResourceL test function for testing the ConstructFromResourceL function
|
|
341 |
* @since S60 5.0
|
|
342 |
* @param aItem never used
|
|
343 |
* @return Symbian OS error code.
|
|
344 |
*/
|
|
345 |
virtual TInt TestGridsGridConstructFromResourceL( CStifItemParser& aItem );
|
|
346 |
|
|
347 |
/**
|
|
348 |
* TestGridsGridSetLayoutL test function for testing the SetLayoutL function
|
|
349 |
* @since S60 5.0
|
|
350 |
* @param aItem never used
|
|
351 |
* @return Symbian OS error code.
|
|
352 |
*/
|
|
353 |
virtual TInt TestGridsGridSetLayoutL( CStifItemParser& aItem );
|
|
354 |
|
|
355 |
/**
|
|
356 |
* TestGridsGridSetLayoutFromResourceL test function for testing the SetLayoutFromResourceL function
|
|
357 |
* @since S60 5.0
|
|
358 |
* @param aItem never used
|
|
359 |
* @return Symbian OS error code.
|
|
360 |
*/
|
|
361 |
virtual TInt TestGridsGridSetLayoutFromResourceL( CStifItemParser& aItem );
|
|
362 |
|
|
363 |
/**
|
|
364 |
* TestGridsGridSetPrimaryScrollingType test function for testing the SetPrimaryScrollingType function
|
|
365 |
* @since S60 5.0
|
|
366 |
* @param aItem never used
|
|
367 |
* @return Symbian OS error code.
|
|
368 |
*/
|
|
369 |
virtual TInt TestGridsGridSetPrimaryScrollingType( CStifItemParser& aItem );
|
|
370 |
|
|
371 |
/**
|
|
372 |
* TestGridsGridSetSecondaryScrollingType test function for testing the SetSecondaryScrollingType function
|
|
373 |
* @since S60 5.0
|
|
374 |
* @param aItem never used
|
|
375 |
* @return Symbian OS error code.
|
|
376 |
*/
|
|
377 |
virtual TInt TestGridsGridSetSecondaryScrollingType( CStifItemParser& aItem );
|
|
378 |
|
|
379 |
/**
|
|
380 |
* TestGridsGridSetStartPositionL test function for testing the SetStartPositionL function
|
|
381 |
* @since S60 5.0
|
|
382 |
* @param aItem never used
|
|
383 |
* @return Symbian OS error code.
|
|
384 |
*/
|
|
385 |
virtual TInt TestGridsGridSetStartPositionL( CStifItemParser& aItem );
|
|
386 |
|
|
387 |
/**
|
|
388 |
* TestGridsGridCurrentDataIndex test function for testing the CurrentDataIndex function
|
|
389 |
* @since S60 5.0
|
|
390 |
* @param aItem never used
|
|
391 |
* @return Symbian OS error code.
|
|
392 |
*/
|
|
393 |
virtual TInt TestGridsGridCurrentDataIndex( CStifItemParser& aItem );
|
|
394 |
|
|
395 |
/**
|
|
396 |
* TestGridsGridSetCurrentDataIndex test function for testing the SetCurrentDataIndex function
|
|
397 |
* @since S60 5.0
|
|
398 |
* @param aItem never used
|
|
399 |
* @return Symbian OS error code.
|
|
400 |
*/
|
|
401 |
virtual TInt TestGridsGridSetCurrentDataIndex( CStifItemParser& aItem );
|
|
402 |
|
|
403 |
/**
|
|
404 |
* TestGridsGridIndexOfPosition test function for testing the IndexOfPosition function
|
|
405 |
* @since S60 5.0
|
|
406 |
* @param aItem never used
|
|
407 |
* @return Symbian OS error code.
|
|
408 |
*/
|
|
409 |
virtual TInt TestGridsGridIndexOfPosition( CStifItemParser& aItem );
|
|
410 |
|
|
411 |
/**
|
|
412 |
* TestGridsGridPositionAtIndex test function for testing the PositionAtIndex function
|
|
413 |
* @since S60 5.0
|
|
414 |
* @param aItem never used
|
|
415 |
* @return Symbian OS error code.
|
|
416 |
*/
|
|
417 |
virtual TInt TestGridsGridPositionAtIndex( CStifItemParser& aItem );
|
|
418 |
|
|
419 |
/**
|
|
420 |
* TestGridsGridItemDrawer test function for testing the ItemDrawer function
|
|
421 |
* @since S60 5.0
|
|
422 |
* @param aItem never used
|
|
423 |
* @return Symbian OS error code.
|
|
424 |
*/
|
|
425 |
virtual TInt TestGridsGridItemDrawer( CStifItemParser& aItem );
|
|
426 |
|
|
427 |
/**
|
|
428 |
* TestGridsGridSetEmptyGridTextL test function for testing the SetEmptyGridTextL function
|
|
429 |
* @since S60 5.0
|
|
430 |
* @param aItem never used
|
|
431 |
* @return Symbian OS error code.
|
|
432 |
*/
|
|
433 |
virtual TInt TestGridsGridSetEmptyGridTextL( CStifItemParser& aItem );
|
|
434 |
|
|
435 |
/**
|
|
436 |
* TestGridsGridEmptyGridText test function for testing the EmptyGridText function
|
|
437 |
* @since S60 5.0
|
|
438 |
* @param aItem never used
|
|
439 |
* @return Symbian OS error code.
|
|
440 |
*/
|
|
441 |
virtual TInt TestGridsGridEmptyGridText( CStifItemParser& aItem );
|
|
442 |
|
|
443 |
/**
|
|
444 |
* TestGridsGridMakeViewClassInstanceL test function for testing the MakeViewClassInstanceL function
|
|
445 |
* @since S60 5.0
|
|
446 |
* @param aItem never used
|
|
447 |
* @return Symbian OS error code.
|
|
448 |
*/
|
|
449 |
virtual TInt TestGridsGridMakeViewClassInstanceL( CStifItemParser& aItem );
|
|
450 |
|
|
451 |
/**
|
|
452 |
* TestGridsGridSetColumnWidth test function for testing the SetColumnWidth function
|
|
453 |
* @since S60 5.0
|
|
454 |
* @param aItem never used
|
|
455 |
* @return Symbian OS error code.
|
|
456 |
*/
|
|
457 |
virtual TInt TestGridsGridSetColumnWidth( CStifItemParser& aItem );
|
|
458 |
|
|
459 |
/**
|
|
460 |
* TestGridsGridColumnWidth test function for testing the ColumnWidth function
|
|
461 |
* @since S60 5.0
|
|
462 |
* @param aItem never used
|
|
463 |
* @return Symbian OS error code.
|
|
464 |
*/
|
|
465 |
virtual TInt TestGridsGridColumnWidth( CStifItemParser& aItem );
|
|
466 |
|
|
467 |
/**
|
|
468 |
* TestGridsGridUpdateScrollBarsL test function for testing the UpdateScrollBarsL function
|
|
469 |
* @since S60 5.0
|
|
470 |
* @param aItem never used
|
|
471 |
* @return Symbian OS error code.
|
|
472 |
*/
|
|
473 |
virtual TInt TestGridsGridUpdateScrollBarsL( CStifItemParser& aItem );
|
|
474 |
|
|
475 |
/**
|
|
476 |
* TestGridsGridHandleItemAdditionL test function for testing the HandleItemAdditionL function
|
|
477 |
* @since S60 5.0
|
|
478 |
* @param aItem never used
|
|
479 |
* @return Symbian OS error code.
|
|
480 |
*/
|
|
481 |
virtual TInt TestGridsGridHandleItemAdditionL( CStifItemParser& aItem );
|
|
482 |
|
|
483 |
/**
|
|
484 |
* TestGridsGridHandleItemRemovalL test function for testing the HandleItemRemovalL function
|
|
485 |
* @since S60 5.0
|
|
486 |
* @param aItem never used
|
|
487 |
* @return Symbian OS error code.
|
|
488 |
*/
|
|
489 |
virtual TInt TestGridsGridHandleItemRemovalL( CStifItemParser& aItem );
|
|
490 |
|
|
491 |
/**
|
|
492 |
* TestGridsGridOfferKeyEventL test function for testing the OfferKeyEventL function
|
|
493 |
* @since S60 5.0
|
|
494 |
* @param aItem never used
|
|
495 |
* @return Symbian OS error code.
|
|
496 |
*/
|
|
497 |
virtual TInt TestGridsGridOfferKeyEventL( CStifItemParser& aItem );
|
|
498 |
|
|
499 |
/**
|
|
500 |
* TestGridsGridSetItemHeightL test function for testing the SetItemHeightL function
|
|
501 |
* @since S60 5.0
|
|
502 |
* @param aItem never used
|
|
503 |
* @return Symbian OS error code.
|
|
504 |
*/
|
|
505 |
virtual TInt TestGridsGridSetItemHeightL( CStifItemParser& aItem );
|
|
506 |
|
|
507 |
/**
|
|
508 |
* TestGridsGridSizeChanged test function for testing the SizeChanged function
|
|
509 |
* @since S60 5.0
|
|
510 |
* @param aItem never used
|
|
511 |
* @return Symbian OS error code.
|
|
512 |
*/
|
|
513 |
virtual TInt TestGridsGridSizeChanged( CStifItemParser& aItem );
|
|
514 |
|
|
515 |
/**
|
|
516 |
* TestGridsGridModel test function for testing the Model function
|
|
517 |
* @since S60 5.0
|
|
518 |
* @param aItem never used
|
|
519 |
* @return Symbian OS error code.
|
|
520 |
*/
|
|
521 |
virtual TInt TestGridsGridModel( CStifItemParser& aItem );
|
|
522 |
|
|
523 |
/**
|
|
524 |
* TestGridsGridSetRect test function for testing the SetRect function
|
|
525 |
* @since S60 5.0
|
|
526 |
* @param aItem never used
|
|
527 |
* @return Symbian OS error code.
|
|
528 |
*/
|
|
529 |
virtual TInt TestGridsGridSetRectL( CStifItemParser& /*aItem*/ );
|
|
530 |
|
|
531 |
/**
|
|
532 |
* TestGridsGridHandleViewRectSizeChangeL test function for testing the HandleViewRectSizeChange function
|
|
533 |
* @since S60 5.0
|
|
534 |
* @param aItem never used
|
|
535 |
* @return Symbian OS error code.
|
|
536 |
*/
|
|
537 |
virtual TInt TestGridsGridHandleViewRectSizeChangeL( CStifItemParser& /*aItem*/ );
|
|
538 |
|
|
539 |
/**
|
|
540 |
* TestGridsGridSetTopItemIndexL test function for testing the SetTopItemIndex function
|
|
541 |
* @since S60 5.0
|
|
542 |
* @param aItem never used
|
|
543 |
* @return Symbian OS error code.
|
|
544 |
*/
|
|
545 |
virtual TInt TestGridsGridSetTopItemIndexL( CStifItemParser& /*aItem*/ );
|
|
546 |
|
|
547 |
/**
|
|
548 |
* TestGridsGridHandleResourceChangeL test function for testing the HandleResourceChange function
|
|
549 |
* @since S60 5.0
|
|
550 |
* @param aItem never used
|
|
551 |
* @return Symbian OS error code.
|
|
552 |
*/
|
|
553 |
virtual TInt TestGridsGridHandleResourceChangeL( CStifItemParser& /*aItem*/ );
|
|
554 |
|
|
555 |
/**
|
|
556 |
* TestGridsGridFocusChangedL test function for testing the FocusChanged function
|
|
557 |
* @since S60 5.0
|
|
558 |
* @param aItem never used
|
|
559 |
* @return Symbian OS error code.
|
|
560 |
*/
|
|
561 |
virtual TInt TestGridsGridFocusChangedL( CStifItemParser& /*aItem*/ );
|
|
562 |
|
|
563 |
/*
|
|
564 |
* Follow are protected funciont in CAknGrid
|
|
565 |
*/
|
|
566 |
/**
|
|
567 |
* TestGridsGridHorizontalNudgeValueL test function for testing the HorizontalNudgeValue function
|
|
568 |
* @since S60 5.0
|
|
569 |
* @param aItem never used
|
|
570 |
* @return Symbian OS error code.
|
|
571 |
*/
|
|
572 |
virtual TInt TestGridsGridHorizontalNudgeValueL( CStifItemParser& /*aItem*/ );
|
|
573 |
|
|
574 |
/**
|
|
575 |
* TestGridsGridHorizScrollGranularityInPixels test function for testing the HorizScrollGranularityInPixel function
|
|
576 |
* @since S60 5.0
|
|
577 |
* @param aItem never used
|
|
578 |
* @return Symbian OS error code.
|
|
579 |
*/
|
|
580 |
virtual TInt TestGridsGridHorizScrollGranularityInPixelsL( CStifItemParser& /*aItem*/ );
|
|
581 |
|
|
582 |
/**
|
|
583 |
* TestGridsGridAdjustTopItemIndex test function for testing the AdjustTopItemIndex function
|
|
584 |
* @since S60 5.0
|
|
585 |
* @param aItem never used
|
|
586 |
* @return Symbian OS error code.
|
|
587 |
*/
|
|
588 |
virtual TInt TestGridsGridAdjustTopItemIndexL( CStifItemParser& /*aItem*/ );
|
|
589 |
|
|
590 |
/**
|
|
591 |
* TestGridsGridHandleDragEventL test function for testing the HandleDragEvent function
|
|
592 |
* @since S60 5.0
|
|
593 |
* @param aItem never used
|
|
594 |
* @return Symbian OS error code.
|
|
595 |
*/
|
|
596 |
virtual TInt TestGridsGridHandleDragEventL( CStifItemParser& /*aItem*/ );
|
|
597 |
|
|
598 |
/**
|
|
599 |
* TestGridsGridRestoreClientRectFromViewRectL test function for testing the RestoreClientRectFromViewRect function
|
|
600 |
* @since S60 5.0
|
|
601 |
* @param aItem never used
|
|
602 |
* @return Symbian OS error code.
|
|
603 |
*/
|
|
604 |
virtual TInt TestGridsGridRestoreClientRectFromViewRectL( CStifItemParser& /*aItem*/ );
|
|
605 |
|
|
606 |
/**
|
|
607 |
* TestGridsGridAdjustRectHeightToWholeNumberOfItemsL test function for testing the AdjustRectHeightToWholeNumberOfItems function
|
|
608 |
* @since S60 5.0
|
|
609 |
* @param aItem never used
|
|
610 |
* @return Symbian OS error code.
|
|
611 |
*/
|
|
612 |
virtual TInt TestGridsGridAdjustRectHeightToWholeNumberOfItemsL( CStifItemParser& /*aItem*/ );
|
|
613 |
|
|
614 |
/**
|
|
615 |
* TestGridsGridUpdateScrollBarThumbsL test function for testing the UpdateScrollBarThumbs function
|
|
616 |
* @since S60 5.0
|
|
617 |
* @param aItem never used
|
|
618 |
* @return Symbian OS error code.
|
|
619 |
*/
|
|
620 |
virtual TInt TestGridsGridUpdateScrollBarThumbsL( CStifItemParser& /*aItem*/ );
|
|
621 |
|
|
622 |
/**
|
|
623 |
* TestGridsGridCountComponentControlsL test function for testing the CountComponentControls function
|
|
624 |
* @since S60 5.0
|
|
625 |
* @param aItem never used
|
|
626 |
* @return Symbian OS error code.
|
|
627 |
*/
|
|
628 |
virtual TInt TestGridsGridCountComponentControlsL( CStifItemParser& /*aItem*/ );
|
|
629 |
|
|
630 |
/**
|
|
631 |
* TestGridsGridMoveToNextOrPreviousItemL test function for testing the MoveToNextOrPreviousItem function
|
|
632 |
* @since S60 5.0
|
|
633 |
* @param aItem never used
|
|
634 |
* @return Symbian OS error code.
|
|
635 |
*/
|
|
636 |
virtual TInt TestGridsGridMoveToNextOrPreviousItemL( CStifItemParser& /*aItem*/ );
|
|
637 |
|
|
638 |
/**
|
|
639 |
* TestGridsGridCalcGridSizeL test function for testing the CalcGridSize function
|
|
640 |
* @since S60 5.0
|
|
641 |
* @param aItem never used
|
|
642 |
* @return Symbian OS error code.
|
|
643 |
*/
|
|
644 |
virtual TInt TestGridsGridCalcGridSizeL( CStifItemParser& /*aItem*/ );
|
|
645 |
|
|
646 |
/**
|
|
647 |
* TestGridsGridCreateItemDrawerL test function for testing the CreateItemDrawer function
|
|
648 |
* @since S60 5.0
|
|
649 |
* @param aItem never used
|
|
650 |
* @return Symbian OS error code.
|
|
651 |
*/
|
|
652 |
virtual TInt TestGridsGridCreateItemDrawerL( CStifItemParser& /*aItem*/ );
|
|
653 |
|
|
654 |
/**
|
|
655 |
* TestGridsGridHandleScrollEventL test function for testing the HandleScrollEvent function
|
|
656 |
* @since S60 5.0
|
|
657 |
* @param aItem never used
|
|
658 |
* @return Symbian OS error code.
|
|
659 |
*/
|
|
660 |
virtual TInt TestGridsGridHandleScrollEventL( CStifItemParser& /*aItem*/ );
|
|
661 |
|
|
662 |
/**
|
|
663 |
* TestGridsGridMopSupplyObjectL test function for testing the MopSupplyObject function
|
|
664 |
* @since S60 5.0
|
|
665 |
* @param aItem never used
|
|
666 |
* @return Symbian OS error code.
|
|
667 |
*/
|
|
668 |
virtual TInt TestGridsGridMopSupplyObjectL( CStifItemParser& /*aItem*/ );
|
|
669 |
|
|
670 |
private:
|
|
671 |
/**
|
|
672 |
* TestGridsGridmConstructorAndDestructorL test function for testing the ConstructorAndDestructor function
|
|
673 |
* @since S60 5.0
|
|
674 |
* @param aItem never used
|
|
675 |
* @return Symbian OS error code.
|
|
676 |
*/
|
|
677 |
virtual TInt TestGridsGridmConstructorAndDestructorL( CStifItemParser& /*aItem*/ );
|
|
678 |
|
|
679 |
/**
|
|
680 |
* TestGridsGridmNumberOfItemsL test function for testing the NumberOfItems function
|
|
681 |
* @since S60 5.0
|
|
682 |
* @param aItem never used
|
|
683 |
* @return Symbian OS error code.
|
|
684 |
*/
|
|
685 |
virtual TInt TestGridsGridmNumberOfItemsL( CStifItemParser& /*aItem*/ );
|
|
686 |
|
|
687 |
/**
|
|
688 |
* TestGridsGridmIndexContainsDataL test function for testing the IndexContainsData function
|
|
689 |
* @since S60 5.0
|
|
690 |
* @param aItem never used
|
|
691 |
* @return Symbian OS error code.
|
|
692 |
*/
|
|
693 |
virtual TInt TestGridsGridmIndexContainsDataL( CStifItemParser& /*aItem*/ );
|
|
694 |
|
|
695 |
/**
|
|
696 |
* TestGridsGridmNumberOfDataL test function for testing the NumberOfData function
|
|
697 |
* @since S60 5.0
|
|
698 |
* @param aItem never used
|
|
699 |
* @return Symbian OS error code.
|
|
700 |
*/
|
|
701 |
virtual TInt TestGridsGridmNumberOfDataL( CStifItemParser& /*aItem*/ );
|
|
702 |
|
|
703 |
/**
|
|
704 |
* TestGridsGridmSetStartCellsL test function for testing the SetStartCells function
|
|
705 |
* @since S60 5.0
|
|
706 |
* @param aItem never used
|
|
707 |
* @return Symbian OS error code.
|
|
708 |
*/
|
|
709 |
virtual TInt TestGridsGridmSetStartCellsL( CStifItemParser& /*aItem*/ );
|
|
710 |
|
|
711 |
/**
|
|
712 |
* TestGridsGridmIndexOfFirstDataItemL test function for testing the IndexOfFirstDataItem function
|
|
713 |
* @since S60 5.0
|
|
714 |
* @param aItem never used
|
|
715 |
* @return Symbian OS error code.
|
|
716 |
*/
|
|
717 |
virtual TInt TestGridsGridmIndexOfFirstDataItemL( CStifItemParser& /*aItem*/ );
|
|
718 |
|
|
719 |
/**
|
|
720 |
* TestGridsGridmIndexOfLastDataItemL test function for testing the IndexOfLastDataItem function
|
|
721 |
* @since S60 5.0
|
|
722 |
* @param aItem never used
|
|
723 |
* @return Symbian OS error code.
|
|
724 |
*/
|
|
725 |
virtual TInt TestGridsGridmIndexOfLastDataItemL( CStifItemParser& /*aItem*/ );
|
|
726 |
|
|
727 |
/**
|
|
728 |
* TestGridsGridmItemTextL test function for testing the ItemText function
|
|
729 |
* @since S60 5.0
|
|
730 |
* @param aItem never used
|
|
731 |
* @return Symbian OS error code.
|
|
732 |
*/
|
|
733 |
virtual TInt TestGridsGridmItemTextL( CStifItemParser& /*aItem*/ );
|
|
734 |
|
|
735 |
private:
|
|
736 |
/**
|
|
737 |
* TestGridsGridviewDestructorAndDestructorL test function for testing the DestructorAndDestructor function
|
|
738 |
* @since S60 5.0
|
|
739 |
* @param aItem never used
|
|
740 |
* @return Symbian OS error code.
|
|
741 |
*/
|
|
742 |
virtual TInt TestGridsGridviewDestructorAndDestructorL( CStifItemParser& /*aItem*/ );
|
|
743 |
|
|
744 |
/**
|
|
745 |
* TestGridsGridviewActualDataIndexL test function for testing the ActualDataIndex function
|
|
746 |
* @since S60 5.0
|
|
747 |
* @param aItem never used
|
|
748 |
* @return Symbian OS error code.
|
|
749 |
*/
|
|
750 |
virtual TInt TestGridsGridviewActualDataIndexL( CStifItemParser& /*aItem*/ );
|
|
751 |
|
|
752 |
/**
|
|
753 |
* TestGridsGridviewListBoxIndexL test function for testing the ListBoxIndex function
|
|
754 |
* @since S60 5.0
|
|
755 |
* @param aItem never used
|
|
756 |
* @return Symbian OS error code.
|
|
757 |
*/
|
|
758 |
virtual TInt TestGridsGridviewListBoxIndexL( CStifItemParser& /*aItem*/ );
|
|
759 |
|
|
760 |
/**
|
|
761 |
* TestGridsGridviewCurrentDataIndexL test function for testing the CurrentDataIndex function
|
|
762 |
* @since S60 5.0
|
|
763 |
* @param aItem never used
|
|
764 |
* @return Symbian OS error code.
|
|
765 |
*/
|
|
766 |
virtual TInt TestGridsGridviewCurrentDataIndexL( CStifItemParser& aItem );
|
|
767 |
|
|
768 |
/**
|
|
769 |
* TestGridsGridviewSetCurrentDataIndexL test function for testing the SetCurrentDataIndex function
|
|
770 |
* @since S60 5.0
|
|
771 |
* @param aItem never used
|
|
772 |
* @return Symbian OS error code.
|
|
773 |
*/
|
|
774 |
virtual TInt TestGridsGridviewSetCurrentDataIndexL( CStifItemParser& /*aItem*/ );
|
|
775 |
|
|
776 |
/**
|
|
777 |
* TestGridsGridviewSetPrimaryScrollingTypeL test function for testing the SetPrimaryScrollingType function
|
|
778 |
* @since S60 5.0
|
|
779 |
* @param aItem never used
|
|
780 |
* @return Symbian OS error code.
|
|
781 |
*/
|
|
782 |
virtual TInt TestGridsGridviewSetPrimaryScrollingTypeL( CStifItemParser& /*aItem*/ );
|
|
783 |
|
|
784 |
/**
|
|
785 |
* TestGridsGridviewSetSecondaryScrollingTypeL test function for testing the SetSecondaryScrollingType function
|
|
786 |
* @since S60 5.0
|
|
787 |
* @param aItem never used
|
|
788 |
* @return Symbian OS error code.
|
|
789 |
*/
|
|
790 |
virtual TInt TestGridsGridviewSetSecondaryScrollingTypeL( CStifItemParser& /*aItem*/ );
|
|
791 |
|
|
792 |
/**
|
|
793 |
* TestGridsGridviewSetGridCellDimensionsL test function for testing the SetGridCellDimensions function
|
|
794 |
* @since S60 5.0
|
|
795 |
* @param aItem never used
|
|
796 |
* @return Symbian OS error code.
|
|
797 |
*/
|
|
798 |
virtual TInt TestGridsGridviewSetGridCellDimensionsL( CStifItemParser& /*aItem*/ );
|
|
799 |
|
|
800 |
/**
|
|
801 |
* TestGridsGridviewGridCellDimensions test function for testing the GridCellDimensions function
|
|
802 |
* @since S60 5.0
|
|
803 |
* @param aItem never used
|
|
804 |
* @return Symbian OS error code.
|
|
805 |
*/
|
|
806 |
virtual TInt TestGridsGridviewGridCellDimensionsL( CStifItemParser& aItem );
|
|
807 |
|
|
808 |
/**
|
|
809 |
* TestGridsGridviewSetSpacesBetweenItemsL test function for testing the SetSpacesBetweenItems function
|
|
810 |
* @since S60 5.0
|
|
811 |
* @param aItem never used
|
|
812 |
* @return Symbian OS error code.
|
|
813 |
*/
|
|
814 |
virtual TInt TestGridsGridviewSetSpacesBetweenItemsL( CStifItemParser& /*aItem*/ );
|
|
815 |
|
|
816 |
/**
|
|
817 |
* TestGridsGridviewIsPrimaryVerticalL test function for testing the IsPrimaryVertical function
|
|
818 |
* @since S60 5.0
|
|
819 |
* @param aItem never used
|
|
820 |
* @return Symbian OS error code.
|
|
821 |
*/
|
|
822 |
virtual TInt TestGridsGridviewIsPrimaryVerticalL( CStifItemParser& /*aItem*/ );
|
|
823 |
|
|
824 |
/**
|
|
825 |
* TestGridsGridviewDataIndexFromLogicalPosL test function for testing the DataIndexFromLogicalPos function
|
|
826 |
* @since S60 5.0
|
|
827 |
* @param aItem never used
|
|
828 |
* @return Symbian OS error code.
|
|
829 |
*/
|
|
830 |
virtual TInt TestGridsGridviewDataIndexFromLogicalPosL( CStifItemParser& /*aItem*/ );
|
|
831 |
|
|
832 |
/**
|
|
833 |
* TestGridsGridviewLogicalPosFromDataIndexL test function for testing the LogicalPosFromDataIndex function
|
|
834 |
* @since S60 5.0
|
|
835 |
* @param aItem never used
|
|
836 |
* @return Symbian OS error code.
|
|
837 |
*/
|
|
838 |
virtual TInt TestGridsGridviewLogicalPosFromDataIndexL( CStifItemParser& /*aItem*/ );
|
|
839 |
|
|
840 |
/**
|
|
841 |
* TestGridsGridviewListBoxIndexFromLogicalPosL test function for testing the ListBoxIndexFromLogicalPos function
|
|
842 |
* @since S60 5.0
|
|
843 |
* @param aItem never used
|
|
844 |
* @return Symbian OS error code.
|
|
845 |
*/
|
|
846 |
virtual TInt TestGridsGridviewListBoxIndexFromLogicalPosL( CStifItemParser& /*aItem*/ );
|
|
847 |
|
|
848 |
/**
|
|
849 |
* TestGridsGridviewLogicalPosFromListBoxIndexL test function for testing the LogicalPosFromListBoxIndex function
|
|
850 |
* @since S60 5.0
|
|
851 |
* @param aItem never used
|
|
852 |
* @return Symbian OS error code.
|
|
853 |
*/
|
|
854 |
virtual TInt TestGridsGridviewLogicalPosFromListBoxIndexL( CStifItemParser& /*aItem*/ );
|
|
855 |
|
|
856 |
/**
|
|
857 |
* TestGridsGridviewDrawEmptyListL test function for testing the DrawEmptyList function
|
|
858 |
* @since S60 5.0
|
|
859 |
* @param aItem never used
|
|
860 |
* @return Symbian OS error code.
|
|
861 |
*/
|
|
862 |
virtual TInt TestGridsGridviewDrawEmptyListL( CStifItemParser& /*aItem*/ );
|
|
863 |
|
|
864 |
/**
|
|
865 |
* TestGridsGridviewSetGridDetailsL test function for testing the SetGridDetails function
|
|
866 |
* @since S60 5.0
|
|
867 |
* @param aItem never used
|
|
868 |
* @return Symbian OS error code.
|
|
869 |
*/
|
|
870 |
virtual TInt TestGridsGridviewSetGridDetailsL( CStifItemParser& aItem );
|
|
871 |
|
|
872 |
/**
|
|
873 |
* TestGridsGridviewMoveToItemIndexLL test function for testing the MoveToItemIndexL function
|
|
874 |
* @since S60 5.0
|
|
875 |
* @param aItem never used
|
|
876 |
* @return Symbian OS error code.
|
|
877 |
*/
|
|
878 |
virtual TInt TestGridsGridviewMoveToItemIndexLL( CStifItemParser& /*aItem*/ );
|
|
879 |
|
|
880 |
/**
|
|
881 |
* TestGridsGridviewNumberOfColsInViewL test function for testing the viewNumberOfColsInView function
|
|
882 |
* @since S60 5.0
|
|
883 |
* @param aItem never used
|
|
884 |
* @return Symbian OS error code.
|
|
885 |
*/
|
|
886 |
virtual TInt TestGridsGridviewNumberOfColsInViewL( CStifItemParser& /*aItem*/ );
|
|
887 |
|
|
888 |
/**
|
|
889 |
* TestGridsGridviewNumberOfRowsInViewL test function for testing the NumberOfRowsInView function
|
|
890 |
* @since S60 5.0
|
|
891 |
* @param aItem never used
|
|
892 |
* @return Symbian OS error code.
|
|
893 |
*/
|
|
894 |
virtual TInt TestGridsGridviewNumberOfRowsInViewL( CStifItemParser& /*aIetm*/ );
|
|
895 |
|
|
896 |
/**
|
|
897 |
* TestGridsGridviewDrawMatcherCursorL test function for testing the DrawMatcherCursor function
|
|
898 |
* @since S60 5.0
|
|
899 |
* @param aItem never used
|
|
900 |
* @return Symbian OS error code.
|
|
901 |
*/
|
|
902 |
virtual TInt TestGridsGridviewDrawMatcherCursorL( CStifItemParser& /*aItem*/ );
|
|
903 |
|
|
904 |
/**
|
|
905 |
* TestGridsGridviewCurrentItemIndexL test function for testing the CurrentItemIndex function
|
|
906 |
* @since S60 5.0
|
|
907 |
* @param aItem never used
|
|
908 |
* @return Symbian OS error code.
|
|
909 |
*/
|
|
910 |
virtual TInt TestGridsGridviewCurrentItemIndexL( CStifItemParser& /*aItem*/ );
|
|
911 |
|
|
912 |
/**
|
|
913 |
* TestGridsGridviewItemExistsL test function for testing the ItemExists function
|
|
914 |
* @since S60 5.0
|
|
915 |
* @param aItem never used
|
|
916 |
* @return Symbian OS error code.
|
|
917 |
*/
|
|
918 |
virtual TInt TestGridsGridviewItemExistsL( CStifItemParser& /*aItem*/ );
|
|
919 |
|
|
920 |
/**
|
|
921 |
* TestGridsGridviewSetColumnWidthL test function for testing the SetColumnWidth function
|
|
922 |
* @since S60 5.0
|
|
923 |
* @param aItem never used
|
|
924 |
* @return Symbian OS error code.
|
|
925 |
*/
|
|
926 |
virtual TInt TestGridsGridviewSetColumnWidthL( CStifItemParser& /*aItem*/ );
|
|
927 |
|
|
928 |
/**
|
|
929 |
* TestGridsGridviewMoveCursorLL test function for testing the MoveCursorL function
|
|
930 |
* @since S60 5.0
|
|
931 |
* @param aItem never used
|
|
932 |
* @return Symbian OS error code.
|
|
933 |
*/
|
|
934 |
virtual TInt TestGridsGridviewMoveCursorLL( CStifItemParser& /*aItem*/ );
|
|
935 |
|
|
936 |
/**
|
|
937 |
* TestGridsGridviewDrawL test function for testing the Draw function
|
|
938 |
* @since S60 5.0
|
|
939 |
* @param aItem never used
|
|
940 |
* @return Symbian OS error code.
|
|
941 |
*/
|
|
942 |
virtual TInt TestGridsGridviewDrawL( CStifItemParser& /*aItem*/ );
|
|
943 |
|
|
944 |
/**
|
|
945 |
* TestGridsGridviewDrawItemL test function for testing the DrawItem function
|
|
946 |
* @since S60 5.0
|
|
947 |
* @param aItem never used
|
|
948 |
* @return Symbian OS error code.
|
|
949 |
*/
|
|
950 |
virtual TInt TestGridsGridviewDrawItemL( CStifItemParser& /*aItem*/ );
|
|
951 |
|
|
952 |
/**
|
|
953 |
* TestGridsGridviewItemPosL test function for testing the ItemPos function
|
|
954 |
* @since S60 5.0
|
|
955 |
* @param aItem never used
|
|
956 |
* @return Symbian OS error code.
|
|
957 |
*/
|
|
958 |
virtual TInt TestGridsGridviewItemPosL( CStifItemParser& /*aItem*/ );
|
|
959 |
|
|
960 |
/**
|
|
961 |
* TestGridsGridviewCalcBottomItemIndexL test function for testing the CalcBottomItemIndexL function
|
|
962 |
* @since S60 5.0
|
|
963 |
* @param aItem never used
|
|
964 |
* @return Symbian OS error code.
|
|
965 |
*/
|
|
966 |
virtual TInt TestGridsGridviewCalcBottomItemIndexL( CStifItemParser& /*aItem*/ );
|
|
967 |
|
|
968 |
/**
|
|
969 |
* TestGridsGridviewCalcNewTopItemIndexSoItemIsVisibleL test function for testing the CalcNewTopItemIndexSoItemIsVisible function
|
|
970 |
* @since S60 5.0
|
|
971 |
* @param aItem never used
|
|
972 |
* @return Symbian OS error code.
|
|
973 |
*/
|
|
974 |
virtual TInt TestGridsGridviewCalcNewTopItemIndexSoItemIsVisibleL( CStifItemParser& /*aItem*/ );
|
|
975 |
|
|
976 |
/**
|
|
977 |
* TestGridsGridviewDrawItemRangeL test function for testing the DrawItemRange function
|
|
978 |
* @since S60 5.0
|
|
979 |
* @param aItem never used
|
|
980 |
* @return Symbian OS error code.
|
|
981 |
*/
|
|
982 |
virtual TInt TestGridsGridviewDrawItemRangeL( CStifItemParser& /*aItem*/ );
|
|
983 |
|
|
984 |
/**
|
|
985 |
* TestGridsGridviewColumnWidthL test function for testing the ColumnWidth function
|
|
986 |
* @since S60 5.0
|
|
987 |
* @param aItem never used
|
|
988 |
* @return Symbian OS error code.
|
|
989 |
*/
|
|
990 |
virtual TInt TestGridsGridviewColumnWidthL( CStifItemParser& aItem );
|
|
991 |
|
|
992 |
/**
|
|
993 |
* TestGridsGridviewSetTopItemIndexL test function for testing the SetTopItemIndex function
|
|
994 |
* @since S60 5.0
|
|
995 |
* @param aItem never used
|
|
996 |
* @return Symbian OS error code.
|
|
997 |
*/
|
|
998 |
virtual TInt TestGridsGridviewSetTopItemIndexL( CStifItemParser& aItem );
|
|
999 |
|
|
1000 |
/**
|
|
1001 |
* TestGridsGridviewSetItemHeightL test function for testing the SetItemHeight function
|
|
1002 |
* @since S60 5.0
|
|
1003 |
* @param aItem never used
|
|
1004 |
* @return Symbian OS error code.
|
|
1005 |
*/
|
|
1006 |
virtual TInt TestGridsGridviewSetItemHeightL( CStifItemParser& /*aItem*/ );
|
|
1007 |
|
|
1008 |
/**
|
|
1009 |
* TestGridsGridviewXYPosToItemIndexL test function for testing the XYPosToItemIndex function
|
|
1010 |
* @since S60 5.0
|
|
1011 |
* @param aItem never used
|
|
1012 |
* @return Symbian OS error code.
|
|
1013 |
*/
|
|
1014 |
virtual TInt TestGridsGridviewXYPosToItemIndexL( CStifItemParser& /*aItem*/ );
|
|
1015 |
|
|
1016 |
/**
|
|
1017 |
* TestGridsGridviewCalcDataWidthL test function for testing the CalcDataWidth function
|
|
1018 |
* @since S60 5.0
|
|
1019 |
* @param aItem never used
|
|
1020 |
* @return Symbian OS error code.
|
|
1021 |
*/
|
|
1022 |
virtual TInt TestGridsGridviewCalcDataWidthL( CStifItemParser& /*aItem*/ );
|
|
1023 |
|
|
1024 |
/**
|
|
1025 |
* TestGridsGridviewVisibleWidthL test function for testing the VisibleWidth function
|
|
1026 |
* @since S60 5.0
|
|
1027 |
* @param aItem never used
|
|
1028 |
* @return Symbian OS error code.
|
|
1029 |
*/
|
|
1030 |
virtual TInt TestGridsGridviewVisibleWidthL( CStifItemParser& /*aItem*/ );
|
|
1031 |
|
|
1032 |
/**
|
|
1033 |
* TestGridsGridviewScrollToMakeItemVisibleL test function for testing the ScrollToMakeItemVisible function
|
|
1034 |
* @since S60 5.0
|
|
1035 |
* @param aItem never used
|
|
1036 |
* @return Symbian OS error code.
|
|
1037 |
*/
|
|
1038 |
virtual TInt TestGridsGridviewScrollToMakeItemVisibleL( CStifItemParser& /*aItem*/ );
|
|
1039 |
|
|
1040 |
/**
|
|
1041 |
* TestGridsGridviewCalculateHScrollOffsetSoItemIsVisibleL test function for testing the CalculateHScrollOffsetSoItemIsVisible function
|
|
1042 |
* @since S60 5.0
|
|
1043 |
* @param aItem never used
|
|
1044 |
* @return Symbian OS error code.
|
|
1045 |
*/
|
|
1046 |
virtual TInt TestGridsGridviewCalculateHScrollOffsetSoItemIsVisibleL( CStifItemParser& /*aItem*/ );
|
|
1047 |
|
|
1048 |
/**
|
|
1049 |
* TestGridsGridviewItemSizeL test function for testing the ItemSize function
|
|
1050 |
* @since S60 5.0
|
|
1051 |
* @param aItem never used
|
|
1052 |
* @return Symbian OS error code.
|
|
1053 |
*/
|
|
1054 |
virtual TInt TestGridsGridviewItemSizeL( CStifItemParser& /*aItem*/ );
|
|
1055 |
|
|
1056 |
/**
|
|
1057 |
* TestGridsGridviewCalcRowAndColIndexesFromItemIndexL test function for testing the CalcRowAndColIndexesFromItemIndex function
|
|
1058 |
* @since S60 5.0
|
|
1059 |
* @param aItem never used
|
|
1060 |
* @return Symbian OS error code.
|
|
1061 |
*/
|
|
1062 |
virtual TInt TestGridsGridviewCalcRowAndColIndexesFromItemIndexL( CStifItemParser& aItem );
|
|
1063 |
|
|
1064 |
/**
|
|
1065 |
* TestGridsGridviewCalcItemIndexFromRowAndColIndexesL test function for testing the CalcItemIndexFromRowAndColIndexes function
|
|
1066 |
* @since S60 5.0
|
|
1067 |
* @param aItem never used
|
|
1068 |
* @return Symbian OS error code.
|
|
1069 |
*/
|
|
1070 |
virtual TInt TestGridsGridviewCalcItemIndexFromRowAndColIndexesL( CStifItemParser& /*aItem*/ );
|
|
1071 |
|
|
1072 |
/**
|
|
1073 |
* TestGridsGridviewDrawColumnRangeL test function for testing the DrawColumnRange function
|
|
1074 |
* @since S60 5.0
|
|
1075 |
* @param aItem never used
|
|
1076 |
* @return Symbian OS error code.
|
|
1077 |
*/
|
|
1078 |
virtual TInt TestGridsGridviewDrawColumnRangeL( CStifItemParser& /*aItem*/ );
|
|
1079 |
|
|
1080 |
/**
|
|
1081 |
* TestGridsGridviewClearUnusedItemSpaceL test function for testing the ClearUnusedItemSpace function
|
|
1082 |
* @since S60 5.0
|
|
1083 |
* @param aItem never used
|
|
1084 |
* @return Symbian OS error code.
|
|
1085 |
*/
|
|
1086 |
virtual TInt TestGridsGridviewClearUnusedItemSpaceL( CStifItemParser& /*aItem*/ );
|
|
1087 |
|
|
1088 |
/**
|
|
1089 |
* TestGridsGridviewUpdateHScrollOffsetBasedOnTopItemIndexL test function for testing the UpdateHScrollOffsetBasedOnTopItemIndex function
|
|
1090 |
* @since S60 5.0
|
|
1091 |
* @param aItem never used
|
|
1092 |
* @return Symbian OS error code.
|
|
1093 |
*/
|
|
1094 |
virtual TInt TestGridsGridviewUpdateHScrollOffsetBasedOnTopItemIndexL( CStifItemParser& /*aItem*/ );
|
|
1095 |
|
|
1096 |
/**
|
|
1097 |
* TestGridsGridviewDoMoveLL test function for testing the DoMoveL function
|
|
1098 |
* @since S60 5.0
|
|
1099 |
* @param aItem never used
|
|
1100 |
* @return Symbian OS error code.
|
|
1101 |
*/
|
|
1102 |
virtual TInt TestGridsGridviewDoMoveLL( CStifItemParser& /*aItem*/ );
|
|
1103 |
|
|
1104 |
private:
|
|
1105 |
/*
|
|
1106 |
* This member variable is for test other function
|
|
1107 |
*/
|
|
1108 |
CTestSDKGridsView* iView;
|
|
1109 |
/*
|
|
1110 |
* This member variable is for test other function
|
|
1111 |
*/
|
|
1112 |
CTestSDKGridsContainer* iContainer;
|
|
1113 |
/*
|
|
1114 |
* This member variable is for test other function
|
|
1115 |
*/
|
|
1116 |
CAknColourSelectionGrid* iCCSGrid;
|
|
1117 |
/*
|
|
1118 |
* This member variable is for test other function
|
|
1119 |
*/
|
|
1120 |
CAknGMSStyleGrid* iStyleGrid;
|
|
1121 |
/*
|
|
1122 |
* This member variable is for test other function
|
|
1123 |
*/
|
|
1124 |
CAknGrid* iGrid;
|
|
1125 |
/**
|
|
1126 |
* ScreenSaver Property
|
|
1127 |
*/
|
|
1128 |
TInt iOldScreenSaverProperty;
|
|
1129 |
|
|
1130 |
// Resource file offset
|
|
1131 |
TInt iOffset;
|
|
1132 |
};
|
|
1133 |
|
|
1134 |
#endif
|
|
1135 |
|
|
1136 |
/*
|
|
1137 |
* End of File
|
|
1138 |
*/
|