72
|
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 |
#if (!defined __TE_commdbSUITE_H__)
|
|
19 |
#define __TE_commdbSUITE_H__
|
|
20 |
|
|
21 |
#include <test/TestExecuteServerBase.h>
|
|
22 |
|
|
23 |
class CTE_commdbServer : public CTestServer
|
|
24 |
{
|
|
25 |
public:
|
|
26 |
static CTE_commdbServer* NewL();
|
|
27 |
virtual CTestStep* CreateTestStep(const TDesC& aStepName);
|
|
28 |
|
|
29 |
|
|
30 |
// this should be a pure virtual so every test ddl
|
|
31 |
// has to provide a version but for now defaults to ?.?
|
|
32 |
virtual TPtrC GetVersion( void );
|
|
33 |
|
|
34 |
};
|
|
35 |
|
|
36 |
|
|
37 |
// these values have been copied from Testenv.h
|
|
38 |
const TInt KSmallBufSize = 256;
|
|
39 |
const TInt KLargeBufSize = 2048;
|
|
40 |
const TInt KHugeBufSize = 16384;
|
|
41 |
|
|
42 |
// CommDb test macros copied from Testenv.h
|
|
43 |
typedef TBuf8<KLargeBufSize> TLargeBuf;
|
|
44 |
#define IPADDR(a,b,c,d) (TUint32)(((a)<<24)|((b)<<16)|((c)<<8)|(d))
|
|
45 |
|
|
46 |
//Test suite parameters
|
|
47 |
const TInt KHeapFailure = 500;
|
|
48 |
|
|
49 |
#endif
|