|
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 // Test step declarations for the NetworkControl functional unit. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @internalTechnology |
|
20 */ |
|
21 |
|
22 |
|
23 #ifndef __CCTSYINTEGRATIONTESTNETWORKCONTROL_H__ |
|
24 #define __CCTSYINTEGRATIONTESTNETWORKCONTROL_H__ |
|
25 |
|
26 |
|
27 #include <test/testexecutestepbase.h> |
|
28 #include "cctsyintegrationtestsuitebase.h" |
|
29 #include "tphonetsytesthelper.h" |
|
30 #include "tnetworktsytesthelper.h" |
|
31 #include "tcallcontroltsytesthelper.h" |
|
32 #include "tpacketservicetsytesthelper.h" |
|
33 |
|
34 |
|
35 class CEtelSessionMgr; |
|
36 |
|
37 |
|
38 class CCTSYIntegrationTestNetworkControlBase : public CCTSYIntegrationTestSuiteStepBase |
|
39 { |
|
40 public: |
|
41 |
|
42 CCTSYIntegrationTestNetworkControlBase(CEtelSessionMgr& aEtelSessionMgr); |
|
43 virtual ~CCTSYIntegrationTestNetworkControlBase(); |
|
44 |
|
45 protected: |
|
46 |
|
47 TBool IsPreferredNetworkInListL( CMobilePhoneStoredNetworkList& aList, |
|
48 RMobilePhone::TMobilePreferredNetworkEntryV3& aTarget); |
|
49 void SetAttachModeToWhenPossibleAndWaitForAttachL(RPacketService& aPacketService); |
|
50 |
|
51 protected: |
|
52 |
|
53 TNetworkTsyTestHelper iNetworkTestHelper; |
|
54 TCallControlTsyTestHelper iCallControlTestHelper; |
|
55 TPacketServiceTsyTestHelper iPacketServiceTestHelper; |
|
56 |
|
57 }; // class CCTSYIntegrationTestNetworkControlBase |
|
58 |
|
59 |
|
60 class CCTSYIntegrationTestNetworkControl0001 : public CCTSYIntegrationTestNetworkControlBase |
|
61 { |
|
62 public: |
|
63 |
|
64 CCTSYIntegrationTestNetworkControl0001(CEtelSessionMgr& aEtelSessionMgr); |
|
65 ~CCTSYIntegrationTestNetworkControl0001(); |
|
66 virtual TVerdict doTestStepL(); |
|
67 static TPtrC GetTestStepName(); |
|
68 |
|
69 private: |
|
70 |
|
71 }; // class CCTSYIntegrationTestNetworkControl0001 |
|
72 |
|
73 |
|
74 class CCTSYIntegrationTestNetworkControl0002 : public CCTSYIntegrationTestNetworkControlBase |
|
75 { |
|
76 public: |
|
77 |
|
78 CCTSYIntegrationTestNetworkControl0002(CEtelSessionMgr& aEtelSessionMgr); |
|
79 ~CCTSYIntegrationTestNetworkControl0002(); |
|
80 virtual TVerdict doTestStepL(); |
|
81 static TPtrC GetTestStepName(); |
|
82 |
|
83 private: |
|
84 |
|
85 }; // class CCTSYIntegrationTestNetworkControl0002 |
|
86 |
|
87 |
|
88 class CCTSYIntegrationTestNetworkControl0003 : public CCTSYIntegrationTestNetworkControlBase |
|
89 { |
|
90 public: |
|
91 |
|
92 CCTSYIntegrationTestNetworkControl0003(CEtelSessionMgr& aEtelSessionMgr); |
|
93 ~CCTSYIntegrationTestNetworkControl0003(); |
|
94 virtual TVerdict doTestStepL(); |
|
95 static TPtrC GetTestStepName(); |
|
96 |
|
97 private: |
|
98 |
|
99 }; // class CCTSYIntegrationTestNetworkControl0003 |
|
100 |
|
101 |
|
102 class CCTSYIntegrationTestNetworkControl0004 : public CCTSYIntegrationTestNetworkControlBase |
|
103 { |
|
104 public: |
|
105 |
|
106 CCTSYIntegrationTestNetworkControl0004(CEtelSessionMgr& aEtelSessionMgr); |
|
107 ~CCTSYIntegrationTestNetworkControl0004(); |
|
108 virtual TVerdict doTestStepL(); |
|
109 static TPtrC GetTestStepName(); |
|
110 |
|
111 private: |
|
112 |
|
113 }; // class CCTSYIntegrationTestNetworkControl0004 |
|
114 |
|
115 |
|
116 class CCTSYIntegrationTestNetworkControl0005 : public CCTSYIntegrationTestNetworkControlBase |
|
117 { |
|
118 public: |
|
119 |
|
120 CCTSYIntegrationTestNetworkControl0005(CEtelSessionMgr& aEtelSessionMgr); |
|
121 ~CCTSYIntegrationTestNetworkControl0005(); |
|
122 virtual TVerdict doTestStepL(); |
|
123 static TPtrC GetTestStepName(); |
|
124 |
|
125 private: |
|
126 |
|
127 }; // class CCTSYIntegrationTestNetworkControl0005 |
|
128 |
|
129 |
|
130 class CCTSYIntegrationTestNetworkControl0006 : public CCTSYIntegrationTestNetworkControlBase |
|
131 { |
|
132 public: |
|
133 |
|
134 CCTSYIntegrationTestNetworkControl0006(CEtelSessionMgr& aEtelSessionMgr); |
|
135 ~CCTSYIntegrationTestNetworkControl0006(); |
|
136 virtual TVerdict doTestStepL(); |
|
137 static TPtrC GetTestStepName(); |
|
138 |
|
139 private: |
|
140 |
|
141 }; // class CCTSYIntegrationTestNetworkControl0006 |
|
142 |
|
143 |
|
144 class CCTSYIntegrationTestNetworkControl0007 : public CCTSYIntegrationTestNetworkControlBase |
|
145 { |
|
146 public: |
|
147 |
|
148 CCTSYIntegrationTestNetworkControl0007(CEtelSessionMgr& aEtelSessionMgr); |
|
149 ~CCTSYIntegrationTestNetworkControl0007(); |
|
150 virtual TVerdict doTestStepL(); |
|
151 static TPtrC GetTestStepName(); |
|
152 |
|
153 private: |
|
154 |
|
155 }; // class CCTSYIntegrationTestNetworkControl0007 |
|
156 |
|
157 |
|
158 class CCTSYIntegrationTestNetworkControl0008 : public CCTSYIntegrationTestNetworkControlBase |
|
159 { |
|
160 public: |
|
161 |
|
162 CCTSYIntegrationTestNetworkControl0008(CEtelSessionMgr& aEtelSessionMgr); |
|
163 ~CCTSYIntegrationTestNetworkControl0008(); |
|
164 virtual TVerdict doTestStepL(); |
|
165 static TPtrC GetTestStepName(); |
|
166 |
|
167 private: |
|
168 |
|
169 }; // class CCTSYIntegrationTestNetworkControl0008 |
|
170 |
|
171 |
|
172 class CCTSYIntegrationTestNetworkControl0009 : public CCTSYIntegrationTestNetworkControlBase |
|
173 { |
|
174 public: |
|
175 |
|
176 CCTSYIntegrationTestNetworkControl0009(CEtelSessionMgr& aEtelSessionMgr); |
|
177 ~CCTSYIntegrationTestNetworkControl0009(); |
|
178 virtual TVerdict doTestStepL(); |
|
179 static TPtrC GetTestStepName(); |
|
180 |
|
181 private: |
|
182 |
|
183 }; // class CCTSYIntegrationTestNetworkControl0009 |
|
184 |
|
185 |
|
186 class CCTSYIntegrationTestNetworkControl0010 : public CCTSYIntegrationTestNetworkControlBase |
|
187 { |
|
188 public: |
|
189 |
|
190 CCTSYIntegrationTestNetworkControl0010(CEtelSessionMgr& aEtelSessionMgr); |
|
191 ~CCTSYIntegrationTestNetworkControl0010(); |
|
192 virtual TVerdict doTestStepL(); |
|
193 static TPtrC GetTestStepName(); |
|
194 |
|
195 private: |
|
196 |
|
197 }; // class CCTSYIntegrationTestNetworkControl0010 |
|
198 |
|
199 |
|
200 class CCTSYIntegrationTestNetworkControl0011 : public CCTSYIntegrationTestNetworkControlBase |
|
201 { |
|
202 public: |
|
203 |
|
204 CCTSYIntegrationTestNetworkControl0011(CEtelSessionMgr& aEtelSessionMgr); |
|
205 ~CCTSYIntegrationTestNetworkControl0011(); |
|
206 virtual TVerdict doTestStepL(); |
|
207 static TPtrC GetTestStepName(); |
|
208 |
|
209 private: |
|
210 |
|
211 }; // class CCTSYIntegrationTestNetworkControl0011 |
|
212 |
|
213 |
|
214 class CCTSYIntegrationTestNetworkControl0012 : public CCTSYIntegrationTestNetworkControlBase |
|
215 { |
|
216 public: |
|
217 |
|
218 CCTSYIntegrationTestNetworkControl0012(CEtelSessionMgr& aEtelSessionMgr); |
|
219 ~CCTSYIntegrationTestNetworkControl0012(); |
|
220 virtual TVerdict doTestStepL(); |
|
221 static TPtrC GetTestStepName(); |
|
222 |
|
223 private: |
|
224 |
|
225 }; // class CCTSYIntegrationTestNetworkControl0012 |
|
226 |
|
227 |
|
228 class CCTSYIntegrationTestNetworkControl0013 : public CCTSYIntegrationTestNetworkControlBase |
|
229 { |
|
230 public: |
|
231 |
|
232 CCTSYIntegrationTestNetworkControl0013(CEtelSessionMgr& aEtelSessionMgr); |
|
233 ~CCTSYIntegrationTestNetworkControl0013(); |
|
234 virtual TVerdict doTestStepL(); |
|
235 static TPtrC GetTestStepName(); |
|
236 |
|
237 private: |
|
238 |
|
239 }; // class CCTSYIntegrationTestNetworkControl0013 |
|
240 |
|
241 |
|
242 class CCTSYIntegrationTestNetworkControl0014 : public CCTSYIntegrationTestNetworkControlBase |
|
243 { |
|
244 public: |
|
245 |
|
246 CCTSYIntegrationTestNetworkControl0014(CEtelSessionMgr& aEtelSessionMgr); |
|
247 ~CCTSYIntegrationTestNetworkControl0014(); |
|
248 virtual TVerdict doTestStepL(); |
|
249 static TPtrC GetTestStepName(); |
|
250 |
|
251 private: |
|
252 |
|
253 }; // class CCTSYIntegrationTestNetworkControl0014 |
|
254 |
|
255 |
|
256 class CCTSYIntegrationTestNetworkControl0015 : public CCTSYIntegrationTestNetworkControlBase |
|
257 { |
|
258 public: |
|
259 |
|
260 CCTSYIntegrationTestNetworkControl0015(CEtelSessionMgr& aEtelSessionMgr); |
|
261 ~CCTSYIntegrationTestNetworkControl0015(); |
|
262 virtual TVerdict doTestStepL(); |
|
263 static TPtrC GetTestStepName(); |
|
264 |
|
265 private: |
|
266 |
|
267 }; // class CCTSYIntegrationTestNetworkControl0015 |
|
268 |
|
269 |
|
270 class CCTSYIntegrationTestNetworkControl0016 : public CCTSYIntegrationTestNetworkControlBase |
|
271 { |
|
272 public: |
|
273 |
|
274 CCTSYIntegrationTestNetworkControl0016(CEtelSessionMgr& aEtelSessionMgr); |
|
275 ~CCTSYIntegrationTestNetworkControl0016(); |
|
276 virtual TVerdict doTestStepL(); |
|
277 static TPtrC GetTestStepName(); |
|
278 |
|
279 private: |
|
280 |
|
281 }; // class CCTSYIntegrationTestNetworkControl0016 |
|
282 |
|
283 |
|
284 class CCTSYIntegrationTestNetworkControl0017 : public CCTSYIntegrationTestNetworkControlBase |
|
285 { |
|
286 public: |
|
287 |
|
288 CCTSYIntegrationTestNetworkControl0017(CEtelSessionMgr& aEtelSessionMgr); |
|
289 ~CCTSYIntegrationTestNetworkControl0017(); |
|
290 virtual TVerdict doTestStepL(); |
|
291 static TPtrC GetTestStepName(); |
|
292 |
|
293 private: |
|
294 |
|
295 }; // class CCTSYIntegrationTestNetworkControl0017 |
|
296 |
|
297 |
|
298 class CCTSYIntegrationTestNetworkControl0018 : public CCTSYIntegrationTestNetworkControlBase |
|
299 { |
|
300 public: |
|
301 |
|
302 CCTSYIntegrationTestNetworkControl0018(CEtelSessionMgr& aEtelSessionMgr); |
|
303 ~CCTSYIntegrationTestNetworkControl0018(); |
|
304 virtual TVerdict doTestStepL(); |
|
305 static TPtrC GetTestStepName(); |
|
306 |
|
307 private: |
|
308 |
|
309 }; // class CCTSYIntegrationTestNetworkControl0018 |
|
310 |
|
311 |
|
312 class CCTSYIntegrationTestNetworkControl0019 : public CCTSYIntegrationTestNetworkControlBase |
|
313 { |
|
314 public: |
|
315 |
|
316 CCTSYIntegrationTestNetworkControl0019(CEtelSessionMgr& aEtelSessionMgr); |
|
317 ~CCTSYIntegrationTestNetworkControl0019(); |
|
318 virtual TVerdict doTestStepL(); |
|
319 static TPtrC GetTestStepName(); |
|
320 |
|
321 private: |
|
322 |
|
323 }; // class CCTSYIntegrationTestNetworkControl0019 |
|
324 |
|
325 |
|
326 class CCTSYIntegrationTestNetworkControl0020 : public CCTSYIntegrationTestNetworkControlBase |
|
327 { |
|
328 public: |
|
329 |
|
330 CCTSYIntegrationTestNetworkControl0020(CEtelSessionMgr& aEtelSessionMgr); |
|
331 ~CCTSYIntegrationTestNetworkControl0020(); |
|
332 virtual TVerdict doTestStepL(); |
|
333 static TPtrC GetTestStepName(); |
|
334 |
|
335 private: |
|
336 |
|
337 }; // class CCTSYIntegrationTestNetworkControl0020 |
|
338 |
|
339 |
|
340 class CCTSYIntegrationTestNetworkControl0021 : public CCTSYIntegrationTestNetworkControlBase |
|
341 { |
|
342 public: |
|
343 |
|
344 CCTSYIntegrationTestNetworkControl0021(CEtelSessionMgr& aEtelSessionMgr); |
|
345 ~CCTSYIntegrationTestNetworkControl0021(); |
|
346 virtual TVerdict doTestStepL(); |
|
347 static TPtrC GetTestStepName(); |
|
348 |
|
349 private: |
|
350 |
|
351 }; // class CCTSYIntegrationTestNetworkControl0021 |
|
352 |
|
353 |
|
354 class CCTSYIntegrationTestNetworkControl0022 : public CCTSYIntegrationTestNetworkControlBase |
|
355 { |
|
356 public: |
|
357 |
|
358 CCTSYIntegrationTestNetworkControl0022(CEtelSessionMgr& aEtelSessionMgr); |
|
359 ~CCTSYIntegrationTestNetworkControl0022(); |
|
360 virtual TVerdict doTestStepL(); |
|
361 static TPtrC GetTestStepName(); |
|
362 |
|
363 private: |
|
364 |
|
365 }; // class CCTSYIntegrationTestNetworkControl0022 |
|
366 |
|
367 |
|
368 class CCTSYIntegrationTestNetworkControl0023 : public CCTSYIntegrationTestNetworkControlBase |
|
369 { |
|
370 public: |
|
371 |
|
372 CCTSYIntegrationTestNetworkControl0023(CEtelSessionMgr& aEtelSessionMgr); |
|
373 ~CCTSYIntegrationTestNetworkControl0023(); |
|
374 virtual TVerdict doTestStepL(); |
|
375 static TPtrC GetTestStepName(); |
|
376 |
|
377 private: |
|
378 |
|
379 }; // class CCTSYIntegrationTestNetworkControl0023 |
|
380 |
|
381 |
|
382 class CCTSYIntegrationTestNetworkControl0024 : public CCTSYIntegrationTestNetworkControlBase |
|
383 { |
|
384 public: |
|
385 |
|
386 CCTSYIntegrationTestNetworkControl0024(CEtelSessionMgr& aEtelSessionMgr); |
|
387 ~CCTSYIntegrationTestNetworkControl0024(); |
|
388 virtual TVerdict doTestStepL(); |
|
389 static TPtrC GetTestStepName(); |
|
390 |
|
391 private: |
|
392 |
|
393 }; // class CCTSYIntegrationTestNetworkControl0024 |
|
394 |
|
395 |
|
396 class CCTSYIntegrationTestNetworkControl0025 : public CCTSYIntegrationTestNetworkControlBase |
|
397 { |
|
398 public: |
|
399 |
|
400 CCTSYIntegrationTestNetworkControl0025(CEtelSessionMgr& aEtelSessionMgr); |
|
401 ~CCTSYIntegrationTestNetworkControl0025(); |
|
402 virtual TVerdict doTestStepL(); |
|
403 static TPtrC GetTestStepName(); |
|
404 |
|
405 private: |
|
406 |
|
407 }; // class CCTSYIntegrationTestNetworkControl0025 |
|
408 |
|
409 |
|
410 |
|
411 #endif // __CCTSYINTEGRATIONTESTNETWORKCONTROL_H__ |