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