stdcpp/tsrc/Stdcpp_test/stlport/auto/stlport_partsum/inc/stlport_partsum.h
changeset 31 ce057bb09d0b
parent 0 e4d67989cc36
equal deleted inserted replaced
30:e20de85af2ee 31:ce057bb09d0b
       
     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:   ?Description
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 
       
    21 #ifndef STLPORT_PARTSUM_H
       
    22 #define STLPORT_PARTSUM_H
       
    23 
       
    24 //  INCLUDES
       
    25 #include <StifLogger.h>
       
    26 #include <TestScripterInternal.h>
       
    27 #include <StifTestModule.h>
       
    28 
       
    29 extern int partsum0_test(int, char**);
       
    30 extern int partsum1_test(int, char**);
       
    31 extern int partsum2_test(int, char**);
       
    32 
       
    33 // CONSTANTS
       
    34 //const ?type ?constant_var = ?constant;
       
    35 
       
    36 // MACROS
       
    37 //#define ?macro ?macro_def
       
    38 // Logging path
       
    39 _LIT( Kstlport_partsumLogPath, "\\logs\\testframework\\stlport_partsum\\" ); 
       
    40 // Log file
       
    41 _LIT( Kstlport_partsumLogFile, "stlport_partsum.txt" ); 
       
    42 
       
    43 // FUNCTION PROTOTYPES
       
    44 //?type ?function_name(?arg_list);
       
    45 
       
    46 // FORWARD DECLARATIONS
       
    47 //class ?FORWARD_CLASSNAME;
       
    48 class Cstlport_partsum;
       
    49 
       
    50 // DATA TYPES
       
    51 //enum ?declaration
       
    52 //typedef ?declaration
       
    53 //extern ?data_type;
       
    54 
       
    55 // CLASS DECLARATION
       
    56 
       
    57 /**
       
    58 *  Cstlport_partsum test class for STIF Test Framework TestScripter.
       
    59 *  ?other_description_lines
       
    60 *
       
    61 *  @lib ?library
       
    62 *  @since ?Series60_version
       
    63 */
       
    64 NONSHARABLE_CLASS(Cstlport_partsum) : public CScriptBase
       
    65     {
       
    66     public:  // Constructors and destructor
       
    67 
       
    68         /**
       
    69         * Two-phased constructor.
       
    70         */
       
    71         static Cstlport_partsum* NewL( CTestModuleIf& aTestModuleIf );
       
    72 
       
    73         /**
       
    74         * Destructor.
       
    75         */
       
    76         virtual ~Cstlport_partsum();
       
    77 
       
    78     public: // New functions
       
    79 
       
    80         /**
       
    81         * ?member_description.
       
    82         * @since ?Series60_version
       
    83         * @param ?arg1 ?description
       
    84         * @return ?description
       
    85         */
       
    86         //?type ?member_function( ?type ?arg1 );
       
    87 
       
    88     public: // Functions from base classes
       
    89 
       
    90         /**
       
    91         * From CScriptBase Runs a script line.
       
    92         * @since ?Series60_version
       
    93         * @param aItem Script line containing method name and parameters
       
    94         * @return Symbian OS error code
       
    95         */
       
    96         virtual TInt RunMethodL( CStifItemParser& aItem );
       
    97 
       
    98     protected:  // New functions
       
    99 
       
   100         /**
       
   101         * ?member_description.
       
   102         * @since ?Series60_version
       
   103         * @param ?arg1 ?description
       
   104         * @return ?description
       
   105         */
       
   106         //?type ?member_function( ?type ?arg1 );
       
   107 
       
   108     protected:  // Functions from base classes
       
   109 
       
   110         /**
       
   111         * From ?base_class ?member_description
       
   112         */
       
   113         //?type ?member_function();
       
   114 
       
   115     private:
       
   116 
       
   117         /**
       
   118         * C++ default constructor.
       
   119         */
       
   120         Cstlport_partsum( CTestModuleIf& aTestModuleIf );
       
   121 
       
   122         /**
       
   123         * By default Symbian 2nd phase constructor is private.
       
   124         */
       
   125         void ConstructL();
       
   126 
       
   127         // Prohibit copy constructor if not deriving from CBase.
       
   128         // ?classname( const ?classname& );
       
   129         // Prohibit assigment operator if not deriving from CBase.
       
   130         // ?classname& operator=( const ?classname& );
       
   131 
       
   132         /**
       
   133         * Frees all resources allocated from test methods.
       
   134         * @since ?Series60_version
       
   135         */
       
   136         void Delete();
       
   137 
       
   138         /**
       
   139         * Test methods are listed below. 
       
   140         */
       
   141 
       
   142         /**
       
   143         * Example test method.
       
   144         * @since ?Series60_version
       
   145         * @param aItem Script line containing parameters.
       
   146         * @return Symbian OS error code.
       
   147         */
       
   148         virtual TInt partsum0_testL( CStifItemParser& aItem );
       
   149         virtual TInt partsum1_testL( CStifItemParser& aItem );
       
   150         virtual TInt partsum2_testL( CStifItemParser& aItem );
       
   151 
       
   152     public:     // Data
       
   153         // ?one_line_short_description_of_data
       
   154         //?data_declaration;
       
   155 
       
   156     protected:  // Data
       
   157         // ?one_line_short_description_of_data
       
   158         //?data_declaration;
       
   159 
       
   160     private:    // Data
       
   161         
       
   162         // ?one_line_short_description_of_data
       
   163         //?data_declaration;
       
   164 
       
   165         // Reserved pointer for future extension
       
   166         //TAny* iReserved;
       
   167 
       
   168     public:     // Friend classes
       
   169         //?friend_class_declaration;
       
   170     protected:  // Friend classes
       
   171         //?friend_class_declaration;
       
   172     private:    // Friend classes
       
   173         //?friend_class_declaration;
       
   174 
       
   175     };
       
   176 
       
   177 #endif      // STLPORT_PARTSUM_H
       
   178 
       
   179 // End of File