homescreensrv_plat/content_harvester_plugin_api/tsrc/inc/cpspluginapitest.h
changeset 93 82b66994846c
parent 92 782e3408c2ab
child 94 dbb8300717f7
equal deleted inserted replaced
92:782e3408c2ab 93:82b66994846c
     1 /*
       
     2 * Copyright (c) 2009 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:
       
    15 *
       
    16 */
       
    17 #ifndef TESTCLASS_H
       
    18 #define TESTCLASS_H
       
    19 
       
    20 //  INCLUDES
       
    21 
       
    22 
       
    23 #include <StifParser.h>
       
    24 #include <Stiftestinterface.h>
       
    25 #include <StifLogger.h>
       
    26 #include <TestScripterInternal.h>
       
    27 #include <StifTestModule.h>
       
    28 
       
    29 // DATA TYPES
       
    30 //enum ?declaration
       
    31 //typedef ?declaration
       
    32 //extern ?data_type;
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37 *  CtestClass test class for STIF Test Framework TestScripter.
       
    38 *  ?other_description_lines
       
    39 *
       
    40 *  @lib ?library
       
    41 *  @since ?Series60_version
       
    42 */
       
    43 NONSHARABLE_CLASS(CCPSPluginApiTest) : public CScriptBase
       
    44     {
       
    45     public:  // Constructors and destructor
       
    46         
       
    47         /**
       
    48         * Two-phased constructor.
       
    49         */
       
    50         static CCPSPluginApiTest* NewL( CTestModuleIf& aTestModuleIf );
       
    51        
       
    52         /**
       
    53         * Destructor.
       
    54         */
       
    55         virtual ~CCPSPluginApiTest();
       
    56 
       
    57     public: // New functions
       
    58         
       
    59         /**
       
    60         * ?member_description.
       
    61         * @since ?Series60_version
       
    62         * @param ?arg1 ?description
       
    63         * @return ?description
       
    64         */
       
    65         //?type ?member_function( ?type ?arg1 );
       
    66 
       
    67     public: // Functions from base classes
       
    68 
       
    69         /**
       
    70         * From CScriptBase Runs a script line.
       
    71         * @since ?Series60_version
       
    72         * @param aItem Script line containing method name and parameters
       
    73         * @return Symbian OS error code
       
    74         */
       
    75         virtual TInt RunMethodL( CStifItemParser& aItem );
       
    76                 
       
    77     protected:  // New functions
       
    78         
       
    79         /**
       
    80         * ?member_description.
       
    81         * @since ?Series60_version
       
    82         * @param ?arg1 ?description
       
    83         * @return ?description
       
    84         */
       
    85         //?type ?member_function( ?type ?arg1 );
       
    86 
       
    87     protected:  // Functions from base classes
       
    88         
       
    89         /**
       
    90         * From ?base_class ?member_description
       
    91         */
       
    92         //?type ?member_function();
       
    93 
       
    94     private:
       
    95 
       
    96         /**
       
    97         * C++ default constructor.
       
    98         */
       
    99         CCPSPluginApiTest( CTestModuleIf& aTestModuleIf );
       
   100 
       
   101         /**
       
   102         * By default Symbian 2nd phase constructor is private.
       
   103         */
       
   104         void ConstructL();
       
   105         
       
   106         /**
       
   107         * Test methods are listed below. 
       
   108         */
       
   109         TInt Test_CContentHarvesterPluginUpdateL(CStifItemParser& /*aItem*/ );
       
   110         
       
   111     public:     // Data
       
   112         // ?one_line_short_description_of_data
       
   113         //?data_declaration;
       
   114     
       
   115     protected:  // Data
       
   116         // ?one_line_short_description_of_data
       
   117         //?data_declaration;
       
   118 
       
   119     	
       
   120     };
       
   121 
       
   122 #endif      // TESTCLASS_H
       
   123             
       
   124 // End of File