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