|
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 PacketService functional unit. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @internalTechnology |
|
20 */ |
|
21 |
|
22 |
|
23 #ifndef __CCTSYINTEGRATIONTESTPACKETSERVICE_H__ |
|
24 #define __CCTSYINTEGRATIONTESTPACKETSERVICE_H__ |
|
25 |
|
26 |
|
27 #include <test/testexecutestepbase.h> |
|
28 #include "cctsyintegrationtestsuitebase.h" |
|
29 #include "tpacketservicetsytesthelper.h" |
|
30 #include "tnetworktsytesthelper.h" |
|
31 #include "cctsyinidata.h" |
|
32 |
|
33 class CEtelSessionMgr; |
|
34 |
|
35 class CCTSYIntegrationTestPacketServiceBase : public CCTSYIntegrationTestSuiteStepBase |
|
36 { |
|
37 public: |
|
38 |
|
39 CCTSYIntegrationTestPacketServiceBase(CEtelSessionMgr& aEtelSessionMgr); |
|
40 virtual ~CCTSYIntegrationTestPacketServiceBase(); |
|
41 |
|
42 protected: |
|
43 |
|
44 void EnsureAttachModeL(RPacketService &aPacketService, RPacketService::TAttachMode &aModeAttach); |
|
45 |
|
46 TPacketServiceTsyTestHelper iPacketServiceTestHelper; |
|
47 TNetworkTsyTestHelper iNetworkTestHelper; |
|
48 }; // class CCTSYIntegrationTestPacketServiceBase |
|
49 |
|
50 |
|
51 class CCTSYIntegrationTestPacketService0001 : public CCTSYIntegrationTestPacketServiceBase |
|
52 { |
|
53 public: |
|
54 |
|
55 CCTSYIntegrationTestPacketService0001(CEtelSessionMgr& aEtelSessionMgr); |
|
56 ~CCTSYIntegrationTestPacketService0001(); |
|
57 virtual TVerdict doTestStepL(); |
|
58 static TPtrC GetTestStepName(); |
|
59 |
|
60 private: |
|
61 |
|
62 }; // class CCTSYIntegrationTestPacketService0001 |
|
63 |
|
64 |
|
65 class CCTSYIntegrationTestPacketService0002 : public CCTSYIntegrationTestPacketServiceBase |
|
66 { |
|
67 public: |
|
68 |
|
69 CCTSYIntegrationTestPacketService0002(CEtelSessionMgr& aEtelSessionMgr); |
|
70 ~CCTSYIntegrationTestPacketService0002(); |
|
71 virtual TVerdict doTestStepL(); |
|
72 static TPtrC GetTestStepName(); |
|
73 |
|
74 private: |
|
75 |
|
76 }; // class CCTSYIntegrationTestPacketService0002 |
|
77 |
|
78 |
|
79 class CCTSYIntegrationTestPacketService0003 : public CCTSYIntegrationTestPacketServiceBase |
|
80 { |
|
81 public: |
|
82 |
|
83 CCTSYIntegrationTestPacketService0003(CEtelSessionMgr& aEtelSessionMgr); |
|
84 ~CCTSYIntegrationTestPacketService0003(); |
|
85 virtual TVerdict doTestStepL(); |
|
86 void GetGprsSettingsFromInfo(RMobilePhone::TMobilePhoneNetworkInfoV1 info, TPtrC& aAccessPoint, TPtrC& aUser, TPtrC& aPassword); |
|
87 static TPtrC GetTestStepName(); |
|
88 |
|
89 private: |
|
90 |
|
91 }; // class CCTSYIntegrationTestPacketService0003 |
|
92 |
|
93 |
|
94 class CCTSYIntegrationTestPacketService0004 : public CCTSYIntegrationTestPacketServiceBase |
|
95 { |
|
96 public: |
|
97 |
|
98 CCTSYIntegrationTestPacketService0004(CEtelSessionMgr& aEtelSessionMgr); |
|
99 ~CCTSYIntegrationTestPacketService0004(); |
|
100 virtual TVerdict doTestStepL(); |
|
101 static TPtrC GetTestStepName(); |
|
102 |
|
103 private: |
|
104 |
|
105 }; // class CCTSYIntegrationTestPacketService0004 |
|
106 |
|
107 |
|
108 class CCTSYIntegrationTestPacketService0005 : public CCTSYIntegrationTestPacketServiceBase |
|
109 { |
|
110 public: |
|
111 |
|
112 CCTSYIntegrationTestPacketService0005(CEtelSessionMgr& aEtelSessionMgr); |
|
113 ~CCTSYIntegrationTestPacketService0005(); |
|
114 virtual TVerdict doTestStepL(); |
|
115 static TPtrC GetTestStepName(); |
|
116 |
|
117 private: |
|
118 |
|
119 }; // class CCTSYIntegrationTestPacketService0005 |
|
120 |
|
121 |
|
122 class CCTSYIntegrationTestPacketService0006 : public CCTSYIntegrationTestPacketServiceBase |
|
123 { |
|
124 public: |
|
125 |
|
126 CCTSYIntegrationTestPacketService0006(CEtelSessionMgr& aEtelSessionMgr); |
|
127 ~CCTSYIntegrationTestPacketService0006(); |
|
128 virtual TVerdict doTestStepL(); |
|
129 static TPtrC GetTestStepName(); |
|
130 |
|
131 private: |
|
132 |
|
133 }; // class CCTSYIntegrationTestPacketService0006 |
|
134 |
|
135 |
|
136 class CCTSYIntegrationTestPacketService0007 : public CCTSYIntegrationTestPacketServiceBase |
|
137 { |
|
138 public: |
|
139 |
|
140 CCTSYIntegrationTestPacketService0007(CEtelSessionMgr& aEtelSessionMgr); |
|
141 ~CCTSYIntegrationTestPacketService0007(); |
|
142 virtual TVerdict doTestStepL(); |
|
143 static TPtrC GetTestStepName(); |
|
144 |
|
145 private: |
|
146 |
|
147 }; // class CCTSYIntegrationTestPacketService0007 |
|
148 |
|
149 |
|
150 class CCTSYIntegrationTestPacketService0008 : public CCTSYIntegrationTestPacketServiceBase |
|
151 { |
|
152 public: |
|
153 |
|
154 CCTSYIntegrationTestPacketService0008(CEtelSessionMgr& aEtelSessionMgr); |
|
155 ~CCTSYIntegrationTestPacketService0008(); |
|
156 virtual TVerdict doTestStepL(); |
|
157 static TPtrC GetTestStepName(); |
|
158 |
|
159 private: |
|
160 |
|
161 }; // class CCTSYIntegrationTestPacketService0008 |
|
162 |
|
163 |
|
164 class CCTSYIntegrationTestPacketService0009 : public CCTSYIntegrationTestPacketServiceBase |
|
165 { |
|
166 public: |
|
167 |
|
168 CCTSYIntegrationTestPacketService0009(CEtelSessionMgr& aEtelSessionMgr); |
|
169 ~CCTSYIntegrationTestPacketService0009(); |
|
170 virtual TVerdict doTestStepL(); |
|
171 static TPtrC GetTestStepName(); |
|
172 |
|
173 private: |
|
174 |
|
175 }; // class CCTSYIntegrationTestPacketService0009 |
|
176 |
|
177 |
|
178 class CCTSYIntegrationTestPacketService0010 : public CCTSYIntegrationTestPacketServiceBase |
|
179 { |
|
180 public: |
|
181 |
|
182 CCTSYIntegrationTestPacketService0010(CEtelSessionMgr& aEtelSessionMgr); |
|
183 ~CCTSYIntegrationTestPacketService0010(); |
|
184 virtual TVerdict doTestStepL(); |
|
185 static TPtrC GetTestStepName(); |
|
186 |
|
187 private: |
|
188 |
|
189 }; // class CCTSYIntegrationTestPacketService0010 |
|
190 |
|
191 |
|
192 class CCTSYIntegrationTestPacketService0011 : public CCTSYIntegrationTestPacketServiceBase |
|
193 { |
|
194 public: |
|
195 |
|
196 CCTSYIntegrationTestPacketService0011(CEtelSessionMgr& aEtelSessionMgr); |
|
197 ~CCTSYIntegrationTestPacketService0011(); |
|
198 virtual TVerdict doTestStepL(); |
|
199 static TPtrC GetTestStepName(); |
|
200 |
|
201 private: |
|
202 |
|
203 }; // class CCTSYIntegrationTestPacketService0011 |
|
204 |
|
205 |
|
206 class CCTSYIntegrationTestPacketService0012 : public CCTSYIntegrationTestPacketServiceBase |
|
207 { |
|
208 public: |
|
209 |
|
210 CCTSYIntegrationTestPacketService0012(CEtelSessionMgr& aEtelSessionMgr); |
|
211 ~CCTSYIntegrationTestPacketService0012(); |
|
212 virtual TVerdict doTestStepL(); |
|
213 static TPtrC GetTestStepName(); |
|
214 |
|
215 private: |
|
216 |
|
217 }; // class CCTSYIntegrationTestPacketService0012 |
|
218 |
|
219 |
|
220 class CCTSYIntegrationTestPacketService0013 : public CCTSYIntegrationTestPacketServiceBase |
|
221 { |
|
222 public: |
|
223 |
|
224 CCTSYIntegrationTestPacketService0013(CEtelSessionMgr& aEtelSessionMgr); |
|
225 ~CCTSYIntegrationTestPacketService0013(); |
|
226 virtual TVerdict doTestStepL(); |
|
227 static TPtrC GetTestStepName(); |
|
228 |
|
229 private: |
|
230 |
|
231 }; // class CCTSYIntegrationTestPacketService0013 |
|
232 |
|
233 |
|
234 class CCTSYIntegrationTestPacketService0014 : public CCTSYIntegrationTestPacketServiceBase |
|
235 { |
|
236 public: |
|
237 |
|
238 CCTSYIntegrationTestPacketService0014(CEtelSessionMgr& aEtelSessionMgr); |
|
239 ~CCTSYIntegrationTestPacketService0014(); |
|
240 virtual TVerdict doTestStepL(); |
|
241 static TPtrC GetTestStepName(); |
|
242 |
|
243 private: |
|
244 |
|
245 }; // class CCTSYIntegrationTestPacketService0014 |
|
246 |
|
247 |
|
248 class CCTSYIntegrationTestPacketService0015 : public CCTSYIntegrationTestPacketServiceBase |
|
249 { |
|
250 public: |
|
251 |
|
252 CCTSYIntegrationTestPacketService0015(CEtelSessionMgr& aEtelSessionMgr); |
|
253 ~CCTSYIntegrationTestPacketService0015(); |
|
254 virtual TVerdict doTestStepL(); |
|
255 static TPtrC GetTestStepName(); |
|
256 |
|
257 private: |
|
258 |
|
259 }; // class CCTSYIntegrationTestPacketService0015 |
|
260 |
|
261 |
|
262 class CCTSYIntegrationTestPacketService0016 : public CCTSYIntegrationTestPacketServiceBase |
|
263 { |
|
264 public: |
|
265 |
|
266 CCTSYIntegrationTestPacketService0016(CEtelSessionMgr& aEtelSessionMgr); |
|
267 ~CCTSYIntegrationTestPacketService0016(); |
|
268 virtual TVerdict doTestStepL(); |
|
269 static TPtrC GetTestStepName(); |
|
270 |
|
271 private: |
|
272 |
|
273 }; // class CCTSYIntegrationTestPacketService0016 |
|
274 |
|
275 |
|
276 class CCTSYIntegrationTestPacketService0017 : public CCTSYIntegrationTestPacketServiceBase |
|
277 { |
|
278 public: |
|
279 |
|
280 CCTSYIntegrationTestPacketService0017(CEtelSessionMgr& aEtelSessionMgr); |
|
281 ~CCTSYIntegrationTestPacketService0017(); |
|
282 virtual TVerdict doTestStepL(); |
|
283 static TPtrC GetTestStepName(); |
|
284 |
|
285 private: |
|
286 |
|
287 }; // class CCTSYIntegrationTestPacketService0017 |
|
288 |
|
289 |
|
290 class CCTSYIntegrationTestPacketService0018 : public CCTSYIntegrationTestPacketServiceBase |
|
291 { |
|
292 public: |
|
293 |
|
294 CCTSYIntegrationTestPacketService0018(CEtelSessionMgr& aEtelSessionMgr); |
|
295 ~CCTSYIntegrationTestPacketService0018(); |
|
296 virtual TVerdict doTestStepL(); |
|
297 static TPtrC GetTestStepName(); |
|
298 |
|
299 private: |
|
300 |
|
301 }; // class CCTSYIntegrationTestPacketService0018 |
|
302 |
|
303 |
|
304 class CCTSYIntegrationTestPacketService0019 : public CCTSYIntegrationTestPacketServiceBase |
|
305 { |
|
306 public: |
|
307 |
|
308 CCTSYIntegrationTestPacketService0019(CEtelSessionMgr& aEtelSessionMgr); |
|
309 ~CCTSYIntegrationTestPacketService0019(); |
|
310 virtual TVerdict doTestStepL(); |
|
311 static TPtrC GetTestStepName(); |
|
312 |
|
313 private: |
|
314 |
|
315 }; // class CCTSYIntegrationTestPacketService0019 |
|
316 |
|
317 |
|
318 class CCTSYIntegrationTestPacketService0020 : public CCTSYIntegrationTestPacketServiceBase |
|
319 { |
|
320 public: |
|
321 |
|
322 CCTSYIntegrationTestPacketService0020(CEtelSessionMgr& aEtelSessionMgr); |
|
323 ~CCTSYIntegrationTestPacketService0020(); |
|
324 virtual TVerdict doTestStepL(); |
|
325 static TPtrC GetTestStepName(); |
|
326 |
|
327 private: |
|
328 |
|
329 }; // class CCTSYIntegrationTestPacketService0020 |
|
330 |
|
331 |
|
332 class CCTSYIntegrationTestPacketService0021 : public CCTSYIntegrationTestPacketServiceBase |
|
333 { |
|
334 public: |
|
335 |
|
336 CCTSYIntegrationTestPacketService0021(CEtelSessionMgr& aEtelSessionMgr); |
|
337 ~CCTSYIntegrationTestPacketService0021(); |
|
338 virtual TVerdict doTestStepL(); |
|
339 static TPtrC GetTestStepName(); |
|
340 |
|
341 private: |
|
342 |
|
343 }; // class CCTSYIntegrationTestPacketService0021 |
|
344 |
|
345 |
|
346 class CCTSYIntegrationTestPacketService0022 : public CCTSYIntegrationTestPacketServiceBase |
|
347 { |
|
348 public: |
|
349 |
|
350 CCTSYIntegrationTestPacketService0022(CEtelSessionMgr& aEtelSessionMgr); |
|
351 ~CCTSYIntegrationTestPacketService0022(); |
|
352 virtual TVerdict doTestStepL(); |
|
353 static TPtrC GetTestStepName(); |
|
354 |
|
355 private: |
|
356 |
|
357 }; // class CCTSYIntegrationTestPacketService0022 |
|
358 |
|
359 |
|
360 class CCTSYIntegrationTestPacketService0023 : public CCTSYIntegrationTestPacketServiceBase |
|
361 { |
|
362 public: |
|
363 |
|
364 CCTSYIntegrationTestPacketService0023(CEtelSessionMgr& aEtelSessionMgr); |
|
365 ~CCTSYIntegrationTestPacketService0023(); |
|
366 virtual TVerdict doTestStepL(); |
|
367 static TPtrC GetTestStepName(); |
|
368 |
|
369 private: |
|
370 |
|
371 }; // class CCTSYIntegrationTestPacketService0023 |
|
372 |
|
373 |
|
374 class CCTSYIntegrationTestPacketService0024 : public CCTSYIntegrationTestPacketServiceBase |
|
375 { |
|
376 public: |
|
377 |
|
378 CCTSYIntegrationTestPacketService0024(CEtelSessionMgr& aEtelSessionMgr); |
|
379 ~CCTSYIntegrationTestPacketService0024(); |
|
380 virtual TVerdict doTestStepL(); |
|
381 static TPtrC GetTestStepName(); |
|
382 |
|
383 private: |
|
384 |
|
385 }; // class CCTSYIntegrationTestPacketService0024 |
|
386 |
|
387 |
|
388 class CCTSYIntegrationTestPacketService0025 : public CCTSYIntegrationTestPacketServiceBase |
|
389 { |
|
390 public: |
|
391 |
|
392 CCTSYIntegrationTestPacketService0025(CEtelSessionMgr& aEtelSessionMgr); |
|
393 ~CCTSYIntegrationTestPacketService0025(); |
|
394 virtual TVerdict doTestStepL(); |
|
395 static TPtrC GetTestStepName(); |
|
396 |
|
397 private: |
|
398 |
|
399 }; // class CCTSYIntegrationTestPacketService0025 |
|
400 |
|
401 |
|
402 class CCTSYIntegrationTestPacketService0026 : public CCTSYIntegrationTestPacketServiceBase |
|
403 { |
|
404 public: |
|
405 |
|
406 CCTSYIntegrationTestPacketService0026(CEtelSessionMgr& aEtelSessionMgr); |
|
407 ~CCTSYIntegrationTestPacketService0026(); |
|
408 virtual TVerdict doTestStepL(); |
|
409 static TPtrC GetTestStepName(); |
|
410 |
|
411 private: |
|
412 |
|
413 }; // class CCTSYIntegrationTestPacketService0026 |
|
414 |
|
415 |
|
416 class CCTSYIntegrationTestPacketService0027 : public CCTSYIntegrationTestPacketServiceBase |
|
417 { |
|
418 public: |
|
419 |
|
420 CCTSYIntegrationTestPacketService0027(CEtelSessionMgr& aEtelSessionMgr); |
|
421 ~CCTSYIntegrationTestPacketService0027(); |
|
422 virtual TVerdict doTestStepL(); |
|
423 static TPtrC GetTestStepName(); |
|
424 |
|
425 private: |
|
426 |
|
427 }; // class CCTSYIntegrationTestPacketService0027 |
|
428 |
|
429 |
|
430 class CCTSYIntegrationTestPacketService0028 : public CCTSYIntegrationTestPacketServiceBase |
|
431 { |
|
432 public: |
|
433 |
|
434 CCTSYIntegrationTestPacketService0028(CEtelSessionMgr& aEtelSessionMgr); |
|
435 ~CCTSYIntegrationTestPacketService0028(); |
|
436 virtual TVerdict doTestStepL(); |
|
437 static TPtrC GetTestStepName(); |
|
438 |
|
439 private: |
|
440 |
|
441 }; // class CCTSYIntegrationTestPacketService0028 |
|
442 |
|
443 |
|
444 class CCTSYIntegrationTestPacketService0029 : public CCTSYIntegrationTestPacketServiceBase |
|
445 { |
|
446 public: |
|
447 |
|
448 CCTSYIntegrationTestPacketService0029(CEtelSessionMgr& aEtelSessionMgr); |
|
449 ~CCTSYIntegrationTestPacketService0029(); |
|
450 virtual TVerdict doTestStepL(); |
|
451 static TPtrC GetTestStepName(); |
|
452 |
|
453 private: |
|
454 |
|
455 }; // class CCTSYIntegrationTestPacketService0029 |
|
456 |
|
457 |
|
458 class CCTSYIntegrationTestPacketService0030 : public CCTSYIntegrationTestPacketServiceBase |
|
459 { |
|
460 public: |
|
461 |
|
462 CCTSYIntegrationTestPacketService0030(CEtelSessionMgr& aEtelSessionMgr); |
|
463 ~CCTSYIntegrationTestPacketService0030(); |
|
464 virtual TVerdict doTestStepL(); |
|
465 static TPtrC GetTestStepName(); |
|
466 |
|
467 private: |
|
468 |
|
469 }; // class CCTSYIntegrationTestPacketService0030 |
|
470 |
|
471 |
|
472 |
|
473 #endif // __CCTSYINTEGRATIONTESTPACKETSERVICE_H__ |