locationtriggering/tsrc/lbtengine_test/CellbasedtriggerOperations/inc/CellbasedtriggerOperations.h
changeset 0 667063e416a2
child 37 e175e2ba2fb0
equal deleted inserted replaced
-1:000000000000 0:667063e416a2
       
     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 module to implement Cell based triggering test cases
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 
       
    22 
       
    23 #ifndef CELLBASEDTRIGGEROPERATIONS_H
       
    24 #define CELLBASEDTRIGGEROPERATIONS_H
       
    25 
       
    26 //  INCLUDES
       
    27 #include <StifLogger.h>
       
    28 #include <TestScripterInternal.h>
       
    29 #include <StifTestModule.h>
       
    30 
       
    31 
       
    32 // CONSTANTS
       
    33 //const ?type ?constant_var = ?constant;
       
    34 
       
    35 // MACROS
       
    36 //#define ?macro ?macro_def
       
    37 #define TEST_CLASS_VERSION_MAJOR 0
       
    38 #define TEST_CLASS_VERSION_MINOR 0
       
    39 #define TEST_CLASS_VERSION_BUILD 0
       
    40 
       
    41 // Logging path
       
    42 _LIT( KCellbasedtriggerOperationsLogPath, "\\logs\\testframework\\CellbasedtriggerOperations\\" ); 
       
    43 // Log file
       
    44 _LIT( KCellbasedtriggerOperationsLogFile, "CellbasedtriggerOperations.txt" ); 
       
    45 _LIT( KCellbasedtriggerOperationsLogFileWithTitle, "CellbasedtriggerOperations_[%S].txt" );
       
    46 
       
    47 // FUNCTION PROTOTYPES
       
    48 //?type ?function_name(?arg_list);
       
    49 
       
    50 // FORWARD DECLARATIONS
       
    51 //class ?FORWARD_CLASSNAME;
       
    52 class CCellbasedtriggerOperations;
       
    53 
       
    54 // DATA TYPES
       
    55 //enum ?declaration
       
    56 //typedef ?declaration
       
    57 //extern ?data_type;
       
    58 
       
    59 // CLASS DECLARATION
       
    60 
       
    61 /**
       
    62 *  CCellbasedtriggerOperations test class for STIF Test Framework TestScripter.
       
    63 *  ?other_description_lines
       
    64 *
       
    65 *  @lib ?library
       
    66 *  @since ?Series60_version
       
    67 */
       
    68 NONSHARABLE_CLASS(CCellbasedtriggerOperations) : public CScriptBase
       
    69     {
       
    70     public:  // Constructors and destructor
       
    71 
       
    72         /**
       
    73         * Two-phased constructor.
       
    74         */
       
    75         static CCellbasedtriggerOperations* NewL( CTestModuleIf& aTestModuleIf );
       
    76 
       
    77         /**
       
    78         * Destructor.
       
    79         */
       
    80         virtual ~CCellbasedtriggerOperations();
       
    81 
       
    82     public: // New functions
       
    83 
       
    84         /**
       
    85         * ?member_description.
       
    86         * @since ?Series60_version
       
    87         * @param ?arg1 ?description
       
    88         * @return ?description
       
    89         */
       
    90         //?type ?member_function( ?type ?arg1 );
       
    91 
       
    92     public: // Functions from base classes
       
    93 
       
    94         /**
       
    95         * From CScriptBase Runs a script line.
       
    96         * @since ?Series60_version
       
    97         * @param aItem Script line containing method name and parameters
       
    98         * @return Symbian OS error code
       
    99         */
       
   100         virtual TInt RunMethodL( CStifItemParser& aItem );
       
   101 
       
   102     protected:  // New functions
       
   103 
       
   104         /**
       
   105         * ?member_description.
       
   106         * @since ?Series60_version
       
   107         * @param ?arg1 ?description
       
   108         * @return ?description
       
   109         */
       
   110         //?type ?member_function( ?type ?arg1 );
       
   111 
       
   112     protected:  // Functions from base classes
       
   113 
       
   114         /**
       
   115         * From ?base_class ?member_description
       
   116         */
       
   117         //?type ?member_function();
       
   118 
       
   119     private:
       
   120 
       
   121         /**
       
   122         * C++ default constructor.
       
   123         */
       
   124         CCellbasedtriggerOperations( CTestModuleIf& aTestModuleIf );
       
   125 
       
   126         /**
       
   127         * By default Symbian 2nd phase constructor is private.
       
   128         */
       
   129         void ConstructL();
       
   130 
       
   131         // Prohibit copy constructor if not deriving from CBase.
       
   132         // ?classname( const ?classname& );
       
   133         // Prohibit assigment operator if not deriving from CBase.
       
   134         // ?classname& operator=( const ?classname& );
       
   135 
       
   136         /**
       
   137         * Frees all resources allocated from test methods.
       
   138         * @since ?Series60_version
       
   139         */
       
   140         void Delete();
       
   141 
       
   142         /**
       
   143         * Test methods are listed below. 
       
   144         */
       
   145 
       
   146         /**
       
   147         * Example test method.
       
   148         * @since ?Series60_version
       
   149         * @param aItem Script line containing parameters.
       
   150         * @return Symbian OS error code.
       
   151         */
       
   152         void AssertTrueL( TBool aCondition,const TDesC& aMessage);
       
   153 
       
   154         virtual TInt TC_LBT_034_01_testL( CStifItemParser& aItem );
       
   155         virtual TInt TC_LBT_034_02_testL( CStifItemParser& aItem );
       
   156         virtual TInt TC_LBT_034_03_testL( CStifItemParser& aItem );
       
   157 		virtual TInt TC_LBT_034_04_testL( CStifItemParser& aItem );
       
   158 		virtual TInt TC_LBT_034_05_testL( CStifItemParser& aItem );
       
   159         virtual TInt TC_LBT_034_06_testL( CStifItemParser& aItem );
       
   160         virtual TInt TC_LBT_034_07_testL( CStifItemParser& aItem );
       
   161 		virtual TInt TC_LBT_034_08_testL( CStifItemParser& aItem );
       
   162 		virtual TInt TC_LBT_034_09_testL( CStifItemParser& aItem );
       
   163         virtual TInt TC_LBT_034_10_testL( CStifItemParser& aItem );
       
   164         virtual TInt TC_LBT_034_11_testL( CStifItemParser& aItem );
       
   165 		virtual TInt TC_LBT_034_12_testL( CStifItemParser& aItem );
       
   166         virtual TInt TC_LBT_034_13_testL( CStifItemParser& aItem );
       
   167 		virtual TInt TC_LBT_034_14_testL( CStifItemParser& aItem );
       
   168 		virtual TInt TC_LBT_034_15_testL( CStifItemParser& aItem );
       
   169 		virtual TInt TC_LBT_034_16_testL( CStifItemParser& aItem );
       
   170 		virtual TInt TC_LBT_034_17_testL( CStifItemParser& aItem );
       
   171 		virtual TInt TC_LBT_034_18_testL( CStifItemParser& aItem );
       
   172 		virtual TInt TC_LBT_034_19_testL( CStifItemParser& aItem );
       
   173 		virtual TInt TC_LBT_034_20_testL( CStifItemParser& aItem );
       
   174 		virtual TInt TC_LBT_034_21_testL( CStifItemParser& aItem );
       
   175 		virtual TInt TC_LBT_034_22_testL( CStifItemParser& aItem );
       
   176 		virtual TInt TC_LBT_034_23_testL( CStifItemParser& aItem );
       
   177 		virtual TInt TC_LBT_034_24_testL( CStifItemParser& aItem );
       
   178 		virtual TInt TC_LBT_034_25_testL( CStifItemParser& aItem );
       
   179 		virtual TInt TC_LBT_034_26_testL( CStifItemParser& aItem );
       
   180 		virtual TInt TC_LBT_034_27_testL( CStifItemParser& aItem );
       
   181 		virtual TInt TC_LBT_034_28_testL( CStifItemParser& aItem );
       
   182 		virtual TInt TC_LBT_034_29_testL( CStifItemParser& aItem );
       
   183         virtual TInt TC_LBT_034_30_testL( CStifItemParser& aItem );
       
   184         virtual TInt TC_LBT_034_31_testL( CStifItemParser& aItem );
       
   185 		virtual TInt TC_LBT_034_32_testL( CStifItemParser& aItem );
       
   186         virtual TInt TC_LBT_034_33_testL( CStifItemParser& aItem );
       
   187 		virtual TInt TC_LBT_034_34_testL( CStifItemParser& aItem );
       
   188 		virtual TInt TC_LBT_034_35_testL( CStifItemParser& aItem );
       
   189 		virtual TInt TC_LBT_034_36_testL( CStifItemParser& aItem );
       
   190 		virtual TInt TC_LBT_034_37_testL( CStifItemParser& aItem );
       
   191 		virtual TInt TC_LBT_034_38_testL( CStifItemParser& aItem );
       
   192 		virtual TInt TC_LBT_034_39_testL( CStifItemParser& aItem );
       
   193 		virtual TInt TC_LBT_034_40_testL( CStifItemParser& aItem );
       
   194 		virtual TInt TC_LBT_034_41_testL( CStifItemParser& aItem );
       
   195 		virtual TInt TC_LBT_034_42_testL( CStifItemParser& aItem );
       
   196 		virtual TInt TC_LBT_034_43_testL( CStifItemParser& aItem );
       
   197 		virtual TInt TC_LBT_034_44_testL( CStifItemParser& aItem );
       
   198 		virtual TInt TC_LBT_034_45_testL( CStifItemParser& aItem );
       
   199 		#if 0
       
   200 		virtual TInt TC_LBT_034_46_testL( CStifItemParser& aItem );
       
   201 		virtual TInt TC_LBT_034_47_testL( CStifItemParser& aItem );
       
   202 		virtual TInt TC_LBT_034_48_testL( CStifItemParser& aItem );
       
   203 		virtual TInt TC_LBT_034_49_testL( CStifItemParser& aItem );
       
   204 		virtual TInt TC_LBT_034_50_testL( CStifItemParser& aItem );
       
   205 		virtual TInt TC_LBT_034_51_testL( CStifItemParser& aItem );
       
   206 		virtual TInt TC_LBT_034_52_testL( CStifItemParser& aItem );
       
   207 		virtual TInt TC_LBT_034_53_testL( CStifItemParser& aItem );
       
   208 		#endif
       
   209 		virtual TInt TC_LBT_034_54_testL( CStifItemParser& aItem );
       
   210 		virtual TInt TC_LBT_034_55_testL( CStifItemParser& aItem );
       
   211 		virtual TInt TC_LBT_034_56_testL( CStifItemParser& aItem );
       
   212 		#if 0
       
   213 		virtual TInt TC_LBT_034_57_testL( CStifItemParser& aItem );
       
   214 		virtual TInt TC_LBT_034_58_testL( CStifItemParser& aItem );
       
   215 		virtual TInt TC_LBT_034_59_testL( CStifItemParser& aItem );
       
   216 		virtual TInt TC_LBT_034_60_testL( CStifItemParser& aItem );
       
   217 		#endif
       
   218 		virtual TInt TC_LBT_034_61_testL( CStifItemParser& aItem );
       
   219 		virtual TInt TC_LBT_034_62_testL( CStifItemParser& aItem );
       
   220 		virtual TInt TC_LBT_034_65_testL( CStifItemParser& aItem );
       
   221 		virtual TInt TC_LBT_034_66_testL( CStifItemParser& aItem );
       
   222 		virtual TInt TC_LBT_034_67_testL( CStifItemParser& aItem );
       
   223 		virtual TInt TC_LBT_034_68_testL( CStifItemParser& aItem );
       
   224 		virtual	TInt StartCellChangeNotifier_testL( CStifItemParser&  aItem );
       
   225 		virtual TInt TC_LBT_034_69_testL( CStifItemParser& aItem );
       
   226 		virtual TInt TC_LBT_034_70_testL( CStifItemParser& aItem );
       
   227         
       
   228         
       
   229         /**
       
   230          * Method used to log version of test class
       
   231          */
       
   232         void SendTestClassVersion();
       
   233 
       
   234         //ADD NEW METHOD DEC HERE
       
   235         //[TestMethods] - Do not remove
       
   236 
       
   237     public:     // Data
       
   238         // ?one_line_short_description_of_data
       
   239         //?data_declaration;
       
   240 
       
   241     protected:  // Data
       
   242         // ?one_line_short_description_of_data
       
   243         //?data_declaration;
       
   244 
       
   245     private:    // Data
       
   246         
       
   247         // ?one_line_short_description_of_data
       
   248         //?data_declaration;
       
   249 
       
   250         // Reserved pointer for future extension
       
   251         //TAny* iReserved;
       
   252 
       
   253     public:     // Friend classes
       
   254         //?friend_class_declaration;
       
   255     protected:  // Friend classes
       
   256         //?friend_class_declaration;
       
   257     private:    // Friend classes
       
   258         //?friend_class_declaration;
       
   259 
       
   260     };
       
   261 
       
   262 #endif      // CELLBASEDTRIGGEROPERATIONS_H
       
   263 
       
   264 // End of File