|
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 definitions for the CallCost functional unit. |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @internalTechnology |
|
20 */ |
|
21 |
|
22 #include "cctsyintegrationtestcallcost.h" |
|
23 #include "cetelsessionmgr.h" |
|
24 |
|
25 |
|
26 |
|
27 CCTSYIntegrationTestCallCostBase::CCTSYIntegrationTestCallCostBase(CEtelSessionMgr& aEtelSessionMgr) |
|
28 : CCTSYIntegrationTestSuiteStepBase(aEtelSessionMgr) |
|
29 /** |
|
30 * Constructor |
|
31 */ |
|
32 { |
|
33 } |
|
34 |
|
35 CCTSYIntegrationTestCallCostBase::~CCTSYIntegrationTestCallCostBase() |
|
36 /* |
|
37 * Destructor |
|
38 */ |
|
39 { |
|
40 } |
|
41 |
|
42 |
|
43 CCTSYIntegrationTestCallCost0001::CCTSYIntegrationTestCallCost0001(CEtelSessionMgr& aEtelSessionMgr) |
|
44 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
45 /** |
|
46 * Constructor. |
|
47 */ |
|
48 { |
|
49 SetTestStepName(CCTSYIntegrationTestCallCost0001::GetTestStepName()); |
|
50 } |
|
51 |
|
52 CCTSYIntegrationTestCallCost0001::~CCTSYIntegrationTestCallCost0001() |
|
53 /** |
|
54 * Destructor. |
|
55 */ |
|
56 { |
|
57 } |
|
58 |
|
59 TVerdict CCTSYIntegrationTestCallCost0001::doTestStepL() |
|
60 /** |
|
61 * @SYMTestCaseID BA-CTSY-INT-CCOS-0001 |
|
62 * @SYMFssID BA/CTSY/CCOS-0001 |
|
63 * @SYMTestCaseDesc Ensure that AoCC (advice of charge) information is correctly updated during an MO call. |
|
64 * @SYMTestPriority High |
|
65 * @SYMTestActions RCall::Dial, RCall:HangUp, RMobilePhone::ClearCostMeter |
|
66 * @SYMTestExpectedResults Pass - Call cost information can be retrieved and meter can be cleared. |
|
67 * @SYMTestType CIT |
|
68 * @SYMTestCaseDependencies live/manual |
|
69 * |
|
70 * |
|
71 * @return - TVerdict code |
|
72 */ |
|
73 { |
|
74 |
|
75 // |
|
76 // SET UP |
|
77 // |
|
78 |
|
79 |
|
80 // Ensure phone has KCapsClearCost, KCapsCostCharging caps. AoCC configured. |
|
81 |
|
82 // Get voice line 1. Get call 1. |
|
83 |
|
84 // Clear the cost meter. |
|
85 |
|
86 |
|
87 // |
|
88 // SET UP END |
|
89 // |
|
90 |
|
91 StartTest(); |
|
92 |
|
93 // |
|
94 // TEST START |
|
95 // |
|
96 |
|
97 |
|
98 // Dial a number that is chargable. |
|
99 |
|
100 // Get the cost information during the call. |
|
101 |
|
102 // Hang up the call. |
|
103 |
|
104 // Get the cost information. |
|
105 |
|
106 // Clear the cost meter. |
|
107 |
|
108 // Dial a number that is free of charge. |
|
109 |
|
110 // Get the cost information during the call. |
|
111 |
|
112 // Hang up the call. |
|
113 |
|
114 // Get the cost information. |
|
115 |
|
116 // Repeat the whole test with data and fax calls. |
|
117 |
|
118 |
|
119 // |
|
120 // TEST END |
|
121 // |
|
122 |
|
123 StartCleanup(); |
|
124 |
|
125 // Put any required test clean up here, then remove this comment |
|
126 |
|
127 return TestStepResult(); |
|
128 } |
|
129 |
|
130 TPtrC CCTSYIntegrationTestCallCost0001::GetTestStepName() |
|
131 /** |
|
132 * @return The test step name. |
|
133 */ |
|
134 { |
|
135 return _L("CCTSYIntegrationTestCallCost0001"); |
|
136 } |
|
137 |
|
138 |
|
139 |
|
140 CCTSYIntegrationTestCallCost0002::CCTSYIntegrationTestCallCost0002(CEtelSessionMgr& aEtelSessionMgr) |
|
141 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
142 /** |
|
143 * Constructor. |
|
144 */ |
|
145 { |
|
146 SetTestStepName(CCTSYIntegrationTestCallCost0002::GetTestStepName()); |
|
147 } |
|
148 |
|
149 CCTSYIntegrationTestCallCost0002::~CCTSYIntegrationTestCallCost0002() |
|
150 /** |
|
151 * Destructor. |
|
152 */ |
|
153 { |
|
154 } |
|
155 |
|
156 TVerdict CCTSYIntegrationTestCallCost0002::doTestStepL() |
|
157 /** |
|
158 * @SYMTestCaseID BA-CTSY-INT-CCOS-0002 |
|
159 * @SYMFssID BA/CTSY/CCOS-0002 |
|
160 * @SYMTestCaseDesc Ensure that AoCC (advice of charge) information is correctly updated during an MT call. |
|
161 * @SYMTestPriority High |
|
162 * @SYMTestActions RCall:HangUp, RMobilePhone::ClearCostMeter, RCall:AnswerIncomingCall, RMobilePhone::NotifyCostInfoChange |
|
163 * @SYMTestExpectedResults Pass - Call cost information can be retrieved and meter can be cleared. |
|
164 * @SYMTestType CIT |
|
165 * @SYMTestCaseDependencies live/automatic |
|
166 * |
|
167 |
|
168 * |
|
169 * @return - TVerdict code |
|
170 */ |
|
171 { |
|
172 |
|
173 // |
|
174 // SET UP |
|
175 // |
|
176 |
|
177 |
|
178 // Ensure phone has KCapsClearCost and KCapsCostCharging caps. AoCC configured. |
|
179 |
|
180 // Get voice line 1. Get call 1. |
|
181 |
|
182 // Clear the cost meter. |
|
183 |
|
184 |
|
185 // |
|
186 // SET UP END |
|
187 // |
|
188 |
|
189 StartTest(); |
|
190 |
|
191 // |
|
192 // TEST START |
|
193 // |
|
194 |
|
195 |
|
196 // Arrange for RPS to invoke an incoming call that should be charged. |
|
197 |
|
198 // Answer the incoming call (call 1). |
|
199 |
|
200 // Get the cost information. |
|
201 |
|
202 // Verify notification completes and ACM and CCM info changed. |
|
203 |
|
204 // Hang up the call (call 1). |
|
205 |
|
206 // Get the cost information. |
|
207 |
|
208 // Clear cost meter. |
|
209 |
|
210 // Verify notification completes and CCM is 0. |
|
211 |
|
212 // Arrange for RPS to simulate an incoming call that is free. |
|
213 |
|
214 // Answer the incoming call (call 1). |
|
215 |
|
216 // Get the cost information. Verify no charge. |
|
217 |
|
218 // Hang up the call. |
|
219 |
|
220 // Get the cost information. Verify no charge. |
|
221 |
|
222 // Repeat whole test for data and fax calls. |
|
223 |
|
224 |
|
225 // |
|
226 // TEST END |
|
227 // |
|
228 |
|
229 StartCleanup(); |
|
230 |
|
231 // Put any required test clean up here, then remove this comment |
|
232 |
|
233 return TestStepResult(); |
|
234 } |
|
235 |
|
236 TPtrC CCTSYIntegrationTestCallCost0002::GetTestStepName() |
|
237 /** |
|
238 * @return The test step name. |
|
239 */ |
|
240 { |
|
241 return _L("CCTSYIntegrationTestCallCost0002"); |
|
242 } |
|
243 |
|
244 |
|
245 |
|
246 CCTSYIntegrationTestCallCost0003::CCTSYIntegrationTestCallCost0003(CEtelSessionMgr& aEtelSessionMgr) |
|
247 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
248 /** |
|
249 * Constructor. |
|
250 */ |
|
251 { |
|
252 SetTestStepName(CCTSYIntegrationTestCallCost0003::GetTestStepName()); |
|
253 } |
|
254 |
|
255 CCTSYIntegrationTestCallCost0003::~CCTSYIntegrationTestCallCost0003() |
|
256 /** |
|
257 * Destructor. |
|
258 */ |
|
259 { |
|
260 } |
|
261 |
|
262 TVerdict CCTSYIntegrationTestCallCost0003::doTestStepL() |
|
263 /** |
|
264 * @SYMTestCaseID BA-CTSY-INT-CCOS-0003 |
|
265 * @SYMFssID BA/CTSY/CCOS-0003 |
|
266 * @SYMTestCaseDesc Ensure that AoCI information is correctly updated during an MO call. |
|
267 * @SYMTestPriority High |
|
268 * @SYMTestActions RCall::Dial, RCall:HangUp, RMobilePhone::ClearCostMeter, RMobilePhone::NotifyCostInfoChange |
|
269 * @SYMTestExpectedResults Pass - Call cost information can be retrieved and meter can be cleared. |
|
270 * @SYMTestType CIT |
|
271 * @SYMTestCaseDependencies live/manual |
|
272 * |
|
273 |
|
274 * |
|
275 * @return - TVerdict code |
|
276 */ |
|
277 { |
|
278 |
|
279 // |
|
280 // SET UP |
|
281 // |
|
282 |
|
283 |
|
284 // Ensure phone has KCapsClearCost and KCapsCostInformation caps. AoCI configured. |
|
285 |
|
286 // Get voice line 1. Get call 1. |
|
287 |
|
288 // Clear the cost meter. |
|
289 |
|
290 |
|
291 // |
|
292 // SET UP END |
|
293 // |
|
294 |
|
295 StartTest(); |
|
296 |
|
297 // |
|
298 // TEST START |
|
299 // |
|
300 |
|
301 |
|
302 // Dial a number that is chargable. |
|
303 |
|
304 // Get the cost information during the call. |
|
305 |
|
306 // Hang up the call. |
|
307 |
|
308 // Get the cost information. |
|
309 |
|
310 // Clear the cost meter. |
|
311 |
|
312 // Dial a number that is free of charge. |
|
313 |
|
314 // Get the cost information during the call. |
|
315 |
|
316 // Hang up the call. |
|
317 |
|
318 // Get the cost information. |
|
319 |
|
320 // Repeat the whole test with data and fax calls. |
|
321 |
|
322 |
|
323 // |
|
324 // TEST END |
|
325 // |
|
326 |
|
327 StartCleanup(); |
|
328 |
|
329 // Put any required test clean up here, then remove this comment |
|
330 |
|
331 return TestStepResult(); |
|
332 } |
|
333 |
|
334 TPtrC CCTSYIntegrationTestCallCost0003::GetTestStepName() |
|
335 /** |
|
336 * @return The test step name. |
|
337 */ |
|
338 { |
|
339 return _L("CCTSYIntegrationTestCallCost0003"); |
|
340 } |
|
341 |
|
342 |
|
343 |
|
344 CCTSYIntegrationTestCallCost0004::CCTSYIntegrationTestCallCost0004(CEtelSessionMgr& aEtelSessionMgr) |
|
345 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
346 /** |
|
347 * Constructor. |
|
348 */ |
|
349 { |
|
350 SetTestStepName(CCTSYIntegrationTestCallCost0004::GetTestStepName()); |
|
351 } |
|
352 |
|
353 CCTSYIntegrationTestCallCost0004::~CCTSYIntegrationTestCallCost0004() |
|
354 /** |
|
355 * Destructor. |
|
356 */ |
|
357 { |
|
358 } |
|
359 |
|
360 TVerdict CCTSYIntegrationTestCallCost0004::doTestStepL() |
|
361 /** |
|
362 * @SYMTestCaseID BA-CTSY-INT-CCOS-0004 |
|
363 * @SYMFssID BA/CTSY/CCOS-0004 |
|
364 * @SYMTestCaseDesc Ensure that AoCI information is correctly updated during an MT call. |
|
365 * @SYMTestPriority High |
|
366 * @SYMTestActions RCall:HangUp, RMobilePhone::ClearCostMeter, RCall:AnswerIncomingCall |
|
367 * @SYMTestExpectedResults Pass - Call cost information can be retrieved and meter can be cleared. |
|
368 * @SYMTestType CIT |
|
369 * @SYMTestCaseDependencies live/manual |
|
370 * |
|
371 |
|
372 * |
|
373 * @return - TVerdict code |
|
374 */ |
|
375 { |
|
376 |
|
377 // |
|
378 // SET UP |
|
379 // |
|
380 |
|
381 |
|
382 // Ensure phone has KCapsClearCost and KCapsCostInformation caps. AoCI configured. |
|
383 |
|
384 // Get voice line 1. Get call 1. |
|
385 |
|
386 // Clear the cost meter. |
|
387 |
|
388 |
|
389 // |
|
390 // SET UP END |
|
391 // |
|
392 |
|
393 StartTest(); |
|
394 |
|
395 // |
|
396 // TEST START |
|
397 // |
|
398 |
|
399 |
|
400 // Arrange for RPS to simulate an incoming call that should be charged. |
|
401 |
|
402 // Answer the incoming call (call 1). |
|
403 |
|
404 // Get the cost information. |
|
405 |
|
406 // Hang up the call (call 1). |
|
407 |
|
408 // Get the cost information. |
|
409 |
|
410 // Clear cost meter. |
|
411 |
|
412 // Arrange for RPS to simulate an incoming call that is free. |
|
413 |
|
414 // Answer the incoming call (call 1). |
|
415 |
|
416 // Get the cost information. Verify no charge. |
|
417 |
|
418 // Hang up the call. |
|
419 |
|
420 // Get the cost information. Verify no charge. |
|
421 |
|
422 // Repeat whole test for data and fax calls. |
|
423 |
|
424 |
|
425 // |
|
426 // TEST END |
|
427 // |
|
428 |
|
429 StartCleanup(); |
|
430 |
|
431 // Put any required test clean up here, then remove this comment |
|
432 |
|
433 return TestStepResult(); |
|
434 } |
|
435 |
|
436 TPtrC CCTSYIntegrationTestCallCost0004::GetTestStepName() |
|
437 /** |
|
438 * @return The test step name. |
|
439 */ |
|
440 { |
|
441 return _L("CCTSYIntegrationTestCallCost0004"); |
|
442 } |
|
443 |
|
444 |
|
445 |
|
446 CCTSYIntegrationTestCallCost0005::CCTSYIntegrationTestCallCost0005(CEtelSessionMgr& aEtelSessionMgr) |
|
447 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
448 /** |
|
449 * Constructor. |
|
450 */ |
|
451 { |
|
452 SetTestStepName(CCTSYIntegrationTestCallCost0005::GetTestStepName()); |
|
453 } |
|
454 |
|
455 CCTSYIntegrationTestCallCost0005::~CCTSYIntegrationTestCallCost0005() |
|
456 /** |
|
457 * Destructor. |
|
458 */ |
|
459 { |
|
460 } |
|
461 |
|
462 TVerdict CCTSYIntegrationTestCallCost0005::doTestStepL() |
|
463 /** |
|
464 * @SYMTestCaseID BA-CTSY-INT-CCOS-0005 |
|
465 * @SYMFssID BA/CTSY/CCOS-0005 |
|
466 * @SYMTestCaseDesc iTest.Printf(_L("3:\tCost Meter, clear when no security event outstanding\n")); |
|
467 * @SYMTestPriority High |
|
468 * @SYMTestActions |
|
469 * @SYMTestExpectedResults Pass |
|
470 * @SYMTestType CIT |
|
471 * @SYMTestCaseDependencies live/manual |
|
472 * |
|
473 |
|
474 * |
|
475 * @return - TVerdict code |
|
476 */ |
|
477 { |
|
478 |
|
479 // |
|
480 // SET UP |
|
481 // |
|
482 |
|
483 |
|
484 |
|
485 // |
|
486 // SET UP END |
|
487 // |
|
488 |
|
489 StartTest(); |
|
490 |
|
491 // |
|
492 // TEST START |
|
493 // |
|
494 |
|
495 |
|
496 // See TRP test |
|
497 |
|
498 |
|
499 // |
|
500 // TEST END |
|
501 // |
|
502 |
|
503 StartCleanup(); |
|
504 |
|
505 // Put any required test clean up here, then remove this comment |
|
506 |
|
507 return TestStepResult(); |
|
508 } |
|
509 |
|
510 TPtrC CCTSYIntegrationTestCallCost0005::GetTestStepName() |
|
511 /** |
|
512 * @return The test step name. |
|
513 */ |
|
514 { |
|
515 return _L("CCTSYIntegrationTestCallCost0005"); |
|
516 } |
|
517 |
|
518 |
|
519 |
|
520 CCTSYIntegrationTestCallCost0006::CCTSYIntegrationTestCallCost0006(CEtelSessionMgr& aEtelSessionMgr) |
|
521 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
522 /** |
|
523 * Constructor. |
|
524 */ |
|
525 { |
|
526 SetTestStepName(CCTSYIntegrationTestCallCost0006::GetTestStepName()); |
|
527 } |
|
528 |
|
529 CCTSYIntegrationTestCallCost0006::~CCTSYIntegrationTestCallCost0006() |
|
530 /** |
|
531 * Destructor. |
|
532 */ |
|
533 { |
|
534 } |
|
535 |
|
536 TVerdict CCTSYIntegrationTestCallCost0006::doTestStepL() |
|
537 /** |
|
538 * @SYMTestCaseID BA-CTSY-INT-CCOS-0006 |
|
539 * @SYMFssID BA/CTSY/CCOS-0006 |
|
540 * @SYMTestCaseDesc iTest.Printf(_L("4:\tCost Meter, clear when a security event is outstanding\n")); |
|
541 * @SYMTestPriority High |
|
542 * @SYMTestActions |
|
543 * @SYMTestExpectedResults Pass |
|
544 * @SYMTestType CIT |
|
545 * @SYMTestCaseDependencies live/manual |
|
546 * |
|
547 |
|
548 * |
|
549 * @return - TVerdict code |
|
550 */ |
|
551 { |
|
552 |
|
553 // |
|
554 // SET UP |
|
555 // |
|
556 |
|
557 |
|
558 |
|
559 // |
|
560 // SET UP END |
|
561 // |
|
562 |
|
563 StartTest(); |
|
564 |
|
565 // |
|
566 // TEST START |
|
567 // |
|
568 |
|
569 |
|
570 // See TRP test |
|
571 |
|
572 |
|
573 // |
|
574 // TEST END |
|
575 // |
|
576 |
|
577 StartCleanup(); |
|
578 |
|
579 // Put any required test clean up here, then remove this comment |
|
580 |
|
581 return TestStepResult(); |
|
582 } |
|
583 |
|
584 TPtrC CCTSYIntegrationTestCallCost0006::GetTestStepName() |
|
585 /** |
|
586 * @return The test step name. |
|
587 */ |
|
588 { |
|
589 return _L("CCTSYIntegrationTestCallCost0006"); |
|
590 } |
|
591 |
|
592 |
|
593 |
|
594 CCTSYIntegrationTestCallCost0007::CCTSYIntegrationTestCallCost0007(CEtelSessionMgr& aEtelSessionMgr) |
|
595 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
596 /** |
|
597 * Constructor. |
|
598 */ |
|
599 { |
|
600 SetTestStepName(CCTSYIntegrationTestCallCost0007::GetTestStepName()); |
|
601 } |
|
602 |
|
603 CCTSYIntegrationTestCallCost0007::~CCTSYIntegrationTestCallCost0007() |
|
604 /** |
|
605 * Destructor. |
|
606 */ |
|
607 { |
|
608 } |
|
609 |
|
610 TVerdict CCTSYIntegrationTestCallCost0007::doTestStepL() |
|
611 /** |
|
612 * @SYMTestCaseID BA-CTSY-INT-CCOS-0007 |
|
613 * @SYMFssID BA/CTSY/CCOS-0007 |
|
614 * @SYMTestCaseDesc iTest.Printf(_L("5:\tCost Meter, cancel clear request when security event is notified\n")); |
|
615 * @SYMTestPriority High |
|
616 * @SYMTestActions |
|
617 * @SYMTestExpectedResults Pass |
|
618 * @SYMTestType CIT |
|
619 * @SYMTestCaseDependencies live/manual |
|
620 * |
|
621 |
|
622 * |
|
623 * @return - TVerdict code |
|
624 */ |
|
625 { |
|
626 |
|
627 // |
|
628 // SET UP |
|
629 // |
|
630 |
|
631 |
|
632 |
|
633 // |
|
634 // SET UP END |
|
635 // |
|
636 |
|
637 StartTest(); |
|
638 |
|
639 // |
|
640 // TEST START |
|
641 // |
|
642 |
|
643 |
|
644 // See TRP test |
|
645 |
|
646 |
|
647 // |
|
648 // TEST END |
|
649 // |
|
650 |
|
651 StartCleanup(); |
|
652 |
|
653 // Put any required test clean up here, then remove this comment |
|
654 |
|
655 return TestStepResult(); |
|
656 } |
|
657 |
|
658 TPtrC CCTSYIntegrationTestCallCost0007::GetTestStepName() |
|
659 /** |
|
660 * @return The test step name. |
|
661 */ |
|
662 { |
|
663 return _L("CCTSYIntegrationTestCallCost0007"); |
|
664 } |
|
665 |
|
666 |
|
667 |
|
668 CCTSYIntegrationTestCallCost0008::CCTSYIntegrationTestCallCost0008(CEtelSessionMgr& aEtelSessionMgr) |
|
669 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
670 /** |
|
671 * Constructor. |
|
672 */ |
|
673 { |
|
674 SetTestStepName(CCTSYIntegrationTestCallCost0008::GetTestStepName()); |
|
675 } |
|
676 |
|
677 CCTSYIntegrationTestCallCost0008::~CCTSYIntegrationTestCallCost0008() |
|
678 /** |
|
679 * Destructor. |
|
680 */ |
|
681 { |
|
682 } |
|
683 |
|
684 TVerdict CCTSYIntegrationTestCallCost0008::doTestStepL() |
|
685 /** |
|
686 * @SYMTestCaseID BA-CTSY-INT-CCOS-0008 |
|
687 * @SYMFssID BA/CTSY/CCOS-0008 |
|
688 * @SYMTestCaseDesc iTest.Printf(_L("6:\tCost Meter, cancel clear request when security event is verified\n")); |
|
689 * @SYMTestPriority High |
|
690 * @SYMTestActions |
|
691 * @SYMTestExpectedResults Pass |
|
692 * @SYMTestType CIT |
|
693 * @SYMTestCaseDependencies live/manual |
|
694 * |
|
695 |
|
696 * |
|
697 * @return - TVerdict code |
|
698 */ |
|
699 { |
|
700 |
|
701 // |
|
702 // SET UP |
|
703 // |
|
704 |
|
705 |
|
706 |
|
707 // |
|
708 // SET UP END |
|
709 // |
|
710 |
|
711 StartTest(); |
|
712 |
|
713 // |
|
714 // TEST START |
|
715 // |
|
716 |
|
717 |
|
718 // See TRP test |
|
719 |
|
720 |
|
721 // |
|
722 // TEST END |
|
723 // |
|
724 |
|
725 StartCleanup(); |
|
726 |
|
727 // Put any required test clean up here, then remove this comment |
|
728 |
|
729 return TestStepResult(); |
|
730 } |
|
731 |
|
732 TPtrC CCTSYIntegrationTestCallCost0008::GetTestStepName() |
|
733 /** |
|
734 * @return The test step name. |
|
735 */ |
|
736 { |
|
737 return _L("CCTSYIntegrationTestCallCost0008"); |
|
738 } |
|
739 |
|
740 |
|
741 |
|
742 CCTSYIntegrationTestCallCost0009::CCTSYIntegrationTestCallCost0009(CEtelSessionMgr& aEtelSessionMgr) |
|
743 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
744 /** |
|
745 * Constructor. |
|
746 */ |
|
747 { |
|
748 SetTestStepName(CCTSYIntegrationTestCallCost0009::GetTestStepName()); |
|
749 } |
|
750 |
|
751 CCTSYIntegrationTestCallCost0009::~CCTSYIntegrationTestCallCost0009() |
|
752 /** |
|
753 * Destructor. |
|
754 */ |
|
755 { |
|
756 } |
|
757 |
|
758 TVerdict CCTSYIntegrationTestCallCost0009::doTestStepL() |
|
759 /** |
|
760 * @SYMTestCaseID BA-CTSY-INT-CCOS-0009 |
|
761 * @SYMFssID BA/CTSY/CCOS-0009 |
|
762 * @SYMTestCaseDesc iTest.Printf(_L("7:\tCost Meter, set max when no security event outstanding\n")); |
|
763 * @SYMTestPriority High |
|
764 * @SYMTestActions |
|
765 * @SYMTestExpectedResults Pass |
|
766 * @SYMTestType CIT |
|
767 * @SYMTestCaseDependencies live/manual |
|
768 * |
|
769 |
|
770 * |
|
771 * @return - TVerdict code |
|
772 */ |
|
773 { |
|
774 |
|
775 // |
|
776 // SET UP |
|
777 // |
|
778 |
|
779 |
|
780 |
|
781 // |
|
782 // SET UP END |
|
783 // |
|
784 |
|
785 StartTest(); |
|
786 |
|
787 // |
|
788 // TEST START |
|
789 // |
|
790 |
|
791 |
|
792 // See TRP test |
|
793 |
|
794 |
|
795 // |
|
796 // TEST END |
|
797 // |
|
798 |
|
799 StartCleanup(); |
|
800 |
|
801 // Put any required test clean up here, then remove this comment |
|
802 |
|
803 return TestStepResult(); |
|
804 } |
|
805 |
|
806 TPtrC CCTSYIntegrationTestCallCost0009::GetTestStepName() |
|
807 /** |
|
808 * @return The test step name. |
|
809 */ |
|
810 { |
|
811 return _L("CCTSYIntegrationTestCallCost0009"); |
|
812 } |
|
813 |
|
814 |
|
815 |
|
816 CCTSYIntegrationTestCallCost0010::CCTSYIntegrationTestCallCost0010(CEtelSessionMgr& aEtelSessionMgr) |
|
817 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
818 /** |
|
819 * Constructor. |
|
820 */ |
|
821 { |
|
822 SetTestStepName(CCTSYIntegrationTestCallCost0010::GetTestStepName()); |
|
823 } |
|
824 |
|
825 CCTSYIntegrationTestCallCost0010::~CCTSYIntegrationTestCallCost0010() |
|
826 /** |
|
827 * Destructor. |
|
828 */ |
|
829 { |
|
830 } |
|
831 |
|
832 TVerdict CCTSYIntegrationTestCallCost0010::doTestStepL() |
|
833 /** |
|
834 * @SYMTestCaseID BA-CTSY-INT-CCOS-0010 |
|
835 * @SYMFssID BA/CTSY/CCOS-0010 |
|
836 * @SYMTestCaseDesc iTest.Printf(_L("8:\tCost Meter, set max when a security event is outstanding\n")); |
|
837 * @SYMTestPriority High |
|
838 * @SYMTestActions |
|
839 * @SYMTestExpectedResults Pass |
|
840 * @SYMTestType CIT |
|
841 * @SYMTestCaseDependencies live/manual |
|
842 * |
|
843 |
|
844 * |
|
845 * @return - TVerdict code |
|
846 */ |
|
847 { |
|
848 |
|
849 // |
|
850 // SET UP |
|
851 // |
|
852 |
|
853 |
|
854 |
|
855 // |
|
856 // SET UP END |
|
857 // |
|
858 |
|
859 StartTest(); |
|
860 |
|
861 // |
|
862 // TEST START |
|
863 // |
|
864 |
|
865 |
|
866 // See TRP test |
|
867 |
|
868 |
|
869 // |
|
870 // TEST END |
|
871 // |
|
872 |
|
873 StartCleanup(); |
|
874 |
|
875 // Put any required test clean up here, then remove this comment |
|
876 |
|
877 return TestStepResult(); |
|
878 } |
|
879 |
|
880 TPtrC CCTSYIntegrationTestCallCost0010::GetTestStepName() |
|
881 /** |
|
882 * @return The test step name. |
|
883 */ |
|
884 { |
|
885 return _L("CCTSYIntegrationTestCallCost0010"); |
|
886 } |
|
887 |
|
888 |
|
889 |
|
890 CCTSYIntegrationTestCallCost0011::CCTSYIntegrationTestCallCost0011(CEtelSessionMgr& aEtelSessionMgr) |
|
891 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
892 /** |
|
893 * Constructor. |
|
894 */ |
|
895 { |
|
896 SetTestStepName(CCTSYIntegrationTestCallCost0011::GetTestStepName()); |
|
897 } |
|
898 |
|
899 CCTSYIntegrationTestCallCost0011::~CCTSYIntegrationTestCallCost0011() |
|
900 /** |
|
901 * Destructor. |
|
902 */ |
|
903 { |
|
904 } |
|
905 |
|
906 TVerdict CCTSYIntegrationTestCallCost0011::doTestStepL() |
|
907 /** |
|
908 * @SYMTestCaseID BA-CTSY-INT-CCOS-0011 |
|
909 * @SYMFssID BA/CTSY/CCOS-0011 |
|
910 * @SYMTestCaseDesc iTest.Printf(_L("9:\tCost Meter, cancel set max request when security event is notified\n")); |
|
911 * @SYMTestPriority High |
|
912 * @SYMTestActions |
|
913 * @SYMTestExpectedResults Pass |
|
914 * @SYMTestType CIT |
|
915 * @SYMTestCaseDependencies live/manual |
|
916 * |
|
917 |
|
918 * |
|
919 * @return - TVerdict code |
|
920 */ |
|
921 { |
|
922 |
|
923 // |
|
924 // SET UP |
|
925 // |
|
926 |
|
927 |
|
928 |
|
929 // |
|
930 // SET UP END |
|
931 // |
|
932 |
|
933 StartTest(); |
|
934 |
|
935 // |
|
936 // TEST START |
|
937 // |
|
938 |
|
939 |
|
940 // See TRP test |
|
941 |
|
942 |
|
943 // |
|
944 // TEST END |
|
945 // |
|
946 |
|
947 StartCleanup(); |
|
948 |
|
949 // Put any required test clean up here, then remove this comment |
|
950 |
|
951 return TestStepResult(); |
|
952 } |
|
953 |
|
954 TPtrC CCTSYIntegrationTestCallCost0011::GetTestStepName() |
|
955 /** |
|
956 * @return The test step name. |
|
957 */ |
|
958 { |
|
959 return _L("CCTSYIntegrationTestCallCost0011"); |
|
960 } |
|
961 |
|
962 |
|
963 |
|
964 CCTSYIntegrationTestCallCost0012::CCTSYIntegrationTestCallCost0012(CEtelSessionMgr& aEtelSessionMgr) |
|
965 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
966 /** |
|
967 * Constructor. |
|
968 */ |
|
969 { |
|
970 SetTestStepName(CCTSYIntegrationTestCallCost0012::GetTestStepName()); |
|
971 } |
|
972 |
|
973 CCTSYIntegrationTestCallCost0012::~CCTSYIntegrationTestCallCost0012() |
|
974 /** |
|
975 * Destructor. |
|
976 */ |
|
977 { |
|
978 } |
|
979 |
|
980 TVerdict CCTSYIntegrationTestCallCost0012::doTestStepL() |
|
981 /** |
|
982 * @SYMTestCaseID BA-CTSY-INT-CCOS-0012 |
|
983 * @SYMFssID BA/CTSY/CCOS-0012 |
|
984 * @SYMTestCaseDesc iTest.Printf(_L("10:\tCost Meter, cancel set max request when security event is verified\n")); |
|
985 * @SYMTestPriority High |
|
986 * @SYMTestActions |
|
987 * @SYMTestExpectedResults Pass |
|
988 * @SYMTestType CIT |
|
989 * @SYMTestCaseDependencies live/manual |
|
990 * |
|
991 |
|
992 * |
|
993 * @return - TVerdict code |
|
994 */ |
|
995 { |
|
996 |
|
997 // |
|
998 // SET UP |
|
999 // |
|
1000 |
|
1001 |
|
1002 |
|
1003 // |
|
1004 // SET UP END |
|
1005 // |
|
1006 |
|
1007 StartTest(); |
|
1008 |
|
1009 // |
|
1010 // TEST START |
|
1011 // |
|
1012 |
|
1013 |
|
1014 // See TRP test |
|
1015 |
|
1016 |
|
1017 // |
|
1018 // TEST END |
|
1019 // |
|
1020 |
|
1021 StartCleanup(); |
|
1022 |
|
1023 // Put any required test clean up here, then remove this comment |
|
1024 |
|
1025 return TestStepResult(); |
|
1026 } |
|
1027 |
|
1028 TPtrC CCTSYIntegrationTestCallCost0012::GetTestStepName() |
|
1029 /** |
|
1030 * @return The test step name. |
|
1031 */ |
|
1032 { |
|
1033 return _L("CCTSYIntegrationTestCallCost0012"); |
|
1034 } |
|
1035 |
|
1036 |
|
1037 |
|
1038 CCTSYIntegrationTestCallCost0013::CCTSYIntegrationTestCallCost0013(CEtelSessionMgr& aEtelSessionMgr) |
|
1039 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
1040 /** |
|
1041 * Constructor. |
|
1042 */ |
|
1043 { |
|
1044 SetTestStepName(CCTSYIntegrationTestCallCost0013::GetTestStepName()); |
|
1045 } |
|
1046 |
|
1047 CCTSYIntegrationTestCallCost0013::~CCTSYIntegrationTestCallCost0013() |
|
1048 /** |
|
1049 * Destructor. |
|
1050 */ |
|
1051 { |
|
1052 } |
|
1053 |
|
1054 TVerdict CCTSYIntegrationTestCallCost0013::doTestStepL() |
|
1055 /** |
|
1056 * @SYMTestCaseID BA-CTSY-INT-CCOS-0013 |
|
1057 * @SYMFssID BA/CTSY/CCOS-0013 |
|
1058 * @SYMTestCaseDesc iTest.Printf(_L("12:\tCost Meter, set puct when no security event outstanding\n")); |
|
1059 * @SYMTestPriority High |
|
1060 * @SYMTestActions |
|
1061 * @SYMTestExpectedResults Pass |
|
1062 * @SYMTestType CIT |
|
1063 * @SYMTestCaseDependencies live/manual |
|
1064 * |
|
1065 |
|
1066 * |
|
1067 * @return - TVerdict code |
|
1068 */ |
|
1069 { |
|
1070 |
|
1071 // |
|
1072 // SET UP |
|
1073 // |
|
1074 |
|
1075 |
|
1076 |
|
1077 // |
|
1078 // SET UP END |
|
1079 // |
|
1080 |
|
1081 StartTest(); |
|
1082 |
|
1083 // |
|
1084 // TEST START |
|
1085 // |
|
1086 |
|
1087 |
|
1088 // See TRP test |
|
1089 |
|
1090 |
|
1091 // |
|
1092 // TEST END |
|
1093 // |
|
1094 |
|
1095 StartCleanup(); |
|
1096 |
|
1097 // Put any required test clean up here, then remove this comment |
|
1098 |
|
1099 return TestStepResult(); |
|
1100 } |
|
1101 |
|
1102 TPtrC CCTSYIntegrationTestCallCost0013::GetTestStepName() |
|
1103 /** |
|
1104 * @return The test step name. |
|
1105 */ |
|
1106 { |
|
1107 return _L("CCTSYIntegrationTestCallCost0013"); |
|
1108 } |
|
1109 |
|
1110 |
|
1111 |
|
1112 CCTSYIntegrationTestCallCost0014::CCTSYIntegrationTestCallCost0014(CEtelSessionMgr& aEtelSessionMgr) |
|
1113 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
1114 /** |
|
1115 * Constructor. |
|
1116 */ |
|
1117 { |
|
1118 SetTestStepName(CCTSYIntegrationTestCallCost0014::GetTestStepName()); |
|
1119 } |
|
1120 |
|
1121 CCTSYIntegrationTestCallCost0014::~CCTSYIntegrationTestCallCost0014() |
|
1122 /** |
|
1123 * Destructor. |
|
1124 */ |
|
1125 { |
|
1126 } |
|
1127 |
|
1128 TVerdict CCTSYIntegrationTestCallCost0014::doTestStepL() |
|
1129 /** |
|
1130 * @SYMTestCaseID BA-CTSY-INT-CCOS-0014 |
|
1131 * @SYMFssID BA/CTSY/CCOS-0014 |
|
1132 * @SYMTestCaseDesc iTest.Printf(_L("13:\tCost Meter, set puct when a security event is outstanding\n")); |
|
1133 * @SYMTestPriority High |
|
1134 * @SYMTestActions |
|
1135 * @SYMTestExpectedResults Pass |
|
1136 * @SYMTestType CIT |
|
1137 * @SYMTestCaseDependencies live/manual |
|
1138 * |
|
1139 |
|
1140 * |
|
1141 * @return - TVerdict code |
|
1142 */ |
|
1143 { |
|
1144 |
|
1145 // |
|
1146 // SET UP |
|
1147 // |
|
1148 |
|
1149 |
|
1150 |
|
1151 // |
|
1152 // SET UP END |
|
1153 // |
|
1154 |
|
1155 StartTest(); |
|
1156 |
|
1157 // |
|
1158 // TEST START |
|
1159 // |
|
1160 |
|
1161 |
|
1162 // See TRP test |
|
1163 |
|
1164 |
|
1165 // |
|
1166 // TEST END |
|
1167 // |
|
1168 |
|
1169 StartCleanup(); |
|
1170 |
|
1171 // Put any required test clean up here, then remove this comment |
|
1172 |
|
1173 return TestStepResult(); |
|
1174 } |
|
1175 |
|
1176 TPtrC CCTSYIntegrationTestCallCost0014::GetTestStepName() |
|
1177 /** |
|
1178 * @return The test step name. |
|
1179 */ |
|
1180 { |
|
1181 return _L("CCTSYIntegrationTestCallCost0014"); |
|
1182 } |
|
1183 |
|
1184 |
|
1185 |
|
1186 CCTSYIntegrationTestCallCost0015::CCTSYIntegrationTestCallCost0015(CEtelSessionMgr& aEtelSessionMgr) |
|
1187 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
1188 /** |
|
1189 * Constructor. |
|
1190 */ |
|
1191 { |
|
1192 SetTestStepName(CCTSYIntegrationTestCallCost0015::GetTestStepName()); |
|
1193 } |
|
1194 |
|
1195 CCTSYIntegrationTestCallCost0015::~CCTSYIntegrationTestCallCost0015() |
|
1196 /** |
|
1197 * Destructor. |
|
1198 */ |
|
1199 { |
|
1200 } |
|
1201 |
|
1202 TVerdict CCTSYIntegrationTestCallCost0015::doTestStepL() |
|
1203 /** |
|
1204 * @SYMTestCaseID BA-CTSY-INT-CCOS-0015 |
|
1205 * @SYMFssID BA/CTSY/CCOS-0015 |
|
1206 * @SYMTestCaseDesc iTest.Printf(_L("14:\tCost Meter, cancel set puct request when security event is notified\n")); |
|
1207 * @SYMTestPriority High |
|
1208 * @SYMTestActions |
|
1209 * @SYMTestExpectedResults Pass |
|
1210 * @SYMTestType CIT |
|
1211 * @SYMTestCaseDependencies live/manual |
|
1212 * |
|
1213 |
|
1214 * |
|
1215 * @return - TVerdict code |
|
1216 */ |
|
1217 { |
|
1218 |
|
1219 // |
|
1220 // SET UP |
|
1221 // |
|
1222 |
|
1223 |
|
1224 |
|
1225 // |
|
1226 // SET UP END |
|
1227 // |
|
1228 |
|
1229 StartTest(); |
|
1230 |
|
1231 // |
|
1232 // TEST START |
|
1233 // |
|
1234 |
|
1235 |
|
1236 // See TRP test |
|
1237 |
|
1238 |
|
1239 // |
|
1240 // TEST END |
|
1241 // |
|
1242 |
|
1243 StartCleanup(); |
|
1244 |
|
1245 // Put any required test clean up here, then remove this comment |
|
1246 |
|
1247 return TestStepResult(); |
|
1248 } |
|
1249 |
|
1250 TPtrC CCTSYIntegrationTestCallCost0015::GetTestStepName() |
|
1251 /** |
|
1252 * @return The test step name. |
|
1253 */ |
|
1254 { |
|
1255 return _L("CCTSYIntegrationTestCallCost0015"); |
|
1256 } |
|
1257 |
|
1258 |
|
1259 |
|
1260 CCTSYIntegrationTestCallCost0016::CCTSYIntegrationTestCallCost0016(CEtelSessionMgr& aEtelSessionMgr) |
|
1261 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
1262 /** |
|
1263 * Constructor. |
|
1264 */ |
|
1265 { |
|
1266 SetTestStepName(CCTSYIntegrationTestCallCost0016::GetTestStepName()); |
|
1267 } |
|
1268 |
|
1269 CCTSYIntegrationTestCallCost0016::~CCTSYIntegrationTestCallCost0016() |
|
1270 /** |
|
1271 * Destructor. |
|
1272 */ |
|
1273 { |
|
1274 } |
|
1275 |
|
1276 TVerdict CCTSYIntegrationTestCallCost0016::doTestStepL() |
|
1277 /** |
|
1278 * @SYMTestCaseID BA-CTSY-INT-CCOS-0016 |
|
1279 * @SYMFssID BA/CTSY/CCOS-0016 |
|
1280 * @SYMTestCaseDesc iTest.Printf(_L("15:\tCost Meter, cancel set puct request when security event is verified\n")); |
|
1281 * @SYMTestPriority High |
|
1282 * @SYMTestActions |
|
1283 * @SYMTestExpectedResults Pass |
|
1284 * @SYMTestType CIT |
|
1285 * @SYMTestCaseDependencies live/manual |
|
1286 * |
|
1287 |
|
1288 * |
|
1289 * @return - TVerdict code |
|
1290 */ |
|
1291 { |
|
1292 |
|
1293 // |
|
1294 // SET UP |
|
1295 // |
|
1296 |
|
1297 |
|
1298 |
|
1299 // |
|
1300 // SET UP END |
|
1301 // |
|
1302 |
|
1303 StartTest(); |
|
1304 |
|
1305 // |
|
1306 // TEST START |
|
1307 // |
|
1308 |
|
1309 |
|
1310 // See TRP test |
|
1311 |
|
1312 |
|
1313 // |
|
1314 // TEST END |
|
1315 // |
|
1316 |
|
1317 StartCleanup(); |
|
1318 |
|
1319 // Put any required test clean up here, then remove this comment |
|
1320 |
|
1321 return TestStepResult(); |
|
1322 } |
|
1323 |
|
1324 TPtrC CCTSYIntegrationTestCallCost0016::GetTestStepName() |
|
1325 /** |
|
1326 * @return The test step name. |
|
1327 */ |
|
1328 { |
|
1329 return _L("CCTSYIntegrationTestCallCost0016"); |
|
1330 } |
|
1331 |
|
1332 |
|
1333 |
|
1334 CCTSYIntegrationTestCallCost0017::CCTSYIntegrationTestCallCost0017(CEtelSessionMgr& aEtelSessionMgr) |
|
1335 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
1336 /** |
|
1337 * Constructor. |
|
1338 */ |
|
1339 { |
|
1340 SetTestStepName(CCTSYIntegrationTestCallCost0017::GetTestStepName()); |
|
1341 } |
|
1342 |
|
1343 CCTSYIntegrationTestCallCost0017::~CCTSYIntegrationTestCallCost0017() |
|
1344 /** |
|
1345 * Destructor. |
|
1346 */ |
|
1347 { |
|
1348 } |
|
1349 |
|
1350 TVerdict CCTSYIntegrationTestCallCost0017::doTestStepL() |
|
1351 /** |
|
1352 * @SYMTestCaseID BA-CTSY-INT-CCOS-0017 |
|
1353 * @SYMFssID BA/CTSY/CCOS-0017 |
|
1354 * @SYMTestCaseDesc iTest.Printf(_L("16:\tCost Meter, set puct to 0\n")); |
|
1355 * @SYMTestPriority High |
|
1356 * @SYMTestActions |
|
1357 * @SYMTestExpectedResults Pass |
|
1358 * @SYMTestType CIT |
|
1359 * @SYMTestCaseDependencies live/manual |
|
1360 * |
|
1361 |
|
1362 * |
|
1363 * @return - TVerdict code |
|
1364 */ |
|
1365 { |
|
1366 |
|
1367 // |
|
1368 // SET UP |
|
1369 // |
|
1370 |
|
1371 |
|
1372 |
|
1373 // |
|
1374 // SET UP END |
|
1375 // |
|
1376 |
|
1377 StartTest(); |
|
1378 |
|
1379 // |
|
1380 // TEST START |
|
1381 // |
|
1382 |
|
1383 |
|
1384 // See TRP test |
|
1385 |
|
1386 |
|
1387 // |
|
1388 // TEST END |
|
1389 // |
|
1390 |
|
1391 StartCleanup(); |
|
1392 |
|
1393 // Put any required test clean up here, then remove this comment |
|
1394 |
|
1395 return TestStepResult(); |
|
1396 } |
|
1397 |
|
1398 TPtrC CCTSYIntegrationTestCallCost0017::GetTestStepName() |
|
1399 /** |
|
1400 * @return The test step name. |
|
1401 */ |
|
1402 { |
|
1403 return _L("CCTSYIntegrationTestCallCost0017"); |
|
1404 } |
|
1405 |
|
1406 |
|
1407 |
|
1408 CCTSYIntegrationTestCallCost0018::CCTSYIntegrationTestCallCost0018(CEtelSessionMgr& aEtelSessionMgr) |
|
1409 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
1410 /** |
|
1411 * Constructor. |
|
1412 */ |
|
1413 { |
|
1414 SetTestStepName(CCTSYIntegrationTestCallCost0018::GetTestStepName()); |
|
1415 } |
|
1416 |
|
1417 CCTSYIntegrationTestCallCost0018::~CCTSYIntegrationTestCallCost0018() |
|
1418 /** |
|
1419 * Destructor. |
|
1420 */ |
|
1421 { |
|
1422 } |
|
1423 |
|
1424 TVerdict CCTSYIntegrationTestCallCost0018::doTestStepL() |
|
1425 /** |
|
1426 * @SYMTestCaseID BA-CTSY-INT-CCOS-0018 |
|
1427 * @SYMFssID BA/CTSY/CCOS-0018 |
|
1428 * @SYMTestCaseDesc iTest.Printf(_L("18:\tCost Info, emergency call when max cost reached\n")); |
|
1429 * @SYMTestPriority High |
|
1430 * @SYMTestActions |
|
1431 * @SYMTestExpectedResults Pass |
|
1432 * @SYMTestType CIT |
|
1433 * @SYMTestCaseDependencies live/manual |
|
1434 * |
|
1435 |
|
1436 * |
|
1437 * @return - TVerdict code |
|
1438 */ |
|
1439 { |
|
1440 |
|
1441 // |
|
1442 // SET UP |
|
1443 // |
|
1444 |
|
1445 |
|
1446 |
|
1447 // |
|
1448 // SET UP END |
|
1449 // |
|
1450 |
|
1451 StartTest(); |
|
1452 |
|
1453 // |
|
1454 // TEST START |
|
1455 // |
|
1456 |
|
1457 |
|
1458 // See TRP test |
|
1459 |
|
1460 |
|
1461 // |
|
1462 // TEST END |
|
1463 // |
|
1464 |
|
1465 StartCleanup(); |
|
1466 |
|
1467 // Put any required test clean up here, then remove this comment |
|
1468 |
|
1469 return TestStepResult(); |
|
1470 } |
|
1471 |
|
1472 TPtrC CCTSYIntegrationTestCallCost0018::GetTestStepName() |
|
1473 /** |
|
1474 * @return The test step name. |
|
1475 */ |
|
1476 { |
|
1477 return _L("CCTSYIntegrationTestCallCost0018"); |
|
1478 } |
|
1479 |
|
1480 |
|
1481 |
|
1482 CCTSYIntegrationTestCallCost0019::CCTSYIntegrationTestCallCost0019(CEtelSessionMgr& aEtelSessionMgr) |
|
1483 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
1484 /** |
|
1485 * Constructor. |
|
1486 */ |
|
1487 { |
|
1488 SetTestStepName(CCTSYIntegrationTestCallCost0019::GetTestStepName()); |
|
1489 } |
|
1490 |
|
1491 CCTSYIntegrationTestCallCost0019::~CCTSYIntegrationTestCallCost0019() |
|
1492 /** |
|
1493 * Destructor. |
|
1494 */ |
|
1495 { |
|
1496 } |
|
1497 |
|
1498 TVerdict CCTSYIntegrationTestCallCost0019::doTestStepL() |
|
1499 /** |
|
1500 * @SYMTestCaseID BA-CTSY-INT-CCOS-0019 |
|
1501 * @SYMFssID BA/CTSY/CCOS-0019 |
|
1502 * @SYMTestCaseDesc iTest.Printf(_L("101:\tCost Meter, clear when cost info not supported\n")); |
|
1503 * @SYMTestPriority High |
|
1504 * @SYMTestActions |
|
1505 * @SYMTestExpectedResults Pass |
|
1506 * @SYMTestType CIT |
|
1507 * @SYMTestCaseDependencies live/manual |
|
1508 * |
|
1509 |
|
1510 * |
|
1511 * @return - TVerdict code |
|
1512 */ |
|
1513 { |
|
1514 |
|
1515 // |
|
1516 // SET UP |
|
1517 // |
|
1518 |
|
1519 |
|
1520 |
|
1521 // |
|
1522 // SET UP END |
|
1523 // |
|
1524 |
|
1525 StartTest(); |
|
1526 |
|
1527 // |
|
1528 // TEST START |
|
1529 // |
|
1530 |
|
1531 |
|
1532 // See TRP test |
|
1533 |
|
1534 |
|
1535 // |
|
1536 // TEST END |
|
1537 // |
|
1538 |
|
1539 StartCleanup(); |
|
1540 |
|
1541 // Put any required test clean up here, then remove this comment |
|
1542 |
|
1543 return TestStepResult(); |
|
1544 } |
|
1545 |
|
1546 TPtrC CCTSYIntegrationTestCallCost0019::GetTestStepName() |
|
1547 /** |
|
1548 * @return The test step name. |
|
1549 */ |
|
1550 { |
|
1551 return _L("CCTSYIntegrationTestCallCost0019"); |
|
1552 } |
|
1553 |
|
1554 |
|
1555 |
|
1556 CCTSYIntegrationTestCallCost0020::CCTSYIntegrationTestCallCost0020(CEtelSessionMgr& aEtelSessionMgr) |
|
1557 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
1558 /** |
|
1559 * Constructor. |
|
1560 */ |
|
1561 { |
|
1562 SetTestStepName(CCTSYIntegrationTestCallCost0020::GetTestStepName()); |
|
1563 } |
|
1564 |
|
1565 CCTSYIntegrationTestCallCost0020::~CCTSYIntegrationTestCallCost0020() |
|
1566 /** |
|
1567 * Destructor. |
|
1568 */ |
|
1569 { |
|
1570 } |
|
1571 |
|
1572 TVerdict CCTSYIntegrationTestCallCost0020::doTestStepL() |
|
1573 /** |
|
1574 * @SYMTestCaseID BA-CTSY-INT-CCOS-0020 |
|
1575 * @SYMFssID BA/CTSY/CCOS-0020 |
|
1576 * @SYMTestCaseDesc iTest.Printf(_L("102:\tCost Meter, set max when cost info not supported\n")); |
|
1577 * @SYMTestPriority High |
|
1578 * @SYMTestActions |
|
1579 * @SYMTestExpectedResults Pass |
|
1580 * @SYMTestType CIT |
|
1581 * @SYMTestCaseDependencies live/manual |
|
1582 * |
|
1583 |
|
1584 * |
|
1585 * @return - TVerdict code |
|
1586 */ |
|
1587 { |
|
1588 |
|
1589 // |
|
1590 // SET UP |
|
1591 // |
|
1592 |
|
1593 |
|
1594 |
|
1595 // |
|
1596 // SET UP END |
|
1597 // |
|
1598 |
|
1599 StartTest(); |
|
1600 |
|
1601 // |
|
1602 // TEST START |
|
1603 // |
|
1604 |
|
1605 |
|
1606 // See TRP test |
|
1607 |
|
1608 |
|
1609 // |
|
1610 // TEST END |
|
1611 // |
|
1612 |
|
1613 StartCleanup(); |
|
1614 |
|
1615 // Put any required test clean up here, then remove this comment |
|
1616 |
|
1617 return TestStepResult(); |
|
1618 } |
|
1619 |
|
1620 TPtrC CCTSYIntegrationTestCallCost0020::GetTestStepName() |
|
1621 /** |
|
1622 * @return The test step name. |
|
1623 */ |
|
1624 { |
|
1625 return _L("CCTSYIntegrationTestCallCost0020"); |
|
1626 } |
|
1627 |
|
1628 |
|
1629 |
|
1630 CCTSYIntegrationTestCallCost0021::CCTSYIntegrationTestCallCost0021(CEtelSessionMgr& aEtelSessionMgr) |
|
1631 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
1632 /** |
|
1633 * Constructor. |
|
1634 */ |
|
1635 { |
|
1636 SetTestStepName(CCTSYIntegrationTestCallCost0021::GetTestStepName()); |
|
1637 } |
|
1638 |
|
1639 CCTSYIntegrationTestCallCost0021::~CCTSYIntegrationTestCallCost0021() |
|
1640 /** |
|
1641 * Destructor. |
|
1642 */ |
|
1643 { |
|
1644 } |
|
1645 |
|
1646 TVerdict CCTSYIntegrationTestCallCost0021::doTestStepL() |
|
1647 /** |
|
1648 * @SYMTestCaseID BA-CTSY-INT-CCOS-0021 |
|
1649 * @SYMFssID BA/CTSY/CCOS-0021 |
|
1650 * @SYMTestCaseDesc iTest.Printf(_L("103:\tCost Meter, set puct when cost info not supported\n")); |
|
1651 * @SYMTestPriority High |
|
1652 * @SYMTestActions |
|
1653 * @SYMTestExpectedResults Pass |
|
1654 * @SYMTestType CIT |
|
1655 * @SYMTestCaseDependencies live/manual |
|
1656 * |
|
1657 |
|
1658 * |
|
1659 * @return - TVerdict code |
|
1660 */ |
|
1661 { |
|
1662 |
|
1663 // |
|
1664 // SET UP |
|
1665 // |
|
1666 |
|
1667 |
|
1668 |
|
1669 // |
|
1670 // SET UP END |
|
1671 // |
|
1672 |
|
1673 StartTest(); |
|
1674 |
|
1675 // |
|
1676 // TEST START |
|
1677 // |
|
1678 |
|
1679 |
|
1680 // See TRP test |
|
1681 |
|
1682 |
|
1683 // |
|
1684 // TEST END |
|
1685 // |
|
1686 |
|
1687 StartCleanup(); |
|
1688 |
|
1689 // Put any required test clean up here, then remove this comment |
|
1690 |
|
1691 return TestStepResult(); |
|
1692 } |
|
1693 |
|
1694 TPtrC CCTSYIntegrationTestCallCost0021::GetTestStepName() |
|
1695 /** |
|
1696 * @return The test step name. |
|
1697 */ |
|
1698 { |
|
1699 return _L("CCTSYIntegrationTestCallCost0021"); |
|
1700 } |
|
1701 |
|
1702 |
|
1703 |
|
1704 CCTSYIntegrationTestCallCost0022::CCTSYIntegrationTestCallCost0022(CEtelSessionMgr& aEtelSessionMgr) |
|
1705 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
1706 /** |
|
1707 * Constructor. |
|
1708 */ |
|
1709 { |
|
1710 SetTestStepName(CCTSYIntegrationTestCallCost0022::GetTestStepName()); |
|
1711 } |
|
1712 |
|
1713 CCTSYIntegrationTestCallCost0022::~CCTSYIntegrationTestCallCost0022() |
|
1714 /** |
|
1715 * Destructor. |
|
1716 */ |
|
1717 { |
|
1718 } |
|
1719 |
|
1720 TVerdict CCTSYIntegrationTestCallCost0022::doTestStepL() |
|
1721 /** |
|
1722 * @SYMTestCaseID BA-CTSY-INT-CCOS-0022 |
|
1723 * @SYMFssID BA/CTSY/CCOS-0022 |
|
1724 * @SYMTestCaseDesc Get call cost capabilities. |
|
1725 * @SYMTestPriority High |
|
1726 * @SYMTestActions |
|
1727 * @SYMTestExpectedResults Pass - KErrNotSupported returned |
|
1728 * @SYMTestType CIT |
|
1729 * @SYMTestCaseDependencies live/automatic |
|
1730 * |
|
1731 * Reason for test: Verify KErrNotSupported is returned. |
|
1732 * |
|
1733 * @return - TVerdict code |
|
1734 */ |
|
1735 { |
|
1736 |
|
1737 // |
|
1738 // SET UP |
|
1739 // |
|
1740 RMobilePhone& phone = iEtelSessionMgr.GetPhoneL(KMainServer, KMainPhone); |
|
1741 |
|
1742 // |
|
1743 // SET UP END |
|
1744 // |
|
1745 |
|
1746 StartTest(); |
|
1747 |
|
1748 // |
|
1749 // TEST START |
|
1750 // |
|
1751 |
|
1752 |
|
1753 // Check RMobilePhone::GetCostCaps returns KErrNotSupported |
|
1754 TUint32 costCaps=5; |
|
1755 TInt err=phone.GetCostCaps(costCaps); |
|
1756 //We only check the return code as the caps could be slightly different for each TSY. |
|
1757 ASSERT_EQUALS(err,KErrNotSupported, _L("RMobilePhone::GetCostCaps completed with error.")) |
|
1758 |
|
1759 // |
|
1760 // TEST END |
|
1761 // |
|
1762 |
|
1763 StartCleanup(); |
|
1764 |
|
1765 return TestStepResult(); |
|
1766 } |
|
1767 |
|
1768 TPtrC CCTSYIntegrationTestCallCost0022::GetTestStepName() |
|
1769 /** |
|
1770 * @return The test step name. |
|
1771 */ |
|
1772 { |
|
1773 return _L("CCTSYIntegrationTestCallCost0022"); |
|
1774 } |
|
1775 |
|
1776 |
|
1777 |
|
1778 CCTSYIntegrationTestCallCost0023::CCTSYIntegrationTestCallCost0023(CEtelSessionMgr& aEtelSessionMgr) |
|
1779 : CCTSYIntegrationTestCallCostBase(aEtelSessionMgr) |
|
1780 /** |
|
1781 * Constructor. |
|
1782 */ |
|
1783 { |
|
1784 SetTestStepName(CCTSYIntegrationTestCallCost0023::GetTestStepName()); |
|
1785 } |
|
1786 |
|
1787 CCTSYIntegrationTestCallCost0023::~CCTSYIntegrationTestCallCost0023() |
|
1788 /** |
|
1789 * Destructor. |
|
1790 */ |
|
1791 { |
|
1792 } |
|
1793 |
|
1794 TVerdict CCTSYIntegrationTestCallCost0023::doTestStepL() |
|
1795 /** |
|
1796 * @SYMTestCaseID BA-CTSY-INT-CCOS-0023 |
|
1797 * @SYMFssID BA/CTSY/CCOS-0023 |
|
1798 * @SYMTestCaseDesc Get cost information. |
|
1799 * @SYMTestPriority High |
|
1800 * @SYMTestActions RMobilePhone::GetCostInfo |
|
1801 * @SYMTestExpectedResults Pass - KErrNotSupported returned |
|
1802 * @SYMTestType CIT |
|
1803 * @SYMTestCaseDependencies live/automatic |
|
1804 * |
|
1805 * Reason for test: Verify KErrNotSupported is returned. |
|
1806 * |
|
1807 * @return - TVerdict code |
|
1808 */ |
|
1809 { |
|
1810 |
|
1811 // |
|
1812 // SET UP |
|
1813 // |
|
1814 //Get cost information. |
|
1815 //Verify KErrNotSupported is returned. |
|
1816 RMobilePhone& mobilePhone = iEtelSessionMgr.GetPhoneL(KMainServer, KMainPhone); |
|
1817 |
|
1818 // |
|
1819 // SET UP END |
|
1820 // |
|
1821 |
|
1822 StartTest(); |
|
1823 |
|
1824 // |
|
1825 // TEST START |
|
1826 // |
|
1827 |
|
1828 |
|
1829 // Check RMobilePhone::GetCostInfo returns KErrNotSupported |
|
1830 |
|
1831 TExtEtelRequestStatus requestStatus(mobilePhone,EMobilePhoneGetCostInfo); |
|
1832 RMobilePhone::TMobilePhoneCostInfoV1 costInfo; |
|
1833 RMobilePhone::TMobilePhoneCostInfoV1Pckg costInfoPk(costInfo); |
|
1834 |
|
1835 mobilePhone.GetCostInfo(requestStatus, costInfoPk); |
|
1836 ASSERT_EQUALS(WaitForRequestWithTimeOut(requestStatus, ETimeShort), |
|
1837 KErrNone, _L("RMobilePhone::GetCostInfo did not complete.")) |
|
1838 ASSERT_EQUALS(requestStatus.Int(),KErrNotSupported, |
|
1839 _L("RMobilePhone::GetCostInfo completed with incorrect error")) |
|
1840 // |
|
1841 // TEST END |
|
1842 // |
|
1843 |
|
1844 StartCleanup(); |
|
1845 |
|
1846 |
|
1847 return TestStepResult(); |
|
1848 } |
|
1849 |
|
1850 TPtrC CCTSYIntegrationTestCallCost0023::GetTestStepName() |
|
1851 /** |
|
1852 * @return The test step name. |
|
1853 */ |
|
1854 { |
|
1855 return _L("CCTSYIntegrationTestCallCost0023"); |
|
1856 } |
|
1857 |
|
1858 |
|
1859 |