44
|
1 |
// TestTelephonyPktTestStepBase.h
|
|
2 |
// Copyright (c) Symbian Software Ltd 2008. All rights reserved.
|
|
3 |
//
|
|
4 |
// Implementation of the Class CTestTelephonyPktTestStepBase
|
|
5 |
|
|
6 |
#ifndef TESTTELEPHONYPKTTESTSTEPBASE_H_
|
|
7 |
#define TESTTELEPHONYPKTTESTSTEPBASE_H_
|
|
8 |
|
|
9 |
// user include
|
|
10 |
#include "te_integration_stltsysuitestepbase.h"
|
|
11 |
#include "TestLtsyPktSharedData.h"
|
|
12 |
#include "TestLtsyModel.h"
|
|
13 |
|
|
14 |
/**
|
|
15 |
* This is the test step base class of PACKET test
|
|
16 |
* category which provides methods
|
|
17 |
*/
|
|
18 |
class CTestLtsyPktTestStepBase : public CTe_integration_stltsySuiteStepBase
|
|
19 |
/**
|
|
20 |
* @internalAll
|
|
21 |
* @test
|
|
22 |
*/
|
|
23 |
{
|
|
24 |
public:
|
|
25 |
virtual TVerdict doTestStepPreambleL();
|
|
26 |
virtual TVerdict doTestStepPostambleL();
|
|
27 |
protected:
|
|
28 |
|
|
29 |
CTestLtsyPktTestStepBase(CTestLtsyModel& aModel);
|
|
30 |
virtual ~CTestLtsyPktTestStepBase();
|
|
31 |
|
|
32 |
RMobilePhone& SharedPhone();
|
|
33 |
TBool IsOpenedPktService();
|
|
34 |
|
|
35 |
void OpenPacketobject();
|
|
36 |
void ClosePacketobject();
|
|
37 |
|
|
38 |
|
|
39 |
void DisplayPacketServiceStatus();
|
|
40 |
void DisplayNetworkRegistrationStatus();
|
|
41 |
void DisplayContextInfo();
|
|
42 |
void DisplayContextStatus(RPacketContext::TContextStatus aContextStatus);
|
|
43 |
void DisplayContextStatus(RPacketContext& aContext, RPacketContext::TContextStatus& aContextStatus);
|
|
44 |
|
|
45 |
void GprsContextAttachTest();
|
|
46 |
void GprsContextDetachTest();
|
|
47 |
|
|
48 |
void GprsNetWorkTest();
|
|
49 |
|
|
50 |
void GprsContextSetConfigTest();
|
|
51 |
void GprsContextGetConfigTest();
|
|
52 |
|
|
53 |
void GprsGetDefaultContextParamsTest();
|
|
54 |
void GprsSetDefaultContextParamsTest();
|
|
55 |
|
|
56 |
void DisplayStaticCapabilities();
|
|
57 |
void DisplayDynamicCapabilities();
|
|
58 |
|
|
59 |
void GprsContextActivateTest();
|
|
60 |
void GprsContextDeactivateTest();
|
|
61 |
|
|
62 |
void GprsSetQoSProfileTest();
|
|
63 |
void GprsGetQoSProfileTest();
|
|
64 |
|
|
65 |
void NotificationContextAdded();
|
|
66 |
void NotificationContextAddedCancel();
|
|
67 |
|
|
68 |
void OpenNewContext();
|
|
69 |
void CloseExistContext();
|
|
70 |
|
|
71 |
void OpenExistingContext();
|
|
72 |
void OpenContextUsingUnknownName();
|
|
73 |
|
|
74 |
void GprsContextDeleteTest();
|
|
75 |
|
|
76 |
void GprsInitialiseContext();
|
|
77 |
|
|
78 |
void NotificationContextStatusChange();
|
|
79 |
void NotificationContextStatusChangeCancel();
|
|
80 |
|
|
81 |
void OpenNewContextQos();
|
|
82 |
void CloseExistContextQos();
|
|
83 |
|
|
84 |
|
|
85 |
void GprsContextSetConfigTest1();
|
|
86 |
void GprsContextSetConfigTest2();
|
|
87 |
void GprsContextSetConfigTest3();
|
|
88 |
void GprsContextSetConfigTest4();
|
|
89 |
|
|
90 |
void GprsSetQoSProfileTest1();
|
|
91 |
void GprsSetQoSProfileTest2();
|
|
92 |
void GprsSetQoSProfileTest3();
|
|
93 |
void GprsSetQoSProfileTest4();
|
|
94 |
void GprsSetQoSProfileTest5();
|
|
95 |
void GprsSetQoSProfileTest6();
|
|
96 |
void GprsSetQoSProfileTest7();
|
|
97 |
void GprsSetQoSProfileTest8();
|
|
98 |
void GprsSetQoSProfileTest9();
|
|
99 |
void GprsSetQoSProfileTest10();
|
|
100 |
void GprsSetQoSProfileTest11();
|
|
101 |
void GprsSetQoSProfileTest12();
|
|
102 |
void GprsSetQoSProfileTest13();
|
|
103 |
void GprsSetQoSProfileTest14();
|
|
104 |
void GprsSetQoSProfileTest15();
|
|
105 |
void GprsSetQoSProfileTest16();
|
|
106 |
void GprsSetQoSProfileTest17();
|
|
107 |
void GprsSetQoSProfileTest18();
|
|
108 |
void GprsSetQoSProfileTest19();
|
|
109 |
void GprsSetQoSProfileTest20();
|
|
110 |
|
|
111 |
protected:
|
|
112 |
CTestLtsyModel& iModel;
|
|
113 |
RMobilePhone& iSharedPhone;
|
|
114 |
};
|
|
115 |
|
|
116 |
#endif // TESTTELEPHONYPKTTESTSTEPBASE_H_
|