|
1 // Copyright (c) 2007-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 // The declaration of the CTSY integration TEF test suite server. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @internalTechnology |
|
20 */ |
|
21 |
|
22 #ifndef __CCTSYINTEGRATIONTESTSUITESERVER_H__ |
|
23 #define __CCTSYINTEGRATIONTESTSUITESERVER_H__ |
|
24 |
|
25 #include <test/testexecuteserverbase.h> |
|
26 #include "rpsownnumbers.h" |
|
27 #include "townnumbersmanager.h" |
|
28 |
|
29 |
|
30 |
|
31 class CEtelSessionMgr; |
|
32 class CRPSMaster; |
|
33 class CCTSYIntegrationTestSuiteServer : public CTestServer |
|
34 { |
|
35 public: |
|
36 static CCTSYIntegrationTestSuiteServer* NewL(); |
|
37 ~CCTSYIntegrationTestSuiteServer(); |
|
38 |
|
39 // Base class pure virtual override |
|
40 virtual CTestStep* CreateTestStep(const TDesC& aStepName); |
|
41 |
|
42 private: |
|
43 CTestStep* DoCreateTestStep(const TDesC& aStepName); |
|
44 virtual void ConstructL(const TDesC& aName); |
|
45 void ReadConfigL(); |
|
46 void CreateRemotePartySimulatorL(); |
|
47 |
|
48 private: |
|
49 TBool iKeepSessOpen; |
|
50 TName iTsyName; |
|
51 TName iPhoneName; |
|
52 TBool iUseRps; |
|
53 CEtelSessionMgr* iSessManager; |
|
54 CRPSMaster* iRPS; |
|
55 TBool iRPSPresent; |
|
56 TOwnNumbersManager iOwnNumbersManager; //singleton shared across each test step. |
|
57 }; // class CCTSYIntegrationTestSuiteServer |
|
58 |
|
59 #endif // __CCTSYINTEGRATIONTESTSUITESERVER_H__ |