|
1 //* Copyright (c) 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 the License "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 |
|
17 |
|
18 // MOD_0003_001_2_NokiaTSY_[XML MO call connects - terminated by local user with valid values] |
|
19 // |
|
20 // Precondition: |
|
21 // - n/a |
|
22 // |
|
23 // Script description: |
|
24 // - Parameters for the case: |
|
25 // 1. 1=CallID |
|
26 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
27 // 3. 0=EMonitorSpeakerVolumeOff |
|
28 // 4. 1=0x01(interval) |
|
29 // 5. 0=EDialToneWait |
|
30 // 6. 0=EIdRestrictDefault |
|
31 // 7. 1=true(ExplicitInvoke) |
|
32 // 8. 0000=0x0000(CugIndex) |
|
33 // 9. 0=false(SuppressOA) |
|
34 // 10. 1=true(SuppressPrefCug) |
|
35 // 11. 1=true(AutoRedial) |
|
36 // 12. 0501122334=TelNum |
|
37 // |
|
38 [Test] |
|
39 title MOD_0003_001_2_NokiaTSY_[XML MO call connects - terminated by local user with valid values] |
|
40 create NTT_Voice test |
|
41 |
|
42 test HandleSpecifiedRequests YES |
|
43 test InitializeIPCRequestTable |
|
44 |
|
45 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
46 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
47 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
48 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
49 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
50 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo release |
|
51 |
|
52 test RunIscTestCase 114 |
|
53 test SyncIscTestCase |
|
54 |
|
55 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0504804405 |
|
56 |
|
57 //EMobileCallNotifyMobileCallStatusChange |
|
58 allownextresult 0 |
|
59 waittestclass test |
|
60 |
|
61 //EMobileCallNotifyMobileCallStatusChange |
|
62 allownextresult 0 |
|
63 waittestclass test |
|
64 |
|
65 print Answer the call ---> |
|
66 |
|
67 //ECustomGetRemoteAlertingToneStatusIPC |
|
68 allownextresult 0 |
|
69 waittestclass test |
|
70 |
|
71 //EMobileCallNotifyMobileCallStatusChange |
|
72 allownextresult 0 |
|
73 waittestclass test |
|
74 |
|
75 test CallHangUp 1 //CallId |
|
76 |
|
77 //ECustomGetRemoteAlertingToneStatusIPC |
|
78 allownextresult 0 |
|
79 waittestclass test |
|
80 |
|
81 allownextresult -8071 //KErrGsmReleaseByUser |
|
82 waittestclass test |
|
83 |
|
84 test HandleSpecifiedRequests NO |
|
85 |
|
86 delete test |
|
87 [Endtest] |
|
88 |
|
89 |
|
90 // MOD_0003_002_2_NokiaTSY_[XML MO call connects (EDontSendMyId) - terminated by local user with valid values] |
|
91 // |
|
92 // Precondition: |
|
93 // - n/a |
|
94 // |
|
95 // Script description: |
|
96 // - Parameters for the case: |
|
97 // 1. 1=CallID |
|
98 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
99 // 3. 0=EMonitorSpeakerVolumeOff |
|
100 // 4. 1=0x01(interval) |
|
101 // 5. 0=EDialToneWait |
|
102 // 6. 2=EDontSendMyId |
|
103 // 7. 1=true(ExplicitInvoke) |
|
104 // 8. 0000=0x0000(CugIndex) |
|
105 // 9. 0=false(SuppressOA) |
|
106 // 10. 1=true(SuppressPrefCug) |
|
107 // 11. 1=true(AutoRedial) |
|
108 // 12. 0501122334=TelNum |
|
109 // |
|
110 [Test] |
|
111 title MOD_0003_002_2_NokiaTSY_[XML MO call connects (EDontSendMyId) - terminated by local user with valid values] |
|
112 create NTT_Voice test |
|
113 |
|
114 test HandleSpecifiedRequests YES |
|
115 test InitializeIPCRequestTable |
|
116 |
|
117 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
118 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
119 test SetExpectedCompleteIPC ECustomTerminateCallIPC |
|
120 |
|
121 test RunIscTestCase 115 |
|
122 test SyncIscTestCase |
|
123 |
|
124 test CallDial 1 0 0 1 0 2 1 0000 0 1 1 0504804405 |
|
125 |
|
126 //EMobileCallNotifyMobileCallStatusChange create |
|
127 allownextresult 0 |
|
128 waittestclass test |
|
129 |
|
130 //EMobileCallNotifyMobileCallStatusChange mo alerting |
|
131 allownextresult 0 |
|
132 waittestclass test |
|
133 |
|
134 print Answer the call ---> |
|
135 |
|
136 test CallHangUp 1 //CallId |
|
137 |
|
138 //ECustomTerminateCallIPC |
|
139 allownextresult -8071 //KErrGsmReleaseByUser |
|
140 waittestclass test |
|
141 |
|
142 test HandleSpecifiedRequests NO |
|
143 |
|
144 delete test |
|
145 [Endtest] |
|
146 |
|
147 // MOD_0003_002_2_2_NokiaTSY_[XML MO call connects (ESendMyId) - terminated by local user with valid values] |
|
148 // |
|
149 // Precondition: |
|
150 // - n/a |
|
151 // |
|
152 // Script description: |
|
153 // - Parameters for the case: |
|
154 // 1. 1=CallID |
|
155 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
156 // 3. 0=EMonitorSpeakerVolumeOff |
|
157 // 4. 1=0x01(interval) |
|
158 // 5. 0=EDialToneWait |
|
159 // 6. 1=ESendMyId |
|
160 // 7. 1=true(ExplicitInvoke) |
|
161 // 8. 0000=0x0000(CugIndex) |
|
162 // 9. 0=false(SuppressOA) |
|
163 // 10. 1=true(SuppressPrefCug) |
|
164 // 11. 1=true(AutoRedial) |
|
165 // 12. 0501122334=TelNum |
|
166 // |
|
167 [Test] |
|
168 title MOD_0003_002_2_2_NokiaTSY_[XML MO call connects (ESendMyId) - terminated by local user with valid values] |
|
169 create NTT_Voice test |
|
170 |
|
171 test HandleSpecifiedRequests YES |
|
172 test InitializeIPCRequestTable |
|
173 |
|
174 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
175 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
176 test SetExpectedCompleteIPC ECustomTerminateCallIPC |
|
177 |
|
178 test RunIscTestCase 132 |
|
179 test SyncIscTestCase |
|
180 |
|
181 test CallDial 1 0 0 1 0 1 1 0000 0 1 1 0504804405 |
|
182 |
|
183 //EMobileCallNotifyMobileCallStatusChange create |
|
184 allownextresult 0 |
|
185 waittestclass test |
|
186 |
|
187 //EMobileCallNotifyMobileCallStatusChange mo alerting |
|
188 allownextresult 0 |
|
189 waittestclass test |
|
190 |
|
191 print Answer the call ---> |
|
192 |
|
193 test CallHangUp 1 //CallId |
|
194 |
|
195 //ECustomTerminateCallIPC |
|
196 allownextresult -8071 //KErrGsmReleaseByUser |
|
197 waittestclass test |
|
198 |
|
199 test HandleSpecifiedRequests NO |
|
200 |
|
201 delete test |
|
202 [Endtest] |
|
203 |
|
204 |
|
205 // MOD_0003_003_2_NokiaTSY_[XML MO call connects - remote party rejects call] |
|
206 // |
|
207 // Precondition: |
|
208 // - n/a |
|
209 // |
|
210 // Script description: |
|
211 // - Parameters for the case: |
|
212 // 1. 1=CallID |
|
213 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
214 // 3. 0=EMonitorSpeakerVolumeOff |
|
215 // 4. 1=0x01(interval) |
|
216 // 5. 0=EDialToneWait |
|
217 // 6. 0=EIdRestrictDefault |
|
218 // 7. 1=true(ExplicitInvoke) |
|
219 // 8. 0000=0x0000(CugIndex) |
|
220 // 9. 0=false(SuppressOA) |
|
221 // 10. 1=true(SuppressPrefCug) |
|
222 // 11. 1=true(AutoRedial) |
|
223 // 12. 0501122334=TelNum |
|
224 // |
|
225 [Test] |
|
226 title MOD_0003_003_2_NokiaTSY_[XML MO call connects - remote party rejects call] |
|
227 create NTT_Voice test |
|
228 |
|
229 test HandleSpecifiedRequests YES |
|
230 test InitializeIPCRequestTable |
|
231 |
|
232 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
233 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
234 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
235 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
236 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mt release |
|
237 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //idle |
|
238 |
|
239 test RunIscTestCase 116 |
|
240 test SyncIscTestCase |
|
241 |
|
242 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0504804405 |
|
243 |
|
244 //EMobileCallNotifyMobileCallStatusChange create |
|
245 allownextresult 0 |
|
246 waittestclass test |
|
247 |
|
248 //EMobileCallNotifyMobileCallStatusChange mo alerting |
|
249 allownextresult 0 |
|
250 waittestclass test |
|
251 |
|
252 //ECustomGetRemoteAlertingToneStatusIPC |
|
253 allownextresult 0 |
|
254 waittestclass test |
|
255 |
|
256 print Answer the call ---> |
|
257 |
|
258 //EMobileCallNotifyMobileCallStatusChange active |
|
259 allownextresult 0 |
|
260 waittestclass test |
|
261 |
|
262 print Reject the call |
|
263 |
|
264 test RemotePartyHangUp |
|
265 |
|
266 //EMobileCallNotifyMobileCallStatusChange mt release |
|
267 allownextresult -280887298 //Symbian OS error |
|
268 waittestclass test |
|
269 |
|
270 //EMobileCallNotifyMobileCallStatusChange idle |
|
271 allownextresult -280887298 //Symbian OS error |
|
272 waittestclass test |
|
273 |
|
274 test HandleSpecifiedRequests NO |
|
275 |
|
276 delete test |
|
277 [Endtest] |
|
278 |
|
279 // MOD_0003_004_2_NokiaTSY_[XML MO call - Send DTMF tones] |
|
280 // |
|
281 // Precondition: |
|
282 // - n/a |
|
283 // |
|
284 // Script description: |
|
285 // - Parameters for the case: |
|
286 // 1. 1=CallID |
|
287 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
288 // 3. 0=EMonitorSpeakerVolumeOff |
|
289 // 4. 1=0x01(interval) |
|
290 // 5. 0=EDialToneWait |
|
291 // 6. 0=EIdRestrictDefault |
|
292 // 7. 1=true(ExplicitInvoke) |
|
293 // 8. 0000=0x0000(CugIndex) |
|
294 // 9. 0=false(SuppressOA) |
|
295 // 10. 1=true(SuppressPrefCug) |
|
296 // 11. 1=true(AutoRedial) |
|
297 // 12. 0501122334=TelNum |
|
298 // |
|
299 [Test] |
|
300 title MOD_0003_004_2_NokiaTSY_[XML MO call - Send DTMF tones] |
|
301 create NTT_Voice test |
|
302 |
|
303 test HandleSpecifiedRequests YES |
|
304 test InitializeIPCRequestTable |
|
305 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
306 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
307 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
308 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
309 test SetExpectedCompleteIPC EMobilePhoneNotifyDTMFEvent // active |
|
310 test SetExpectedCompleteIPC EMobilePhoneSendDTMFTones |
|
311 test SetExpectedCompleteIPC EMobilePhoneNotifyDTMFEvent // idle |
|
312 |
|
313 test RunIscTestCase 117 |
|
314 test SyncIscTestCase |
|
315 |
|
316 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0504804405 |
|
317 |
|
318 //EMobileCallNotifyMobileCallStatusChange create |
|
319 allownextresult 0 |
|
320 waittestclass test |
|
321 |
|
322 //EMobileCallNotifyMobileCallStatusChange mo alerting |
|
323 allownextresult 0 |
|
324 waittestclass test |
|
325 |
|
326 //ECustomGetRemoteAlertingToneStatusIPC |
|
327 allownextresult 0 |
|
328 waittestclass test |
|
329 |
|
330 print Answer the call ---> |
|
331 //EMobileCallNotifyMobileCallStatusChange active |
|
332 allownextresult 0 |
|
333 waittestclass test |
|
334 |
|
335 print Sending DTMF tones |
|
336 test SendDTMFTones 1212121254 |
|
337 |
|
338 print DTMF sending ongoing... |
|
339 //EMobilePhoneNotifyDTMFEvent active |
|
340 allownextresult 0 |
|
341 waittestclass test |
|
342 |
|
343 //EMobilePhoneSendDTMFTones |
|
344 allownextresult 0 |
|
345 waittestclass test |
|
346 |
|
347 print DTMF sending stopped |
|
348 //EMobilePhoneNotifyDTMFEvent idle |
|
349 allownextresult 0 |
|
350 waittestclass test |
|
351 |
|
352 print HangUp ongoing call |
|
353 test CallHangUp 1 //CallId |
|
354 |
|
355 test HandleSpecifiedRequests NO |
|
356 delete test |
|
357 [Endtest] |
|
358 |
|
359 |
|
360 // MOD_0003_005_2_NokiaTSY_[XML Incoming call while there are no other calls] |
|
361 // Make incoming call to the test phone |
|
362 // |
|
363 // Precondition: |
|
364 // - n/a |
|
365 // |
|
366 // Script description: |
|
367 // - n/a |
|
368 // |
|
369 [Test] |
|
370 title MOD_0003_005_2_NokiaTSY_[XML Incoming call while there are no other calls] |
|
371 create NTT_Voice test |
|
372 |
|
373 test HandleSpecifiedRequests YES |
|
374 test InitializeIPCRequestTable |
|
375 |
|
376 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mt alerting |
|
377 |
|
378 test RunIscTestCase 118 |
|
379 test SyncIscTestCase |
|
380 |
|
381 test TestIncomingCall |
|
382 //EMobileCallNotifyMobileCallStatusChange mt alerting |
|
383 |
|
384 allownextresult 0 |
|
385 waittestclass test |
|
386 test CallHangUp 1 //CallId |
|
387 |
|
388 test HandleSpecifiedRequests NO |
|
389 |
|
390 delete test |
|
391 [Endtest] |
|
392 |
|
393 |
|
394 // MOD_0003_006_2_NokiaTSY_[XML Holding a voice call] |
|
395 // |
|
396 // Precondition: |
|
397 // - n/a |
|
398 // |
|
399 // Script description: |
|
400 // - Parameters for the case: |
|
401 // 1. 1=CallID |
|
402 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
403 // 3. 0=EMonitorSpeakerVolumeOff |
|
404 // 4. 1=0x01(interval) |
|
405 // 5. 0=EDialToneWait |
|
406 // 6. 0=EIdRestrictDefault |
|
407 // 7. 1=true(ExplicitInvoke) |
|
408 // 8. 0000=0x0000(CugIndex) |
|
409 // 9. 0=false(SuppressOA) |
|
410 // 10. 1=true(SuppressPrefCug) |
|
411 // 11. 1=true(AutoRedial) |
|
412 // 12. 0501122334=TelNum |
|
413 // |
|
414 [Test] |
|
415 title MOD_0003_006_2_NokiaTSY_[XML Holding a voice call] |
|
416 create NTT_Voice test |
|
417 |
|
418 test HandleSpecifiedRequests YES |
|
419 test InitializeIPCRequestTable |
|
420 |
|
421 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
422 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
423 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
424 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
425 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //hold |
|
426 |
|
427 test RunIscTestCase 119 |
|
428 test SyncIscTestCase |
|
429 |
|
430 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 +358504804405 |
|
431 |
|
432 //EMobileCallNotifyMobileCallStatusChange //create |
|
433 allownextresult 0 |
|
434 waittestclass test |
|
435 |
|
436 //EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
437 allownextresult 0 |
|
438 waittestclass test |
|
439 |
|
440 //ECustomGetRemoteAlertingToneStatusIPC |
|
441 allownextresult 0 |
|
442 waittestclass test |
|
443 |
|
444 //EMobileCallNotifyMobileCallStatusChange //active |
|
445 allownextresult 0 |
|
446 waittestclass test |
|
447 |
|
448 test TestHoldCall 1 //callId |
|
449 |
|
450 //EMobileCallNotifyMobileCallStatusChange //hold |
|
451 allownextresult 0 |
|
452 waittestclass test |
|
453 |
|
454 test CallHangUp 1 //CallId |
|
455 |
|
456 test HandleSpecifiedRequests NO |
|
457 |
|
458 delete test |
|
459 [Endtest] |
|
460 |
|
461 // MOD_0003_007_2_NokiaTSY_[XML Resuming a call] |
|
462 // |
|
463 // Precondition: |
|
464 // - n/a |
|
465 // |
|
466 // Script description: |
|
467 // - Parameters for the case: |
|
468 // 1. 1=CallID |
|
469 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
470 // 3. 0=EMonitorSpeakerVolumeOff |
|
471 // 4. 1=0x01(interval) |
|
472 // 5. 0=EDialToneWait |
|
473 // 6. 0=EIdRestrictDefault |
|
474 // 7. 1=true(ExplicitInvoke) |
|
475 // 8. 0000=0x0000(CugIndex) |
|
476 // 9. 0=false(SuppressOA) |
|
477 // 10. 1=true(SuppressPrefCug) |
|
478 // 11. 1=true(AutoRedial) |
|
479 // 12. 0501122334=TelNum |
|
480 // |
|
481 [Test] |
|
482 title MOD_0003_007_2_NokiaTSY_[XML Resuming a call] |
|
483 create NTT_Voice test |
|
484 |
|
485 test HandleSpecifiedRequests YES |
|
486 test InitializeIPCRequestTable |
|
487 |
|
488 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
489 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
490 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
491 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
492 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //hold |
|
493 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
494 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
495 |
|
496 test RunIscTestCase 120 |
|
497 test SyncIscTestCase |
|
498 |
|
499 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 +358504804405 |
|
500 |
|
501 //EMobileCallNotifyMobileCallStatusChange //create |
|
502 allownextresult 0 |
|
503 waittestclass test |
|
504 |
|
505 //EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
506 allownextresult 0 |
|
507 waittestclass test |
|
508 |
|
509 //ECustomGetRemoteAlertingToneStatusIPC |
|
510 allownextresult 0 |
|
511 waittestclass test |
|
512 |
|
513 //EMobileCallNotifyMobileCallStatusChange //active |
|
514 allownextresult 0 |
|
515 waittestclass test |
|
516 |
|
517 test TestHoldCall 1 //callId |
|
518 |
|
519 //EMobileCallNotifyMobileCallStatusChange //hold |
|
520 allownextresult 0 |
|
521 waittestclass test |
|
522 |
|
523 test TestResumeCall 1 //callId |
|
524 |
|
525 //ECustomGetRemoteAlertingToneStatusIPC |
|
526 allownextresult 0 |
|
527 waittestclass test |
|
528 |
|
529 //EMobileCallNotifyMobileCallStatusChange //active |
|
530 allownextresult 0 |
|
531 waittestclass test |
|
532 |
|
533 test CallHangUp 1 //CallId |
|
534 |
|
535 test HandleSpecifiedRequests NO |
|
536 |
|
537 delete test |
|
538 [Endtest] |
|
539 |
|
540 |
|
541 // MOD_0003_008_2_NokiaTSY_[XML Swapping active and held voice calls] |
|
542 // |
|
543 // Precondition: |
|
544 // - n/a |
|
545 // |
|
546 // Script description: |
|
547 // - Parameters for the case: |
|
548 // 1. 1=CallID |
|
549 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
550 // 3. 0=EMonitorSpeakerVolumeOff |
|
551 // 4. 1=0x01(interval) |
|
552 // 5. 0=EDialToneWait |
|
553 // 6. 0=EIdRestrictDefault |
|
554 // 7. 1=true(ExplicitInvoke) |
|
555 // 8. 0000=0x0000(CugIndex) |
|
556 // 9. 0=false(SuppressOA) |
|
557 // 10. 1=true(SuppressPrefCug) |
|
558 // 11. 1=true(AutoRedial) |
|
559 // 12. 0501122334=TelNum |
|
560 // |
|
561 [Test] |
|
562 title MOD_0003_008_2_NokiaTSY_[XML Swapping active and held voice calls] |
|
563 create NTT_Voice test |
|
564 |
|
565 test HandleSpecifiedRequests YES |
|
566 test InitializeIPCRequestTable |
|
567 |
|
568 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
569 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
570 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
571 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
572 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //hold |
|
573 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
574 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
575 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
576 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
577 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //hold |
|
578 |
|
579 test RunIscTestCase 121 |
|
580 test SyncIscTestCase |
|
581 |
|
582 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0504804405 |
|
583 |
|
584 //EMobileCallNotifyMobileCallStatusChange //create |
|
585 allownextresult 0 |
|
586 waittestclass test |
|
587 |
|
588 //EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
589 allownextresult 0 |
|
590 waittestclass test |
|
591 |
|
592 //ECustomGetRemoteAlertingToneStatusIPC |
|
593 allownextresult 0 |
|
594 waittestclass test |
|
595 |
|
596 //EMobileCallNotifyMobileCallStatusChange //active |
|
597 allownextresult 0 |
|
598 waittestclass test |
|
599 |
|
600 test TestHoldCall 1 //callId |
|
601 |
|
602 //EMobileCallNotifyMobileCallStatusChange //hold |
|
603 allownextresult 0 |
|
604 waittestclass test |
|
605 |
|
606 test CallDial 2 0 0 1 0 0 1 0000 0 1 1 04544186407 |
|
607 |
|
608 //EMobileCallNotifyMobileCallStatusChange //create |
|
609 allownextresult 0 |
|
610 waittestclass test |
|
611 |
|
612 //EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
613 allownextresult 0 |
|
614 waittestclass test |
|
615 |
|
616 //ECustomGetRemoteAlertingToneStatusIPC |
|
617 allownextresult 0 |
|
618 waittestclass test |
|
619 |
|
620 //EMobileCallNotifyMobileCallStatusChange //active |
|
621 allownextresult 0 |
|
622 waittestclass test |
|
623 |
|
624 test TestSwapCalls 1 //callId |
|
625 |
|
626 //EMobileCallNotifyMobileCallStatusChange //hold |
|
627 allownextresult 0 |
|
628 waittestclass test |
|
629 |
|
630 test CallHangUp 1 //CallId |
|
631 test CallHangUp 2 //CallId |
|
632 |
|
633 test HandleSpecifiedRequests NO |
|
634 |
|
635 delete test |
|
636 [Endtest] |
|
637 |
|
638 |
|
639 // MOD_0003_009_2_NokiaTSY_[XML Call Transfering] |
|
640 // |
|
641 // Precondition: |
|
642 // - n/a |
|
643 // |
|
644 // Script description: |
|
645 // - Parameters for the case: |
|
646 // 1. 1=CallID |
|
647 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
648 // 3. 0=EMonitorSpeakerVolumeOff |
|
649 // 4. 1=0x01(interval) |
|
650 // 5. 0=EDialToneWait |
|
651 // 6. 0=EIdRestrictDefault |
|
652 // 7. 1=true(ExplicitInvoke) |
|
653 // 8. 0000=0x0000(CugIndex) |
|
654 // 9. 0=false(SuppressOA) |
|
655 // 10. 1=true(SuppressPrefCug) |
|
656 // 11. 1=true(AutoRedial) |
|
657 // 12. 0501122334=TelNum |
|
658 // |
|
659 // Also supply a second phone number for call 2 |
|
660 // |
|
661 [Test] |
|
662 title MOD_0003_009_2_NokiaTSY_[XML Call Transfering] |
|
663 create NTT_Voice test |
|
664 |
|
665 test HandleSpecifiedRequests YES |
|
666 test InitializeIPCRequestTable |
|
667 |
|
668 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
669 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
670 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
671 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
672 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //hold |
|
673 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
674 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
675 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
676 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
677 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
678 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mt release |
|
679 |
|
680 test RunIscTestCase 122 |
|
681 test SyncIscTestCase |
|
682 |
|
683 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0504804405 |
|
684 |
|
685 //EMobileCallNotifyMobileCallStatusChange //create |
|
686 allownextresult 0 |
|
687 waittestclass test |
|
688 |
|
689 //EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
690 allownextresult 0 |
|
691 waittestclass test |
|
692 |
|
693 //ECustomGetRemoteAlertingToneStatusIPC |
|
694 allownextresult 0 |
|
695 waittestclass test |
|
696 |
|
697 //EMobileCallNotifyMobileCallStatusChange //active |
|
698 allownextresult 0 |
|
699 waittestclass test |
|
700 |
|
701 test TestHoldCall 1 //callId |
|
702 |
|
703 //EMobileCallNotifyMobileCallStatusChange //hold |
|
704 allownextresult 0 |
|
705 waittestclass test |
|
706 |
|
707 test CallDial 2 0 0 1 0 0 1 0000 0 1 1 04544186407 |
|
708 |
|
709 //EMobileCallNotifyMobileCallStatusChange //create |
|
710 allownextresult 0 |
|
711 waittestclass test |
|
712 |
|
713 //EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
714 allownextresult 0 |
|
715 waittestclass test |
|
716 |
|
717 //ECustomGetRemoteAlertingToneStatusIPC |
|
718 allownextresult 0 |
|
719 waittestclass test |
|
720 |
|
721 //EMobileCallNotifyMobileCallStatusChange //active |
|
722 allownextresult 0 |
|
723 waittestclass test |
|
724 |
|
725 test TestCallTransfer 1 //callId |
|
726 |
|
727 //ECustomGetRemoteAlertingToneStatusIPC |
|
728 allownextresult 0 |
|
729 waittestclass test |
|
730 |
|
731 //EMobileCallNotifyMobileCallStatusChange //mt release |
|
732 allownextresult -280887298 |
|
733 waittestclass test |
|
734 |
|
735 test HandleSpecifiedRequests NO |
|
736 |
|
737 delete test |
|
738 [Endtest] |
|
739 |
|
740 |
|
741 // MOD_0003_010_2_NokiaTSY_[XML Blacklist clearing] |
|
742 // |
|
743 // Precondition: |
|
744 // - n/a |
|
745 // |
|
746 // Script description: |
|
747 // - Parameters for the case: |
|
748 // 1. 1=CallID |
|
749 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
750 // 3. 0=EMonitorSpeakerVolumeOff |
|
751 // 4. 1=0x01(interval) |
|
752 // 5. 0=EDialToneWait |
|
753 // 6. 0=EIdRestrictDefault |
|
754 // 7. 1=true(ExplicitInvoke) |
|
755 // 8. 0000=0x0000(CugIndex) |
|
756 // 9. 0=false(SuppressOA) |
|
757 // 10. 1=true(SuppressPrefCug) |
|
758 // 11. 1=true(AutoRedial) |
|
759 // 12. 0501122334=TelNum |
|
760 // |
|
761 [Test] |
|
762 title MOD_0003_010_2_NokiaTSY_[XML Blacklist clearing] |
|
763 create NTT_Voice test |
|
764 |
|
765 test HandleSpecifiedRequests YES |
|
766 test InitializeIPCRequestTable |
|
767 |
|
768 test SetExpectedCompleteIPC ECustomClearCallBlackListIPC |
|
769 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
770 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
771 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
772 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
773 |
|
774 test RunIscTestCase 123 |
|
775 test SyncIscTestCase |
|
776 |
|
777 test ClearBlacklist |
|
778 |
|
779 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0504804405 |
|
780 |
|
781 //ECustomClearCallBlackListIPC |
|
782 allownextresult 0 |
|
783 waittestclass test |
|
784 |
|
785 //EMobileCallNotifyMobileCallStatusChange //create |
|
786 allownextresult 0 |
|
787 waittestclass test |
|
788 |
|
789 //EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
790 allownextresult 0 |
|
791 waittestclass test |
|
792 |
|
793 //ECustomGetRemoteAlertingToneStatusIPC |
|
794 allownextresult 0 |
|
795 waittestclass test |
|
796 |
|
797 //EMobileCallNotifyMobileCallStatusChange //active |
|
798 allownextresult 0 |
|
799 waittestclass test |
|
800 |
|
801 test CallHangUp 1 //CallId |
|
802 |
|
803 test HandleSpecifiedRequests NO |
|
804 |
|
805 delete test |
|
806 [Endtest] |
|
807 |
|
808 |
|
809 // MOD_0003_011_2_NokiaTSY_[XML Verify Remote Alerting Tone Status Change, Call goes active] |
|
810 // |
|
811 // Precondition: |
|
812 // - 2 Phones needed |
|
813 // |
|
814 // Script description: |
|
815 // - VerifyRemoteAlertingToneStatus |
|
816 // Params: |
|
817 // Additional condition to verify |
|
818 // Connecting |
|
819 // None |
|
820 // LocalTone |
|
821 // RemoteTone |
|
822 // |
|
823 // - CallHangUp |
|
824 // Params: |
|
825 // call id |
|
826 // |
|
827 // |
|
828 [Test] |
|
829 title MOD_0003_011_2_NokiaTSY_[XML Verify Remote Alerting Tone Status Change, Call goes active] |
|
830 create NTT_Voice test |
|
831 |
|
832 test HandleSpecifiedRequests YES |
|
833 test InitializeIPCRequestTable |
|
834 |
|
835 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange // create |
|
836 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
837 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange // mo alerting |
|
838 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
839 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange // active |
|
840 test SetExpectedCompleteIPC ECustomTerminateCallIPC |
|
841 |
|
842 test RunIscTestCase 112 |
|
843 test SyncIscTestCase |
|
844 |
|
845 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0101111111 |
|
846 |
|
847 test VerifyRemoteAlertingToneStatus Connecting |
|
848 |
|
849 // EMobileCallNotifyMobileCallStatusChange / create |
|
850 allownextresult 0 |
|
851 waittestclass test |
|
852 |
|
853 // ECustomGetRemoteAlertingToneStatusIPC |
|
854 allownextresult 0 |
|
855 waittestclass test |
|
856 |
|
857 test VerifyRemoteAlertingToneStatus None |
|
858 |
|
859 // wait for ISC testcase completion signal |
|
860 allownextresult 1 |
|
861 waittestclass test |
|
862 |
|
863 test RunIscTestCase 113 |
|
864 test SyncIscTestCase |
|
865 |
|
866 // EMobileCallNotifyMobileCallStatusChange / mo alerting |
|
867 allownextresult 0 |
|
868 waittestclass test |
|
869 |
|
870 // ECustomGetRemoteAlertingToneStatusIPC |
|
871 allownextresult 0 |
|
872 waittestclass test |
|
873 |
|
874 // EMobileCallNotifyMobileCallStatusChange / active |
|
875 allownextresult 0 |
|
876 waittestclass test |
|
877 |
|
878 test CallHangUp 1 //CallId |
|
879 |
|
880 // ECustomTerminateCallIPC |
|
881 allownextresult -8071 //KErrGsmReleaseByUser |
|
882 waittestclass test |
|
883 |
|
884 test HandleSpecifiedRequests NO |
|
885 |
|
886 delete test |
|
887 |
|
888 [Endtest] |
|
889 |
|
890 |
|
891 // MOD_0003_012_2_NokiaTSY_[XML Emergency Call, no other calls] |
|
892 // |
|
893 // Precondition: |
|
894 // - NCP_COMMON_HSDPA_EMERGCALL_WORKAROUND defined |
|
895 // - XML case |
|
896 // - Make sure that phone is not attached |
|
897 // because otherwise emergency call may be actually made |
|
898 // |
|
899 // Script description: |
|
900 // - DialEmergencyCall |
|
901 // - Contexts are cleared by sending GPDS_CONTEXTS_CLEAR_REQ |
|
902 // Params: |
|
903 // Destination_address |
|
904 // |
|
905 [Test] |
|
906 title MOD_0003_012_2_NokiaTSY_[XML Emergency Call, no other calls] |
|
907 create NTT_Voice test |
|
908 |
|
909 test HandleSpecifiedRequests YES |
|
910 test InitializeIPCRequestTable |
|
911 |
|
912 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
913 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
914 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
915 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
916 |
|
917 test RunIscTestCase 101 |
|
918 test SyncIscTestCase |
|
919 |
|
920 //emergency number |
|
921 test DialEmergencyCall 112 |
|
922 |
|
923 //EMobileCallNotifyMobileCallStatusChange |
|
924 allownextresult 0 |
|
925 waittestclass test |
|
926 |
|
927 //EMobileCallNotifyMobileCallStatusChange |
|
928 allownextresult 0 |
|
929 waittestclass test |
|
930 |
|
931 //ECustomGetRemoteAlertingToneStatusIPC |
|
932 allownextresult 0 |
|
933 waittestclass test |
|
934 |
|
935 //EMobileCallNotifyMobileCallStatusChange |
|
936 allownextresult 0 |
|
937 waittestclass test |
|
938 |
|
939 test HandleSpecifiedRequests NO |
|
940 |
|
941 delete test |
|
942 [Endtest] |
|
943 |
|
944 |
|
945 // MOD_0003_013_2_NokiaTSY_[XML Emergency Call, other calls] |
|
946 // |
|
947 // Precondition: |
|
948 // - NCP_COMMON_HSDPA_EMERGCALL_WORKAROUND defined |
|
949 // - XML case |
|
950 // - Make sure that phone is not attached |
|
951 // because otherwise emergency call may be actually made |
|
952 // |
|
953 // Script description: |
|
954 // - DialEmergencyCall |
|
955 // - Contexts are cleared by sending GPDS_CONTEXTS_CLEAR_REQ |
|
956 // - Indications of termination of the other calls are received |
|
957 // |
|
958 // Params: |
|
959 // Destination_address |
|
960 // |
|
961 [Test] |
|
962 title MOD_0003_013_2_NokiaTSY_[XML Emergency Call, other calls] |
|
963 create NTT_Voice test |
|
964 |
|
965 test HandleSpecifiedRequests YES |
|
966 test InitializeIPCRequestTable |
|
967 |
|
968 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
969 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
970 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
971 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
972 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
973 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
974 |
|
975 test RunIscTestCase 102 |
|
976 test SyncIscTestCase |
|
977 |
|
978 //emergency number |
|
979 test DialEmergencyCall 112 |
|
980 |
|
981 //EMobileCallNotifyMobileCallStatusChange |
|
982 allownextresult 0 |
|
983 waittestclass test |
|
984 |
|
985 //EMobileCallNotifyMobileCallStatusChange |
|
986 allownextresult 0 |
|
987 waittestclass test |
|
988 |
|
989 //EMobileCallNotifyMobileCallStatusChange |
|
990 allownextresult 0 |
|
991 waittestclass test |
|
992 |
|
993 //EMobileCallNotifyMobileCallStatusChange |
|
994 allownextresult 0 |
|
995 waittestclass test |
|
996 |
|
997 //ECustomGetRemoteAlertingToneStatusIPC |
|
998 allownextresult 0 |
|
999 waittestclass test |
|
1000 |
|
1001 //EMobileCallNotifyMobileCallStatusChange |
|
1002 allownextresult 0 |
|
1003 waittestclass test |
|
1004 |
|
1005 test HandleSpecifiedRequests NO |
|
1006 |
|
1007 delete test |
|
1008 [Endtest] |
|
1009 |
|
1010 |
|
1011 // MOD_0003_014_2_NokiaTSY_[XML Emergency Call, no other calls, timeout when waiting for GPDS_CONTEXTS_CLEAR_RESP] |
|
1012 // |
|
1013 // Precondition: |
|
1014 // - NCP_COMMON_HSDPA_EMERGCALL_WORKAROUND defined |
|
1015 // - XML case |
|
1016 // - Make sure that phone is not attached |
|
1017 // because otherwise emergency call may be actually made |
|
1018 // |
|
1019 // Script description: |
|
1020 // - DialEmergencyCall. |
|
1021 // - Contexts are cleared by sending GPDS_CONTEXTS_CLEAR_REQ, answer message |
|
1022 // GPDS_CONTEXTS_CLEAR_RESP is late and timer elapses in Nokia TSY |
|
1023 // - Emergency call is established succesfully. |
|
1024 // |
|
1025 // Params: |
|
1026 // Destination_address |
|
1027 // |
|
1028 [Test] |
|
1029 title MOD_0003_014_2_NokiaTSY_[XML Emergency Call, no other calls, timeout when waiting for GPDS_CONTEXTS_CLEAR_RESP] |
|
1030 create NTT_Voice test |
|
1031 |
|
1032 test HandleSpecifiedRequests YES |
|
1033 test InitializeIPCRequestTable |
|
1034 |
|
1035 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
1036 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
1037 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
1038 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
1039 |
|
1040 test RunIscTestCase 103 |
|
1041 test SyncIscTestCase |
|
1042 |
|
1043 //emergency number |
|
1044 test DialEmergencyCall 112 |
|
1045 |
|
1046 // Test control is now waiting for CALL_MODEM_CREATE_REQ which will be issued |
|
1047 // after timer expires |
|
1048 |
|
1049 // Establish emergency call normally |
|
1050 |
|
1051 // EMobileCallNotifyMobileCallStatusChange |
|
1052 allownextresult 0 |
|
1053 waittestclass test |
|
1054 |
|
1055 // EMobileCallNotifyMobileCallStatusChange |
|
1056 allownextresult 0 |
|
1057 waittestclass test |
|
1058 |
|
1059 // ECustomGetRemoteAlertingToneStatusIPC |
|
1060 allownextresult 0 |
|
1061 waittestclass test |
|
1062 |
|
1063 // EMobileCallNotifyMobileCallStatusChange |
|
1064 allownextresult 0 |
|
1065 waittestclass test |
|
1066 |
|
1067 test HandleSpecifiedRequests NO |
|
1068 |
|
1069 delete test |
|
1070 [Endtest] |
|
1071 |
|
1072 |
|
1073 // MOD_0003_015_2_NokiaTSY_[XML Emergency Call, no other calls, HSDPA Disabled In Product Profile] |
|
1074 // |
|
1075 // Precondition: |
|
1076 // - XML case |
|
1077 // - Make sure that phone is not attached |
|
1078 // because otherwise emergency call may be actually made |
|
1079 // |
|
1080 // Script description: |
|
1081 // - HSDPA is disabled in the product profile. That information is taken from the response |
|
1082 // INFO_PP_DATA_READ_RESP (request has been sent in CMmCallMessHandler::ConstructL()) |
|
1083 // - DialEmergencyCall |
|
1084 // - Context |
|
1085 // |
|
1086 // Params: |
|
1087 // Destination_address |
|
1088 // |
|
1089 [Test] |
|
1090 title MOD_0003_015_2_NokiaTSY_[XML Emergency Call, no other calls, HSDPA Disabled In Product Profile] |
|
1091 create NTT_Voice test |
|
1092 |
|
1093 test HandleSpecifiedRequests YES |
|
1094 test InitializeIPCRequestTable |
|
1095 |
|
1096 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
1097 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
1098 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
1099 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
1100 |
|
1101 // INFO_PP_DATA_READ_REQ / INFO_PP_DATA_READ_RESP |
|
1102 // INFO_PP_DATA_READ_REQ is intercepted from boot. |
|
1103 test RunIscTestCaseStartNTSYAfterTestToolStart 104 |
|
1104 test SyncIscTestCaseStartNTSYAfterTestToolStart |
|
1105 |
|
1106 // wait for ISC testcase completion signal |
|
1107 allownextresult 1 |
|
1108 waittestclass test |
|
1109 |
|
1110 test RunIscTestCase 105 |
|
1111 test SyncIscTestCase |
|
1112 |
|
1113 //emergency number |
|
1114 test DialEmergencyCall 112 |
|
1115 |
|
1116 // EMobileCallNotifyMobileCallStatusChange |
|
1117 allownextresult 0 |
|
1118 waittestclass test |
|
1119 |
|
1120 // EMobileCallNotifyMobileCallStatusChange |
|
1121 allownextresult 0 |
|
1122 waittestclass test |
|
1123 |
|
1124 // ECustomGetRemoteAlertingToneStatusIPC |
|
1125 allownextresult 0 |
|
1126 waittestclass test |
|
1127 |
|
1128 // EMobileCallNotifyMobileCallStatusChange |
|
1129 allownextresult 0 |
|
1130 waittestclass test |
|
1131 |
|
1132 test HandleSpecifiedRequests NO |
|
1133 |
|
1134 delete test |
|
1135 [Endtest] |
|
1136 |
|
1137 // MOD_0003_016_2_NokiaTSY_[XML Emergency Call, other calls, incoming call and termination of it] |
|
1138 // |
|
1139 // Precondition: |
|
1140 // - NCP_COMMON_HSDPA_EMERGCALL_WORKAROUND defined |
|
1141 // - XML case |
|
1142 // - Make sure that phone is not attached |
|
1143 // because otherwise emergency call may be actually made |
|
1144 // |
|
1145 // Script description: |
|
1146 // - DialEmergencyCall |
|
1147 // - Contexts are cleared by sending GPDS_CONTEXTS_CLEAR_REQ |
|
1148 // - Indications of termination of the other calls are received |
|
1149 // |
|
1150 // Params: |
|
1151 // Destination_address |
|
1152 // |
|
1153 [Test] |
|
1154 title MOD_0003_016_2_NokiaTSY_[XML Emergency Call, other calls, incoming call and termination of it] |
|
1155 create NTT_Voice test |
|
1156 |
|
1157 test HandleSpecifiedRequests YES |
|
1158 test InitializeIPCRequestTable |
|
1159 |
|
1160 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
1161 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
1162 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
1163 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC MUST_BE_NEXT_IPC // This IPC MUST be this in this case. |
|
1164 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
1165 |
|
1166 test RunIscTestCase 106 |
|
1167 test SyncIscTestCase |
|
1168 |
|
1169 //emergency number |
|
1170 test DialEmergencyCall 112 |
|
1171 |
|
1172 //EMobileCallNotifyMobileCallStatusChange |
|
1173 allownextresult 0 |
|
1174 waittestclass test |
|
1175 |
|
1176 //EMobileCallNotifyMobileCallStatusChange |
|
1177 allownextresult 0 |
|
1178 waittestclass test |
|
1179 |
|
1180 //EMobileCallNotifyMobileCallStatusChange |
|
1181 allownextresult 0 |
|
1182 waittestclass test |
|
1183 |
|
1184 //ECustomGetRemoteAlertingToneStatusIPC |
|
1185 allownextresult 0 |
|
1186 waittestclass test |
|
1187 |
|
1188 //EMobileCallNotifyMobileCallStatusChange |
|
1189 allownextresult 0 |
|
1190 waittestclass test |
|
1191 |
|
1192 test HandleSpecifiedRequests NO |
|
1193 |
|
1194 delete test |
|
1195 [Endtest] |
|
1196 |
|
1197 // MOD_0003_017_2_NokiaTSY_[XML MO call - with Local Ring Back Tone and Call Ring Tone, case1] |
|
1198 // |
|
1199 // Precondition: |
|
1200 // - n/a |
|
1201 // |
|
1202 // Script description: |
|
1203 // - VerifyRemoteAlertingToneStatus |
|
1204 // Params: |
|
1205 // Additional condition to verify |
|
1206 // Connecting |
|
1207 // None |
|
1208 // LocalTone |
|
1209 // RemoteTone |
|
1210 // |
|
1211 // - CallDial |
|
1212 // Parameters for the case: |
|
1213 // 1. 1=CallID |
|
1214 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
1215 // 3. 0=EMonitorSpeakerVolumeOff |
|
1216 // 4. 1=0x01(interval) |
|
1217 // 5. 0=EDialToneWait |
|
1218 // 6. 0=EIdRestrictDefault |
|
1219 // 7. 1=true(ExplicitInvoke) |
|
1220 // 8. 0000=0x0000(CugIndex) |
|
1221 // 9. 0=false(SuppressOA) |
|
1222 // 10. 1=true(SuppressPrefCug) |
|
1223 // 11. 1=true(AutoRedial) |
|
1224 // 12. 0101111111=TelNum |
|
1225 // |
|
1226 [Test] |
|
1227 title MOD_0003_017_2_NokiaTSY_[XML MO call - with Local Ring Back Tone and Call Ring Tone, case1] |
|
1228 create NTT_Voice test |
|
1229 |
|
1230 test HandleSpecifiedRequests YES |
|
1231 test InitializeIPCRequestTable |
|
1232 |
|
1233 //CALL_STATUS_IND |
|
1234 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //call_status_create |
|
1235 //CALL_MO_ALERT_IND |
|
1236 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC //remote alerting tone locally |
|
1237 //CALL_STATUS_IND |
|
1238 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //call_status_mo_alerting |
|
1239 //CALL_GSM_NOTIFICATION_IND |
|
1240 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC //remote alerting tone network |
|
1241 //CALL_STATUS_IND |
|
1242 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
1243 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //call_status_active |
|
1244 //CALL_STATUS_IND |
|
1245 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
1246 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //call_status_mo_release |
|
1247 |
|
1248 test RunIscTestCase 130 |
|
1249 test SyncIscTestCase |
|
1250 |
|
1251 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0101111111 |
|
1252 |
|
1253 test VerifyRemoteAlertingToneStatus LocalTone |
|
1254 |
|
1255 //EMobileCallNotifyMobileCallStatusChange //call_status_create |
|
1256 allownextresult 0 |
|
1257 waittestclass test |
|
1258 |
|
1259 //ECustomGetRemoteAlertingToneStatusIPC //remote alerting tone locally |
|
1260 allownextresult 0 |
|
1261 waittestclass test |
|
1262 |
|
1263 test VerifyRemoteAlertingToneStatus RemoteTone |
|
1264 |
|
1265 // Synchronize test case |
|
1266 test SyncIscTestCase |
|
1267 |
|
1268 //EMobileCallNotifyMobileCallStatusChange //call_status_mo_alerting |
|
1269 allownextresult 0 |
|
1270 waittestclass test |
|
1271 |
|
1272 //ECustomGetRemoteAlertingToneStatusIPC //remote alerting tone network |
|
1273 allownextresult 0 |
|
1274 waittestclass test |
|
1275 |
|
1276 test VerifyRemoteAlertingToneStatus None |
|
1277 |
|
1278 // Synchronize test case |
|
1279 test SyncIscTestCase |
|
1280 |
|
1281 //ECustomGetRemoteAlertingToneStatusIPC |
|
1282 allownextresult 0 |
|
1283 waittestclass test |
|
1284 |
|
1285 //EMobileCallNotifyMobileCallStatusChange //call_status_active |
|
1286 allownextresult 0 |
|
1287 waittestclass test |
|
1288 |
|
1289 test CallHangUp 1 //CallId |
|
1290 |
|
1291 //ECustomGetRemoteAlertingToneStatusIPC |
|
1292 allownextresult 0 |
|
1293 waittestclass test |
|
1294 |
|
1295 //EMobileCallNotifyMobileCallStatusChange //call_status_mo_release |
|
1296 allownextresult -8071 //KErrGsmReleaseByUser |
|
1297 waittestclass test |
|
1298 |
|
1299 test HandleSpecifiedRequests NO |
|
1300 |
|
1301 delete test |
|
1302 [Endtest] |
|
1303 |
|
1304 |
|
1305 // MOD_0003_018_2_NokiaTSY_[XML MO call - with Local Ring Back Tone and Call Ring Tone, case2] |
|
1306 // |
|
1307 // Precondition: |
|
1308 // - n/a |
|
1309 // |
|
1310 // Script description: |
|
1311 // - VerifyRemoteAlertingToneStatus |
|
1312 // Params: |
|
1313 // Additional condition to verify |
|
1314 // Connecting |
|
1315 // None |
|
1316 // LocalTone |
|
1317 // RemoteTone |
|
1318 // |
|
1319 // - CallDial |
|
1320 // Parameters for the case: |
|
1321 // 1. 1=CallID |
|
1322 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
1323 // 3. 0=EMonitorSpeakerVolumeOff |
|
1324 // 4. 1=0x01(interval) |
|
1325 // 5. 0=EDialToneWait |
|
1326 // 6. 0=EIdRestrictDefault |
|
1327 // 7. 1=true(ExplicitInvoke) |
|
1328 // 8. 0000=0x0000(CugIndex) |
|
1329 // 9. 0=false(SuppressOA) |
|
1330 // 10. 1=true(SuppressPrefCug) |
|
1331 // 11. 1=true(AutoRedial) |
|
1332 // 12. 0101111111=TelNum |
|
1333 // |
|
1334 [Test] |
|
1335 title MOD_0003_018_2_NokiaTSY_[XML MO call - with Local Ring Back Tone and Call Ring Tone, case2] |
|
1336 create NTT_Voice test |
|
1337 |
|
1338 test HandleSpecifiedRequests YES |
|
1339 test InitializeIPCRequestTable |
|
1340 |
|
1341 //CALL_STATUS_IND |
|
1342 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //call_status_create |
|
1343 //CALL_MO_ALERT_IND |
|
1344 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC //remote alerting tone network |
|
1345 //CALL_STATUS_IND |
|
1346 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //call_status_mo_alerting |
|
1347 //CALL_GSM_NOTIFICATION_IND |
|
1348 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC //remote alerting tone locally |
|
1349 //CALL_STATUS_IND |
|
1350 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
1351 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //call_status_active |
|
1352 //CALL_STATUS_IND |
|
1353 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
1354 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //call_status_mo_release |
|
1355 |
|
1356 test RunIscTestCase 131 |
|
1357 test SyncIscTestCase |
|
1358 |
|
1359 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0101111111 |
|
1360 |
|
1361 test VerifyRemoteAlertingToneStatus RemoteTone |
|
1362 |
|
1363 //EMobileCallNotifyMobileCallStatusChange //call_status_create |
|
1364 allownextresult 0 |
|
1365 waittestclass test |
|
1366 |
|
1367 //ECustomGetRemoteAlertingToneStatusIPC //remote alerting tone network |
|
1368 allownextresult 0 |
|
1369 waittestclass test |
|
1370 |
|
1371 test VerifyRemoteAlertingToneStatus LocalTone |
|
1372 |
|
1373 // Synchronize test case |
|
1374 test SyncIscTestCase |
|
1375 |
|
1376 //EMobileCallNotifyMobileCallStatusChange //call_status_mo_alerting |
|
1377 allownextresult 0 |
|
1378 waittestclass test |
|
1379 |
|
1380 //ECustomGetRemoteAlertingToneStatusIPC //remote alerting tone locally |
|
1381 allownextresult 0 |
|
1382 waittestclass test |
|
1383 |
|
1384 test VerifyRemoteAlertingToneStatus None |
|
1385 |
|
1386 // Synchronize test case |
|
1387 test SyncIscTestCase |
|
1388 |
|
1389 //ECustomGetRemoteAlertingToneStatusIPC |
|
1390 allownextresult 0 |
|
1391 waittestclass test |
|
1392 |
|
1393 //EMobileCallNotifyMobileCallStatusChange //call_status_active |
|
1394 allownextresult 0 |
|
1395 waittestclass test |
|
1396 |
|
1397 test CallHangUp 1 //CallId |
|
1398 |
|
1399 //ECustomGetRemoteAlertingToneStatusIPC |
|
1400 allownextresult 0 |
|
1401 waittestclass test |
|
1402 |
|
1403 //EMobileCallNotifyMobileCallStatusChange //call_status_mo_release |
|
1404 allownextresult -8071 //KErrGsmReleaseByUser |
|
1405 waittestclass test |
|
1406 |
|
1407 test HandleSpecifiedRequests NO |
|
1408 |
|
1409 delete test |
|
1410 [Endtest] |
|
1411 |
|
1412 |
|
1413 // MOD_0003_030_2_NokiaTSY_[XML MO call with UUS] |
|
1414 // |
|
1415 // Precondition: |
|
1416 // - Pure XML case |
|
1417 // - Make sure that phone is not attached |
|
1418 // because otherwise call may be actually made |
|
1419 // |
|
1420 // Script description: |
|
1421 // - Test tries first to activate UUS with given data. If activation |
|
1422 // success, test calls to given number with given parameters. Call |
|
1423 // is simulated with XML. |
|
1424 // |
|
1425 // Params: |
|
1426 // ActivateUUS: 1 - UUS type - KUUS1Implicit, only supported |
|
1427 // ABCD - UUS data, this must be same than defined in XML |
|
1428 // CallDial: just same than in MOD_0003_001_NokiaTSY, don't change these. |
|
1429 // |
|
1430 [Test] |
|
1431 title MOD_0003_030_2_NokiaTSY_[XML MO call with UUS] |
|
1432 create NTT_Voice test |
|
1433 test HandleSpecifiedRequests YES |
|
1434 test InitializeIPCRequestTable |
|
1435 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
1436 |
|
1437 test RunIscTestCase 110 |
|
1438 test SyncIscTestCase |
|
1439 |
|
1440 test ActivateUUS 1 ABCD |
|
1441 |
|
1442 // DO NOT CHANGE following parameters |
|
1443 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0123456789 |
|
1444 |
|
1445 //EMobileCallNotifyMobileCallStatusChange |
|
1446 allownextresult 0 |
|
1447 waittestclass test |
|
1448 |
|
1449 test HandleSpecifiedRequests NO |
|
1450 |
|
1451 delete test |
|
1452 [Endtest] |
|
1453 |
|
1454 |
|
1455 // MOD_0003_031_2_NokiaTSY_[XML MT call with UUS] |
|
1456 // |
|
1457 // Precondition: |
|
1458 // - Pure XML case |
|
1459 // - Make sure that phone is not attached |
|
1460 // |
|
1461 // Script description: |
|
1462 // - Test simulates incoming (MT) call with UUS information. Call is simulated |
|
1463 // from CALL_STATUS_IDLE to CALL_STATUS_MT_ALERTING. After that call establishment |
|
1464 // continues just as without UUS information. |
|
1465 // |
|
1466 // Params: none |
|
1467 // |
|
1468 [Test] |
|
1469 title MOD_0003_031_2_NokiaTSY_[XML MT call with UUS] |
|
1470 create NTT_Voice test |
|
1471 |
|
1472 test HandleSpecifiedRequests YES |
|
1473 test InitializeIPCRequestTable |
|
1474 |
|
1475 test SetExpectedCompleteIPC EEtelLineNotifyIncomingCall |
|
1476 test SetExpectedCompleteIPC EMobileCallReceiveUUI |
|
1477 test SetExpectedCompleteIPC EMobileCallGetMobileCallInfo |
|
1478 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
1479 |
|
1480 test RunIscTestCase 111 |
|
1481 test SyncIscTestCase |
|
1482 |
|
1483 test IncomingCallWithUUS ABCD |
|
1484 |
|
1485 //EEtelLineNotifyIncomingCall |
|
1486 allownextresult 0 |
|
1487 waittestclass test |
|
1488 |
|
1489 // EMobileCallReceiveUUI |
|
1490 allownextresult 0 |
|
1491 waittestclass test |
|
1492 |
|
1493 // EMobileCallGetMobileCallInfo |
|
1494 allownextresult 0 |
|
1495 waittestclass test |
|
1496 |
|
1497 //EMobileCallNotifyMobileCallStatusChange |
|
1498 allownextresult 0 |
|
1499 waittestclass test |
|
1500 |
|
1501 test HandleSpecifiedRequests NO |
|
1502 |
|
1503 delete test |
|
1504 [Endtest] |
|
1505 |
|
1506 |
|
1507 // MOD_0003_032_2_NokiaTSY_[XML Call terminated, barred network (DSAC)] |
|
1508 // |
|
1509 // Precondition: |
|
1510 // - The feature under test (DCM DSAC) is flagged in NTSY, because it is supported only |
|
1511 // in cellmo version ICPR71. This test case cannot be run in MCL before DSAC support is |
|
1512 // added to current cellmo version and flagging is removed from NTSY codes. |
|
1513 // If this test case is needed to be run anyway, flagging |
|
1514 // 'NCP_COMMON_CELLMO_BRANCH_SUPPORT == NCP_COMMON_CELLMO_BRANCH_0711' must be removed from |
|
1515 // cmmcallmesshandler.cpp and DSAC definition must be added to callisi.h: |
|
1516 // #define CALL_DSAC_RESTRICTION_CS 0x01 |
|
1517 // #define CALL_DSAC_INFO 0x38 |
|
1518 // #define CALL_DSAC_INFO_OFFSET_SUBBLOCKID 0 //size 1 byte(s) |
|
1519 // #define CALL_DSAC_INFO_OFFSET_SUBBLOCKLEN 1 //size 1 byte(s) |
|
1520 // #define CALL_DSAC_INFO_OFFSET_DSACRESTR 2 //size 1 byte(s) |
|
1521 // #define CALL_DSAC_INFO_OFFSET_FILLERBYTE1 3 //size 1 byte(s) |
|
1522 // #define SIZE_CALL_DSAC_INFO 4 |
|
1523 // |
|
1524 // Script description: |
|
1525 // |
|
1526 // - This test case is created for SUB 417-1807: NokiaTSY: UI needed for DCM DSAC. |
|
1527 // Test case simulates the situation, where call is terminated |
|
1528 // because of barred CS network (Domain Specific Access Control) |
|
1529 // |
|
1530 [Test] |
|
1531 title MOD_0003_032_2_NokiaTSY_[XML Call terminated, barred network (DSAC)] |
|
1532 create NTT_Voice test |
|
1533 |
|
1534 test HandleSpecifiedRequests YES |
|
1535 test InitializeIPCRequestTable |
|
1536 |
|
1537 test SetExpectedCompleteIPC EMobileCallGetMobileCallInfo |
|
1538 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
1539 |
|
1540 // Set parameter check ON and test case number |
|
1541 test SetVoiceParameterCheck ON 32 |
|
1542 // Reference parameters to be checked: |
|
1543 // call ID, call mode ( 1 = voice ), call status ( 1 = idle ) |
|
1544 test SetVoiceReferenceParameters 0 1 1 |
|
1545 |
|
1546 test RunIscTestCase 231 |
|
1547 test SyncIscTestCase |
|
1548 |
|
1549 allownextresult 0 // KErrNone |
|
1550 waittestclass test |
|
1551 |
|
1552 allownextresult -542048258 // KErrGeneral/KErrGsmCSConnectionBarred |
|
1553 waittestclass test |
|
1554 |
|
1555 test HandleSpecifiedRequests NO |
|
1556 // Set parameter check OFF and test case number ( 0 = undefined ) |
|
1557 test SetVoiceParameterCheck OFF 0 |
|
1558 |
|
1559 delete test |
|
1560 [Endtest] |
|
1561 |
|
1562 |
|
1563 // MOD_0003_033_2_NokiaTSY_[XML Call not allowed because of FDN] |
|
1564 // |
|
1565 // Precondition: |
|
1566 // - N/A |
|
1567 // |
|
1568 // Script description: |
|
1569 // |
|
1570 // - This test case is created for TSW error KVAN-7L2DCY: |
|
1571 // Wrong error code in dial() when FDN is set on |
|
1572 // Test case simulates the situation, where call is created but |
|
1573 // it is not allowed because of active FDN |
|
1574 // |
|
1575 [Test] |
|
1576 title MOD_0003_033_2_NokiaTSY_[XML Call not allowed because of FDN] |
|
1577 create NTT_Voice test |
|
1578 |
|
1579 test HandleSpecifiedRequests YES |
|
1580 test InitializeIPCRequestTable |
|
1581 |
|
1582 test SetExpectedCompleteIPC EMobileCallGetMobileCallInfo |
|
1583 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange |
|
1584 |
|
1585 // Set parameter check ON and test case number |
|
1586 test SetVoiceParameterCheck ON 33 |
|
1587 // Reference parameters to be checked: |
|
1588 // call ID, call mode ( 1 = voice ), call status ( 1 = idle ) |
|
1589 test SetVoiceReferenceParameters 1 1 1 |
|
1590 |
|
1591 test RunIscTestCase 232 |
|
1592 test SyncIscTestCase |
|
1593 |
|
1594 test CallDial 0 0 0 1 0 0 1 0000 0 1 1 +3582722990 |
|
1595 |
|
1596 allownextresult 0 // KErrNone |
|
1597 waittestclass test |
|
1598 |
|
1599 allownextresult -528482325 // KErrAccessDenied/KErrGsmInvalidFdn |
|
1600 waittestclass test |
|
1601 |
|
1602 test HandleSpecifiedRequests NO |
|
1603 // Set parameter check OFF and test case number ( 0 = undefined ) |
|
1604 test SetVoiceParameterCheck OFF 0 |
|
1605 |
|
1606 delete test |
|
1607 [Endtest] |
|
1608 |
|
1609 // MOD_0003_040_2_NokiaTSY_[XML Call Life Timer query and update] |
|
1610 // |
|
1611 // Precondition: |
|
1612 // - N/A |
|
1613 // |
|
1614 // Script description: |
|
1615 // |
|
1616 // - Call timer is read from PMM during boot and read with ECustomGetLifeTimeIPC, |
|
1617 // updated with EIPCUpdateNewLifeTimerValue and read again. |
|
1618 // |
|
1619 // Reference:SUB 417-232 NokiaTSY: Changing the life timer functionality |
|
1620 // |
|
1621 |
|
1622 [Test] |
|
1623 title MOD_0003_040_2_NokiaTSY_[XML Call Life Timer query and update] |
|
1624 create NTT_Voice test |
|
1625 |
|
1626 test HandleSpecifiedRequests YES |
|
1627 test InitializeIPCRequestTable |
|
1628 |
|
1629 test SetExpectedCompleteIPC ECustomGetLifeTimeIPC |
|
1630 test SetExpectedCompleteIPC EMmTsyUpdateLifeTimeIPC |
|
1631 test SetExpectedCompleteIPC ECustomGetLifeTimeIPC |
|
1632 |
|
1633 test RunIscTestCaseStartNTSYAfterTestToolStart 233 |
|
1634 test SyncIscTestCaseStartNTSYAfterTestToolStart |
|
1635 |
|
1636 // wait for ISC testcase completion signal |
|
1637 allownextresult 1 |
|
1638 waittestclass test |
|
1639 |
|
1640 // The currect time got during boot from PMM is 23356 hours 14 minutes |
|
1641 test GetLifeTimer 23356 13 |
|
1642 |
|
1643 // ECustomGetLifeTimeIPC |
|
1644 allownextresult 0 |
|
1645 waittestclass test |
|
1646 |
|
1647 test RunIscTestCase 240 |
|
1648 test SyncIscTestCase |
|
1649 |
|
1650 // Update timer 25 seconds |
|
1651 test UpdateLifeTimer 25 |
|
1652 |
|
1653 // EMmTsyUpdateLifeTimeIPC |
|
1654 allownextresult 0 |
|
1655 waittestclass test |
|
1656 |
|
1657 test GetLifeTimer 23356 14 |
|
1658 |
|
1659 // ECustomGetLifeTimeIPC |
|
1660 allownextresult 0 |
|
1661 waittestclass test |
|
1662 |
|
1663 test HandleSpecifiedRequests NO |
|
1664 |
|
1665 delete test |
|
1666 |
|
1667 [Endtest] |
|
1668 |
|
1669 // MOD_0003_041_2_NokiaTSY_[XML Call Life Timer - Repeat read during boot - Try write - Try get timer value] |
|
1670 // |
|
1671 // Precondition: |
|
1672 // - N/A |
|
1673 // |
|
1674 // Script description: |
|
1675 // |
|
1676 // - Call timer is read from PMM during boot 3 times and reading is not |
|
1677 // successful. Then timer value is tried to be written and read. |
|
1678 // |
|
1679 // Reference:SUB 417-232 NokiaTSY: Changing the life timer functionality |
|
1680 // |
|
1681 // |
|
1682 [Test] |
|
1683 title MOD_0003_041_2_NokiaTSY_[XML Call Life Timer - Repeat read during boot - Try write - Try get timer value] |
|
1684 create NTT_Voice test |
|
1685 |
|
1686 test HandleSpecifiedRequests YES |
|
1687 test InitializeIPCRequestTable |
|
1688 |
|
1689 test SetExpectedCompleteIPC ECustomGetLifeTimeIPC |
|
1690 |
|
1691 test RunIscTestCaseStartNTSYAfterTestToolStart 234 |
|
1692 test SyncIscTestCaseStartNTSYAfterTestToolStart |
|
1693 |
|
1694 // wait for ISC testcase completion signal |
|
1695 allownextresult 1 |
|
1696 waittestclass test |
|
1697 |
|
1698 // Try to update timer 25 seconds |
|
1699 test UpdateLifeTimer 25 |
|
1700 |
|
1701 // EMmTsyUpdateLifeTimeIPC / KErrNotReady returned |
|
1702 allownextresult -18 |
|
1703 waittestclass test |
|
1704 |
|
1705 // No values given, because there is nothing to be read. |
|
1706 test GetLifeTimer |
|
1707 |
|
1708 // ECustomGetLifeTimeIPC / KErrNotReady returned |
|
1709 allownextresult -18 |
|
1710 waittestclass test |
|
1711 |
|
1712 test HandleSpecifiedRequests NO |
|
1713 |
|
1714 delete test |
|
1715 |
|
1716 [Endtest] |
|
1717 |
|
1718 // MOD_0003_042_2_NokiaTSY_[XML Call Life Timer - Error occurred during writing to PMM] |
|
1719 // |
|
1720 // Precondition: |
|
1721 // - N/A |
|
1722 // |
|
1723 // Script description: |
|
1724 // |
|
1725 // - Call timer has been read from PMM succesfully, but PMM Server indicates |
|
1726 // incorrect status when it sends response for write request. |
|
1727 // |
|
1728 // Reference:SUB 417-232 NokiaTSY: Changing the life timer functionality |
|
1729 // |
|
1730 // |
|
1731 [Test] |
|
1732 title MOD_0003_042_2_NokiaTSY_[XML Call Life Timer - Error occurred during writing to PMM] |
|
1733 create NTT_Voice test |
|
1734 |
|
1735 test HandleSpecifiedRequests YES |
|
1736 test InitializeIPCRequestTable |
|
1737 |
|
1738 test SetExpectedCompleteIPC EMmTsyUpdateLifeTimeIPC |
|
1739 |
|
1740 test RunIscTestCaseStartNTSYAfterTestToolStart 235 |
|
1741 test SyncIscTestCaseStartNTSYAfterTestToolStart |
|
1742 |
|
1743 // Pause is needed to receive 1st response (PMM Read Response, because it's |
|
1744 // request has been send during boot and that request is not able to be |
|
1745 // intercepted by isc test case. |
|
1746 pause 2000 |
|
1747 |
|
1748 // Try to update timer 25 seconds |
|
1749 test UpdateLifeTimer 25 |
|
1750 |
|
1751 // EMmTsyUpdateLifeTimeIPC / KErrNotReady returned |
|
1752 allownextresult -18 |
|
1753 waittestclass test |
|
1754 |
|
1755 test HandleSpecifiedRequests NO |
|
1756 |
|
1757 delete test |
|
1758 [Endtest] |
|
1759 |
|
1760 // MOD_0003_050_2_NokiaTSY_[XML MO call - Send DTMF string containing 'w' character] |
|
1761 // |
|
1762 // Precondition: |
|
1763 // - n/a |
|
1764 // |
|
1765 // Script description: |
|
1766 // - Parameters for the case: |
|
1767 // 1. 1=CallID |
|
1768 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
1769 // 3. 0=EMonitorSpeakerVolumeOff |
|
1770 // 4. 1=0x01(interval) |
|
1771 // 5. 0=EDialToneWait |
|
1772 // 6. 0=EIdRestrictDefault |
|
1773 // 7. 1=true(ExplicitInvoke) |
|
1774 // 8. 0000=0x0000(CugIndex) |
|
1775 // 9. 0=false(SuppressOA) |
|
1776 // 10. 1=true(SuppressPrefCug) |
|
1777 // 11. 1=true(AutoRedial) |
|
1778 // 12. 0501122334=TelNum |
|
1779 // |
|
1780 [Test] |
|
1781 title MOD_0003_050_2_NokiaTSY_[XML MO call - Send DTMF string containing 'w' character] |
|
1782 create NTT_Voice test |
|
1783 |
|
1784 test HandleSpecifiedRequests YES |
|
1785 test InitializeIPCRequestTable |
|
1786 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
1787 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
1788 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
1789 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
1790 test SetExpectedCompleteIPC EMobilePhoneNotifyDTMFEvent // active |
|
1791 test SetExpectedCompleteIPC EMobilePhoneNotifyStopInDTMFString |
|
1792 test SetExpectedCompleteIPC EMobilePhoneNotifyDTMFEvent // Idle |
|
1793 test SetExpectedCompleteIPC EMobilePhoneNotifyDTMFEvent // active |
|
1794 test SetExpectedCompleteIPC EMobilePhoneSendDTMFTones |
|
1795 test SetExpectedCompleteIPC EMobilePhoneNotifyDTMFEvent // idle |
|
1796 |
|
1797 test SetVoiceParameterCheck ON 50 |
|
1798 // Reference parameters to be checked: |
|
1799 // DTMF string after 'w' character |
|
1800 test SetVoiceReferenceParameters 21254 |
|
1801 |
|
1802 test RunIscTestCase 236 |
|
1803 test SyncIscTestCase |
|
1804 |
|
1805 test CallDial 1 0 0 1 0 0 1 0000 0 1 1 0504804405 |
|
1806 |
|
1807 //EMobileCallNotifyMobileCallStatusChange create |
|
1808 allownextresult 0 |
|
1809 waittestclass test |
|
1810 |
|
1811 //EMobileCallNotifyMobileCallStatusChange mo alerting |
|
1812 allownextresult 0 |
|
1813 waittestclass test |
|
1814 |
|
1815 //ECustomGetRemoteAlertingToneStatusIPC |
|
1816 allownextresult 0 |
|
1817 waittestclass test |
|
1818 |
|
1819 print Answer the call ---> |
|
1820 //EMobileCallNotifyMobileCallStatusChange active |
|
1821 allownextresult 0 |
|
1822 waittestclass test |
|
1823 |
|
1824 print Sending DTMF tones |
|
1825 test SendDTMFTones 1212w21254 |
|
1826 |
|
1827 print DTMF sending ongoing... |
|
1828 //EMobilePhoneNotifyDTMFEvent active |
|
1829 allownextresult 0 |
|
1830 waittestclass test |
|
1831 |
|
1832 //EMobilePhoneNotifyStopInDTMFString |
|
1833 allownextresult 0 |
|
1834 waittestclass test |
|
1835 |
|
1836 print DTMF sending stopped for 'w' character |
|
1837 //EMobilePhoneNotifyDTMFEvent idle |
|
1838 allownextresult 0 |
|
1839 waittestclass test |
|
1840 |
|
1841 print Sending DTMF tones after 'w' character |
|
1842 test ContinueSendDTMFTones 21254 |
|
1843 |
|
1844 print Continue DTMF sending... |
|
1845 //EMobilePhoneNotifyDTMFEvent active |
|
1846 allownextresult 0 |
|
1847 waittestclass test |
|
1848 |
|
1849 //EMobilePhoneSendDTMFTones |
|
1850 allownextresult 0 |
|
1851 waittestclass test |
|
1852 |
|
1853 print DTMF sending done |
|
1854 //EMobilePhoneNotifyDTMFEvent idle |
|
1855 allownextresult 0 |
|
1856 waittestclass test |
|
1857 |
|
1858 print HangUp ongoing call |
|
1859 test CallHangUp 1 //CallId |
|
1860 |
|
1861 test HandleSpecifiedRequests NO |
|
1862 test SetVoiceParameterCheck OFF 0 |
|
1863 delete test |
|
1864 [Endtest] |
|
1865 |
|
1866 // MOD_0003_060_2_NokiaTSY_[XML MO Video call connects - terminated by local user with valid values] |
|
1867 // |
|
1868 // Precondition: |
|
1869 // - n/a |
|
1870 // |
|
1871 // Script description: |
|
1872 // - Parameters for the case: |
|
1873 // 1. 1=CallID |
|
1874 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
1875 // 3. 0=EMonitorSpeakerVolumeOff |
|
1876 // 4. 1=0x01(interval) |
|
1877 // 5. 0=EDialToneWait |
|
1878 // 6. 0=EIdRestrictDefault |
|
1879 // 7. 1=true(ExplicitInvoke) |
|
1880 // 8. 0000=0x0000(CugIndex) |
|
1881 // 9. 0=false(SuppressOA) |
|
1882 // 10. 1=true(SuppressPrefCug) |
|
1883 // 11. 1=true(AutoRedial) |
|
1884 // 12. 0504804405=TelNum |
|
1885 // |
|
1886 [Test] |
|
1887 title MOD_0003_060_2_NokiaTSY_[XML MO Video call connects - terminated by local user with valid values] |
|
1888 create NTT_Voice test |
|
1889 |
|
1890 test HandleSpecifiedRequests YES |
|
1891 test InitializeIPCRequestTable |
|
1892 |
|
1893 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
1894 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
1895 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
1896 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
1897 test SetExpectedCompleteIPC EEtelCallDial // connected |
|
1898 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
1899 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo release |
|
1900 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //idle |
|
1901 |
|
1902 test RunIscTestCase 237 |
|
1903 test SyncIscTestCase |
|
1904 |
|
1905 test VideoCallDial 1 0 0 1 0 0 1 0000 0 1 1 0504804405 |
|
1906 |
|
1907 //EMobileCallNotifyMobileCallStatusChange |
|
1908 allownextresult 0 |
|
1909 waittestclass test |
|
1910 |
|
1911 //EMobileCallNotifyMobileCallStatusChange |
|
1912 allownextresult 0 |
|
1913 waittestclass test |
|
1914 |
|
1915 print Answer the call ---> |
|
1916 |
|
1917 //ECustomGetRemoteAlertingToneStatusIPC |
|
1918 allownextresult 0 |
|
1919 waittestclass test |
|
1920 |
|
1921 //EMobileCallNotifyMobileCallStatusChange |
|
1922 allownextresult 0 |
|
1923 waittestclass test |
|
1924 |
|
1925 //EEtelCallDial |
|
1926 allownextresult 0 |
|
1927 waittestclass test |
|
1928 |
|
1929 test VideoCallHangUp 1 //CallId |
|
1930 |
|
1931 //ECustomGetRemoteAlertingToneStatusIPC |
|
1932 allownextresult 0 |
|
1933 waittestclass test |
|
1934 |
|
1935 allownextresult -8071 //KErrGsmReleaseByUser |
|
1936 waittestclass test |
|
1937 |
|
1938 test HandleSpecifiedRequests NO |
|
1939 |
|
1940 delete test |
|
1941 [Endtest] |
|
1942 |
|
1943 // MOD_0003_061_2_NokiaTSY_[XML MO video call connects - remote party rejects call] |
|
1944 // |
|
1945 // Precondition: |
|
1946 // - n/a |
|
1947 // |
|
1948 // Script description: |
|
1949 // - Parameters for the case: |
|
1950 // 1. 1=CallID |
|
1951 // 2. 0=EMonitorSpeakerControlAlwaysOff, |
|
1952 // 3. 0=EMonitorSpeakerVolumeOff |
|
1953 // 4. 1=0x01(interval) |
|
1954 // 5. 0=EDialToneWait |
|
1955 // 6. 0=EIdRestrictDefault |
|
1956 // 7. 1=true(ExplicitInvoke) |
|
1957 // 8. 0000=0x0000(CugIndex) |
|
1958 // 9. 0=false(SuppressOA) |
|
1959 // 10. 1=true(SuppressPrefCug) |
|
1960 // 11. 1=true(AutoRedial) |
|
1961 // 12. 0501122334=TelNum |
|
1962 // |
|
1963 [Test] |
|
1964 title MOD_0003_061_2_NokiaTSY_[XML MO video call connects - remote party rejects call] |
|
1965 create NTT_Voice test |
|
1966 |
|
1967 test HandleSpecifiedRequests YES |
|
1968 test InitializeIPCRequestTable |
|
1969 |
|
1970 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //create |
|
1971 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo alerting |
|
1972 test SetExpectedCompleteIPC ECustomGetRemoteAlertingToneStatusIPC |
|
1973 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
1974 test SetExpectedCompleteIPC EEtelCallDial // connected |
|
1975 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mt release |
|
1976 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //idle |
|
1977 |
|
1978 test RunIscTestCase 238 |
|
1979 test SyncIscTestCase |
|
1980 |
|
1981 test VideoCallDial 1 0 0 1 0 0 1 0000 0 1 1 0504804405 |
|
1982 |
|
1983 //EMobileCallNotifyMobileCallStatusChange create |
|
1984 allownextresult 0 |
|
1985 waittestclass test |
|
1986 |
|
1987 //EMobileCallNotifyMobileCallStatusChange mo alerting |
|
1988 allownextresult 0 |
|
1989 waittestclass test |
|
1990 |
|
1991 //ECustomGetRemoteAlertingToneStatusIPC |
|
1992 allownextresult 0 |
|
1993 waittestclass test |
|
1994 |
|
1995 print Answer the call ---> |
|
1996 |
|
1997 //EMobileCallNotifyMobileCallStatusChange active |
|
1998 allownextresult 0 |
|
1999 waittestclass test |
|
2000 |
|
2001 //EEtelCallDial |
|
2002 allownextresult 0 |
|
2003 waittestclass test |
|
2004 |
|
2005 print Reject the call |
|
2006 |
|
2007 test RemotePartyHangUp |
|
2008 |
|
2009 //EMobileCallNotifyMobileCallStatusChange mt release |
|
2010 allownextresult -280887298 //Symbian OS error |
|
2011 waittestclass test |
|
2012 |
|
2013 //EMobileCallNotifyMobileCallStatusChange idle |
|
2014 allownextresult -280887298 //Symbian OS error |
|
2015 waittestclass test |
|
2016 |
|
2017 test HandleSpecifiedRequests NO |
|
2018 |
|
2019 delete test |
|
2020 [Endtest] |
|
2021 |
|
2022 // MOD_0003_062_2_NokiaTSY_[XML MT Video call connects - terminated by local user with valid values] |
|
2023 // Make incoming Video call to the test phone |
|
2024 // |
|
2025 // Precondition: |
|
2026 // - n/a |
|
2027 // |
|
2028 // Script description: |
|
2029 // - n/a |
|
2030 // |
|
2031 [Test] |
|
2032 title MOD_0003_062_2_NokiaTSY_[XML Incoming video call while there are no other calls] |
|
2033 create NTT_Voice test |
|
2034 |
|
2035 test HandleSpecifiedRequests YES |
|
2036 test InitializeIPCRequestTable |
|
2037 |
|
2038 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mt alerting |
|
2039 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //active |
|
2040 test SetExpectedCompleteIPC EEtelCallAnswer // answered |
|
2041 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mo release |
|
2042 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //idle |
|
2043 |
|
2044 test RunIscTestCase 239 |
|
2045 test SyncIscTestCase |
|
2046 |
|
2047 test TestIncomingCall 1 |
|
2048 |
|
2049 //EMobileCallNotifyMobileCallStatusChange mt alerting |
|
2050 allownextresult 0 |
|
2051 waittestclass test |
|
2052 |
|
2053 //EMobileCallNotifyMobileCallStatusChange active |
|
2054 allownextresult 0 |
|
2055 waittestclass test |
|
2056 |
|
2057 //EEtelCallAnswer |
|
2058 allownextresult 0 |
|
2059 waittestclass test |
|
2060 |
|
2061 test VideoCallHangUp 1 //CallId |
|
2062 |
|
2063 //EMobileCallNotifyMobileCallStatusChange mo release |
|
2064 allownextresult -8071 //KErrGsmReleaseByUser |
|
2065 waittestclass test |
|
2066 |
|
2067 //EMobileCallNotifyMobileCallStatusChange idle |
|
2068 allownextresult -280887298 |
|
2069 waittestclass test |
|
2070 |
|
2071 test HandleSpecifiedRequests NO |
|
2072 |
|
2073 delete test |
|
2074 [Endtest] |
|
2075 |
|
2076 // MOD_0003_063_2_NokiaTSY_[XML MT Video call alerts] |
|
2077 // Check EMobileCallNotifyMobileCallStatusChange is completed when MT video call |
|
2078 // starts to alert |
|
2079 // |
|
2080 // Precondition: |
|
2081 // - n/a |
|
2082 // |
|
2083 // Script description: |
|
2084 // - n/a |
|
2085 // |
|
2086 [Test] |
|
2087 title MOD_0003_063_2_NokiaTSY_[XML MT Video call alerts] |
|
2088 create NTT_Voice test |
|
2089 |
|
2090 test HandleSpecifiedRequests YES |
|
2091 test InitializeIPCRequestTable |
|
2092 |
|
2093 test SetExpectedCompleteIPC EMobileCallNotifyMobileCallStatusChange //mt alerting |
|
2094 |
|
2095 test RunIscTestCase 241 |
|
2096 test SyncIscTestCase |
|
2097 |
|
2098 //EMobileCallNotifyMobileCallStatusChange mt alerting |
|
2099 allownextresult 0 |
|
2100 waittestclass test |
|
2101 |
|
2102 test HandleSpecifiedRequests NO |
|
2103 |
|
2104 delete test |
|
2105 [Endtest] |