uiresources_plat/cdl_api/tsrc/inc/testdomcdl.h
changeset 0 05e9090e2422
child 24 e4e3998ddda2
equal deleted inserted replaced
-1:000000000000 0:05e9090e2422
       
     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 cdl_api
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef C_TESTDOMCDL_H
       
    21 #define C_TESTDOMCDL_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <stiflogger.h>
       
    25 #include <testscripterinternal.h>
       
    26 #include <stiftestmodule.h>
       
    27 #include <testclassassert.h>
       
    28 #include <cdlengine.h>
       
    29 #include <e32des8.h>
       
    30 #include <coemain.h>
       
    31 #include <e32cmn.h>
       
    32 #include <cdlexplorer.h>
       
    33 #include <cdlrefs.h>
       
    34 
       
    35 #include "testdomcdlengineobserver.h"
       
    36 
       
    37 // MACROS
       
    38 #define TEST_CLASS_VERSION_MAJOR 0
       
    39 #define TEST_CLASS_VERSION_MINOR 0
       
    40 #define TEST_CLASS_VERSION_BUILD 0
       
    41 
       
    42 // Logging path
       
    43 _LIT( KtestdomcdlLogPath, "\\logs\\testframework\\testdomcdl\\" ); 
       
    44 // Log file
       
    45 _LIT( KtestdomcdlLogFile, "testdomcdl.txt" ); 
       
    46 _LIT( KtestdomcdlLogFileWithTitle, "testdomcdl_[%S].txt" );
       
    47 
       
    48 /**
       
    49 *  CTestDomCdl test class for STIF Test Framework TestScripter.
       
    50 *  @since S60 5.0
       
    51 */
       
    52 NONSHARABLE_CLASS( CTestDomCdl ) : public CScriptBase
       
    53     {
       
    54 public:  // Constructors and destructor
       
    55 
       
    56     /**
       
    57     * Two-phased constructor.
       
    58     */
       
    59     static CTestDomCdl* NewL( CTestModuleIf& aTestModuleIf );
       
    60 
       
    61     /**
       
    62     * Destructor.
       
    63     */
       
    64     virtual ~CTestDomCdl();
       
    65 
       
    66 public: // Functions from base classes
       
    67 
       
    68     /**
       
    69     * From CScriptBase Runs a script line.
       
    70     * @since S60 5.0
       
    71     * @param aItem Script line containing method name and parameters
       
    72     * @return Symbian OS error code
       
    73     */
       
    74     virtual TInt RunMethodL( CStifItemParser& aItem );
       
    75 
       
    76 private:
       
    77 
       
    78     /**
       
    79     * C++ default constructor.
       
    80     */
       
    81     CTestDomCdl( CTestModuleIf& aTestModuleIf );
       
    82 
       
    83     /**
       
    84     * By default Symbian 2nd phase constructor is private.
       
    85     */
       
    86     void ConstructL();
       
    87 
       
    88     /**
       
    89      * Method used to log version of test class
       
    90      */
       
    91     void SendTestClassVersion();
       
    92     
       
    93         /**
       
    94      * Turn off ScreenSaver
       
    95      * @since S60 5.0
       
    96      * @return Symbian OS error code.
       
    97      */
       
    98     void TurnOffScreenSaver();
       
    99 
       
   100     /**
       
   101      * Restore ScreenSaver
       
   102      * @since S60 5.0
       
   103      * @return Symbian OS error code.
       
   104      */
       
   105     void RestoreScreenSaver();
       
   106 
       
   107 private: // Test MediaSharedDocument.h
       
   108     /**
       
   109     * TestCIRefL test function of class CCdlInstance in cdlengine.h
       
   110     * @since S60 5.0
       
   111     * @param aItem never used
       
   112     * @return Symbian OS error code.
       
   113     */
       
   114     virtual TInt TestCIRefL( CStifItemParser& aItem );
       
   115     
       
   116     /**
       
   117     * TestCISubLayerL test function of class CCdlInstance in cdlengine.h
       
   118     * @since S60 5.0
       
   119     * @param aItem never used
       
   120     * @return Symbian OS error code.
       
   121     */
       
   122     virtual TInt TestCISubLayerL( CStifItemParser& aItem );
       
   123     
       
   124     /**
       
   125     * TestCILastAccessedRefL test function of class CCdlInstance in cdlengine.h
       
   126     * @since S60 5.0
       
   127     * @param aItem never used
       
   128     * @return Symbian OS error code.
       
   129     */
       
   130     virtual TInt TestCILastAccessedRefL( CStifItemParser& aItem );
       
   131     
       
   132     /**
       
   133     * TestCIFileNameRelativeToLastAccessedInstanceL test function of class CCdlInstance in cdlengine.h
       
   134     * @since S60 5.0
       
   135     * @param aItem never used
       
   136     * @return Symbian OS error code.
       
   137     */
       
   138     virtual TInt TestCIFileNameRelativeToLastAccessedInstanceL( CStifItemParser& aItem );
       
   139     
       
   140     /**
       
   141     * TestCIoperatorL test function of class CCdlInstance in cdlengine.h
       
   142     * @since S60 5.0
       
   143     * @param aItem never used
       
   144     * @return Symbian OS error code.
       
   145     */
       
   146     virtual TInt TestCIoperatorL( CStifItemParser& aItem );
       
   147     
       
   148     /**
       
   149     * TestCINewL test function of class CCdlInstance in cdlengine.h
       
   150     * @since S60 5.0
       
   151     * @param aItem never used
       
   152     * @return Symbian OS error code.
       
   153     */
       
   154     virtual TInt TestCINewL( CStifItemParser& aItem );
       
   155     
       
   156     /**
       
   157     * TestCINewLCL test function of class CCdlInstance in cdlengine.h
       
   158     * @since S60 5.0
       
   159     * @param aItem never used
       
   160     * @return Symbian OS error code.
       
   161     */
       
   162     virtual TInt TestCINewLCL( CStifItemParser& aItem );
       
   163     
       
   164     /**
       
   165     * TestCIGetDataL test function of class CCdlInstance in cdlengine.h
       
   166     * @since S60 5.0
       
   167     * @param aItem never used
       
   168     * @return Symbian OS error code.
       
   169     */
       
   170     virtual TInt TestCIGetDataL( CStifItemParser& aItem );
       
   171     
       
   172     /**
       
   173     * TestCIGetFunctionL test function of class CCdlInstance in cdlengine.h
       
   174     * @since S60 5.0
       
   175     * @param aItem never used
       
   176     * @return Symbian OS error code.
       
   177     */
       
   178     virtual TInt TestCIGetFunctionL( CStifItemParser& aItem );
       
   179     
       
   180 
       
   181     /**
       
   182     * TestCUNewLCL test function of class CCdlUids in cdlengine.h
       
   183     * @since S60 5.0
       
   184     * @param aItem never used
       
   185     * @return Symbian OS error code.
       
   186     */
       
   187     virtual TInt TestCUNewLCL( CStifItemParser& aItem );
       
   188     
       
   189     /**
       
   190     * TestCUCCdlUidsCL test function of class CCdlUids in cdlengine.h
       
   191     * @since S60 5.0
       
   192     * @param aItem never used
       
   193     * @return Symbian OS error code.
       
   194     */
       
   195     virtual TInt TestCUCCdlUidsCL( CStifItemParser& aItem );
       
   196     
       
   197     /**
       
   198     * TestCUAddL test function of class CCdlUids in cdlengine.h
       
   199     * @since S60 5.0
       
   200     * @param aItem never used
       
   201     * @return Symbian OS error code.
       
   202     */
       
   203     virtual TInt TestCUAddL( CStifItemParser& aItem );
       
   204     
       
   205     /**
       
   206     * TestCURemoveL test function of class CCdlUids in cdlengine.h
       
   207     * @since S60 5.0
       
   208     * @param aItem never used
       
   209     * @return Symbian OS error code.
       
   210     */
       
   211     virtual TInt TestCURemoveL( CStifItemParser& aItem );
       
   212     
       
   213     /**
       
   214     * TestCUAddLUidL test function of class CCdlUids in cdlengine.h
       
   215     * @since S60 5.0
       
   216     * @param aItem never used
       
   217     * @return Symbian OS error code.
       
   218     */
       
   219     virtual TInt TestCUAddLUidL( CStifItemParser& aItem );
       
   220     
       
   221     /**
       
   222     * TestCURemoveUidL test function of class CCdlUids in cdlengine.h
       
   223     * @since S60 5.0
       
   224     * @param aItem never used
       
   225     * @return Symbian OS error code.
       
   226     */
       
   227     virtual TInt TestCURemoveUidL( CStifItemParser& aItem );
       
   228     
       
   229     /**
       
   230     * TestCUFindIndexL test function of class CCdlUids in cdlengine.h
       
   231     * @since S60 5.0
       
   232     * @param aItem never used
       
   233     * @return Symbian OS error code.
       
   234     */
       
   235     virtual TInt TestCUFindIndexL( CStifItemParser& aItem );
       
   236     
       
   237     /**
       
   238     * TestCUIntersectionLCL test function of class CCdlUids in cdlengine.h
       
   239     * @since S60 5.0
       
   240     * @param aItem never used
       
   241     * @return Symbian OS error code.
       
   242     */
       
   243     virtual TInt TestCUIntersectionLCL( CStifItemParser& aItem );
       
   244     
       
   245     /**
       
   246     * TestCUImportL test function of class CCdlUids in cdlengine.h
       
   247     * @since S60 5.0
       
   248     * @param aItem never used
       
   249     * @return Symbian OS error code.
       
   250     */
       
   251     virtual TInt TestCUImportL( CStifItemParser& aItem );
       
   252     
       
   253     /**
       
   254     * TestCUExportL test function of class CCdlUids in cdlengine.h
       
   255     * @since S60 5.0
       
   256     * @param aItem never used
       
   257     * @return Symbian OS error code.
       
   258     */
       
   259     virtual TInt TestCUExportL( CStifItemParser& aItem );
       
   260     
       
   261 
       
   262     /**
       
   263     * TestCNNewLCL test function of class CCdlNames in cdlengine.h
       
   264     * @since S60 5.0
       
   265     * @param aItem never used
       
   266     * @return Symbian OS error code.
       
   267     */
       
   268     virtual TInt TestCNNewLCL( CStifItemParser& aItem );
       
   269     
       
   270     /**
       
   271     * TestCNCCdlNamesL test function of class CCdlNames in cdlengine.h
       
   272     * @since S60 5.0
       
   273     * @param aItem never used
       
   274     * @return Symbian OS error code.
       
   275     */
       
   276     virtual TInt TestCNCCdlNamesL( CStifItemParser& aItem );
       
   277     
       
   278     /**
       
   279     * TestCNFindIndexL test function of class CCdlNames in cdlengine.h
       
   280     * @since S60 5.0
       
   281     * @param aItem never used
       
   282     * @return Symbian OS error code.
       
   283     */
       
   284     virtual TInt TestCNFindIndexL( CStifItemParser& aItem );
       
   285     
       
   286     /**
       
   287     * TestCNAddL test function of class CCdlNames in cdlengine.h
       
   288     * @since S60 5.0
       
   289     * @param aItem never used
       
   290     * @return Symbian OS error code.
       
   291     */
       
   292     virtual TInt TestCNAddL( CStifItemParser& aItem );
       
   293     
       
   294     /**
       
   295     * TestCNImportL test function of class CCdlNames in cdlengine.h
       
   296     * @since S60 5.0
       
   297     * @param aItem never used
       
   298     * @return Symbian OS error code.
       
   299     */
       
   300     virtual TInt TestCNImportL( CStifItemParser& aItem );
       
   301     
       
   302     /**
       
   303     * TestCNExportL test function of class CCdlNames in cdlengine.h
       
   304     * @since S60 5.0
       
   305     * @param aItem never used
       
   306     * @return Symbian OS error code.
       
   307     */
       
   308     virtual TInt TestCNExportL( CStifItemParser& aItem );
       
   309     
       
   310     /**
       
   311     * TestCNExportLCL test function of class CCdlNames in cdlengine.h
       
   312     * @since S60 5.0
       
   313     * @param aItem never used
       
   314     * @return Symbian OS error code.
       
   315     */
       
   316     virtual TInt TestCNExportLCL( CStifItemParser& aItem );
       
   317 
       
   318     /**
       
   319     * TestCCOHandleCustomisationChangeL test function of class MCdlChangeObserver in cdlengine.h
       
   320     * @since S60 5.0
       
   321     * @param aItem never used
       
   322     * @return Symbian OS error code.
       
   323     */
       
   324     virtual TInt TestCCOHandleCustomisationChangeL( CStifItemParser& aItem );
       
   325     
       
   326     /**
       
   327     * TestCCOHandleAvailableRefsChangeL test function of class MCdlChangeObserver in cdlengine.h
       
   328     * @since S60 5.0
       
   329     * @param aItem never used
       
   330     * @return Symbian OS error code.
       
   331     */
       
   332     virtual TInt TestCCOHandleAvailableRefsChangeL( CStifItemParser& aItem );
       
   333     
       
   334 
       
   335     /**
       
   336     * TestCEIsCdlEngineCreated test function of class CdlEngine in cdlengine.h
       
   337     * @since S60 5.0
       
   338     * @param aItem never used
       
   339     * @return Symbian OS error code.
       
   340     */
       
   341     virtual TInt TestCEIsCdlEngineCreated( CStifItemParser& aItem );
       
   342     
       
   343     /**
       
   344     * TestCECreateCdlEngineL test function of class CdlEngine in cdlengine.h
       
   345     * @since S60 5.0
       
   346     * @param aItem never used
       
   347     * @return Symbian OS error code.
       
   348     */
       
   349     virtual TInt TestCECreateCdlEngineL( CStifItemParser& aItem );
       
   350     
       
   351     /**
       
   352     * TestCEStartGlobalCustomisationL test function of class CdlEngine in cdlengine.h
       
   353     * @since S60 5.0
       
   354     * @param aItem never used
       
   355     * @return Symbian OS error code.
       
   356     */
       
   357     virtual TInt TestCEStartGlobalCustomisationL( CStifItemParser& aItem );
       
   358     
       
   359     /**
       
   360     * TestCEGetDataL test function of class CdlEngine in cdlengine.h
       
   361     * @since S60 5.0
       
   362     * @param aItem never used
       
   363     * @return Symbian OS error code.
       
   364     */
       
   365     virtual TInt TestCEGetDataL( CStifItemParser& aItem );
       
   366     
       
   367     /**
       
   368     * TestCEGetFunctionL test function of class CdlEngine in cdlengine.h
       
   369     * @since S60 5.0
       
   370     * @param aItem never used
       
   371     * @return Symbian OS error code.
       
   372     */
       
   373     virtual TInt TestCEGetFunctionL( CStifItemParser& aItem );
       
   374     
       
   375     /**
       
   376     * TestCEIsCustomisationStarted test function of class CdlEngine in cdlengine.h
       
   377     * @since S60 5.0
       
   378     * @param aItem never used
       
   379     * @return Symbian OS error code.
       
   380     */
       
   381     virtual TInt TestCEIsCustomisationStarted( CStifItemParser& aItem );
       
   382     
       
   383     /**
       
   384     * TestCERequireCustomisationL test function of class CdlEngine in cdlengine.h
       
   385     * @since S60 5.0
       
   386     * @param aItem never used
       
   387     * @return Symbian OS error code.
       
   388     */
       
   389     virtual TInt TestCERequireCustomisationL( CStifItemParser& aItem );
       
   390     
       
   391     /**
       
   392     * TestCELoadCustomisationL test function of class CdlEngine in cdlengine.h
       
   393     * @since S60 5.0
       
   394     * @param aItem never used
       
   395     * @return Symbian OS error code.
       
   396     */
       
   397     virtual TInt TestCELoadCustomisationL( CStifItemParser& aItem );
       
   398     
       
   399     /**
       
   400     * TestCECustomisationInstanceL test function of class CdlEngine in cdlengine.h
       
   401     * @since S60 5.0
       
   402     * @param aItem never used
       
   403     * @return Symbian OS error code.
       
   404     */
       
   405     virtual TInt TestCECustomisationInstanceL( CStifItemParser& aItem );
       
   406     
       
   407     /**
       
   408     * TestCESetCustomisationChangeObserverL test function of class CdlEngine in cdlengine.h
       
   409     * @since S60 5.0
       
   410     * @param aItem never used
       
   411     * @return Symbian OS error code.
       
   412     */
       
   413     virtual TInt TestCESetCustomisationChangeObserverL( CStifItemParser& aItem );
       
   414     
       
   415     /**
       
   416     * TestCELastAccessedRefL test function of class CdlEngine in cdlengine.h
       
   417     * @since S60 5.0
       
   418     * @param aItem never used
       
   419     * @return Symbian OS error code.
       
   420     */
       
   421     virtual TInt TestCELastAccessedRefL( CStifItemParser& aItem );
       
   422     
       
   423     /**
       
   424     * TestCEFileNameRelativeToLastAccessedInstanceL test function of class CdlEngine in cdlengine.h
       
   425     * @since S60 5.0
       
   426     * @param aItem never used
       
   427     * @return Symbian OS error code.
       
   428     */
       
   429     virtual TInt TestCEFileNameRelativeToLastAccessedInstanceL( CStifItemParser& aItem );
       
   430     
       
   431     /**
       
   432     * TestCELastApiIdL test function of class CdlEngine in cdlengine.h
       
   433     * @since S60 5.0
       
   434     * @param aItem never used
       
   435     * @return Symbian OS error code.
       
   436     */
       
   437     virtual TInt TestCELastApiIdL( CStifItemParser& aItem );
       
   438     
       
   439     /**
       
   440     * TestCEFindInstancesLCL test function of class CdlEngine in cdlengine.h
       
   441     * @since S60 5.0
       
   442     * @param aItem never used
       
   443     * @return Symbian OS error code.
       
   444     */
       
   445     virtual TInt TestCEFindInstancesLCL( CStifItemParser& aItem );
       
   446     
       
   447     /**
       
   448     * TestCEFileContentsLCL test function of class CdlEngine in cdlengine.h
       
   449     * @since S60 5.0
       
   450     * @param aItem never used
       
   451     * @return Symbian OS error code.
       
   452     */
       
   453     virtual TInt TestCEFileContentsLCL( CStifItemParser& aItem );
       
   454     
       
   455     /**
       
   456     * TestCEFindCustomisationFilesLCL test function of class CdlEngine in cdlengine.h
       
   457     * @since S60 5.0
       
   458     * @param aItem never used
       
   459     * @return Symbian OS error code.
       
   460     */
       
   461     virtual TInt TestCEFindCustomisationFilesLCL( CStifItemParser& aItem );
       
   462     
       
   463     /**
       
   464     * TestCEAllAvailableRefsLCL test function of class CdlEngine in cdlengine.h
       
   465     * @since S60 5.0
       
   466     * @param aItem never used
       
   467     * @return Symbian OS error code.
       
   468     */
       
   469     virtual TInt TestCEAllAvailableRefsLCL( CStifItemParser& aItem );
       
   470     
       
   471     /**
       
   472     * TestCESetAvailableRefsChangeObserverL test function of class CdlEngine in cdlengine.h
       
   473     * @since S60 5.0
       
   474     * @param aItem never used
       
   475     * @return Symbian OS error code.
       
   476     */
       
   477     virtual TInt TestCESetAvailableRefsChangeObserverL( CStifItemParser& aItem );
       
   478     
       
   479     /**
       
   480     * TestCESetLocalStateL test function of class CdlEngine in cdlengine.h
       
   481     * @since S60 5.0
       
   482     * @param aItem never used
       
   483     * @return Symbian OS error code.
       
   484     */
       
   485     virtual TInt TestCESetLocalStateL( CStifItemParser& aItem );
       
   486     
       
   487     /**
       
   488     * TestCESetGlobalStateL test function of class CdlEngine in cdlengine.h
       
   489     * @since S60 5.0
       
   490     * @param aItem never used
       
   491     * @return Symbian OS error code.
       
   492     */
       
   493     virtual TInt TestCESetGlobalStateL( CStifItemParser& aItem );
       
   494     
       
   495     /**
       
   496     * TestCELocalStateLCL test function of class CdlEngine in cdlengine.h
       
   497     * @since S60 5.0
       
   498     * @param aItem never used
       
   499     * @return Symbian OS error code.
       
   500     */
       
   501     virtual TInt TestCELocalStateLCL( CStifItemParser& aItem );
       
   502     
       
   503     /**
       
   504     * TestCEGlobalStateLCL test function of class CdlEngine in cdlengine.h
       
   505     * @since S60 5.0
       
   506     * @param aItem never used
       
   507     * @return Symbian OS error code.
       
   508     */
       
   509     virtual TInt TestCEGlobalStateLCL( CStifItemParser& aItem );
       
   510     
       
   511     /**
       
   512     * TestCEEnableGlobalCustomisationL test function of class CdlEngine in cdlengine.h
       
   513     * @since S60 5.0
       
   514     * @param aItem never used
       
   515     * @return Symbian OS error code.
       
   516     */
       
   517     virtual TInt TestCEEnableGlobalCustomisationL( CStifItemParser& aItem );
       
   518     
       
   519     /**
       
   520     * TestCECompareNames test function of class CdlEngine in cdlengine.h
       
   521     * @since S60 5.0
       
   522     * @param aItem never used
       
   523     * @return Symbian OS error code.
       
   524     */
       
   525     virtual TInt TestCECompareNames( CStifItemParser& aItem );
       
   526     
       
   527 private: // Test cdlexplorer.h
       
   528     /**
       
   529     * TestCEUCreateRefsLCL test function of class CdlExplorerUtils in cdlexplorer.h
       
   530     * @since S60 5.0
       
   531     * @param aItem never used
       
   532     * @return Symbian OS error code.
       
   533     */
       
   534     virtual TInt TestCEUCreateRefsLCL( CStifItemParser& aItem );
       
   535     
       
   536     /**
       
   537     * TestCEUCreateRefsLCArrayL test function of class CdlExplorerUtils in cdlexplorer.h
       
   538     * @since S60 5.0
       
   539     * @param aItem never used
       
   540     * @return Symbian OS error code.
       
   541     */
       
   542     virtual TInt TestCEUCreateRefsLCArrayL( CStifItemParser& aItem );
       
   543     
       
   544     /**
       
   545     * TestCIEBDoFindLCL test function of class CCdlInstanceExplorerBase in cdlexplorer.h
       
   546     * @since S60 5.0
       
   547     * @param aItem never used
       
   548     * @return Symbian OS error code.
       
   549     */
       
   550     virtual TInt TestCIEBDoFindLCL( CStifItemParser& aItem );
       
   551     
       
   552 private: // Test cdlrefs.h
       
   553     /**
       
   554     * TestCRITIteratorL test function of class CCdlRefs's subclass TIterator in cdlrefs.h
       
   555     * @since S60 5.0
       
   556     * @param aItem never used
       
   557     * @return Symbian OS error code.
       
   558     */
       
   559     virtual TInt TestCRITIteratorL( CStifItemParser& aItem );
       
   560     
       
   561     /**
       
   562     * TestCRIoperatorL test function of class CCdlRefs's subclass TIterator in cdlrefs.h
       
   563     * @since S60 5.0
       
   564     * @param aItem never used
       
   565     * @return Symbian OS error code.
       
   566     */
       
   567     virtual TInt TestCRIoperatorL( CStifItemParser& aItem );
       
   568     
       
   569     /**
       
   570     * TestCRNewL test function of class CCdlRefs in cdlrefs.h
       
   571     * @since S60 5.0
       
   572     * @param aItem never used
       
   573     * @return Symbian OS error code.
       
   574     */
       
   575     virtual TInt TestCRNewL( CStifItemParser& aItem );
       
   576     
       
   577     /**
       
   578     * TestCRNewLCL test function of class CCdlRefs in cdlrefs.h
       
   579     * @since S60 5.0
       
   580     * @param aItem never used
       
   581     * @return Symbian OS error code.
       
   582     */
       
   583     virtual TInt TestCRNewLCL( CStifItemParser& aItem );
       
   584     
       
   585     /**
       
   586     * TestCRBeginL test function of class CCdlRefs in cdlrefs.h
       
   587     * @since S60 5.0
       
   588     * @param aItem never used
       
   589     * @return Symbian OS error code.
       
   590     */
       
   591     virtual TInt TestCRBeginL( CStifItemParser& aItem );
       
   592     
       
   593     /**
       
   594     * TestCRBeginUidL test function of class CCdlRefs in cdlrefs.h
       
   595     * @since S60 5.0
       
   596     * @param aItem never used
       
   597     * @return Symbian OS error code.
       
   598     */
       
   599     virtual TInt TestCRBeginUidL( CStifItemParser& aItem );
       
   600     
       
   601     /**
       
   602     * TestCRBeginDesL test function of class CCdlRefs in cdlrefs.h
       
   603     * @since S60 5.0
       
   604     * @param aItem never used
       
   605     * @return Symbian OS error code.
       
   606     */
       
   607     virtual TInt TestCRBeginDesL( CStifItemParser& aItem );
       
   608     
       
   609     /**
       
   610     * TestCREndL test function of class CCdlRefs in cdlrefs.h
       
   611     * @since S60 5.0
       
   612     * @param aItem never used
       
   613     * @return Symbian OS error code.
       
   614     */
       
   615     virtual TInt TestCREndL( CStifItemParser& aItem );
       
   616     
       
   617     /**
       
   618     * TestCRAppendL test function of class CCdlRefs in cdlrefs.h
       
   619     * @since S60 5.0
       
   620     * @param aItem never used
       
   621     * @return Symbian OS error code.
       
   622     */
       
   623     virtual TInt TestCRAppendL( CStifItemParser& aItem );
       
   624     
       
   625     /**
       
   626     * TestCRAppendRefsL test function of class CCdlRefs in cdlrefs.h
       
   627     * @since S60 5.0
       
   628     * @param aItem never used
       
   629     * @return Symbian OS error code.
       
   630     */
       
   631     virtual TInt TestCRAppendRefsL( CStifItemParser& aItem );
       
   632     
       
   633     /**
       
   634     * TestCRAppendDesL test function of class CCdlRefs in cdlrefs.h
       
   635     * @since S60 5.0
       
   636     * @param aItem never used
       
   637     * @return Symbian OS error code.
       
   638     */
       
   639     virtual TInt TestCRAppendDesL( CStifItemParser& aItem );
       
   640     
       
   641     /**
       
   642     * TestCRInsertL test function of class CCdlRefs in cdlrefs.h
       
   643     * @since S60 5.0
       
   644     * @param aItem never used
       
   645     * @return Symbian OS error code.
       
   646     */
       
   647     virtual TInt TestCRInsertL( CStifItemParser& aItem );
       
   648     
       
   649     /**
       
   650     * TestCRDeleteL test function of class CCdlRefs in cdlrefs.h
       
   651     * @since S60 5.0
       
   652     * @param aItem never used
       
   653     * @return Symbian OS error code.
       
   654     */
       
   655     virtual TInt TestCRDeleteL( CStifItemParser& aItem );
       
   656     
       
   657     /**
       
   658     * TestCRDeleteBeginAndL test function of class CCdlRefs in cdlrefs.h
       
   659     * @since S60 5.0
       
   660     * @param aItem never used
       
   661     * @return Symbian OS error code.
       
   662     */
       
   663     virtual TInt TestCRDeleteBeginAndL( CStifItemParser& aItem );
       
   664     
       
   665     /**
       
   666     * TestCRNamesL test function of class CCdlRefs in cdlrefs.h
       
   667     * @since S60 5.0
       
   668     * @param aItem never used
       
   669     * @return Symbian OS error code.
       
   670     */
       
   671     virtual TInt TestCRNamesL( CStifItemParser& aItem );
       
   672     
       
   673     /**
       
   674     * TestCRUidsLCL test function of class CCdlRefs in cdlrefs.h
       
   675     * @since S60 5.0
       
   676     * @param aItem never used
       
   677     * @return Symbian OS error code.
       
   678     */
       
   679     virtual TInt TestCRUidsLCL( CStifItemParser& aItem );
       
   680     
       
   681     /**
       
   682     * TestCRSubsetByUidLCL test function of class CCdlRefs in cdlrefs.h
       
   683     * @since S60 5.0
       
   684     * @param aItem never used
       
   685     * @return Symbian OS error code.
       
   686     */
       
   687     virtual TInt TestCRSubsetByUidLCL( CStifItemParser& aItem );
       
   688     
       
   689     /**
       
   690     * TestCRSubsetByUidLCUidL test function of class CCdlRefs in cdlrefs.h
       
   691     * @since S60 5.0
       
   692     * @param aItem never used
       
   693     * @return Symbian OS error code.
       
   694     */
       
   695     virtual TInt TestCRSubsetByUidsLCL( CStifItemParser& aItem );
       
   696     
       
   697     /**
       
   698     * TestCRSubsetByNameLCL test function of class CCdlRefs in cdlrefs.h
       
   699     * @since S60 5.0
       
   700     * @param aItem never used
       
   701     * @return Symbian OS error code.
       
   702     */
       
   703     virtual TInt TestCRSubsetByNameLCL( CStifItemParser& aItem );
       
   704     
       
   705     /**
       
   706     * TestCRMergeAndReplaceL test function of class CCdlRefs in cdlrefs.h
       
   707     * @since S60 5.0
       
   708     * @param aItem never used
       
   709     * @return Symbian OS error code.
       
   710     */
       
   711     virtual TInt TestCRMergeAndReplaceL( CStifItemParser& aItem );
       
   712     
       
   713     /**
       
   714     * TestCRAddLayerL test function of class CCdlRefs in cdlrefs.h
       
   715     * @since S60 5.0
       
   716     * @param aItem never used
       
   717     * @return Symbian OS error code.
       
   718     */
       
   719     virtual TInt TestCRAddLayerL( CStifItemParser& aItem );
       
   720     
       
   721     /**
       
   722     * TestCRExportL test function of class CCdlRefs in cdlrefs.h
       
   723     * @since S60 5.0
       
   724     * @param aItem never used
       
   725     * @return Symbian OS error code.
       
   726     */
       
   727     virtual TInt TestCRExportL( CStifItemParser& aItem );
       
   728     
       
   729     /**
       
   730     * TestCRExportLCL test function of class CCdlRefs in cdlrefs.h
       
   731     * @since S60 5.0
       
   732     * @param aItem never used
       
   733     * @return Symbian OS error code.
       
   734     */
       
   735     virtual TInt TestCRExportLCL( CStifItemParser& aItem );
       
   736     
       
   737     /**
       
   738     * TestCRImportL test function of class CCdlRefs in cdlrefs.h
       
   739     * @since S60 5.0
       
   740     * @param aItem never used
       
   741     * @return Symbian OS error code.
       
   742     */
       
   743     virtual TInt TestCRImportL( CStifItemParser& aItem );
       
   744     
       
   745     /**
       
   746     * TestCRCountRefsL test function of class CCdlRefs in cdlrefs.h
       
   747     * @since S60 5.0
       
   748     * @param aItem never used
       
   749     * @return Symbian OS error code.
       
   750     */
       
   751     virtual TInt TestCRCountRefsL( CStifItemParser& aItem );
       
   752     
       
   753     /**
       
   754     * TestCRRefL test function of class CCdlRefs in cdlrefs.h
       
   755     * @since S60 5.0
       
   756     * @param aItem never used
       
   757     * @return Symbian OS error code.
       
   758     */
       
   759     virtual TInt TestCRRefL( CStifItemParser& aItem );
       
   760     
       
   761     /**
       
   762     * TestCRRefL test function of class CCdlRefs in cdlrefs.h
       
   763     * @since S60 5.0
       
   764     * @param aItem never used
       
   765     * @return Symbian OS error code.
       
   766     */
       
   767     virtual TInt TestCRDeleteWithNameL( CStifItemParser& aItem );
       
   768     
       
   769 private: // Test cdluserpackageexplorer.h
       
   770     /**
       
   771     * TestCUPEConstructL test function of class CCdlUserPackageExplorer in cdluserpackageexplorer.h
       
   772     * @since S60 5.0
       
   773     * @param aItem never used
       
   774     * @return Symbian OS error code.
       
   775     */
       
   776     virtual TInt TestCUPEConstructL( CStifItemParser& aItem );
       
   777     
       
   778 
       
   779 private:    // Data
       
   780 
       
   781     /**
       
   782      * ScreenSaver Property
       
   783      */
       
   784     TInt iOldScreenSaverProperty;
       
   785     
       
   786     /*
       
   787      * Resource file offset
       
   788      */
       
   789     TInt iOffset;
       
   790     };
       
   791 
       
   792 #endif      // C_TESTDOMCDL_H
       
   793 
       
   794 // End of File
       
   795 
       
   796