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 |
//
|
|
15 |
|
|
16 |
#ifndef __TE_SIM_USIMREL6_TEST__
|
|
17 |
#define __TE_SIM_USIMREL6_TEST__
|
|
18 |
|
|
19 |
#include "Te_SimTestStepBase.h"
|
|
20 |
#include "Te_SimConstants.h"
|
|
21 |
#include "SimTsy.h"
|
|
22 |
#include "Simlog.h"
|
|
23 |
#include <f32file.h>
|
|
24 |
|
|
25 |
class CTestConfig;
|
|
26 |
class CTestConfigSection;
|
|
27 |
class CSimPhone;
|
|
28 |
|
|
29 |
class CSimVideomailTest1 : public CSimUSimRel6TestsTestStepBase
|
|
30 |
{
|
|
31 |
public:
|
|
32 |
CSimVideomailTest1();
|
|
33 |
virtual TVerdict doTestStepL();
|
|
34 |
private:
|
|
35 |
RMobilePhoneBookStore iPhonebook;
|
|
36 |
};
|
|
37 |
|
|
38 |
class CSimVideomailTest2 : public CSimUSimRel6TestsTestStepBase
|
|
39 |
{
|
|
40 |
public:
|
|
41 |
CSimVideomailTest2();
|
|
42 |
virtual TVerdict doTestStepL();
|
|
43 |
private:
|
|
44 |
RMobilePhoneBookStore iPhonebook;
|
|
45 |
};
|
|
46 |
|
|
47 |
class CSimVideomailTest3 : public CSimUSimRel6TestsTestStepBase
|
|
48 |
{
|
|
49 |
public:
|
|
50 |
CSimVideomailTest3();
|
|
51 |
virtual TVerdict doTestStepL();
|
|
52 |
private:
|
|
53 |
RMobilePhoneBookStore iPhonebook;
|
|
54 |
};
|
|
55 |
|
|
56 |
class CSimVideomailTest4 : public CSimUSimRel6TestsTestStepBase
|
|
57 |
{
|
|
58 |
public:
|
|
59 |
CSimVideomailTest4();
|
|
60 |
virtual TVerdict doTestStepL();
|
|
61 |
private:
|
|
62 |
RMobilePhoneBookStore iPhonebook;
|
|
63 |
};
|
|
64 |
|
|
65 |
class CSimVideomailTest5 : public CSimUSimRel6TestsTestStepBase
|
|
66 |
{
|
|
67 |
public:
|
|
68 |
CSimVideomailTest5();
|
|
69 |
virtual TVerdict doTestStepL();
|
|
70 |
private:
|
|
71 |
RMobilePhoneBookStore iPhonebook;
|
|
72 |
};
|
|
73 |
|
|
74 |
class CSimWlanTest1 : public CSimUSimRel6TestsTestStepBase
|
|
75 |
{
|
|
76 |
public:
|
|
77 |
CSimWlanTest1();
|
|
78 |
virtual TVerdict doTestStepL();
|
|
79 |
};
|
|
80 |
|
|
81 |
class CSimWlanTest2 : public CSimUSimRel6TestsTestStepBase
|
|
82 |
{
|
|
83 |
public:
|
|
84 |
CSimWlanTest2();
|
|
85 |
virtual TVerdict doTestStepL();
|
|
86 |
};
|
|
87 |
|
|
88 |
class CSimWlanTest3 : public CSimUSimRel6TestsTestStepBase
|
|
89 |
{
|
|
90 |
public:
|
|
91 |
CSimWlanTest3();
|
|
92 |
virtual TVerdict doTestStepL();
|
|
93 |
};
|
|
94 |
|
|
95 |
class CSimWlanTest4 : public CSimUSimRel6TestsTestStepBase
|
|
96 |
{
|
|
97 |
public:
|
|
98 |
CSimWlanTest4();
|
|
99 |
virtual TVerdict doTestStepL();
|
|
100 |
};
|
|
101 |
|
|
102 |
class CSimWlanTest5 : public CSimUSimRel6TestsTestStepBase
|
|
103 |
{
|
|
104 |
public:
|
|
105 |
CSimWlanTest5();
|
|
106 |
virtual TVerdict doTestStepL();
|
|
107 |
};
|
|
108 |
|
|
109 |
class CSimWlanTest6 : public CSimUSimRel6TestsTestStepBase
|
|
110 |
{
|
|
111 |
public:
|
|
112 |
CSimWlanTest6();
|
|
113 |
virtual TVerdict doTestStepL();
|
|
114 |
public:
|
|
115 |
CMobilePhoneStoredNetworkList* iNetworkList;
|
|
116 |
CMobilePhoneStoredWlanSIDList* iWlanList;
|
|
117 |
};
|
|
118 |
|
|
119 |
class CSimWlanTest7 : public CSimUSimRel6TestsTestStepBase
|
|
120 |
{
|
|
121 |
public:
|
|
122 |
CSimWlanTest7();
|
|
123 |
virtual TVerdict doTestStepL();
|
|
124 |
};
|
|
125 |
|
|
126 |
class CSimWlanTest8 : public CSimUSimRel6TestsTestStepBase
|
|
127 |
{
|
|
128 |
public:
|
|
129 |
CSimWlanTest8();
|
|
130 |
virtual TVerdict doTestStepL();
|
|
131 |
};
|
|
132 |
|
|
133 |
class CSimWlanTest9 : public CSimUSimRel6TestsTestStepBase
|
|
134 |
{
|
|
135 |
public:
|
|
136 |
CSimWlanTest9();
|
|
137 |
virtual TVerdict doTestStepL();
|
|
138 |
};
|
|
139 |
|
|
140 |
class CSimWlanTest10 : public CSimUSimRel6TestsTestStepBase
|
|
141 |
{
|
|
142 |
public:
|
|
143 |
CSimWlanTest10();
|
|
144 |
virtual TVerdict doTestStepL();
|
|
145 |
};
|
|
146 |
|
|
147 |
class CSimWlanTest11 : public CSimUSimRel6TestsTestStepBase
|
|
148 |
{
|
|
149 |
public:
|
|
150 |
CSimWlanTest11();
|
|
151 |
virtual TVerdict doTestStepL();
|
|
152 |
};
|
|
153 |
|
|
154 |
class CSimWlanTest12 : public CSimUSimRel6TestsTestStepBase
|
|
155 |
{
|
|
156 |
public:
|
|
157 |
CSimWlanTest12();
|
|
158 |
virtual TVerdict doTestStepL();
|
|
159 |
};
|
|
160 |
|
|
161 |
class CSimWlanTest13 : public CSimUSimRel6TestsTestStepBase
|
|
162 |
{
|
|
163 |
public:
|
|
164 |
CSimWlanTest13();
|
|
165 |
virtual TVerdict doTestStepL();
|
|
166 |
};
|
|
167 |
|
|
168 |
class CSimWlanTest14 : public CSimUSimRel6TestsTestStepBase
|
|
169 |
{
|
|
170 |
public:
|
|
171 |
CSimWlanTest14();
|
|
172 |
virtual TVerdict doTestStepL();
|
|
173 |
};
|
|
174 |
|
|
175 |
class CSimWlanTest15 : public CSimUSimRel6TestsTestStepBase
|
|
176 |
{
|
|
177 |
public:
|
|
178 |
CSimWlanTest15();
|
|
179 |
virtual TVerdict doTestStepL();
|
|
180 |
};
|
|
181 |
|
|
182 |
class CSimWlanTest16 : public CSimUSimRel6TestsTestStepBase
|
|
183 |
{
|
|
184 |
public:
|
|
185 |
CSimWlanTest16();
|
|
186 |
virtual TVerdict doTestStepL();
|
|
187 |
};
|
|
188 |
|
|
189 |
class CSimWlanTest17 : public CSimUSimRel6TestsTestStepBase
|
|
190 |
{
|
|
191 |
public:
|
|
192 |
CSimWlanTest17();
|
|
193 |
virtual TVerdict doTestStepL();
|
|
194 |
};
|
|
195 |
|
|
196 |
class CSimWlanTest18 : public CSimUSimRel6TestsTestStepBase
|
|
197 |
{
|
|
198 |
public:
|
|
199 |
CSimWlanTest18();
|
|
200 |
virtual TVerdict doTestStepL();
|
|
201 |
};
|
|
202 |
|
|
203 |
class CSimWlanTest19 : public CSimUSimRel6TestsTestStepBase
|
|
204 |
{
|
|
205 |
public:
|
|
206 |
CSimWlanTest19();
|
|
207 |
virtual TVerdict doTestStepL();
|
|
208 |
};
|
|
209 |
|
|
210 |
class CSimWlanTest20 : public CSimUSimRel6TestsTestStepBase
|
|
211 |
{
|
|
212 |
public:
|
|
213 |
CSimWlanTest20();
|
|
214 |
virtual TVerdict doTestStepL();
|
|
215 |
};
|
|
216 |
|
|
217 |
class CSimWlanTest21 : public CSimUSimRel6TestsTestStepBase
|
|
218 |
{
|
|
219 |
public:
|
|
220 |
CSimWlanTest21();
|
|
221 |
virtual TVerdict doTestStepL();
|
|
222 |
};
|
|
223 |
|
|
224 |
class CSimWlanTest22 : public CSimUSimRel6TestsTestStepBase
|
|
225 |
{
|
|
226 |
public:
|
|
227 |
CSimWlanTest22();
|
|
228 |
virtual TVerdict doTestStepL();
|
|
229 |
};
|
|
230 |
|
|
231 |
class CSim3GSecurityContextTest1 : public CSimUSimRel6TestsTestStepBase
|
|
232 |
{
|
|
233 |
public:
|
|
234 |
CSim3GSecurityContextTest1();
|
|
235 |
virtual TVerdict doTestStepL();
|
|
236 |
};
|
|
237 |
|
|
238 |
class CSim3GSecurityContextTest2 : public CSimUSimRel6TestsTestStepBase
|
|
239 |
{
|
|
240 |
public:
|
|
241 |
CSim3GSecurityContextTest2();
|
|
242 |
virtual TVerdict doTestStepL();
|
|
243 |
};
|
|
244 |
|
|
245 |
class CSim3GSecurityContextTest3 : public CSimUSimRel6TestsTestStepBase
|
|
246 |
{
|
|
247 |
public:
|
|
248 |
CSim3GSecurityContextTest3();
|
|
249 |
virtual TVerdict doTestStepL();
|
|
250 |
};
|
|
251 |
|
|
252 |
class CSim3GSecurityContextTest4 : public CSimUSimRel6TestsTestStepBase
|
|
253 |
{
|
|
254 |
public:
|
|
255 |
CSim3GSecurityContextTest4();
|
|
256 |
virtual TVerdict doTestStepL();
|
|
257 |
};
|
|
258 |
|
|
259 |
class CSim3GSecurityContextTest5 : public CSimUSimRel6TestsTestStepBase
|
|
260 |
{
|
|
261 |
public:
|
|
262 |
CSim3GSecurityContextTest5();
|
|
263 |
virtual TVerdict doTestStepL();
|
|
264 |
};
|
|
265 |
|
|
266 |
static TInt OtherCltWlan(void* aThreadData);
|
|
267 |
class CSimUsimR6TestWlanThread: public CSimUSimRel6TestsTestStepBase
|
|
268 |
{
|
|
269 |
public:
|
|
270 |
static CSimUsimR6TestWlanThread* getInstanceL();
|
|
271 |
virtual TVerdict doTestStepL();
|
|
272 |
|
|
273 |
private:
|
|
274 |
CSimUsimR6TestWlanThread();
|
|
275 |
CSimUsimR6TestWlanThread(const CSimUsimR6TestWlanThread&);
|
|
276 |
CSimUsimR6TestWlanThread& operator=(const CSimUsimR6TestWlanThread&);
|
|
277 |
static CSimUsimR6TestWlanThread* instance;
|
|
278 |
|
|
279 |
};
|
|
280 |
|
|
281 |
class CTestRetrieveMobilePhonePreferredWlanSIDs : public CActive
|
|
282 |
{
|
|
283 |
public:
|
|
284 |
static CTestRetrieveMobilePhonePreferredWlanSIDs* NewLC(RMobilePhone& aPhone);
|
|
285 |
~CTestRetrieveMobilePhonePreferredWlanSIDs();
|
|
286 |
void TestRetrieve(TBool aStartReqd);
|
|
287 |
void Start();
|
|
288 |
protected:
|
|
289 |
CTestRetrieveMobilePhonePreferredWlanSIDs(RMobilePhone& aPhone);
|
|
290 |
void ConstructL();
|
|
291 |
void RunL();
|
|
292 |
void DoCancel();
|
|
293 |
TInt CheckWLANResults();
|
|
294 |
protected:
|
|
295 |
CRetrieveMobilePhonePreferredWlanSIDs* iRetrieve;
|
|
296 |
RMobilePhone& iPhone;
|
|
297 |
public:
|
|
298 |
CSimWlanTest6* iTestWLAN;
|
|
299 |
};
|
|
300 |
|
|
301 |
class CTestGetPreferredNetworks : public CActive
|
|
302 |
{
|
|
303 |
public:
|
|
304 |
static CTestGetPreferredNetworks* NewLC(RMobilePhone& aPhone);
|
|
305 |
~CTestGetPreferredNetworks();
|
|
306 |
void Start();
|
|
307 |
protected:
|
|
308 |
CTestGetPreferredNetworks(RMobilePhone& aPhone);
|
|
309 |
void ConstructL();
|
|
310 |
void RunL();
|
|
311 |
void DoCancel();
|
|
312 |
TInt CheckResults();
|
|
313 |
protected:
|
|
314 |
CRetrieveMobilePhonePreferredNetworks* iRetrieve;
|
|
315 |
RMobilePhone& iPhone;
|
|
316 |
public:
|
|
317 |
CSimWlanTest6* iTestPhone;
|
|
318 |
};
|
|
319 |
|
|
320 |
class CSimUsimR6GBATest1 : public CSimTestsTestStepBase
|
|
321 |
{
|
|
322 |
public:
|
|
323 |
CSimUsimR6GBATest1();
|
|
324 |
virtual TVerdict doTestStepL();
|
|
325 |
private:
|
|
326 |
};
|
|
327 |
|
|
328 |
class CSimUsimR6GBATest2 : public CSimTestsTestStepBase
|
|
329 |
{
|
|
330 |
public:
|
|
331 |
CSimUsimR6GBATest2();
|
|
332 |
virtual TVerdict doTestStepL();
|
|
333 |
private:
|
|
334 |
};
|
|
335 |
|
|
336 |
class CSimUsimR6GBATest3 : public CSimTestsTestStepBase
|
|
337 |
{
|
|
338 |
public:
|
|
339 |
CSimUsimR6GBATest3();
|
|
340 |
virtual TVerdict doTestStepL();
|
|
341 |
private:
|
|
342 |
};
|
|
343 |
|
|
344 |
class CSimUsimR6GBATest4 : public CSimTestsTestStepBase
|
|
345 |
{
|
|
346 |
public:
|
|
347 |
CSimUsimR6GBATest4();
|
|
348 |
virtual TVerdict doTestStepL();
|
|
349 |
private:
|
|
350 |
};
|
|
351 |
|
|
352 |
class CSimUsimR6GBATest5 : public CSimTestsTestStepBase
|
|
353 |
{
|
|
354 |
public:
|
|
355 |
CSimUsimR6GBATest5();
|
|
356 |
virtual TVerdict doTestStepL();
|
|
357 |
private:
|
|
358 |
};
|
|
359 |
|
|
360 |
class CSimUsimR6GBATest6 : public CSimTestsTestStepBase
|
|
361 |
{
|
|
362 |
public:
|
|
363 |
CSimUsimR6GBATest6();
|
|
364 |
virtual TVerdict doTestStepL();
|
|
365 |
private:
|
|
366 |
};
|
|
367 |
|
|
368 |
class CSimUsimR6GBATest7 : public CSimTestsTestStepBase
|
|
369 |
{
|
|
370 |
public:
|
|
371 |
CSimUsimR6GBATest7();
|
|
372 |
virtual TVerdict doTestStepL();
|
|
373 |
private:
|
|
374 |
};
|
|
375 |
|
|
376 |
class CSimUsimR6GBATest8 : public CSimTestsTestStepBase
|
|
377 |
{
|
|
378 |
public:
|
|
379 |
CSimUsimR6GBATest8();
|
|
380 |
virtual TVerdict doTestStepL();
|
|
381 |
private:
|
|
382 |
};
|
|
383 |
|
|
384 |
class CSimUsimR6GBATest9 : public CSimTestsTestStepBase
|
|
385 |
{
|
|
386 |
public:
|
|
387 |
CSimUsimR6GBATest9();
|
|
388 |
virtual TVerdict doTestStepL();
|
|
389 |
private:
|
|
390 |
};
|
|
391 |
|
|
392 |
class CSimUsimR6GBATest10 : public CSimTestsTestStepBase
|
|
393 |
{
|
|
394 |
public:
|
|
395 |
CSimUsimR6GBATest10();
|
|
396 |
virtual TVerdict doTestStepL();
|
|
397 |
private:
|
|
398 |
};
|
|
399 |
|
|
400 |
class CSimUsimR6GBATest11 : public CSimTestsTestStepBase
|
|
401 |
{
|
|
402 |
public:
|
|
403 |
CSimUsimR6GBATest11();
|
|
404 |
virtual TVerdict doTestStepL();
|
|
405 |
private:
|
|
406 |
};
|
|
407 |
|
|
408 |
class CSimUsimR6GBATest12 : public CSimTestsTestStepBase
|
|
409 |
{
|
|
410 |
public:
|
|
411 |
CSimUsimR6GBATest12();
|
|
412 |
virtual TVerdict doTestStepL();
|
|
413 |
};
|
|
414 |
|
|
415 |
static TInt OtherCltGBA(void* aThreadData);
|
|
416 |
class CSimUsimR6GBATestThread: public CSimTestsTestStepBase
|
|
417 |
{
|
|
418 |
public:
|
|
419 |
static CSimUsimR6GBATestThread* getInstanceL();
|
|
420 |
virtual TVerdict doTestStepL();
|
|
421 |
TInt doFunction();
|
|
422 |
private:
|
|
423 |
CSimUsimR6GBATestThread();
|
|
424 |
CSimUsimR6GBATestThread(const CSimUsimR6GBATestThread&);
|
|
425 |
CSimUsimR6GBATestThread& operator=(const CSimUsimR6GBATestThread&);
|
|
426 |
static CSimUsimR6GBATestThread* instance;
|
|
427 |
};
|
|
428 |
|
|
429 |
class CSimUsimR6GBATest13 : public CSimTestsTestStepBase
|
|
430 |
{
|
|
431 |
public:
|
|
432 |
CSimUsimR6GBATest13();
|
|
433 |
virtual TVerdict doTestStepL();
|
|
434 |
private:
|
|
435 |
};
|
|
436 |
|
|
437 |
class CSimUsimR6GBATest14 : public CSimTestsTestStepBase
|
|
438 |
{
|
|
439 |
public:
|
|
440 |
CSimUsimR6GBATest14();
|
|
441 |
virtual TVerdict doTestStepL();
|
|
442 |
private:
|
|
443 |
};
|
|
444 |
|
|
445 |
class CSimUsimR6GBATest15 : public CSimTestsTestStepBase
|
|
446 |
{
|
|
447 |
public:
|
|
448 |
CSimUsimR6GBATest15();
|
|
449 |
virtual TVerdict doTestStepL();
|
|
450 |
private:
|
|
451 |
};
|
|
452 |
|
|
453 |
class CSimUsimR6GBATest16 : public CSimTestsTestStepBase
|
|
454 |
{
|
|
455 |
public:
|
|
456 |
CSimUsimR6GBATest16();
|
|
457 |
virtual TVerdict doTestStepL();
|
|
458 |
private:
|
|
459 |
};
|
|
460 |
|
|
461 |
class CSimUsimR6GBATest17 : public CSimTestsTestStepBase
|
|
462 |
{
|
|
463 |
public:
|
|
464 |
CSimUsimR6GBATest17();
|
|
465 |
virtual TVerdict doTestStepL();
|
|
466 |
private:
|
|
467 |
};
|
|
468 |
|
|
469 |
class CSimUsimR6GBATest18 : public CSimTestsTestStepBase
|
|
470 |
{
|
|
471 |
public:
|
|
472 |
CSimUsimR6GBATest18();
|
|
473 |
virtual TVerdict doTestStepL();
|
|
474 |
private:
|
|
475 |
};
|
|
476 |
|
|
477 |
class CSimUsimR6GBATest19 : public CSimTestsTestStepBase
|
|
478 |
{
|
|
479 |
public:
|
|
480 |
CSimUsimR6GBATest19();
|
|
481 |
virtual TVerdict doTestStepL();
|
|
482 |
private:
|
|
483 |
};
|
|
484 |
|
|
485 |
class CSimUsimR6GBATest20 : public CSimTestsTestStepBase
|
|
486 |
{
|
|
487 |
public:
|
|
488 |
CSimUsimR6GBATest20();
|
|
489 |
virtual TVerdict doTestStepL();
|
|
490 |
private:
|
|
491 |
};
|
|
492 |
|
|
493 |
class CSimUsimR6GBATest21 : public CSimTestsTestStepBase
|
|
494 |
{
|
|
495 |
public:
|
|
496 |
CSimUsimR6GBATest21();
|
|
497 |
virtual TVerdict doTestStepL();
|
|
498 |
private:
|
|
499 |
};
|
|
500 |
|
|
501 |
class CSimUsimR6GBATest22 : public CSimTestsTestStepBase
|
|
502 |
{
|
|
503 |
public:
|
|
504 |
CSimUsimR6GBATest22();
|
|
505 |
virtual TVerdict doTestStepL();
|
|
506 |
private:
|
|
507 |
};
|
|
508 |
|
|
509 |
class CSimUsimR6GBATest23 : public CSimTestsTestStepBase
|
|
510 |
{
|
|
511 |
public:
|
|
512 |
CSimUsimR6GBATest23();
|
|
513 |
virtual TVerdict doTestStepL();
|
|
514 |
private:
|
|
515 |
};
|
|
516 |
|
|
517 |
/* MBMS Testcase classes - START */
|
|
518 |
|
|
519 |
|
|
520 |
class CSimUsimR6MBMSTest1 : public CSimTestsTestStepBase
|
|
521 |
{
|
|
522 |
public:
|
|
523 |
CSimUsimR6MBMSTest1();
|
|
524 |
virtual TVerdict doTestStepL();
|
|
525 |
private:
|
|
526 |
};
|
|
527 |
|
|
528 |
|
|
529 |
class CSimUsimR6MBMSTest2 : public CSimTestsTestStepBase
|
|
530 |
{
|
|
531 |
public:
|
|
532 |
CSimUsimR6MBMSTest2();
|
|
533 |
virtual TVerdict doTestStepL();
|
|
534 |
private:
|
|
535 |
};
|
|
536 |
|
|
537 |
|
|
538 |
class CSimUsimR6MBMSTest3 : public CSimTestsTestStepBase
|
|
539 |
{
|
|
540 |
public:
|
|
541 |
CSimUsimR6MBMSTest3();
|
|
542 |
virtual TVerdict doTestStepL();
|
|
543 |
private:
|
|
544 |
};
|
|
545 |
|
|
546 |
class CSimUsimR6MBMSTest4 : public CSimTestsTestStepBase
|
|
547 |
{
|
|
548 |
public:
|
|
549 |
CSimUsimR6MBMSTest4();
|
|
550 |
virtual TVerdict doTestStepL();
|
|
551 |
private:
|
|
552 |
};
|
|
553 |
|
|
554 |
|
|
555 |
class CSimUsimR6MBMSTest5 : public CSimTestsTestStepBase
|
|
556 |
{
|
|
557 |
public:
|
|
558 |
CSimUsimR6MBMSTest5();
|
|
559 |
virtual TVerdict doTestStepL();
|
|
560 |
private:
|
|
561 |
};
|
|
562 |
|
|
563 |
|
|
564 |
class CSimUsimR6MBMSTest6 : public CSimTestsTestStepBase
|
|
565 |
{
|
|
566 |
public:
|
|
567 |
CSimUsimR6MBMSTest6();
|
|
568 |
virtual TVerdict doTestStepL();
|
|
569 |
private:
|
|
570 |
};
|
|
571 |
|
|
572 |
class CSimUsimR6MBMSTest7 : public CSimTestsTestStepBase
|
|
573 |
{
|
|
574 |
public:
|
|
575 |
CSimUsimR6MBMSTest7();
|
|
576 |
virtual TVerdict doTestStepL();
|
|
577 |
private:
|
|
578 |
};
|
|
579 |
|
|
580 |
|
|
581 |
class CSimUsimR6MBMSTest8 : public CSimTestsTestStepBase
|
|
582 |
{
|
|
583 |
public:
|
|
584 |
CSimUsimR6MBMSTest8();
|
|
585 |
virtual TVerdict doTestStepL();
|
|
586 |
private:
|
|
587 |
};
|
|
588 |
|
|
589 |
|
|
590 |
class CSimUsimR6MBMSTest9 : public CSimTestsTestStepBase
|
|
591 |
{
|
|
592 |
public:
|
|
593 |
CSimUsimR6MBMSTest9();
|
|
594 |
virtual TVerdict doTestStepL();
|
|
595 |
private:
|
|
596 |
};
|
|
597 |
|
|
598 |
class CSimUsimR6MBMSTest10 : public CSimTestsTestStepBase
|
|
599 |
{
|
|
600 |
public:
|
|
601 |
CSimUsimR6MBMSTest10();
|
|
602 |
virtual TVerdict doTestStepL();
|
|
603 |
private:
|
|
604 |
};
|
|
605 |
|
|
606 |
|
|
607 |
class CSimUsimR6MBMSTest11 : public CSimTestsTestStepBase
|
|
608 |
{
|
|
609 |
public:
|
|
610 |
CSimUsimR6MBMSTest11();
|
|
611 |
virtual TVerdict doTestStepL();
|
|
612 |
private:
|
|
613 |
};
|
|
614 |
|
|
615 |
|
|
616 |
class CSimUsimR6MBMSTest12 : public CSimTestsTestStepBase
|
|
617 |
{
|
|
618 |
public:
|
|
619 |
CSimUsimR6MBMSTest12();
|
|
620 |
virtual TVerdict doTestStepL();
|
|
621 |
private:
|
|
622 |
};
|
|
623 |
|
|
624 |
class CSimUsimR6MBMSTest13 : public CSimTestsTestStepBase
|
|
625 |
{
|
|
626 |
public:
|
|
627 |
CSimUsimR6MBMSTest13();
|
|
628 |
virtual TVerdict doTestStepL();
|
|
629 |
private:
|
|
630 |
};
|
|
631 |
|
|
632 |
|
|
633 |
class CSimUsimR6MBMSTest14 : public CSimTestsTestStepBase
|
|
634 |
{
|
|
635 |
public:
|
|
636 |
CSimUsimR6MBMSTest14();
|
|
637 |
virtual TVerdict doTestStepL();
|
|
638 |
private:
|
|
639 |
};
|
|
640 |
|
|
641 |
|
|
642 |
class CSimUsimR6MBMSTest15 : public CSimTestsTestStepBase
|
|
643 |
{
|
|
644 |
public:
|
|
645 |
CSimUsimR6MBMSTest15();
|
|
646 |
virtual TVerdict doTestStepL();
|
|
647 |
private:
|
|
648 |
};
|
|
649 |
|
|
650 |
class CSimUsimR6MBMSTest16 : public CSimTestsTestStepBase
|
|
651 |
{
|
|
652 |
public:
|
|
653 |
CSimUsimR6MBMSTest16();
|
|
654 |
virtual TVerdict doTestStepL();
|
|
655 |
private:
|
|
656 |
};
|
|
657 |
|
|
658 |
|
|
659 |
class CSimUsimR6MBMSTest17 : public CSimTestsTestStepBase
|
|
660 |
{
|
|
661 |
public:
|
|
662 |
CSimUsimR6MBMSTest17();
|
|
663 |
virtual TVerdict doTestStepL();
|
|
664 |
private:
|
|
665 |
};
|
|
666 |
|
|
667 |
|
|
668 |
class CSimUsimR6MBMSTest18 : public CSimTestsTestStepBase
|
|
669 |
{
|
|
670 |
public:
|
|
671 |
CSimUsimR6MBMSTest18();
|
|
672 |
virtual TVerdict doTestStepL();
|
|
673 |
private:
|
|
674 |
};
|
|
675 |
|
|
676 |
class CSimUsimR6MBMSTest19 : public CSimTestsTestStepBase
|
|
677 |
{
|
|
678 |
public:
|
|
679 |
CSimUsimR6MBMSTest19();
|
|
680 |
virtual TVerdict doTestStepL();
|
|
681 |
private:
|
|
682 |
};
|
|
683 |
|
|
684 |
class CSimUsimR6MBMSTest20 : public CSimTestsTestStepBase
|
|
685 |
{
|
|
686 |
public:
|
|
687 |
CSimUsimR6MBMSTest20();
|
|
688 |
virtual TVerdict doTestStepL();
|
|
689 |
private:
|
|
690 |
};
|
|
691 |
|
|
692 |
|
|
693 |
class CSimUsimR6MBMSTest21 : public CSimTestsTestStepBase
|
|
694 |
{
|
|
695 |
public:
|
|
696 |
CSimUsimR6MBMSTest21();
|
|
697 |
virtual TVerdict doTestStepL();
|
|
698 |
private:
|
|
699 |
};
|
|
700 |
|
|
701 |
class CSimUsimR6MBMSTest22 : public CSimTestsTestStepBase
|
|
702 |
{
|
|
703 |
public:
|
|
704 |
CSimUsimR6MBMSTest22();
|
|
705 |
virtual TVerdict doTestStepL();
|
|
706 |
private:
|
|
707 |
};
|
|
708 |
|
|
709 |
class CSimUsimR6MBMSTest23 : public CSimTestsTestStepBase
|
|
710 |
{
|
|
711 |
public:
|
|
712 |
CSimUsimR6MBMSTest23();
|
|
713 |
virtual TVerdict doTestStepL();
|
|
714 |
private:
|
|
715 |
};
|
|
716 |
|
|
717 |
class CSimUsimR6MBMSTest24 : public CSimTestsTestStepBase
|
|
718 |
{
|
|
719 |
public:
|
|
720 |
CSimUsimR6MBMSTest24();
|
|
721 |
virtual TVerdict doTestStepL();
|
|
722 |
private:
|
|
723 |
};
|
|
724 |
|
|
725 |
class CSimUsimR6MBMSTest25 : public CSimTestsTestStepBase
|
|
726 |
{
|
|
727 |
public:
|
|
728 |
CSimUsimR6MBMSTest25();
|
|
729 |
virtual TVerdict doTestStepL();
|
|
730 |
private:
|
|
731 |
};
|
|
732 |
|
|
733 |
class CSimUsimR6MBMSTest26: public CSimTestsTestStepBase
|
|
734 |
{
|
|
735 |
public:
|
|
736 |
CSimUsimR6MBMSTest26();
|
|
737 |
virtual TVerdict doTestStepL();
|
|
738 |
private:
|
|
739 |
};
|
|
740 |
|
|
741 |
class CSimUsimR6MBMSTest27 : public CSimTestsTestStepBase
|
|
742 |
{
|
|
743 |
public:
|
|
744 |
CSimUsimR6MBMSTest27();
|
|
745 |
virtual TVerdict doTestStepL();
|
|
746 |
private:
|
|
747 |
};
|
|
748 |
|
|
749 |
class CSimUsimR6MBMSTest28 : public CSimTestsTestStepBase
|
|
750 |
{
|
|
751 |
public:
|
|
752 |
CSimUsimR6MBMSTest28();
|
|
753 |
virtual TVerdict doTestStepL();
|
|
754 |
private:
|
|
755 |
};
|
|
756 |
|
|
757 |
class CSimUsimR6MBMSTest29 : public CSimTestsTestStepBase
|
|
758 |
{
|
|
759 |
public:
|
|
760 |
CSimUsimR6MBMSTest29();
|
|
761 |
virtual TVerdict doTestStepL();
|
|
762 |
private:
|
|
763 |
};
|
|
764 |
|
|
765 |
class CTestCanceller : public CAsyncOneShot
|
|
766 |
{
|
|
767 |
public:
|
|
768 |
CTestCanceller(CActive*);
|
|
769 |
~CTestCanceller();
|
|
770 |
private:
|
|
771 |
void ConstructL();
|
|
772 |
void RunL();
|
|
773 |
private:
|
|
774 |
CActive* iRetrieve;// not owned by this
|
|
775 |
};
|
|
776 |
|
|
777 |
class CTestRetrieveMobilePhoneAuthenticationIds : public CActive
|
|
778 |
{
|
|
779 |
public:
|
|
780 |
enum TTypeOfAuth
|
|
781 |
{
|
|
782 |
EGba,
|
|
783 |
EMbms
|
|
784 |
};
|
|
785 |
static CTestRetrieveMobilePhoneAuthenticationIds* NewLC(RMobilePhone& aPhone,const TTypeOfAuth aType);
|
|
786 |
~CTestRetrieveMobilePhoneAuthenticationIds();
|
|
787 |
void SetAuthType(TTypeOfAuth aVersion);
|
|
788 |
void TestRetrieve(RMobilePhone::TAuthData aAuthData);
|
|
789 |
void TestCancel(RMobilePhone::TAuthData aAuthData);
|
|
790 |
protected:
|
|
791 |
CTestRetrieveMobilePhoneAuthenticationIds(RMobilePhone& aPhone,const TTypeOfAuth aType);
|
|
792 |
void ConstructL();
|
|
793 |
void RunL();
|
|
794 |
void DoCancel();
|
|
795 |
void Start(RMobilePhone::TAuthData aAuthData);
|
|
796 |
CTestCanceller* RetrieveCancelPtr();
|
|
797 |
TInt CheckGBAResults();
|
|
798 |
TInt CheckMBMSResults();
|
|
799 |
protected:
|
|
800 |
CRetrieveMobilePhoneAuthenticationIds* iRetrieveAuthId;
|
|
801 |
CTestCanceller* iCanceller;
|
|
802 |
RMobilePhone& iPhone;
|
|
803 |
CSimUsimR6GBATest14* iGBATest;
|
|
804 |
private:
|
|
805 |
TTypeOfAuth iAuthType; //Used to determine whether to run the test for Gba or Mbms,
|
|
806 |
};
|
|
807 |
|
|
808 |
#endif // __TE_SIM_USIMREL6_TEST__
|