|
1 // Copyright (c) 2005-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 // |
|
15 |
|
16 #ifndef __TE_GPRS_TESTSTEP_BASE__ |
|
17 #define __TE_GPRS_TESTSTEP_BASE__ |
|
18 |
|
19 #include <test/testexecutestepbase.h> |
|
20 |
|
21 #include <e32base.h> |
|
22 #include <in_sock.h> |
|
23 #include <etelpckt.h> |
|
24 |
|
25 #include "Te_Gprscfgfile.h" |
|
26 |
|
27 _LIT(KtsyName,"MM"); |
|
28 _LIT(KPhoneName,"GsmPhone1"); |
|
29 _LIT(KTGPRSConfigFile,"Te_gprs.ini"); |
|
30 |
|
31 class CGprsTestStep : public CTestStep |
|
32 { |
|
33 public: |
|
34 virtual TVerdict doTestStepPreambleL(); |
|
35 virtual TVerdict doTestStepPostambleL(); |
|
36 |
|
37 protected: |
|
38 void TestConfigParams(RPacketContext::TContextConfigGPRS& aArg1, RPacketContext::TContextConfigGPRS& aArg2); |
|
39 |
|
40 protected: |
|
41 RTelServer iTelServer; |
|
42 RPhone iPhone; |
|
43 RSocketServ iSocketServer; |
|
44 RConnection iConnection; |
|
45 CConfigParams* iTestConfigParam; |
|
46 RPacketService iPacketService; |
|
47 RPacketContext iPacketContext[20]; |
|
48 |
|
49 private: |
|
50 CActiveScheduler* iTestScheduler; |
|
51 }; |
|
52 |
|
53 #endif // __TE_GPRS_TESTSTEP_BASE__ |