commsconfig/commsdatabaseshim/TE_commdb/te_connpref/inc/TE_ConnPrefStep.h
changeset 72 ae47d0499bee
equal deleted inserted replaced
68:5da8188e392b 72:ae47d0499bee
       
     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 
       
    18 /** 
       
    19  * @file TS_ConnPrefStep.cpp.h
       
    20  *
       
    21  * This defines the CTE_ConnPrefStep class which is the base class for all 
       
    22  * the ConnPrefStep test step classes
       
    23  *
       
    24  */
       
    25  
       
    26 #if (!defined __TS_CONNPREFSTEP_H__)
       
    27 #define __TS_CONNPREFSTEP_H__
       
    28 
       
    29 #include <e32std.h>
       
    30 #include <cdbstore.h>
       
    31 
       
    32 #include "TE_ConnPrefServer.h"
       
    33 
       
    34 // Connection Configuration Lits
       
    35 _LIT(KNameDefault, "default");
       
    36 
       
    37 // Test step names
       
    38 _LIT(KConstructAndVersion,  "ConstructAndVersion"); 
       
    39 _LIT(KSetAndGetConnPrefs,  "SetAndGetConnPrefs"); 
       
    40 _LIT(KComparePrefs,  "ComparePrefs");  
       
    41 _LIT(KAssignAndCopyConstruct ,  "AssignAndCopyConstruct"); 
       
    42 _LIT(KExtensionIdAndCast ,  "ExtensionIdAndCast"); 
       
    43 _LIT(KMultiConnPref ,  "MultiConnPref");
       
    44 _LIT(KMultiConnPrefVersion,  "MultiConnPrefVersion");
       
    45 _LIT(KMultiConnectionAttempts,  "MultiConnectionAttempts");
       
    46 
       
    47 //Error string.
       
    48 _LIT(KEGeneric, "Test left!"); 
       
    49 			
       
    50 
       
    51 class CTE_ConnPrefServer;
       
    52 
       
    53 /* CTE_ConnPrefStep class declaration
       
    54  * Provides the base class for all ConnPref test steps
       
    55  *
       
    56  */
       
    57 class CTE_ConnPrefStep : public CTestStep
       
    58 	{
       
    59 public:
       
    60 	CTE_ConnPrefStep();
       
    61 	virtual ~CTE_ConnPrefStep();
       
    62 	enum TVerdict Test(TInt aResult);
       
    63 
       
    64 	void ExpLogExtra(const TText8* aFile, TInt aLine, TInt aSeverity,
       
    65 		TRefByValue<const TDesC> aFmt,...);
       
    66 	
       
    67 	
       
    68 	CTE_ConnPrefServer* iOwnerSuite;	///< Pointer to suite which owns this test step
       
    69 	
       
    70 	};
       
    71 
       
    72 #endif /* __TS_CONNPREFSTEP_H__ */