uiaccelerator_plat/alf_extension_api/tsrc/inc/testalfext.h
branchRCL_3
changeset 19 e5af45d51884
parent 18 1801340c26a2
child 20 31fccae4f8a7
equal deleted inserted replaced
18:1801340c26a2 19:e5af45d51884
     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:  this project test api in alf_extension_api
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_TESTALFEXT_H
       
    21 #define C_TESTALFEXT_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <stiflogger.h>
       
    25 #include <testscripterinternal.h>
       
    26 #include <stiftestmodule.h>
       
    27 #include <testclassassert.h>
       
    28 #include <uiacceltk/huienv.h>
       
    29 #include <uiacceltk/huicontrol.h>
       
    30 #include <uiacceltk/huicontrolgroup.h>
       
    31 #include <uiacceltk/huidisplay.h>
       
    32 #include <uiacceltk/huianchorlayout.h>
       
    33 #include <uiacceltk/huicommand.h>
       
    34 #include <uiacceltk/huimesh.h>
       
    35 #include <uiacceltk/huidisplaycoecontrol.h>
       
    36 #include <alf/alfbrushhandlers.h>
       
    37 #include <alf/alflayouthandlers.h>
       
    38 #include <alf/alfserverutils.h>
       
    39 #include <alf/alfvisualhandlers.h>
       
    40 #include <alf/ftokenclient.h>
       
    41 #include <alf/alfmetric.h>
       
    42 #include <alf/alfconstants.h>
       
    43 #include <uiacceltk/huiborderbrush.h>
       
    44 
       
    45 // MACROS
       
    46 #define TEST_CLASS_VERSION_MAJOR 0
       
    47 #define TEST_CLASS_VERSION_MINOR 0
       
    48 #define TEST_CLASS_VERSION_BUILD 0
       
    49 
       
    50 // Logging path
       
    51 _LIT( KtestalfextLogPath, "\\logs\\testframework\\testalfext\\" ); 
       
    52 // Log file
       
    53 _LIT( KtestalfextLogFile, "testalfext.txt" ); 
       
    54 _LIT( KtestalfextLogFileWithTitle, "testalfext_[%S].txt" );
       
    55 
       
    56 
       
    57 /*This class provides interface object for the test functions*/
       
    58 class CTestAlfInterfacePorvider : public CBase, public MAlfInterfaceProvider
       
    59     {
       
    60 public:
       
    61     /*
       
    62      * Constructor
       
    63      * */
       
    64     CTestAlfInterfacePorvider(){}
       
    65     /*
       
    66      * Deconstructor
       
    67      * */
       
    68     ~CTestAlfInterfacePorvider(){}
       
    69     /**
       
    70     * Request to pointer of given type matching to given handle. 
       
    71     * Leaves if object not found i.e. always returns pointer on completion
       
    72     */
       
    73     TAny* GetInterfaceL(const THuiInterfaceSupport& /*aType*/, TInt /*aHandle*/)
       
    74         { return NULL; }
       
    75 
       
    76     /**
       
    77     * Request identifier for pointer of given type 
       
    78     * On error returns KErrNotFound
       
    79     */
       
    80     TInt GetHandleFromInterface(const THuiInterfaceSupport& /*aType*/,
       
    81             TAny* /*aInterface*/){ return 0; }
       
    82 
       
    83     /**
       
    84     * Returns common layoutmanager or null
       
    85     */
       
    86     CAlfLayoutManager* LayoutManager() const{ return NULL; }
       
    87 
       
    88     /**
       
    89     * Returns common hitchcock environment or null
       
    90     */
       
    91     CHuiEnv* SharedHuiEnv() const{ return NULL; }
       
    92     
       
    93     /**
       
    94     * Request to make current command (during MAlfExtension::HandleCmd) asynchronous
       
    95     * returns command id that is needed for completing the command later on
       
    96     *
       
    97     * exntension should take references to buffers (in/out) in case it wants to modify client message
       
    98     * before completing it
       
    99     */
       
   100     TInt HandleCurrentCommanndAsynch(){ return 0;}
       
   101 
       
   102     /**
       
   103     * Complete asynch command, if MAlfExtension implementing object utilizes asynch commands
       
   104     * it should also take care that those messages are completed at latest when the extension is being 
       
   105     * destoryed. FW will panic the client in case of orphean messages
       
   106     */    
       
   107     void CompleteCmd(TInt /*aCommadIdentifier*/, TInt aResult = KErrNone){}
       
   108 
       
   109     /** ! Future proofing */
       
   110     void AlfInterfaceProviderExtension(const TUid& /*aExtensionUid*/, TAny** /*aExtensionParams*/){}
       
   111     };
       
   112 
       
   113 /**
       
   114 *  CTestAlfExt test class for STIF Test Framework TestScripter.
       
   115 *  @since S60 5.0
       
   116 */
       
   117 
       
   118 NONSHARABLE_CLASS( CTestAlfExt ) : public CScriptBase
       
   119     {
       
   120 public:  // Constructors and destructor
       
   121 
       
   122     /**
       
   123     * Two-phased constructor.
       
   124     */
       
   125     static CTestAlfExt* NewL( CTestModuleIf& aTestModuleIf );
       
   126 
       
   127     /**
       
   128     * Destructor.
       
   129     */
       
   130     virtual ~CTestAlfExt();
       
   131 
       
   132 public: // Functions from base classes
       
   133 
       
   134     /**
       
   135     * From CScriptBase Runs a script line.
       
   136     * @since S60 5.0
       
   137     * @param aItem Script line containing method name and parameters
       
   138     * @return Symbian OS error code
       
   139     */
       
   140     virtual TInt RunMethodL( CStifItemParser& aItem );
       
   141 
       
   142 private:
       
   143     /**
       
   144     * C++ default constructor.
       
   145     */
       
   146     CTestAlfExt( CTestModuleIf& aTestModuleIf );
       
   147     /**
       
   148     * By default Symbian 2nd phase constructor is private.
       
   149     */
       
   150     void ConstructL();
       
   151 
       
   152     /**
       
   153     * Example test method.
       
   154     * @since S60 5.0
       
   155     * @param aItem Script line containing parameters.
       
   156     * @return Symbian OS error code.
       
   157     */
       
   158     
       
   159     /**
       
   160      * Method used to log version of test class
       
   161      */
       
   162     void SendTestClassVersion();
       
   163     
       
   164         /**
       
   165      * Turn off ScreenSaver
       
   166      * @since S60 5.0
       
   167      * @return Symbian OS error code.
       
   168      */
       
   169     void TurnOffScreenSaver();
       
   170 
       
   171     /**
       
   172      * Restore ScreenSaver
       
   173      * @since S60 5.0
       
   174      * @return Symbian OS error code.
       
   175      */
       
   176     void RestoreScreenSaver();
       
   177 
       
   178 private: // [TestMethods]
       
   179     // alfbrushhandlers.h
       
   180     /**
       
   181      * TestBrushHandlerConstructL test constructor and ConstructL\
       
   182      *  of CAlfBrushHandler
       
   183      * @since S60 5.0
       
   184      * @param aItem never used
       
   185      * @return Symbian OS error code.
       
   186      */
       
   187     virtual TInt TestBrushHandlerConstructL( CStifItemParser& aItem );
       
   188 
       
   189     /**
       
   190      * TestBrushHandlerForMAlfExtensionL test Release GetInterface
       
   191      * HandleCmdL of CAlfBrushHandler
       
   192      * @since S60 5.0
       
   193      * @param aItem never used
       
   194      * @return Symbian OS error code.
       
   195      */
       
   196     virtual TInt TestBrushHandlerForMAlfExtensionL( CStifItemParser& aItem );
       
   197 
       
   198     /**
       
   199      * TestBrushHandlerForOthersL test other functions of CAlfBrushHandler
       
   200      * @since S60 5.0
       
   201      * @param aItem never used
       
   202      * @return Symbian OS error code.
       
   203      */
       
   204     virtual TInt TestBrushHandlerForOthersL( CStifItemParser& aItem );
       
   205 
       
   206     // alfbrushhandlers.h
       
   207     /**
       
   208      * TestBorderBrushHandlerConstructL test NewL and ConstructL
       
   209      * of CAlfBorderBrushHandler
       
   210      * @since S60 5.0
       
   211      * @param aItem never used
       
   212      * @return Symbian OS error code.
       
   213      */
       
   214     virtual TInt TestBorderBrushHandlerConstructL( CStifItemParser& aItem );
       
   215 
       
   216     /**
       
   217      * TestBorderBrushHandlerProtectedL test protected functions
       
   218      * of CAlfBorderBrushHandler
       
   219      * @since S60 5.0
       
   220      * @param aItem never used
       
   221      * @return Symbian OS error code.
       
   222      */
       
   223     virtual TInt TestBorderBrushHandlerProtectedL( CStifItemParser& aItem );
       
   224 
       
   225     // alfbrushhandlers.h
       
   226     /**
       
   227      * TestImageBrushHandlerConstructL test NewL and ConstructL
       
   228      * of CAlfImageBrushHandler
       
   229      * @since S60 5.0
       
   230      * @param aItem never used
       
   231      * @return Symbian OS error code.
       
   232      */
       
   233     virtual TInt TestImageBrushHandlerConstructL( CStifItemParser& aItem );
       
   234 
       
   235     /**
       
   236      * TestImageBrushHandlerProtectedL test protected functions
       
   237      * of CAlfImageBrushHandler
       
   238      * @since S60 5.0
       
   239      * @param aItem never used
       
   240      * @return Symbian OS error code.
       
   241      */
       
   242     virtual TInt TestImageBrushHandlerProtectedL( CStifItemParser& aItem );
       
   243 
       
   244     // alfbrushhandlers.h
       
   245     /**
       
   246      * TestShadowBorderBrushHandlerConstructL test NewL and ConstructL
       
   247      * of CAlfShadowBorderBrushHandler
       
   248      * @since S60 5.0
       
   249      * @param aItem never used
       
   250      * @return Symbian OS error code.
       
   251      */
       
   252     virtual TInt TestShadowBorderBrushHandlerConstructL( CStifItemParser& aItem );
       
   253 
       
   254     /**
       
   255      * TestShadowBorderBrushHandlerProtectedL test protected functions
       
   256      * of CAlfShadowBorderBrushHandler
       
   257      * @since S60 5.0
       
   258      * @param aItem never used
       
   259      * @return Symbian OS error code.
       
   260      */
       
   261     virtual TInt TestShadowBorderBrushHandlerProtectedL( CStifItemParser& aItem );
       
   262     
       
   263     // alfbrushhandlers.h
       
   264     /**
       
   265      * TestDropShadowBrushHandlerConstructL test NewL and ConstructL
       
   266      * of CAlfDropShadowBrushHandler
       
   267      * @since S60 5.0
       
   268      * @param aItem never used
       
   269      * @return Symbian OS error code.
       
   270      */
       
   271     virtual TInt TestDropShadowBrushHandlerConstructL( CStifItemParser& aItem );
       
   272 
       
   273     /**
       
   274      * TestDropShadowBrushHandlerProtectedL test protected functions
       
   275      * of CAlfDropShadowBrushHandler
       
   276      * @since S60 5.0
       
   277      * @param aItem never used
       
   278      * @return Symbian OS error code.
       
   279      */
       
   280     virtual TInt TestDropShadowBrushHandlerProtectedL( CStifItemParser& aItem );
       
   281 
       
   282     // alfbrushhandlers.h
       
   283     /**
       
   284      * TestGradientBrushHandlerConstructL test NewL and ConstructL
       
   285      * of CAlfGradientBrushHandler
       
   286      * @since S60 5.0
       
   287      * @param aItem never used
       
   288      * @return Symbian OS error code.
       
   289      */
       
   290     virtual TInt TestGradientBrushHandlerConstructL( CStifItemParser& aItem );
       
   291 
       
   292     /**
       
   293      * TestGradientBrushHandlerProtectedL test protected functions
       
   294      * of CAlfGradientBrushHandler
       
   295      * @since S60 5.0
       
   296      * @param aItem never used
       
   297      * @return Symbian OS error code.
       
   298      */
       
   299     virtual TInt TestGradientBrushHandlerProtectedL( CStifItemParser& aItem );
       
   300     
       
   301     // alfbrushhandlers.h
       
   302     
       
   303     /**
       
   304      * TestFrameBrushHandlerConstructL test NewL and ConstructL
       
   305      * of CAlfFrameBrushHandler
       
   306      * @since S60 5.0
       
   307      * @param aItem never used
       
   308      * @return Symbian OS error code.
       
   309      */
       
   310     virtual TInt TestFrameBrushHandlerConstructL( CStifItemParser& aItem );
       
   311 
       
   312     /**
       
   313      * TestFrameBrushHandlerProtectedL test protected functions
       
   314      * of CAlfFrameBrushHandler
       
   315      * @since S60 5.0
       
   316      * @param aItem never used
       
   317      * @return Symbian OS error code.
       
   318      */
       
   319     virtual TInt TestFrameBrushHandlerProtectedL( CStifItemParser& aItem );
       
   320 
       
   321     // alflayouthandlers.h
       
   322     /**
       
   323      * TestLayoutHandlerConstructL test NewL, Constructor and ConstructL 
       
   324      * of CAlfLayoutHandler
       
   325      * @since S60 5.0
       
   326      * @param aItem never used
       
   327      * @return Symbian OS error code.
       
   328      */
       
   329     virtual TInt TestLayoutHandlerConstructL( CStifItemParser& aItem );
       
   330 
       
   331     /**
       
   332      * TestLayoutHandlerProtectedL test protected functions
       
   333      * of CAlfLayoutHandler
       
   334      * @since S60 5.0
       
   335      * @param aItem never used
       
   336      * @return Symbian OS error code.
       
   337      */
       
   338     virtual TInt TestLayoutHandlerProtectedL( CStifItemParser& aItem );
       
   339     
       
   340     /**
       
   341      * TestAnchorLayoutHandlerConstructL test NewL, Constructor and ConstructL 
       
   342      * of CAlfAnchorLayoutHandler
       
   343      * @since S60 5.0
       
   344      * @param aItem never used
       
   345      * @return Symbian OS error code.
       
   346      */
       
   347     virtual TInt TestAnchorLayoutHandlerConstructL( CStifItemParser& aItem );
       
   348 
       
   349     /**
       
   350      * TestAnchorLayoutHandlerProtectedL test protected functions
       
   351      * of CAlfAnchorLayoutHandler
       
   352      * @since S60 5.0
       
   353      * @param aItem never used
       
   354      * @return Symbian OS error code.
       
   355      */
       
   356     virtual TInt TestAnchorLayoutHandlerProtectedL( CStifItemParser& aItem );
       
   357     
       
   358     /**
       
   359      * TestLCTAnchorLayoutHandlerConstructL test NewL, Constructor and ConstructL 
       
   360      * of CAlfLCTAnchorLayoutHandler
       
   361      * @since S60 5.0
       
   362      * @param aItem never used
       
   363      * @return Symbian OS error code.
       
   364      */
       
   365     virtual TInt TestLCTAnchorLayoutHandlerConstructL( CStifItemParser& aItem );
       
   366 
       
   367     /**
       
   368      * TestLCTAnchorLayoutHandlerProtectedL test protected functions
       
   369      * of CAlfLCTAnchorLayoutHandler
       
   370      * @since S60 5.0
       
   371      * @param aItem never used
       
   372      * @return Symbian OS error code.
       
   373      */
       
   374     virtual TInt TestLCTAnchorLayoutHandlerProtectedL( CStifItemParser& aItem );
       
   375     
       
   376     /**
       
   377      * TestGridLayoutHandlerConstructL test NewL, Constructor and ConstructL 
       
   378      * of CAlfGridLayoutHandler
       
   379      * @since S60 5.0
       
   380      * @param aItem never used
       
   381      * @return Symbian OS error code.
       
   382      */
       
   383     virtual TInt TestGridLayoutHandlerConstructL( CStifItemParser& aItem );
       
   384 
       
   385     /**
       
   386      * TestGridLayoutHandlerProtectedL test protected functions
       
   387      * of CAlfGridLayoutHandler
       
   388      * @since S60 5.0
       
   389      * @param aItem never used
       
   390      * @return Symbian OS error code.
       
   391      */
       
   392     virtual TInt TestGridLayoutHandlerProtectedL( CStifItemParser& aItem );
       
   393     
       
   394     /**
       
   395      * TestLCTGridLayoutHandlerConstructL test NewL, Constructor and ConstructL 
       
   396      * of CAlfLCTGridLayoutHandler
       
   397      * @since S60 5.0
       
   398      * @param aItem never used
       
   399      * @return Symbian OS error code.
       
   400      */
       
   401     virtual TInt TestLCTGridLayoutHandlerConstructL( CStifItemParser& aItem );
       
   402 
       
   403     /**
       
   404      * TestLCTGridLayoutHandlerProtectedL test protected functions
       
   405      * of CAlfLCTGridLayoutHandler
       
   406      * @since S60 5.0
       
   407      * @param aItem never used
       
   408      * @return Symbian OS error code.
       
   409      */
       
   410     virtual TInt TestLCTGridLayoutHandlerProtectedL( CStifItemParser& aItem );
       
   411     
       
   412     /**
       
   413      * TestDeckLayoutHandlerConstructL test NewL, Constructor and ConstructL 
       
   414      * of CAlfDeckLayoutHandler
       
   415      * @since S60 5.0
       
   416      * @param aItem never used
       
   417      * @return Symbian OS error code.
       
   418      */
       
   419     virtual TInt TestDeckLayoutHandlerConstructL( CStifItemParser& aItem );
       
   420 
       
   421     /**
       
   422      * TestDeckLayoutHandlerProtectedL test protected functions
       
   423      * of CAlfDeckLayoutHandler
       
   424      * @since S60 5.0
       
   425      * @param aItem never used
       
   426      * @return Symbian OS error code.
       
   427      */
       
   428     virtual TInt TestDeckLayoutHandlerProtectedL( CStifItemParser& aItem );
       
   429     
       
   430     /**
       
   431      * TestFlowLayoutHandlerConstructL test NewL, Constructor and ConstructL 
       
   432      * of CAlfFlowLayoutHandler
       
   433      * @since S60 5.0
       
   434      * @param aItem never used
       
   435      * @return Symbian OS error code.
       
   436      */
       
   437     virtual TInt TestFlowLayoutHandlerConstructL( CStifItemParser& aItem );
       
   438 
       
   439     /**
       
   440      * TestFlowLayoutHandlerProtectedL test protected functions
       
   441      * of CAlfFlowLayoutHandler
       
   442      * @since S60 5.0
       
   443      * @param aItem never used
       
   444      * @return Symbian OS error code.
       
   445      */
       
   446     virtual TInt TestFlowLayoutHandlerProtectedL( CStifItemParser& aItem );
       
   447     
       
   448     /**
       
   449      * TestCurvePathLayoutHandlerConstructL test NewL, Constructor and ConstructL 
       
   450      * of CAlfCurvePathLayoutHandler
       
   451      * @since S60 5.0
       
   452      * @param aItem never used
       
   453      * @return Symbian OS error code.
       
   454      */
       
   455     virtual TInt TestCurvePathLayoutHandlerConstructL( CStifItemParser& aItem );
       
   456 
       
   457     /**
       
   458      * TestCurvePathLayoutHandlerProtectedL test protected functions
       
   459      * of CAlfCurvePathLayoutHandler
       
   460      * @since S60 5.0
       
   461      * @param aItem never used
       
   462      * @return Symbian OS error code.
       
   463      */
       
   464     virtual TInt TestCurvePathLayoutHandlerProtectedL( CStifItemParser& aItem );
       
   465     
       
   466     /**
       
   467      * TestViewportLayoutHandlerConstructL test NewL, Constructor and ConstructL 
       
   468      * of CAlfViewportLayoutHandler
       
   469      * @since S60 5.0
       
   470      * @param aItem never used
       
   471      * @return Symbian OS error code.
       
   472      */
       
   473     virtual TInt TestViewportLayoutHandlerConstructL( CStifItemParser& aItem );
       
   474 
       
   475     /**
       
   476      * TestViewportLayoutHandlerProtectedL test protected functions
       
   477      * of CAlfViewportLayoutHandler
       
   478      * @since S60 5.0
       
   479      * @param aItem never used
       
   480      * @return Symbian OS error code.
       
   481      */
       
   482     virtual TInt TestViewportLayoutHandlerProtectedL( CStifItemParser& aItem );
       
   483     
       
   484     // alfserverutils.h
       
   485     
       
   486     /**
       
   487      * TestTimedValueUtil test functions of AlfTimedValueUtility
       
   488      * @since S60 5.0
       
   489      * @param aItem never used
       
   490      * @return Symbian OS error code.
       
   491      */
       
   492     virtual TInt TestTimedValueUtil( CStifItemParser& aItem );
       
   493 
       
   494     /**
       
   495      * TestTimedPointUtil test functions of AlfTimedPointUtility
       
   496      * @since S60 5.0
       
   497      * @param aItem never used
       
   498      * @return Symbian OS error code.
       
   499      */
       
   500     virtual TInt TestTimedPointUtil( CStifItemParser& aItem );
       
   501 
       
   502     /**
       
   503      * TestFileTokenUtil test functions of AlfFileTokenUtility
       
   504      * @since S60 5.0
       
   505      * @param aItem never used
       
   506      * @return Symbian OS error code.
       
   507      */
       
   508     virtual TInt TestFileTokenUtil( CStifItemParser& aItem );
       
   509     
       
   510     // alfvisualhandlers.h
       
   511     
       
   512     /**
       
   513      * TestVisualHandlerConstructL test NewL of CAlfVisualHandler
       
   514      * @since S60 5.0
       
   515      * @param aItem never used
       
   516      * @return Symbian OS error code.
       
   517      */
       
   518     virtual TInt TestVisualHandlerConstructL( CStifItemParser& aItem );
       
   519 
       
   520     /**
       
   521      * TestVisualHandlerMutualL test functions of CAlfVisualHandler
       
   522      * @since S60 5.0
       
   523      * @param aItem never used
       
   524      * @return Symbian OS error code.
       
   525      */
       
   526     virtual TInt TestVisualHandlerMutualL( CStifItemParser& aItem );
       
   527     
       
   528     /**
       
   529      * TestTextVisualHandlerConstructL test NewL of CAlfTextVisualHandler
       
   530      * @since S60 5.0
       
   531      * @param aItem never used
       
   532      * @return Symbian OS error code.
       
   533      */
       
   534     virtual TInt TestTextVisualHandlerConstructL( CStifItemParser& aItem );
       
   535 
       
   536     /**
       
   537      * TestTextVisualHandlerMutualL test functions of CAlfTextVisualHandler
       
   538      * @since S60 5.0
       
   539      * @param aItem never used
       
   540      * @return Symbian OS error code.
       
   541      */
       
   542     virtual TInt TestTextVisualHandlerMutualL( CStifItemParser& aItem );
       
   543     /**
       
   544      * TestLCTTextVisualHandlerConstructL test NewL of CAlfLCTTextVisualHandler
       
   545      * @since S60 5.0
       
   546      * @param aItem never used
       
   547      * @return Symbian OS error code.
       
   548      */
       
   549     virtual TInt TestLCTTextVisualHandlerConstructL( CStifItemParser& aItem );
       
   550 
       
   551     /**
       
   552      * TestLCTTextVisualHandlerMutualL test functions of CAlfLCTTextVisualHandler
       
   553      * @since S60 5.0
       
   554      * @param aItem never used
       
   555      * @return Symbian OS error code.
       
   556      */
       
   557     virtual TInt TestLCTTextVisualHandlerMutualL( CStifItemParser& aItem );
       
   558     
       
   559     /**
       
   560      * TestImageVisualHandlerConstructL test NewL of CAlfImageVisualHandler
       
   561      * @since S60 5.0
       
   562      * @param aItem never used
       
   563      * @return Symbian OS error code.
       
   564      */
       
   565     virtual TInt TestImageVisualHandlerConstructL( CStifItemParser& aItem );
       
   566 
       
   567     /**
       
   568      * TestImageVisualHandlerMutualL test functions of CAlfImageVisualHandler
       
   569      * @since S60 5.0
       
   570      * @param aItem never used
       
   571      * @return Symbian OS error code.
       
   572      */
       
   573     virtual TInt TestImageVisualHandlerMutualL( CStifItemParser& aItem );
       
   574     
       
   575     /**
       
   576      * TestLineVisualHandlerConstructL test NewL of CAlfImageVisualHandler
       
   577      * @since S60 5.0
       
   578      * @param aItem never used
       
   579      * @return Symbian OS error code.
       
   580      */
       
   581     virtual TInt TestLineVisualHandlerConstructL( CStifItemParser& aItem );
       
   582 
       
   583     /**
       
   584      * TestLineVisualHandlerMutualL test functions of CAlfImageVisualHandler
       
   585      * @since S60 5.0
       
   586      * @param aItem never used
       
   587      * @return Symbian OS error code.
       
   588      */
       
   589     virtual TInt TestLineVisualHandlerMutualL( CStifItemParser& aItem );
       
   590     
       
   591     /**
       
   592      * TestMeshVisualHandlerConstructL test NewL of CAlfImageVisualHandler
       
   593      * @since S60 5.0
       
   594      * @param aItem never used
       
   595      * @return Symbian OS error code.
       
   596      */
       
   597     virtual TInt TestMeshVisualHandlerConstructL( CStifItemParser& aItem );
       
   598 
       
   599     /**
       
   600      * TestMeshVisualHandlerMutualL test functions of CAlfImageVisualHandler
       
   601      * @since S60 5.0
       
   602      * @param aItem never used
       
   603      * @return Symbian OS error code.
       
   604      */
       
   605     virtual TInt TestMeshVisualHandlerMutualL( CStifItemParser& aItem );
       
   606     
       
   607     // ftokenclient.h
       
   608 
       
   609     /**
       
   610      * TestRFTokenClientFuncL test functions of RFTokenClient
       
   611      * @since S60 5.0
       
   612      * @param aItem never used
       
   613      * @return Symbian OS error code.
       
   614      */
       
   615     virtual TInt TestRFTokenClientFuncL( CStifItemParser& aItem );
       
   616 
       
   617 private:    // Data
       
   618     /**
       
   619      * ScreenSaver Property
       
   620      */
       
   621     TInt iOldScreenSaverProperty;
       
   622     /*
       
   623      * Interface pointer for test
       
   624      * */
       
   625     CTestAlfInterfacePorvider *iInterface;
       
   626     
       
   627     /*
       
   628      * The environment
       
   629     */
       
   630     CHuiEnv* iHuiEnv;
       
   631     /*
       
   632      * The iHuiControl of visual
       
   633     */
       
   634     CHuiControl* iHuiControl;
       
   635     /*
       
   636     * The iHuiControl group
       
   637     */
       
   638     CHuiControlGroup* iHuiControlGroup;
       
   639     /*
       
   640     * The CHuiVisual
       
   641     */
       
   642     CHuiVisual* iHuiVisual;
       
   643     
       
   644     };
       
   645 
       
   646 #endif      // C_TESTALFEXT_H
       
   647 
       
   648 // End of File
       
   649