camappengine/asynchfilesavequeue/tsrc/public/basic/inc/STIFAFSQTest.h
branchRCL_3
changeset 21 27fe719c32e6
parent 0 9b3e960ffc8a
equal deleted inserted replaced
20:e3cdd00b5ae3 21:27fe719c32e6
       
     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:  FSQ Test DLL
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 
       
    20 #ifndef STIFAFSQTEST_H
       
    21 #define STIFAFSQTEST_H
       
    22 
       
    23 //  INCLUDES
       
    24 #include <StifLogger.h>
       
    25 #include <TestScripterInternal.h>
       
    26 #include <StifTestModule.h>
       
    27 
       
    28 // CONSTANTS
       
    29 
       
    30 // MACROS
       
    31 
       
    32 // Logging path
       
    33 _LIT( KSTIFAFSQTestLogPath, "\\logs\\testframework\\STIFAFSQTest\\" ); 
       
    34 // Log file
       
    35 _LIT( KSTIFAFSQTestLogFile, "STIFAFSQTest.txt" ); 
       
    36 
       
    37 // FUNCTION PROTOTYPES
       
    38 
       
    39 // FORWARD DECLARATIONS
       
    40 class CSTIFAFSQTest;
       
    41 
       
    42 // DATA TYPES
       
    43 
       
    44 // CLASS DECLARATION
       
    45 
       
    46 /**
       
    47 *  CSTIFAFSQTest test class for STIF Test Framework TestScripter.
       
    48 *  This STIF test module provides basic FSQ tests 
       
    49 *
       
    50 *  @lib STIFAFSQTest.dll
       
    51 *  @since Series60_31
       
    52 */
       
    53 NONSHARABLE_CLASS(CSTIFAFSQTest) : public CScriptBase
       
    54     {
       
    55     public:  // Constructors and destructor
       
    56 
       
    57         /**
       
    58         * Two-phased constructor.
       
    59         */
       
    60         static STIFAFSQTest* NewL( CTestModuleIf& aTestModuleIf );
       
    61 
       
    62         /**
       
    63         * Destructor.
       
    64         */
       
    65         virtual ~STIFAFSQTest();
       
    66 
       
    67     public: // New functions
       
    68 
       
    69     public: // Functions from base classes
       
    70 
       
    71         /**
       
    72         * From CScriptBase Runs a script line 
       
    73         * @since Series60_31
       
    74         * @param aItem Script line containing method name and parameters
       
    75         * @return Symbian OS error code
       
    76         */
       
    77         virtual TInt RunMethodL( CStifItemParser& aItem );
       
    78 
       
    79     protected:  // New functions
       
    80 
       
    81     protected:  // Functions from base classes
       
    82 
       
    83     private:
       
    84 
       
    85         /**
       
    86         * C++ default constructor.
       
    87         */
       
    88         CWLANTests( CTestModuleIf& aTestModuleIf );
       
    89 
       
    90         /**
       
    91         * By default Symbian 2nd phase constructor is private.
       
    92         */
       
    93         void ConstructL();
       
    94 
       
    95         // Prohibit copy constructor if not deriving from CBase.
       
    96         // ?classname( const ?classname& );
       
    97         // Prohibit assigment operator if not deriving from CBase.
       
    98         // ?classname& operator=( const ?classname& );
       
    99 
       
   100         /**
       
   101         * Frees all resources allocated from test methods.
       
   102         * @since Series60_31
       
   103         */
       
   104         void Delete();
       
   105 
       
   106         /**
       
   107         * Test methods are listed below. 
       
   108         */
       
   109         virtual TInt SearchNetworkL( CStifItemParser& aItem );
       
   110         
       
   111 
       
   112     public:     // Data
       
   113 
       
   114     protected:  // Data
       
   115 
       
   116     private:    // Data
       
   117        
       
   118         // Reserved pointer for future extension
       
   119         //TAny* iReserved;
       
   120 
       
   121     public:     // Friend classes
       
   122        
       
   123     protected:  // Friend classes
       
   124        
       
   125     private:    // Friend classes
       
   126        
       
   127     };
       
   128 
       
   129 #endif      // STIFAFSQTEST_H
       
   130 
       
   131 // End of File