24
|
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 TEFUnit header file which tests the PacketContext
|
|
15 |
// functional unit of the Common TSY.
|
|
16 |
//
|
|
17 |
//
|
|
18 |
|
|
19 |
#ifndef CCTSYPACKETCONTEXTFU_H
|
|
20 |
#define CCTSYPACKETCONTEXTFU_H
|
|
21 |
|
|
22 |
#include <test/tefunit.h>
|
|
23 |
|
|
24 |
#include <etelmm.h>
|
|
25 |
#include <etelmmcs.h>
|
|
26 |
|
|
27 |
#include "cctsycomponenttestbase.h"
|
|
28 |
|
|
29 |
|
|
30 |
class CCTsyPacketContextFU : public CCtsyComponentTestBase
|
|
31 |
{
|
|
32 |
public:
|
|
33 |
// Create a suite of all the tests
|
|
34 |
static CTestSuite* CreateSuiteL(const TDesC& aName);
|
|
35 |
|
|
36 |
public:
|
|
37 |
// Individual test steps
|
|
38 |
|
|
39 |
void TestNotifyStatusChange0001L();
|
|
40 |
void TestNotifyStatusChange0002L();
|
|
41 |
void TestNotifyStatusChange0003L();
|
|
42 |
void TestNotifyStatusChange0004L();
|
|
43 |
void TestNotifyStatusChange0005L();
|
|
44 |
void TestDeactivate0001L();
|
|
45 |
void TestDeactivate0002L();
|
|
46 |
void TestDeactivate0003L();
|
|
47 |
void TestDeactivate0004L();
|
|
48 |
void TestDeactivate0005L();
|
|
49 |
void TestGetDnsInfo0001L();
|
|
50 |
void TestGetDnsInfo0002L();
|
|
51 |
void TestGetDnsInfo0003L();
|
|
52 |
void TestGetDnsInfo0004L();
|
|
53 |
void TestGetDnsInfo0005L();
|
|
54 |
void TestLoanCommPort0001L();
|
|
55 |
void TestLoanCommPort0002L();
|
|
56 |
void TestLoanCommPort0003L();
|
|
57 |
void TestLoanCommPort0004L();
|
|
58 |
void TestLoanCommPort0005L();
|
|
59 |
void TestGetProfileName0001L();
|
|
60 |
void TestGetProfileName0002L();
|
|
61 |
void TestGetProfileName0003L();
|
|
62 |
void TestGetProfileName0004L();
|
|
63 |
void TestGetProfileName0005L();
|
|
64 |
void TestRecoverCommPort0001L();
|
|
65 |
void TestRecoverCommPort0002L();
|
|
66 |
void TestRecoverCommPort0003L();
|
|
67 |
void TestRecoverCommPort0004L();
|
|
68 |
void TestRecoverCommPort0005L();
|
|
69 |
void TestGetLastErrorCause0001L();
|
|
70 |
void TestGetLastErrorCause0002L();
|
|
71 |
void TestGetLastErrorCause0003L();
|
|
72 |
void TestGetLastErrorCause0004L();
|
|
73 |
void TestGetLastErrorCause0005L();
|
|
74 |
void TestInitialiseContext0001L();
|
|
75 |
void TestInitialiseContext0002L();
|
|
76 |
void TestInitialiseContext0003L();
|
|
77 |
void TestInitialiseContext0004L();
|
|
78 |
void TestInitialiseContext0005L();
|
|
79 |
void TestGetConnectionSpeed0001L();
|
|
80 |
void TestGetConnectionSpeed0002L();
|
|
81 |
void TestGetConnectionSpeed0003L();
|
|
82 |
void TestGetConnectionSpeed0004L();
|
|
83 |
void TestGetConnectionSpeed0005L();
|
|
84 |
void TestModifyActiveContext0001L();
|
|
85 |
void TestModifyActiveContext0002L();
|
|
86 |
void TestModifyActiveContext0003L();
|
|
87 |
void TestModifyActiveContext0004L();
|
|
88 |
void TestModifyActiveContext0005L();
|
|
89 |
void TestNotifyConfigChanged0001L();
|
|
90 |
void TestNotifyConfigChanged0001bL();
|
|
91 |
void TestNotifyConfigChanged0001cL();
|
|
92 |
void TestNotifyConfigChanged0002L();
|
|
93 |
void TestNotifyConfigChanged0003L();
|
|
94 |
void TestNotifyConfigChanged0004L();
|
|
95 |
void TestNotifyConfigChanged0005L();
|
|
96 |
void TestNotifyDataTransferred0001L();
|
|
97 |
void TestNotifyDataTransferred0002L();
|
|
98 |
void TestNotifyDataTransferred0003L();
|
|
99 |
void TestNotifyDataTransferred0004L();
|
|
100 |
void TestNotifyDataTransferred0005L();
|
|
101 |
void TestEnumeratePacketFilters0001L();
|
|
102 |
void TestEnumeratePacketFilters0002L();
|
|
103 |
void TestEnumeratePacketFilters0003L();
|
|
104 |
void TestEnumeratePacketFilters0004L();
|
|
105 |
void TestEnumeratePacketFilters0005L();
|
|
106 |
void TestGetDataVolumeTransferred0001L();
|
|
107 |
void TestGetDataVolumeTransferred0002L();
|
|
108 |
void TestGetDataVolumeTransferred0003L();
|
|
109 |
void TestGetDataVolumeTransferred0004L();
|
|
110 |
void TestGetDataVolumeTransferred0005L();
|
|
111 |
void TestNotifyConnectionSpeedChange0001L();
|
|
112 |
void TestNotifyConnectionSpeedChange0002L();
|
|
113 |
// void TestNotifyConnectionSpeedChange0003L();
|
|
114 |
void TestNotifyConnectionSpeedChange0004L();
|
|
115 |
// void TestNotifyConnectionSpeedChange0005L();
|
|
116 |
void TestDelete0001L();
|
|
117 |
void TestDelete0002L();
|
|
118 |
void TestDelete0003L();
|
|
119 |
void TestDelete0004L();
|
|
120 |
void TestDelete0005L();
|
|
121 |
void TestActivate0001L();
|
|
122 |
void TestActivate0001bL();
|
|
123 |
void TestActivate0002L();
|
|
124 |
void TestActivate0003L();
|
|
125 |
void TestActivate0004L();
|
|
126 |
void TestActivate0005L();
|
|
127 |
void TestGetConfig0001L();
|
|
128 |
// void TestGetConfig0002L();
|
|
129 |
void TestGetConfig0003L();
|
|
130 |
void TestGetConfig0004L();
|
|
131 |
// void TestGetConfig0005L();
|
|
132 |
void TestGetStatus0001L();
|
|
133 |
//void TestGetStatus0002L();
|
|
134 |
//void TestGetStatus0003L();
|
|
135 |
//void TestGetStatus0004L();
|
|
136 |
//void TestGetStatus0005L();
|
|
137 |
void TestSetConfig0001L();
|
|
138 |
void TestSetConfig0002L();
|
|
139 |
void TestSetConfig0003L();
|
|
140 |
void TestSetConfig0004L();
|
|
141 |
void TestSetConfig0005L();
|
|
142 |
// void TestNotifyConnectionSpeedChange0003();
|
|
143 |
// void TestNotifyConnectionSpeedChange0005();
|
|
144 |
// void TestGetConfig0002();
|
|
145 |
// void TestGetConfig0005();
|
|
146 |
//void TestGetStatus0002();
|
|
147 |
//void TestGetStatus0003();
|
|
148 |
//void TestGetStatus0004();
|
|
149 |
//void TestGetStatus0005();
|
|
150 |
#ifdef SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
|
|
151 |
void TestGetConnectionInfo0001L();
|
|
152 |
void TestGetConnectionInfo0002L();
|
|
153 |
void TestGetConnectionInfo0004L();
|
|
154 |
void TestNotifyConnectionInfoChange0001L();
|
|
155 |
void TestNotifyConnectionInfoChange0001_workerL(TBool aChangeValid,TBool aChangeHSDPACategory,TBool aChangeHSUPACategory,TBool aResendFirst=EFalse);
|
|
156 |
void TestNotifyConnectionInfoChange0002L();
|
|
157 |
void TestNotifyConnectionInfoChange0004L();
|
|
158 |
#endif // SYMBIAN_ADAPTIVE_TCP_RECEIVE_WINDOW
|
|
159 |
void TestOpenNewSecondaryContext0001L();
|
|
160 |
void TestOpenNewSecondaryContext0001bL();
|
|
161 |
void TestOpenNewSecondaryContext0003L();
|
|
162 |
void TestOpenNewSecondaryContext0003bL();
|
|
163 |
void TestOpenNewSecondaryContext0003cL();
|
|
164 |
|
|
165 |
void TestOpenNewContext0001L();
|
|
166 |
void TestOpenNewContext0003L();
|
|
167 |
void TestOpenExistingContext0001L();
|
|
168 |
void TestOpenExistingContext0003L();
|
|
169 |
|
|
170 |
|
|
171 |
//void TestAddPacketFilter0001L();
|
|
172 |
|
|
173 |
|
|
174 |
private:
|
|
175 |
static void CleanupArrayPtrFlat(TAny* self);
|
|
176 |
|
|
177 |
}; // class CCTsyPacketContextFU
|
|
178 |
|
|
179 |
#endif // CCTSYPACKETCONTEXTFU_H
|
|
180 |
|