commsconfig/commsdatabaseshim/ts_commdb/ts_usecases/TS_UseCasesStep.h
changeset 72 ae47d0499bee
parent 68 5da8188e392b
child 77 c9776eadbffd
equal deleted inserted replaced
68:5da8188e392b 72:ae47d0499bee
     1 /**
       
     2 * Copyright (c) 2002-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 * This defines the CTS_EncrptStep class which is the base class for all 
       
    16 * the EncrptStep test step classes
       
    17 * 
       
    18 *
       
    19 */
       
    20 
       
    21 
       
    22 
       
    23 /**
       
    24  @file TS_EncrptStep.cpp.h
       
    25 */
       
    26  
       
    27 #if (!defined __TS_USECASESSTEP_H__)
       
    28 #define __TS_USECASESSTEP_H__
       
    29 
       
    30 #include <e32std.h>
       
    31 #include <cdbstore.h>
       
    32 
       
    33 #include <networking/teststep.h>
       
    34 #include "TS_UseCasesSuite.h"
       
    35 
       
    36 // Connection Configuration Lits
       
    37 _LIT(KNameDefault, "default");
       
    38 
       
    39 // Test step names
       
    40 _LIT(KCreatingDatabaseAndView,  "CreatingDatabaseAndView"); 
       
    41 _LIT(KUsecaseReading,  "UsecaseReading");  
       
    42 _LIT(KUsecaseWriting,  "UsecaseWriting"); 
       
    43 _LIT(KUsecaseOverridingATableEntry  ,  "UsecaseOverridingATableEntry"); 
       
    44 _LIT(KUsecaseOverridingThePreferenceTable  ,  "UsecaseOverridingThePreferenceTable"); 
       
    45 _LIT(KUsecaseUsingATemplate  ,  "UsecaseUsingATemplate"); 
       
    46 			
       
    47 class TGlobalData;
       
    48 class CTS_UseCasesSuite;
       
    49 
       
    50 /* CTS_ConnPrefStep class declaration
       
    51  * Provides the base class for all ConnPref test steps
       
    52  *
       
    53  */
       
    54 class CTS_UseCasesStep : public CTestStep
       
    55 	{
       
    56 public:
       
    57 	CTS_UseCasesStep();
       
    58 	virtual ~CTS_UseCasesStep();
       
    59 	enum TVerdict Test(TInt aResult);
       
    60 
       
    61 	void ExpLogExtra(const TText8* aFile, TInt aLine, TInt aSeverity,
       
    62 		TRefByValue<const TDesC> aFmt,...);
       
    63 	
       
    64 	TGlobalData* Get();
       
    65 	void Set(TGlobalData * aGlobals);
       
    66 
       
    67 	CTS_UseCasesSuite* iOwnerSuite;	///< Pointer to suite which owns this test step
       
    68 	
       
    69 	};
       
    70 
       
    71 class TGlobalData
       
    72 {
       
    73 public:
       
    74 	CCommsDbTableView* iView;
       
    75 	CCommsDatabase* iDb;
       
    76 };
       
    77 
       
    78 #endif /* __TS_USECASESSTEP_H__ */