equal
deleted
inserted
replaced
|
1 // Copyright (c) 2004-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 // Contains declaration of CTestSuiteIPC that is |
|
15 // container class for all the IPC test steps |
|
16 // |
|
17 // |
|
18 |
|
19 #if (!defined __TESTSUITEIPC_H__) |
|
20 #define __TESTSUITEIPC_H__ |
|
21 |
|
22 #include <test/testexecuteserverbase.h> |
|
23 #include <es_sock.h> |
|
24 |
|
25 //Some Macros for adding test steps |
|
26 |
|
27 #define START_TEST_STEP_LIST |
|
28 |
|
29 #define ADD_TEST_STEP(c) \ |
|
30 if (aStepName == c::GetTestName()) \ |
|
31 { \ |
|
32 c* ret = new(ELeave) c; \ |
|
33 ret->SetTestStepName(c::GetTestName()); \ |
|
34 return ret; \ |
|
35 }\ |
|
36 else |
|
37 |
|
38 #define END_TEST_STEP_LIST \ |
|
39 { \ |
|
40 return NULL; \ |
|
41 } |
|
42 |
|
43 //--------------------------------- |
|
44 |
|
45 class CTestServerIPC : public CTestServer |
|
46 { |
|
47 public: |
|
48 CTestServerIPC(); |
|
49 ~CTestServerIPC(); |
|
50 static CTestServerIPC* NewL(); |
|
51 virtual CTestStep* CreateTestStep(const TDesC& aStepName); |
|
52 |
|
53 private: |
|
54 }; |
|
55 #endif /* __TESTSUITEIPC_H__ */ |
|
56 |