classicui_pub/buttons_api/tsrc/inc/testsdkbuttons.h
changeset 0 2f259fa3e83a
child 14 3320e4e6e8bb
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     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 buttons api.
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_TESTSDKBUTTONS_H
       
    21 #define C_TESTSDKBUTTONS_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <stiflogger.h>
       
    25 #include <testscripterinternal.h>
       
    26 #include <stiftestmodule.h>
       
    27 #include <testclassassert.h>
       
    28 #include <eikbgfty.h>
       
    29 #include <eikbtgpc.h>
       
    30 #include <eikbtgps.h>
       
    31 #include <eikbutb.h>
       
    32 #include <eikcba.h>
       
    33 #include <eikcmbut.h>
       
    34 #include <eiklbbut.h>
       
    35 #include <eikmnbut.h>
       
    36 #include <barsread.h>
       
    37 #include <eikmobs.h>
       
    38 #include <eikenv.h>
       
    39 #include <eikappui.h>
       
    40 #include <coemain.h>
       
    41 
       
    42 #include "testsdkbuttonscontainer.h"
       
    43 
       
    44 // MACROS
       
    45 #define TEST_CLASS_VERSION_MAJOR 0
       
    46 #define TEST_CLASS_VERSION_MINOR 0
       
    47 #define TEST_CLASS_VERSION_BUILD 0
       
    48 
       
    49 // Logging path
       
    50 _LIT( KtestsdkbuttonsLogPath, "\\logs\\testframework\\testsdkbuttons\\" ); 
       
    51 // Log file
       
    52 _LIT( KtestsdkbuttonsLogFile, "testsdkbuttons.txt" ); 
       
    53 _LIT( KtestsdkbuttonsLogFileWithTitle, "testsdkbuttons_[%S].txt" );
       
    54 
       
    55 
       
    56 /**
       
    57 *  CTestSDKButtons test class for STIF Test Framework TestScripter.
       
    58 *  @since S60 5.0
       
    59 */
       
    60 NONSHARABLE_CLASS(CTestSDKButtons) : public CScriptBase
       
    61     {
       
    62 public:  // Constructors and destructor
       
    63 
       
    64     /**
       
    65     * Two-phased constructor.
       
    66     */
       
    67     static CTestSDKButtons* NewL( CTestModuleIf& aTestModuleIf );
       
    68 
       
    69     /**
       
    70     * Destructor.
       
    71     */
       
    72     virtual ~CTestSDKButtons();
       
    73 
       
    74 public: // Functions from base classes
       
    75 
       
    76     /**
       
    77     * From CScriptBase Runs a script line.
       
    78     * @since S60 5.0
       
    79     * @param aItem Script line containing method name and parameters
       
    80     * @return Symbian OS error code
       
    81     */
       
    82     virtual TInt RunMethodL( CStifItemParser& aItem );
       
    83 
       
    84 private:
       
    85 
       
    86     /**
       
    87     * C++ default constructor.
       
    88     */
       
    89     CTestSDKButtons( CTestModuleIf& aTestModuleIf );
       
    90 
       
    91     /**
       
    92     * By default Symbian 2nd phase constructor is private.
       
    93     */
       
    94     void ConstructL();
       
    95 
       
    96     /**
       
    97     * Frees all resources allocated from test methods.
       
    98     * @since S60 5.0
       
    99     */
       
   100     void Delete();
       
   101     
       
   102     
       
   103     /**
       
   104      * Method used to log version of test class
       
   105      */
       
   106     void SendTestClassVersion();
       
   107     
       
   108         /**
       
   109      * Turn off ScreenSaver
       
   110      * @since S60 5.0
       
   111      * @return Symbian OS error code.
       
   112      */
       
   113     void TurnOffScreenSaver();
       
   114 
       
   115     /**
       
   116      * Restore ScreenSaver
       
   117      * @since S60 5.0
       
   118      * @return Symbian OS error code.
       
   119      */
       
   120     void RestoreScreenSaver();
       
   121 
       
   122 private:
       
   123     /**
       
   124     * TestMenuBtConstructorL test constructor and 
       
   125     * deconstructor of CEikMenuButton in eikmnbut.h.
       
   126     * @since S60 5.0
       
   127     * @param aItem is not used.
       
   128     * @return Symbian OS error code.
       
   129     */
       
   130     virtual TInt TestMenuBtConstructorL( CStifItemParser& aItem );
       
   131     
       
   132     /**
       
   133     * TestMenuBtConstructorL test ConstructFromResourceL 
       
   134     * of CEikMenuButton in eikmnbut.h.
       
   135     * @since S60 5.0
       
   136     * @param aItem is not used.
       
   137     * @return Symbian OS error code.
       
   138     */
       
   139     virtual TInt TestMenuBtConstructFromResourceL( CStifItemParser& aItem );
       
   140     
       
   141     /**
       
   142     * TestMenuBtLaunchPopupMenuL test LaunchPopupMenuL 
       
   143     * of CEikMenuButton in eikmnbut.h.
       
   144     * @since S60 5.0
       
   145     * @param aItem is not used.
       
   146     * @return Symbian OS error code.
       
   147     */
       
   148     virtual TInt TestMenuBtLaunchPopupMenuL( CStifItemParser& aItem );
       
   149     
       
   150     /**
       
   151     * TestMenuBtSetMenuPaneIdL test SetMenuPaneId 
       
   152     * of CEikMenuButton in eikmnbut.h.
       
   153     * @since S60 5.0
       
   154     * @param aItem is not used.
       
   155     * @return Symbian OS error code.
       
   156     */
       
   157     virtual TInt TestMenuBtSetMenuPaneIdL( CStifItemParser& aItem );
       
   158     
       
   159     /**
       
   160     * TestMenuBtAnimateL test Animate of CEikMenuButton in eikmnbut.h.
       
   161     * @since S60 5.0
       
   162     * @param aItem is not used.
       
   163     * @return Symbian OS error code.
       
   164     */
       
   165     virtual TInt TestMenuBtAnimateL( CStifItemParser& aItem );
       
   166     
       
   167     /**
       
   168     * TestMenuBtWriteInternalStateL test WriteInternalStateL 
       
   169     * of CEikMenuButton in eikmnbut.h.
       
   170     * @since S60 5.0
       
   171     * @param aItem is not used.
       
   172     * @return Symbian OS error code.
       
   173     */
       
   174     virtual TInt TestMenuBtWriteInternalStateL( CStifItemParser& aItem );
       
   175     /**
       
   176     * TestLabelBtConstructorL test constructor and 
       
   177     * deconstructor of CEikLabeledButton in eiklbbut.h.
       
   178     * @since S60 5.0
       
   179     * @param aItem is not used.
       
   180     * @return Symbian OS error code.
       
   181     */
       
   182     virtual TInt TestLabelBtConstructorL( CStifItemParser& aItem );
       
   183     
       
   184     /**
       
   185     * TestLabelBtConstructL test second constructor 
       
   186     * of CEikLabeledButton in eiklbbut.h.
       
   187     * @since S60 5.0
       
   188     * @param aItem is not used.
       
   189     * @return Symbian OS error code.
       
   190     */
       
   191     virtual TInt TestLabelBtConstructL( CStifItemParser& aItem );
       
   192     
       
   193     /**
       
   194     * TestLabelBtConstructFromResourceL test resource constructor 
       
   195     * of CEikLabeledButton in eiklbbut.h.
       
   196     * @since S60 5.0
       
   197     * @param aItem is not used.
       
   198     * @return Symbian OS error code.
       
   199     */
       
   200     virtual TInt TestLabelBtConstructFromResourceL( CStifItemParser& aItem );
       
   201     
       
   202     /**
       
   203     * TestLabelBtButtonoL test Button function 
       
   204     * of CEikLabeledButton in eiklbbut.h.
       
   205     * @since S60 5.0
       
   206     * @param aItem is not used.
       
   207     * @return Symbian OS error code.
       
   208     */
       
   209     virtual TInt TestLabelBtButtonoL( CStifItemParser& aItem );
       
   210     
       
   211     /**
       
   212     * TestLabelBtLabelL test Label function 
       
   213     * of CEikLabeledButton in eiklbbut.h.
       
   214     * @since S60 5.0
       
   215     * @param aItem is not used.
       
   216     * @return Symbian OS error code.
       
   217     */
       
   218     virtual TInt TestLabelBtLabelL( CStifItemParser& aItem );
       
   219     
       
   220     /**
       
   221     * TestLabelBtHotKeyFunctionsL test HotKeyCode,ShowsHotKey,
       
   222     * UpdateHotKey,PlainHotKey,four functions of CEikLabeledButton in eiklbbut.h.
       
   223     * @since S60 5.0
       
   224     * @param aItem is not used.
       
   225     * @return Symbian OS error code.
       
   226     */
       
   227     virtual TInt TestLabelBtHotKeyFunctionsL( CStifItemParser& aItem );
       
   228     
       
   229     /**
       
   230     * TestLabelBtAnimateL test Animate of CEikLabeledButton in eiklbbut.h.
       
   231     * @since S60 5.0
       
   232     * @param aItem is not used.
       
   233     * @return Symbian OS error code.
       
   234     */
       
   235     virtual TInt TestLabelBtAnimateL( CStifItemParser& aItem );
       
   236     
       
   237     /**
       
   238     * TestLabelBtOfferKeyEvnetL test OfferKeyEvnetL and HandlePointerEventL
       
   239     * of CEikLabeledButton in eiklbbut.h.
       
   240     * @since S60 5.0
       
   241     * @param aItem is not used.
       
   242     * @return Symbian OS error code.
       
   243     */
       
   244     virtual TInt TestLabelBtOfferKeyEvnetL( CStifItemParser& aItem );
       
   245     
       
   246     /**
       
   247     * TestLabelBtSetContainerWindowL test SetContainerWindow of CEikLabeledButton 
       
   248     * in eiklbbut.h.
       
   249     * @since S60 5.0
       
   250     * @param aItem is not used.
       
   251     * @return Symbian OS error code.
       
   252     */
       
   253     virtual TInt TestLabelBtSetContainerWindowL( CStifItemParser& aItem );
       
   254     
       
   255     /**
       
   256     * TestLabelBtMiniSizeL test MinimumSize of CEikLabeledButton 
       
   257     * in eiklbbut.h.
       
   258     * @since S60 5.0
       
   259     * @param aItem is not used.
       
   260     * @return Symbian OS error code.
       
   261     */
       
   262     virtual TInt TestLabelBtMiniSizeL( CStifItemParser& aItem );
       
   263     
       
   264     /**
       
   265     * TestLabelBtSetdimL test SetDimmed of CEikLabeledButton 
       
   266     * in eiklbbut.h.
       
   267     * @since S60 5.0
       
   268     * @param aItem is not used.
       
   269     * @return Symbian OS error code.
       
   270     */
       
   271     virtual TInt TestLabelBtSetdimL( CStifItemParser& aItem );
       
   272     
       
   273     /**
       
   274     * TestLabelBtHandleResourceChangeL test HandleResourceChange
       
   275     * of CEikLabeledButton in eiklbbut.h.
       
   276     * @since S60 5.0
       
   277     * @param aItem is not used.
       
   278     * @return Symbian OS error code.
       
   279     */
       
   280     virtual TInt TestLabelBtHandleResourceChangeL( CStifItemParser& aItem );
       
   281     
       
   282     /**
       
   283     * TestLabelBtInputCapabilitiesL test InputCapabilities
       
   284     * of CEikLabeledButton in eiklbbut.h.
       
   285     * @since S60 5.0
       
   286     * @param aItem is not used.
       
   287     * @return Symbian OS error code.
       
   288     */
       
   289     virtual TInt TestLabelBtInputCapabilitiesL( CStifItemParser& aItem );
       
   290     
       
   291     /**
       
   292     * TestLabelBtGetColorUseListL test GetColorUseListL
       
   293     * of CEikLabeledButton in eiklbbut.h.
       
   294     * @since S60 5.0
       
   295     * @param aItem is not used.
       
   296     * @return Symbian OS error code.
       
   297     */
       
   298     virtual TInt TestLabelBtGetColorUseListL( CStifItemParser& aItem );
       
   299     
       
   300     /**
       
   301     * TestLabelBtWriteInternalStateL test WriteInternalStateL
       
   302     * of CEikLabeledButton in eiklbbut.h.
       
   303     * @since S60 5.0
       
   304     * @param aItem is not used.
       
   305     * @return Symbian OS error code.
       
   306     */
       
   307     virtual TInt TestLabelBtWriteInternalStateL( CStifItemParser& aItem );
       
   308     
       
   309     
       
   310     /**
       
   311     * TestCEikCmdBtBaseConstrutorL test constructor
       
   312     * of CEikCommandButtonBase in eikcmbut.h
       
   313     * @since S60 5.0
       
   314     * @param aItem is not used.
       
   315     * @return Symbian OS error code.
       
   316     */
       
   317     virtual TInt TestCEikCmdBtBaseConstrutorL( CStifItemParser& aItem );
       
   318     
       
   319     /**
       
   320     * TestCEikCmdBtBaseSetButtonLayoutL test SetButtonLayout
       
   321     * of CEikCommandButtonBase in eikcmbut.h
       
   322     * @since S60 5.0
       
   323     * @param aItem is not used.
       
   324     * @return Symbian OS error code.
       
   325     */
       
   326     virtual TInt TestCEikCmdBtBaseSetButtonLayoutL( CStifItemParser& aItem );
       
   327     
       
   328     /**
       
   329     * TestCEikCmdBtBaseSetExcessSpaceL test SetExcessSpace
       
   330     * of CEikCommandButtonBase in eikcmbut.h
       
   331     * @since S60 5.0
       
   332     * @param aItem is not used.
       
   333     * @return Symbian OS error code.
       
   334     */
       
   335     virtual TInt TestCEikCmdBtBaseSetExcessSpaceL( CStifItemParser& aItem );
       
   336     
       
   337     
       
   338     /**
       
   339     * TestCEikCmdBtBaseSetDisplayContentL test SetDisplayContent
       
   340     * of CEikCommandButtonBase in eikcmbut.h
       
   341     * @since S60 5.0
       
   342     * @param aItem is not used.
       
   343     * @return Symbian OS error code.
       
   344     */
       
   345     virtual TInt TestCEikCmdBtBaseSetDisplayContentL( CStifItemParser& aItem );
       
   346     
       
   347     /**
       
   348     * TestCEikCmdBtBaseLayoutComponentsL test LayoutComponents
       
   349     * of CEikCommandButtonBase in eikcmbut.h
       
   350     * @since S60 5.0
       
   351     * @param aItem is not used.
       
   352     * @return Symbian OS error code.
       
   353     */
       
   354     virtual TInt TestCEikCmdBtBaseLayoutComponentsL( CStifItemParser& aItem );
       
   355     
       
   356     /**
       
   357     * TestCEikCmdBtBaseStartConstructFromResourceL test StartConstructFromResourceL
       
   358     * of CEikCommandButtonBase in eikcmbut.h
       
   359     * @since S60 5.0
       
   360     * @param aItem is not used.
       
   361     * @return Symbian OS error code.
       
   362     */
       
   363     virtual TInt TestCEikCmdBtBaseStartConstructFromResourceL( CStifItemParser& aItem );
       
   364     
       
   365     /**
       
   366     * TestCEikCmdBtBaseConstructLabelAndImageFromResourceL test ConstructLabelFromResourceL
       
   367     * and ConstructImageFromResourceL of CEikCommandButtonBase in eikcmbut.h
       
   368     * @since S60 5.0
       
   369     * @param aItem is not used.
       
   370     * @return Symbian OS error code.
       
   371     */
       
   372     virtual TInt TestCEikCmdBtBaseConstructLabelAndImageFromResourceL( CStifItemParser& aItem );
       
   373 
       
   374     
       
   375     /**
       
   376     * TestCEikCmdBtBaseUpdateComponentAlignmentL test UpdateComponentAlignment
       
   377     * of CEikCommandButtonBase in eikcmbut.h
       
   378     * @since S60 5.0
       
   379     * @param aItem is not used.
       
   380     * @return Symbian OS error code.
       
   381     */
       
   382     virtual TInt TestCEikCmdBtBaseUpdateComponentAlignmentL( CStifItemParser& aItem );
       
   383     
       
   384     /**
       
   385     * TestCEikCmdBtBaseSetDefaultL test SetDefault
       
   386     * of CEikCommandButtonBase in eikcmbut.h
       
   387     * @since S60 5.0
       
   388     * @param aItem is not used.
       
   389     * @return Symbian OS error code.
       
   390     */
       
   391     virtual TInt TestCEikCmdBtBaseSetDefaultL( CStifItemParser& aItem );
       
   392     
       
   393     /**
       
   394     * TestCEikCmdBtBaseSetDimmedL test SetDimmed
       
   395     * of CEikCommandButtonBase in eikcmbut.h
       
   396     * @since S60 5.0
       
   397     * @param aItem is not used.
       
   398     * @return Symbian OS error code.
       
   399     */
       
   400     virtual TInt TestCEikCmdBtBaseSetDimmedL( CStifItemParser& aItem );
       
   401     
       
   402     /**
       
   403     * TestCEikCmdBtBaseMinimumSizeL test MinimumSize
       
   404     * of CEikCommandButtonBase in eikcmbut.h
       
   405     * @since S60 5.0
       
   406     * @param aItem is not used.
       
   407     * @return Symbian OS error code.
       
   408     */
       
   409     virtual TInt TestCEikCmdBtBaseMinimumSizeL( CStifItemParser& aItem );
       
   410     
       
   411     /**
       
   412     * TestCEikCmdBtBaseCountComponentControlsL test CountComponentControls
       
   413     * of CEikCommandButtonBase in eikcmbut.h
       
   414     * @since S60 5.0
       
   415     * @param aItem is not used.
       
   416     * @return Symbian OS error code.
       
   417     */
       
   418     virtual TInt TestCEikCmdBtBaseCountComponentControlsL( CStifItemParser& aItem );
       
   419     
       
   420     /**
       
   421     * TestCEikCmdBtBaseComponentControlL test ComponentControl
       
   422     * of CEikCommandButtonBase in eikcmbut.h
       
   423     * @since S60 5.0
       
   424     * @param aItem is not used.
       
   425     * @return Symbian OS error code.
       
   426     */
       
   427     virtual TInt TestCEikCmdBtBaseComponentControlL( CStifItemParser& aItem );
       
   428     
       
   429     /**
       
   430     * TestCEikCmdBtBaseSetContainerWindowLAndActivateL test ActivateL and
       
   431     * SetContainerWindowL of CEikCommandButtonBase in eikcmbut.h
       
   432     * @since S60 5.0
       
   433     * @param aItem is not used.
       
   434     * @return Symbian OS error code.
       
   435     */
       
   436     virtual TInt TestCEikCmdBtBaseSetContainerWindowLAndActivateL( CStifItemParser& aItem );
       
   437     
       
   438     /**
       
   439     * TestCEikCmdBtBaseFocusChangedL test FocusChanged
       
   440     * of CEikCommandButtonBase in eikcmbut.h
       
   441     * @since S60 5.0
       
   442     * @param aItem is not used.
       
   443     * @return Symbian OS error code.
       
   444     */
       
   445     virtual TInt TestCEikCmdBtBaseFocusChangedL( CStifItemParser& aItem );
       
   446     
       
   447     /**
       
   448     * TestCEikCmdBtBaseOfferKeyEventL test OfferKeyEventL
       
   449     * of CEikCommandButtonBase in eikcmbut.h
       
   450     * @since S60 5.0
       
   451     * @param aItem is not used.
       
   452     * @return Symbian OS error code.
       
   453     */
       
   454     virtual TInt TestCEikCmdBtBaseOfferKeyEventL( CStifItemParser& aItem );
       
   455     
       
   456     /**
       
   457     * TestCEikCmdBtBaseGetColorUseListL test GetColorUseListL
       
   458     * of CEikCommandButtonBase in eikcmbut.h
       
   459     * @since S60 5.0
       
   460     * @param aItem is not used.
       
   461     * @return Symbian OS error code.
       
   462     */
       
   463     virtual TInt TestCEikCmdBtBaseGetColorUseListL( CStifItemParser& aItem );
       
   464     
       
   465     /**
       
   466     * TestCEikCmdBtBaseHandleResourceChangeL test HandleResourceChange
       
   467     * of CEikCommandButtonBase in eikcmbut.h
       
   468     * @since S60 5.0
       
   469     * @param aItem is not used.
       
   470     * @return Symbian OS error code.
       
   471     */
       
   472     virtual TInt TestCEikCmdBtBaseHandleResourceChangeL( CStifItemParser& aItem );
       
   473     
       
   474     /**
       
   475     * TestCEikCmdBtBaseStateChangedL test StateChanged
       
   476     * of CEikCommandButtonBase in eikcmbut.h
       
   477     * @since S60 5.0
       
   478     * @param aItem is not used.
       
   479     * @return Symbian OS error code.
       
   480     */
       
   481     virtual TInt TestCEikCmdBtBaseStateChangedL( CStifItemParser& aItem );
       
   482     
       
   483     /**
       
   484     * TestCEikCmdBtBaseSetTextL test SetTextL
       
   485     * of CEikCommandButtonBase in eikcmbut.h
       
   486     * @since S60 5.0
       
   487     * @param aItem is not used.
       
   488     * @return Symbian OS error code.
       
   489     */
       
   490     virtual TInt TestCEikCmdBtBaseSetTextL( CStifItemParser& aItem );
       
   491     
       
   492     /**
       
   493     * TestCEikCmdBtBaseSetPictureL test SetPictureL
       
   494     * of CEikCommandButtonBase in eikcmbut.h
       
   495     * @since S60 5.0
       
   496     * @param aItem is not used.
       
   497     * @return Symbian OS error code.
       
   498     */
       
   499     virtual TInt TestCEikCmdBtBaseSetPictureL( CStifItemParser& aItem );
       
   500     
       
   501     /**
       
   502     * TestCEikCmdBtBaseSetPictureFromFileL test SetPictureFromFileL
       
   503     * of CEikCommandButtonBase in eikcmbut.h
       
   504     * @since S60 5.0
       
   505     * @param aItem is not used.
       
   506     * @return Symbian OS error code.
       
   507     */
       
   508     virtual TInt TestCEikCmdBtBaseSetPictureFromFileL( CStifItemParser& aItem );
       
   509     
       
   510     /**
       
   511     * TestCEikCmdBtBaseDrawL test Draw
       
   512     * of CEikCommandButtonBase in eikcmbut.h
       
   513     * @since S60 5.0
       
   514     * @param aItem is not used.
       
   515     * @return Symbian OS error code.
       
   516     */
       
   517     virtual TInt TestCEikCmdBtBaseDrawL( CStifItemParser& aItem );
       
   518     
       
   519     /**
       
   520     * TestCEikCmdBtBaseDrawL test Draw
       
   521     * of CEikCommandButtonBase in eikcmbut.h
       
   522     * @since S60 5.0
       
   523     * @param aItem is not used.
       
   524     * @return Symbian OS error code.
       
   525     */
       
   526     virtual TInt TestCEikCmdBtBaseWriteInternalStateL( CStifItemParser& aItem );
       
   527     
       
   528     /**
       
   529     * TestCEikCmdBtConstructorL test constructor
       
   530     * of CEikCommandButton in eikcmbut.h
       
   531     * @since S60 5.0
       
   532     * @param aItem is not used.
       
   533     * @return Symbian OS error code.
       
   534     */
       
   535     virtual TInt TestCEikCmdBtConstructorL( CStifItemParser& aItem );
       
   536     
       
   537     /**
       
   538     * TestCEikCmdBtConstructFromResourceL test ConstructFromResourceL
       
   539     * of CEikCommandButton in eikcmbut.h
       
   540     * @since S60 5.0
       
   541     * @param aItem is not used.
       
   542     * @return Symbian OS error code.
       
   543     */
       
   544     virtual TInt TestCEikCmdBtConstructFromResourceL( CStifItemParser& aItem );
       
   545     
       
   546     /**
       
   547     * TestCEikCmdBtSetPictureL test SetPictureL, SetPictureFromFileL and Picture
       
   548     * of CEikCommandButton in eikcmbut.h
       
   549     * @since S60 5.0
       
   550     * @param aItem is a number, 1 test SetPictureL, 2 test SetPictureFromFileL.
       
   551     * @return Symbian OS error code.
       
   552     */
       
   553     virtual TInt TestCEikCmdBtSetPictureL( CStifItemParser& aItem );
       
   554     
       
   555     /**
       
   556     * TestCEikCmdBtSetThreeEnumL test SetButtonLayout, SetExcessSpace and SetDisplayContent
       
   557     * of CEikCommandButton in eikcmbut.h
       
   558     * @since S60 5.0
       
   559     * @param aItem is not used
       
   560     * @return Symbian OS error code.
       
   561     */
       
   562     virtual TInt TestCEikCmdBtSetThreeEnumL( CStifItemParser& aItem );
       
   563     
       
   564     /**
       
   565     * TestCEikCmdBtSetTextL test SetTextL
       
   566     * of CEikCommandButton in eikcmbut.h
       
   567     * @since S60 5.0
       
   568     * @param aItem is not used
       
   569     * @return Symbian OS error code.
       
   570     */
       
   571     virtual TInt TestCEikCmdBtSetTextL( CStifItemParser& aItem );
       
   572     
       
   573     /**
       
   574     * TestCEikCmdBtLabelL test Label
       
   575     * of CEikCommandButton in eikcmbut.h
       
   576     * @since S60 5.0
       
   577     * @param aItem is not used
       
   578     * @return Symbian OS error code.
       
   579     */
       
   580     virtual TInt TestCEikCmdBtLabelL( CStifItemParser& aItem );
       
   581     
       
   582     /**
       
   583     * TestCEikCmdBtCmdSetL test SetCommandL
       
   584     * of CEikCommandButton in eikcmbut.h
       
   585     * @since S60 5.0
       
   586     * @param aItem is not used
       
   587     * @return Symbian OS error code.
       
   588     */
       
   589     virtual TInt TestCEikCmdBtCmdSetL( CStifItemParser& aItem );
       
   590     
       
   591     /**
       
   592     * TestCEikCmdBtUpdateComponentAlignmentL test UpdateComponentAlignment
       
   593     * and HandlePointerEventL of CEikCommandButton in eikcmbut.h
       
   594     * @since S60 5.0
       
   595     * @param aItem is not used
       
   596     * @return Symbian OS error code.
       
   597     */
       
   598     virtual TInt TestCEikCmdBtUpdateComponentAlignmentL( CStifItemParser& aItem );
       
   599     
       
   600     /**
       
   601     * TestCEikTwoPicCmdBtConstructorL test constructor
       
   602     * of CEikTwoPictureCommandButton in eikcmbut.h
       
   603     * @since S60 5.0
       
   604     * @param aItem is not used
       
   605     * @return Symbian OS error code.
       
   606     */
       
   607     virtual TInt TestCEikTwoPicCmdBtConstructorL( CStifItemParser& aItem );
       
   608     
       
   609     /**
       
   610     * TestCEikTwoPicCmdBtConstructorL test constructor
       
   611     * of CEikTwoPictureCommandButton in eikcmbut.h
       
   612     * @since S60 5.0
       
   613     * @param aItem is not used
       
   614     * @return Symbian OS error code.
       
   615     */
       
   616     virtual TInt TestCEikTwoPicCmdBtConstructFromResourceL( CStifItemParser& aItem );
       
   617     
       
   618     /**
       
   619     * TestCEikTwoPicCmdBtIsSecondPictureOwnedExternallyL test IsSecondPictureOwnedExternally
       
   620     * of CEikTwoPictureCommandButton in eikcmbut.h
       
   621     * @since S60 5.0
       
   622     * @param aItem is not used
       
   623     * @return Symbian OS error code.
       
   624     */
       
   625     virtual TInt TestCEikTwoPicCmdBtIsSecondPictureOwnedExternallyL( CStifItemParser& aItem );
       
   626     
       
   627     /**
       
   628     * TestCEikTwoPicCmdBtPictureL test Picture and HandlePointerEventL
       
   629     * of CEikTwoPictureCommandButton in eikcmbut.h
       
   630     * @since S60 5.0
       
   631     * @param aItem is not used
       
   632     * @return Symbian OS error code.
       
   633     */
       
   634     virtual TInt TestCEikTwoPicCmdBtPictureL( CStifItemParser& aItem );
       
   635     
       
   636     /**
       
   637     * TestCEikTwoPicCmdBtSetTextL test SetTextL
       
   638     * of CEikTwoPictureCommandButton in eikcmbut.h
       
   639     * @since S60 5.0
       
   640     * @param aItem is not used
       
   641     * @return Symbian OS error code.
       
   642     */
       
   643     virtual TInt TestCEikTwoPicCmdBtSetTextL( CStifItemParser& aItem );
       
   644     
       
   645     /**
       
   646     * TestCEikTwoPicCmdBtPictureSetL test SetTwoPicturesL, SetSecondPicture, 
       
   647     * SetPictureFromFileL and SetSecondPictureFromFileL
       
   648     * of CEikTwoPictureCommandButton in eikcmbut.h
       
   649     * @since S60 5.0
       
   650     * @param aItem is not used
       
   651     * @return Symbian OS error code.
       
   652     */
       
   653     virtual TInt TestCEikTwoPicCmdBtPictureSetL( CStifItemParser& aItem );
       
   654     
       
   655     /**
       
   656     * TestCEikTwoPicCmdBtConstructImagesFromResourceL test ConstructImagesFromResourceL
       
   657     * of CEikTwoPictureCommandButton in eikcmbut.h
       
   658     * @since S60 5.0
       
   659     * @param aItem is not used
       
   660     * @return Symbian OS error code.
       
   661     */
       
   662     virtual TInt TestCEikTwoPicCmdBtConstructImagesFromResourceL( CStifItemParser& aItem );
       
   663     
       
   664     /**
       
   665     * TestCEikTwoPicCmdBtSetSecondPictureOwnedExternallyL test SetSecondPictureOwnedExternally
       
   666     * of CEikTwoPictureCommandButton in eikcmbut.h
       
   667     * @since S60 5.0
       
   668     * @param aItem is not used
       
   669     * @return Symbian OS error code.
       
   670     */
       
   671     virtual TInt TestCEikTwoPicCmdBtSetSecondPictureOwnedExternallyL( CStifItemParser& aItem );
       
   672     
       
   673     /**
       
   674     * TestCEikTwoPicCmdBtActivateL test ActivateL
       
   675     * of CEikTwoPictureCommandButton in eikcmbut.h
       
   676     * @since S60 5.0
       
   677     * @param aItem is not used
       
   678     * @return Symbian OS error code.
       
   679     */
       
   680     virtual TInt TestCEikTwoPicCmdBtActivateL( CStifItemParser& aItem );
       
   681     
       
   682     /**
       
   683     * TestCEikTwoPicCmdBtWriteInternalStateL test WriteInternalStateL
       
   684     * of CEikTwoPictureCommandButton in eikcmbut.h
       
   685     * @since S60 5.0
       
   686     * @param aItem is not used
       
   687     * @return Symbian OS error code.
       
   688     */
       
   689     virtual TInt TestCEikTwoPicCmdBtWriteInternalStateL( CStifItemParser& aItem );
       
   690     
       
   691     /**
       
   692     * TestCEikInverterCmdBtConstructorL test constructor
       
   693     * of CEikInverterCommandButton in eikcmbut.h
       
   694     * @since S60 5.0
       
   695     * @param aItem is not used
       
   696     * @return Symbian OS error code.
       
   697     */
       
   698     virtual TInt TestCEikInverterCmdBtConstructorL( CStifItemParser& aItem );
       
   699     
       
   700     /**
       
   701     * TestCEikInverterCmdBtWriteInternalStateL test WriteInternalStateL
       
   702     * of CEikInverterCommandButton in eikcmbut.h
       
   703     * @since S60 5.0
       
   704     * @param aItem is not used
       
   705     * @return Symbian OS error code.
       
   706     */
       
   707     virtual TInt TestCEikInverterCmdBtWriteInternalStateL( CStifItemParser& aItem );
       
   708     
       
   709     /**
       
   710     * TestCEikTxtBtConstructorL test constructor
       
   711     * of CEikTextButton in eikcmbut.h
       
   712     * @since S60 5.0
       
   713     * @param aItem is not used
       
   714     * @return Symbian OS error code.
       
   715     */
       
   716     virtual TInt TestCEikTxtBtConstructorL( CStifItemParser& aItem );
       
   717     
       
   718     /**
       
   719     * TestCEikTxtBtConstructFromResourceL test ConstructFromResourceL
       
   720     * of CEikTextButton in eikcmbut.h
       
   721     * @since S60 5.0
       
   722     * @param aItem is not used
       
   723     * @return Symbian OS error code.
       
   724     */
       
   725     virtual TInt TestCEikTxtBtConstructFromResourceL( CStifItemParser& aItem );
       
   726     
       
   727     /**
       
   728     * TestCEikTxtBtSetTextL test SetTextL
       
   729     * of CEikTextButton in eikcmbut.h
       
   730     * @since S60 5.0
       
   731     * @param aItem is not used
       
   732     * @return Symbian OS error code.
       
   733     */
       
   734     virtual TInt TestCEikTxtBtSetTextL( CStifItemParser& aItem );
       
   735     
       
   736     /**
       
   737     * TestCEikTxtBtLabelL test Label
       
   738     * of CEikTextButton in eikcmbut.h
       
   739     * @since S60 5.0
       
   740     * @param aItem is not used
       
   741     * @return Symbian OS error code.
       
   742     */
       
   743     virtual TInt TestCEikTxtBtLabelL( CStifItemParser& aItem );
       
   744     
       
   745     /**
       
   746     * TestCEikBmpBtConstructorL test constructor
       
   747     * of CEikBitmapButton in eikcmbut.h
       
   748     * @since S60 5.0
       
   749     * @param aItem is not used
       
   750     * @return Symbian OS error code.
       
   751     */
       
   752     virtual TInt TestCEikBmpBtConstructorL( CStifItemParser& aItem );
       
   753     
       
   754     /**
       
   755     * TestCEikBmpBtConstructFromResourceL test ConstructFromResourceL
       
   756     * of CEikBitmapButton in eikcmbut.h
       
   757     * @since S60 5.0
       
   758     * @param aItem is not used
       
   759     * @return Symbian OS error code.
       
   760     */
       
   761     virtual TInt TestCEikBmpBtConstructFromResourceL( CStifItemParser& aItem );
       
   762     
       
   763     /**
       
   764     * TestCEikBmpBtPictureSetL test SetPictureL, SetPictureFromFileL, Picture
       
   765     * and HandlePointerEventL of CEikBitmapButton in eikcmbut.h
       
   766     * @since S60 5.0
       
   767     * @param aItem is not used
       
   768     * @return Symbian OS error code.
       
   769     */
       
   770     virtual TInt TestCEikBmpBtPictureSetL( CStifItemParser& aItem );
       
   771     
       
   772     /**
       
   773     * TestCEikCmdBtProcessCmdStackL test AddCommandToStackL, 
       
   774     * RemoveCommandFromStack and PopCommandFromStack
       
   775     * of CEikBitmapButton in eikcmbut.h
       
   776     * @since S60 5.0
       
   777     * @param aItem is not used
       
   778     * @return Symbian OS error code.
       
   779     */
       
   780     virtual TInt TestCEikCmdBtProcessCmdStackL( CStifItemParser& aItem );
       
   781     
       
   782     
       
   783     /**
       
   784     * TestCEikBtBaseConstructorL test constructor and 
       
   785     * deconstructor of CEikButtonBase in eikbutb.h
       
   786     * @since S60 5.0
       
   787     * @param aItem is not used.
       
   788     * @return Symbian OS error code.
       
   789     */
       
   790     virtual TInt TestCEikBtBaseConstructorL( CStifItemParser& aItem );
       
   791     
       
   792     //SetIgnoreNextPointerUp and IsPressed in eikbutb.h is ignore for pointer reason
       
   793     
       
   794     /**
       
   795     * TestCEikBtBaseSetAndGetStateL test State and 
       
   796     * SetState of CEikButtonBase in eikbutb.h
       
   797     * @since S60 5.0
       
   798     * @param aItem is not used.
       
   799     * @return Symbian OS error code.
       
   800     */
       
   801     virtual TInt TestCEikBtBaseSetAndGetStateL( CStifItemParser& aItem );
       
   802     
       
   803     /**
       
   804     * TestCEikBtBaseAnimateL test Animate 
       
   805     * of CEikButtonBase in eikbutb.h
       
   806     * @since S60 5.0
       
   807     * @param aItem is not used.
       
   808     * @return Symbian OS error code.
       
   809     */
       
   810     virtual TInt TestCEikBtBaseAnimateL( CStifItemParser& aItem );
       
   811     
       
   812     /**
       
   813     * TestCEikBtBaseSetCoordinatorL test SetCoordinator 
       
   814     * of CEikButtonBase in eikbutb.h
       
   815     * @since S60 5.0
       
   816     * @param aItem is not used.
       
   817     * @return Symbian OS error code.
       
   818     */
       
   819     virtual TInt TestCEikBtBaseSetCoordinatorL( CStifItemParser& aItem );
       
   820     
       
   821     /**
       
   822     * TestCEikBtBaseSetCoordinatorL test SetBehavior 
       
   823     * of CEikButtonBase and test constructor, SetChosenButton of 
       
   824     * TEikButtonCoordinator in eikbutb.h 
       
   825     * @since S60 5.0
       
   826     * @param aItem is not used.
       
   827     * @return Symbian OS error code.
       
   828     */
       
   829     virtual TInt TestCEikBtBaseSetBehaviorL( CStifItemParser& aItem );
       
   830                  
       
   831     /**
       
   832     * TestCEikBtBaseGetColorUseListL test GetColorUseListL 
       
   833     * of CEikButtonBase in eikbutb.h
       
   834     * @since S60 5.0
       
   835     * @param aItem is not used.
       
   836     * @return Symbian OS error code.
       
   837     */
       
   838     virtual TInt TestCEikBtBaseGetColorUseListL( CStifItemParser& aItem );
       
   839     
       
   840     /**
       
   841     * TestCEikBtBaseHandleResourceChangeL test HandleResourceChange 
       
   842     * of CEikButtonBase in eikbutb.h
       
   843     * @since S60 5.0
       
   844     * @param aItem is not used.
       
   845     * @return Symbian OS error code.
       
   846     */
       
   847     virtual TInt TestCEikBtBaseHandleResourceChangeL( CStifItemParser& aItem );
       
   848     
       
   849     /**
       
   850     * TestCEikBtBaseWriteInternalStateL test WriteInternalStateL 
       
   851     * of CEikButtonBase in eikbutb.h
       
   852     * @since S60 5.0
       
   853     * @param aItem is not used.
       
   854     * @return Symbian OS error code.
       
   855     */
       
   856     virtual TInt TestCEikBtBaseWriteInternalStateL( CStifItemParser& aItem );
       
   857     
       
   858     /**
       
   859     * TestCEikBtBaseDrawStateL test DrawState 
       
   860     * of CEikButtonBase in eikbutb.h
       
   861     * @since S60 5.0
       
   862     * @param aItem is not used.
       
   863     * @return Symbian OS error code.
       
   864     */
       
   865     virtual TInt TestCEikBtBaseDrawStateL( CStifItemParser& aItem );
       
   866     
       
   867     /**
       
   868     * TestCEikBtBaseSetAllowTristateL test SetAllowTristate 
       
   869     * of CEikButtonBase in eikbutb.h
       
   870     * @since S60 5.0
       
   871     * @param aItem is not used.
       
   872     * @return Symbian OS error code.
       
   873     */
       
   874     virtual TInt TestCEikBtBaseSetAllowTristateL( CStifItemParser& aItem );
       
   875     
       
   876     /**
       
   877     * TestCEikBtBaseCopyDrawStateToL test CopyDrawStateTo 
       
   878     * of CEikButtonBase in eikbutb.h
       
   879     * @since S60 5.0
       
   880     * @param aItem is not used.
       
   881     * @return Symbian OS error code.
       
   882     */
       
   883     virtual TInt TestCEikBtBaseCopyDrawStateToL( CStifItemParser& aItem );
       
   884     
       
   885     /**
       
   886     * TestCEikBtBaseOfferKeyEventL test OfferKeyEventL 
       
   887     * of CEikButtonBase in eikbutb.h
       
   888     * @since S60 5.0
       
   889     * @param aItem is not used.
       
   890     * @return Symbian OS error code.
       
   891     */
       
   892     virtual TInt TestCEikBtBaseOfferKeyEventL( CStifItemParser& aItem );
       
   893     
       
   894     /**
       
   895     * TestCEikBtBaseOfferKeyEventL test OfferKeyEventL 
       
   896     * of CEikButtonBase in eikbutb.h
       
   897     * @since S60 5.0
       
   898     * @param aItem is not used.
       
   899     * @return Symbian OS error code.
       
   900     */
       
   901     virtual TInt TestCEikBtBaseInputCapabilitiesL( CStifItemParser& aItem );
       
   902     
       
   903     /**
       
   904     * TestCEikBtGroupStackMinimumSize test MinimumSize 
       
   905     * of CEikButtonGroupStack in eikbtgps.h
       
   906     * @since S60 5.0
       
   907     * @param aItem is not used.
       
   908     * @return Symbian OS error code.
       
   909     */
       
   910     virtual TInt TestCEikBtGroupStackMinimumSize( CStifItemParser& aItem );
       
   911     
       
   912     /**
       
   913     * TestCEikCbaOfferCommandListL test two overload OfferCommandListL 
       
   914     * of CEikCba in eikcba.h
       
   915     * @since S60 5.0
       
   916     * @param aItem is not used.
       
   917     * @return Symbian OS error code.
       
   918     */
       
   919     virtual TInt TestCEikCbaOfferCommandListL( CStifItemParser& aItem );
       
   920     
       
   921     /**
       
   922     * TestCEikCbaIsCommandInGroupL test IsCommandInGroup 
       
   923     * of CEikCba in eikcba.h
       
   924     * @since S60 5.0
       
   925     * @param aItem is not used.
       
   926     * @return Symbian OS error code.
       
   927     */
       
   928     virtual TInt TestCEikCbaIsCommandInGroupL( CStifItemParser& aItem );
       
   929     
       
   930     /**
       
   931     * TestCEikCbaSetButtonGroupFlagsL test SetButtonGroupFlags 
       
   932     * of CEikCba in eikcba.h
       
   933     * @since S60 5.0
       
   934     * @param aItem is not used.
       
   935     * @return Symbian OS error code.
       
   936     */
       
   937     virtual TInt TestCEikCbaSetButtonGroupFlagsL( CStifItemParser& aItem );
       
   938     
       
   939     /**
       
   940     * TestCEikCbaReplaceCommandL test ReplaceCommand 
       
   941     * of CEikCba in eikcba.h
       
   942     * @since S60 5.0
       
   943     * @param aItem is not used.
       
   944     * @return Symbian OS error code.
       
   945     */
       
   946     virtual TInt TestCEikCbaReplaceCommandL( CStifItemParser& aItem );
       
   947 
       
   948     /**
       
   949     * TestCEikCbaEnableItemSpecificSoftkey test EnableItemSpecificSoftkey 
       
   950     * of CEikCba in eikcba.h
       
   951     * @since S60 5.2
       
   952     * @param aItem is not used.
       
   953     * @return Symbian OS error code.
       
   954     */
       
   955     virtual TInt TestCEikCbaEnableItemSpecificSoftkey( CStifItemParser& aItem );
       
   956     
       
   957     /**
       
   958     * TestCEikCbaReplaceCommandL test ReplaceCommand 
       
   959     * of CEikCba in eikcba.h
       
   960     * @since S60 5.0
       
   961     * @param aItem is not used.
       
   962     * @return Symbian OS error code.
       
   963     */
       
   964     virtual TInt TestCEikCbaSetSkinBackgroundIdL( CStifItemParser& aItem );
       
   965     
       
   966     /**
       
   967     * TestCEikCbaIsEmptyL test IsEmpty 
       
   968     * of CEikCba in eikcba.h
       
   969     * @since S60 5.0
       
   970     * @param aItem is not used.
       
   971     * @return Symbian OS error code.
       
   972     */
       
   973     virtual TInt TestCEikCbaIsEmptyL( CStifItemParser& aItem );
       
   974     /**
       
   975     * TestCEikBtGroupFactoryCbaTCreationDataL test TCreationData class constructor 
       
   976     * of EikButtonGroupFactory in eikbgfty.h
       
   977     * @since S60 5.0
       
   978     * @param aItem is not used.
       
   979     * @return Symbian OS error code.
       
   980     */
       
   981     virtual TInt TestCEikBtGroupFactoryCbaTCreationDataL( CStifItemParser& aItem );
       
   982     
       
   983     /**
       
   984     * TestCEikBtGroupFactoryArrayAddAndRemoveFuncL test AppendFactoryFunctionL
       
   985     * and RemoveFactoryFunction of EikButtonGroupFactoryArray in eikbgfty.h
       
   986     * @since S60 5.0
       
   987     * @param aItem is not used.
       
   988     * @return Symbian OS error code.
       
   989     */
       
   990     virtual TInt TestCEikBtGroupFactoryArrayAddAndRemoveFuncL( CStifItemParser& aItem );
       
   991     
       
   992     
       
   993     /**
       
   994     * TestCEikBtGroupContainerNewL test NewL function 
       
   995     * of CEikButtonGroupContainer in eikbtgpc.h
       
   996     * @since S60 5.0
       
   997     * @param aItem is a number
       
   998     * 1 tests NewL with five parameters
       
   999     * 2 tests NewL with parant control
       
  1000     * 3 tests NewL with parant control group
       
  1001     * @return Symbian OS error code.
       
  1002     */
       
  1003     virtual TInt TestCEikBtGroupContainerNewL( CStifItemParser& aItem );
       
  1004     
       
  1005     /**
       
  1006     * TestCEikBtGroupContainerCurrent test Current function 
       
  1007     * of CEikButtonGroupContainer in eikbtgpc.h
       
  1008     * @since S60 5.0
       
  1009     * @param aItem is not used
       
  1010     * @return Symbian OS error code.
       
  1011     */
       
  1012     virtual TInt TestCEikBtGroupContainerCurrent( CStifItemParser& aItem );
       
  1013     
       
  1014     /**
       
  1015     * TestCEikBtGroupContainerSetCommandL test SetCommandL 
       
  1016     * of CEikButtonGroupContainer in eikbtgpc.h
       
  1017     * @since S60 5.0
       
  1018     * @param aItem is a number from 1 to 11, to test overloaded SetCommandL
       
  1019     * @return Symbian OS error code.
       
  1020     */
       
  1021     virtual TInt TestCEikBtGroupContainerSetCommandL( CStifItemParser& aItem );
       
  1022     
       
  1023     /**
       
  1024     * TestCEikBtGroupContainerSetCommandSetL test SetCommandSetL 
       
  1025     * of CEikButtonGroupContainer in eikbtgpc.h
       
  1026     * @since S60 5.0
       
  1027     * @param aItem is not used
       
  1028     * @return Symbian OS error code.
       
  1029     */
       
  1030     virtual TInt TestCEikBtGroupContainerSetCommandSetL( CStifItemParser& aItem );
       
  1031     
       
  1032     /**
       
  1033     * TestCEikBtGroupContainerAddCommandL test AddCommandL 
       
  1034     * of CEikButtonGroupContainer in eikbtgpc.h
       
  1035     * @since S60 5.0
       
  1036     * @param aItem is a number from 1 to 5, to test overloaded AddCommandL
       
  1037     * @return Symbian OS error code.
       
  1038     */
       
  1039     virtual TInt TestCEikBtGroupContainerAddCommandL( CStifItemParser& aItem );
       
  1040     
       
  1041     /**
       
  1042     * TestCEikBtGroupContainerAddCommandToStackL test AddCommandToStackL 
       
  1043     * of CEikButtonGroupContainer in eikbtgpc.h
       
  1044     * @since S60 5.0
       
  1045     * @param aItem is a number from 1 to 6, to test overloaded AddCommandToStackL
       
  1046     * @return Symbian OS error code.
       
  1047     */
       
  1048     virtual TInt TestCEikBtGroupContainerAddCommandToStackL( CStifItemParser& aItem );
       
  1049     
       
  1050     /**
       
  1051     * TestCEikBtGroupContainerAddCommandSetToStackL test AddCommandSetToStackL 
       
  1052     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1053     * @since S60 5.0.
       
  1054     * @param aItem is not used.
       
  1055     * @return Symbian OS error code.
       
  1056     */
       
  1057     virtual TInt TestCEikBtGroupContainerAddCommandSetToStackL( CStifItemParser& aItem );
       
  1058     
       
  1059     /**
       
  1060     * TestCEikBtGroupContainerRemoveCommandFromStackL test RemoveCommandFromStack 
       
  1061     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1062     * @since S60 5.0.
       
  1063     * @param aItem is not used.
       
  1064     * @return Symbian OS error code.
       
  1065     */
       
  1066     virtual TInt TestCEikBtGroupContainerRemoveCommandFromStackL( CStifItemParser& aItem );
       
  1067     
       
  1068     /**
       
  1069     * TestCEikBtGroupContainerSetDefaultCommandL test SetDefaultCommand 
       
  1070     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1071     * @since S60 5.0.
       
  1072     * @param aItem is not used.
       
  1073     * @return Symbian OS error code.
       
  1074     */
       
  1075     virtual TInt TestCEikBtGroupContainerSetDefaultCommandL( CStifItemParser& aItem );
       
  1076     
       
  1077     /**
       
  1078     * TestCEikBtGroupContainerCalcMinimumSizeL test CalcMinimumSizeL
       
  1079     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1080     * @since S60 5.0.
       
  1081     * @param aItem is not used.
       
  1082     * @return Symbian OS error code.
       
  1083     */
       
  1084     virtual TInt TestCEikBtGroupContainerCalcMinimumSizeL( CStifItemParser& aItem );
       
  1085     
       
  1086     /**
       
  1087     * TestCEikBtGroupContainerCleanupFunctionL test five CleanupCommand profix function
       
  1088     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1089     * @since S60 5.0.
       
  1090     * @param aItem is not used.
       
  1091     * @return Symbian OS error code.
       
  1092     */
       
  1093     virtual TInt TestCEikBtGroupContainerCleanupFunctionL( CStifItemParser& aItem );
       
  1094     
       
  1095     /**
       
  1096     * TestCEikBtGroupContainerBtNumberL test MaxCommands and ButtonCount
       
  1097     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1098     * @since S60 5.0.
       
  1099     * @param aItem is not used.
       
  1100     * @return Symbian OS error code.
       
  1101     */
       
  1102     virtual TInt TestCEikBtGroupContainerBtNumberL( CStifItemParser& aItem );
       
  1103     
       
  1104     /**
       
  1105     * TestCEikBtGroupContainerCmdDimL test DimCommand, IsCommandDimmed, 
       
  1106     * DimCommandByPosition and IsCommandDimmedByPosition
       
  1107     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1108     * @since S60 5.0.
       
  1109     * @param aItem is not used.
       
  1110     * @return Symbian OS error code.
       
  1111     */
       
  1112     virtual TInt TestCEikBtGroupContainerCmdDimL( CStifItemParser& aItem );
       
  1113     
       
  1114     /**
       
  1115     * TestCEikBtGroupContainerCmdAnimateL test AnimateCommand and AnimateCommandByPosition
       
  1116     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1117     * @since S60 5.0.
       
  1118     * @param aItem is not used.
       
  1119     * @return Symbian OS error code.
       
  1120     */
       
  1121     virtual TInt TestCEikBtGroupContainerCmdAnimateL( CStifItemParser& aItem );
       
  1122     
       
  1123     /**
       
  1124     * TestCEikBtGroupContainerCmdAnimateL test MakeCommandVisible, IsCommandVisible,
       
  1125     * MakeCommandVisibleByPosition and IsCommandVisibleByPosition
       
  1126     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1127     * @since S60 5.0.
       
  1128     * @param aItem is not used.
       
  1129     * @return Symbian OS error code.
       
  1130     */
       
  1131     virtual TInt TestCEikBtGroupContainerCmdVisibleL( CStifItemParser& aItem );
       
  1132     
       
  1133     /**
       
  1134     * TestCEikBtGroupContainerLocationL test Location
       
  1135     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1136     * @since S60 5.0.
       
  1137     * @param aItem is not used.
       
  1138     * @return Symbian OS error code.
       
  1139     */
       
  1140     virtual TInt TestCEikBtGroupContainerLocationL( CStifItemParser& aItem );
       
  1141     
       
  1142     /**
       
  1143     * TestCEikBtGroupContainerCommandButtonOrNullL test CommandButtonOrNull
       
  1144     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1145     * @since S60 5.0.
       
  1146     * @param aItem is not used.
       
  1147     * @return Symbian OS error code.
       
  1148     */
       
  1149     virtual TInt TestCEikBtGroupContainerCommandButtonOrNullL( CStifItemParser& aItem );
       
  1150     
       
  1151     /**
       
  1152     * TestCEikBtGroupContainerControlOrNullL test ControlOrNull
       
  1153     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1154     * @since S60 5.0.
       
  1155     * @param aItem is not used.
       
  1156     * @return Symbian OS error code.
       
  1157     */
       
  1158     virtual TInt TestCEikBtGroupContainerControlOrNullL( CStifItemParser& aItem );
       
  1159     
       
  1160     /**
       
  1161     * TestCEikBtGroupContainerSetBoundingRectL test SetBoundingRect
       
  1162     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1163     * @since S60 5.0.
       
  1164     * @param aItem is not used.
       
  1165     * @return Symbian OS error code.
       
  1166     */
       
  1167     virtual TInt TestCEikBtGroupContainerSetBoundingRectL( CStifItemParser& aItem );
       
  1168     
       
  1169     /**
       
  1170     * TestCEikBtGroupContainerGetBtAndBtPositionAndBtTypeL test ButtonById, PositionById
       
  1171     * and ButtonGroupType of CEikButtonGroupContainer in eikbtgpc.h.
       
  1172     * @since S60 5.0.
       
  1173     * @param aItem is not used.
       
  1174     * @return Symbian OS error code.
       
  1175     */
       
  1176     virtual TInt TestCEikBtGroupContainerGetBtAndBtPositionAndBtTypeL( CStifItemParser& aItem );
       
  1177     
       
  1178     /**
       
  1179     * TestCEikBtGroupContainerReduceRectL test ReduceRect
       
  1180     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1181     * @since S60 5.0.
       
  1182     * @param aItem is not used.
       
  1183     * @return Symbian OS error code.
       
  1184     */
       
  1185     virtual TInt TestCEikBtGroupContainerReduceRectL( CStifItemParser& aItem );
       
  1186     
       
  1187     /**
       
  1188     * TestCEikBtGroupContainerUpdateHotKeyL test UpdateHotKeyL
       
  1189     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1190     * @since S60 5.0.
       
  1191     * @param aItem is not used.
       
  1192     * @return Symbian OS error code.
       
  1193     */
       
  1194     virtual TInt TestCEikBtGroupContainerUpdateHotKeyL( CStifItemParser& aItem );
       
  1195     
       
  1196     /**
       
  1197     * TestCEikBtGroupContainerUpdateCommandObserverL test UpdateCommandObserverL
       
  1198     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1199     * @since S60 5.0.
       
  1200     * @param aItem is not used.
       
  1201     * @return Symbian OS error code.
       
  1202     */
       
  1203     virtual TInt TestCEikBtGroupContainerUpdateCommandObserverL( CStifItemParser& aItem );
       
  1204     
       
  1205     /**
       
  1206     * TestCEikBtGroupContainerRemoveCommandObserverL test RemoveCommandObserverL
       
  1207     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1208     * @since S60 5.0.
       
  1209     * @param aItem is not used.
       
  1210     * @return Symbian OS error code.
       
  1211     */
       
  1212     virtual TInt TestCEikBtGroupContainerRemoveCommandObserverL( CStifItemParser& aItem );
       
  1213     
       
  1214     /**
       
  1215     * TestCEikBtGroupContainerUpdatedCommandObserverExistsL test UpdatedCommandObserverExists
       
  1216     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1217     * @since S60 5.0.
       
  1218     * @param aItem is not used.
       
  1219     * @return Symbian OS error code.
       
  1220     */
       
  1221     virtual TInt TestCEikBtGroupContainerUpdatedCommandObserverExistsL( CStifItemParser& aItem );
       
  1222     
       
  1223     /**
       
  1224     * TestCEikBtGroupContainerDelayActivationL test DelayActivation
       
  1225     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1226     * @since S60 5.0.
       
  1227     * @param aItem is not used.
       
  1228     * @return Symbian OS error code.
       
  1229     */
       
  1230     virtual TInt TestCEikBtGroupContainerDelayActivationL( CStifItemParser& aItem );
       
  1231     
       
  1232     /**
       
  1233     * TestCEikBtGroupContainerButtonGroupL test ButtonGroup
       
  1234     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1235     * @since S60 5.0.
       
  1236     * @param aItem is not used.
       
  1237     * @return Symbian OS error code.
       
  1238     */
       
  1239     virtual TInt TestCEikBtGroupContainerButtonGroupL( CStifItemParser& aItem );
       
  1240     
       
  1241     /**
       
  1242     * TestCEikBtGroupContainerReservedFunctionL test Reserved_MtsmPosition and
       
  1243     * Reserved_MtsmObject of CEikButtonGroupContainer in eikbtgpc.h.
       
  1244     * @since S60 5.0.
       
  1245     * @param aItem is not used.
       
  1246     * @return Symbian OS error code.
       
  1247     */
       
  1248     virtual TInt TestCEikBtGroupContainerReservedFunctionL( CStifItemParser& aItem );
       
  1249     
       
  1250     /**
       
  1251     * TestCEikBtGroupContainerOfferCommandListL test two overloaded OfferCommandListL 
       
  1252     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1253     * @since S60 5.0.
       
  1254     * @param aItem is not used.
       
  1255     * @return Symbian OS error code.
       
  1256     */
       
  1257     virtual TInt TestCEikBtGroupContainerOfferCommandListL( CStifItemParser& aItem );
       
  1258     
       
  1259     /**
       
  1260     * TestCEikBtGroupContainerIsCommandInGroupL test IsCommandInGroup 
       
  1261     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1262     * @since S60 5.0.
       
  1263     * @param aItem is not used.
       
  1264     * @return Symbian OS error code.
       
  1265     */
       
  1266     virtual TInt TestCEikBtGroupContainerIsCommandInGroupL( CStifItemParser& aItem );
       
  1267     
       
  1268     /**
       
  1269     * TestCEikBtGroupContainerReplaceCommandL test ReplaceCommand 
       
  1270     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1271     * @since S60 5.0.
       
  1272     * @param aItem is not used.
       
  1273     * @return Symbian OS error code.
       
  1274     */
       
  1275     virtual TInt TestCEikBtGroupContainerReplaceCommandL( CStifItemParser& aItem );
       
  1276     
       
  1277     /**
       
  1278     * TestCEikBtGroupContainerMinimumSizeL test MinimumSize 
       
  1279     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1280     * @since S60 5.0.
       
  1281     * @param aItem is not used.
       
  1282     * @return Symbian OS error code.
       
  1283     */
       
  1284     virtual TInt TestCEikBtGroupContainerMinimumSizeL( CStifItemParser& aItem );
       
  1285     
       
  1286     /**
       
  1287     * TestCEikBtGroupContainerOfferKeyEventL test OfferKeyEventL 
       
  1288     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1289     * @since S60 5.0.
       
  1290     * @param aItem is not used.
       
  1291     * @return Symbian OS error code.
       
  1292     */
       
  1293     virtual TInt TestCEikBtGroupContainerOfferKeyEventL( CStifItemParser& aItem );
       
  1294     
       
  1295     /**
       
  1296     * TestCEikBtGroupContainerMakeVisibleL test MakeVisible 
       
  1297     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1298     * @since S60 5.0.
       
  1299     * @param aItem is not used.
       
  1300     * @return Symbian OS error code.
       
  1301     */
       
  1302     virtual TInt TestCEikBtGroupContainerMakeVisibleL( CStifItemParser& aItem );
       
  1303     
       
  1304     /**
       
  1305     * TestCEikBtGroupContainerWriteInternalStateL test WriteInternalStateL 
       
  1306     * of CEikButtonGroupContainer in eikbtgpc.h.
       
  1307     * @since S60 5.0.
       
  1308     * @param aItem is not used.
       
  1309     * @return Symbian OS error code.
       
  1310     */
       
  1311     virtual TInt TestCEikBtGroupContainerWriteInternalStateL( CStifItemParser& aItem );
       
  1312     
       
  1313     //[TestMethods]
       
  1314 
       
  1315 private:    // Data
       
  1316     
       
  1317      /*
       
  1318       * Switch Cmd
       
  1319       */
       
  1320     enum TCaseId
       
  1321         {
       
  1322         ECaseOne = 1,
       
  1323         ECaseTwo,
       
  1324         ECaseThree,
       
  1325         ECaseFour,
       
  1326         ECaseFive,
       
  1327         ECaseSix,
       
  1328         ECaseSeven,
       
  1329         ECaseEight,
       
  1330         ECaseNine,
       
  1331         ECaseTen,
       
  1332         ECaseEleven
       
  1333         
       
  1334         };
       
  1335     
       
  1336     /**
       
  1337      * ScreenSaver Property
       
  1338      */
       
  1339     TInt iOldScreenSaverProperty;
       
  1340     
       
  1341     /**
       
  1342      * CCoeControl pointer
       
  1343      * Own.
       
  1344      */
       
  1345     CButtonControl* iContainer;
       
  1346 
       
  1347     // Resource file offset
       
  1348     TInt iOffset;
       
  1349     };
       
  1350 
       
  1351 #endif      // C_TESTSDKBUTTONS_H
       
  1352 
       
  1353 // End of File