commsconfig/commsdatabaseshim/ts_commdb/TestSuiteCommdb.h
changeset 72 ae47d0499bee
parent 68 5da8188e392b
child 77 c9776eadbffd
equal deleted inserted replaced
68:5da8188e392b 72:ae47d0499bee
     1 // Copyright (c) 2001-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // This contains CTestSuiteCommDb 
       
    15 // This is the container class for all the CommDb test steps
       
    16 // 
       
    17 //
       
    18 
       
    19 #if (!defined __TESTSUITCOMMDB_H__)
       
    20 #define __TESTSUITCOMMDB_H__
       
    21 
       
    22 #include <networking/testsuite.h>
       
    23 
       
    24 
       
    25 NONSHARABLE_CLASS(CTestSuiteCommDb) : public CTestSuite
       
    26 {
       
    27 public:
       
    28 	void InitialiseL( void );
       
    29 	~CTestSuiteCommDb();
       
    30 	TPtrC GetVersion( void );
       
    31 	void AddTestStepL( CTestStepCommDb * ptrTestStep );
       
    32 
       
    33 
       
    34 private:
       
    35 
       
    36 };
       
    37 
       
    38 // these values have been copied from Testenv.h
       
    39 const TInt KSmallBufSize = 256;
       
    40 const TInt KLargeBufSize = 2048;
       
    41 const TInt KHugeBufSize = 16384;
       
    42 
       
    43 // CommDb test macros copied from Testenv.h
       
    44 typedef TBuf8<KLargeBufSize> TLargeBuf;
       
    45 #define IPADDR(a,b,c,d) (TUint32)(((a)<<24)|((b)<<16)|((c)<<8)|(d))
       
    46 
       
    47 //Test suite parameters
       
    48 const TInt KHeapFailure	= 500;
       
    49 
       
    50 #endif /* __TESTSUITCOMMDB_H__ */