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 // MOD_0001.001_2_NokiaTSY_[XML Send sms message, length 149] |
|
18 // |
|
19 // Precondition: |
|
20 // - n/a |
|
21 // |
|
22 // Script description: |
|
23 // - First parameter is destination phone number |
|
24 // - Second parameter is service center phone number |
|
25 // - SMS is sent and the sent data is checked. |
|
26 // |
|
27 [Test] |
|
28 title MOD_0001.001_2_NokiaTSY_[XML Send sms message, length 149] |
|
29 create NTT_SMS test |
|
30 |
|
31 test HandleSpecifiedRequests YES |
|
32 |
|
33 // First parameter: is parameter check required (ON/OFF) |
|
34 // Second parameter: test case number ( 1 = ETestCaseSms001 ) |
|
35 test SetSmsParameterCheck ON 1 |
|
36 // Reference parameters: message reference(47), length of pdu(10), pdu data(1 01 0 0 0 0 0 0 0 0) |
|
37 test SetSmsReferenceParameters 47 10 1 0 0 0 0 0 0 0 0 0 |
|
38 |
|
39 test InitializeIPCRequestTable |
|
40 test SetExpectedCompleteIPC EMobileSmsMessagingSendMessage |
|
41 |
|
42 test RunIscTestCase 101 |
|
43 test SyncIscTestCase |
|
44 test SendSMSMessage SendSMSMessage4 04544103076 +358454400046 |
|
45 |
|
46 // EMobileSmsMessagingSendMessage |
|
47 allownextresult 0 |
|
48 waittestclass test |
|
49 |
|
50 test HandleSpecifiedRequests NO |
|
51 test SetSmsParameterCheck OFF 0 |
|
52 |
|
53 delete test |
|
54 [Endtest] |
|
55 |
|
56 |
|
57 // MOD_0001.002_2_NokiaTSY_[XML Send SAT originated SMS message, length 149] |
|
58 // |
|
59 // Precondition: |
|
60 // - n/a |
|
61 // |
|
62 // Script description: |
|
63 // - First parameter is destination phone number |
|
64 // - Second parameter is service center phone number |
|
65 // - SMS is sent and the sent data is checked. |
|
66 // |
|
67 |
|
68 [Test] |
|
69 title MOD_0001.002_2_NokiaTSY_[XML Send SAT originated SMS message, length 149] |
|
70 create NTT_SMS test |
|
71 |
|
72 test HandleSpecifiedRequests YES |
|
73 |
|
74 test InitializeIPCRequestTable |
|
75 test SetExpectedCompleteIPC EMmTsySmsSendSatMessage |
|
76 test SetSmsParameterCheck OFF 0 // Only aResult is checked |
|
77 |
|
78 test RunIscTestCase 115 |
|
79 test SyncIscTestCase |
|
80 test SendSMSMessage SendSMSMessage4 04544103076 +358454400046 SAT_ORIGINATED |
|
81 |
|
82 // EMmTsySmsSendSatMessage |
|
83 allownextresult 0 |
|
84 waittestclass test |
|
85 |
|
86 test HandleSpecifiedRequests NO |
|
87 |
|
88 delete test |
|
89 [Endtest] |
|
90 |
|
91 // title MOD_0001.003_2_NokiaTSY_[XML SMS sending ongoing and a new SMS is sent] |
|
92 // |
|
93 // Precondition: |
|
94 // - n/a |
|
95 // |
|
96 // Script description: |
|
97 // - First parameter is destination phone number |
|
98 // - Second parameter is service center phone number |
|
99 // - The first SMS is sent |
|
100 // - A new SMS is sent before current sending hasn't been completed. |
|
101 |
|
102 [Test] |
|
103 title MOD_0001.003_2_NokiaTSY_[XML SMS sending ongoing and a new SMS is sent] |
|
104 create NTT_SMS test |
|
105 |
|
106 test HandleSpecifiedRequests YES |
|
107 |
|
108 test InitializeIPCRequestTable |
|
109 |
|
110 test RunIscTestCase 116 // Run dummy case to start NTSY |
|
111 test SyncIscTestCase |
|
112 |
|
113 test SendSMSMessage SendSMSMessage4 04544103076 +358454400046 |
|
114 test SendSMSMessage SendSMSMessage4 04544103076 +358454400046 |
|
115 |
|
116 allownextresult -16 // KErrServerBusy |
|
117 waittestclass test |
|
118 |
|
119 test HandleSpecifiedRequests NO |
|
120 |
|
121 delete test |
|
122 [Endtest] |
|
123 |
|
124 // MOD_0001.004_2_NokiaTSY_[XML Send sms message , No FDN check, length 149] |
|
125 // |
|
126 // Precondition: |
|
127 // - n/a |
|
128 // |
|
129 // Script description: |
|
130 // - First parameter is destination phone number |
|
131 // - Second parameter is service center phone number |
|
132 // - SMS is sent and the sent data is checked. |
|
133 // - FDN is not checked. |
|
134 // |
|
135 [Test] |
|
136 title MOD_0001.004_2_NokiaTSY_[XML Send sms message , No FDN check, length 149] |
|
137 create NTT_SMS test |
|
138 |
|
139 test HandleSpecifiedRequests YES |
|
140 |
|
141 // First parameter: is parameter check required (ON/OFF) |
|
142 // Second parameter: test case number ( 1 = ETestCaseSms001 ) |
|
143 test SetSmsParameterCheck ON 1 |
|
144 // Reference parameters: message reference(47), length of pdu(10), pdu data(1 01 0 0 0 0 0 0 0 0) |
|
145 test SetSmsReferenceParameters 47 10 1 0 0 0 0 0 0 0 0 0 |
|
146 |
|
147 test InitializeIPCRequestTable |
|
148 test SetExpectedCompleteIPC EMobileSmsMessagingSendMessageNoFdnCheck |
|
149 |
|
150 test RunIscTestCase 117 |
|
151 test SyncIscTestCase |
|
152 test SendSMSMessage SendSMSMessage4 04544103076 +358454400046 NO_FDN_CHECK |
|
153 |
|
154 // EMobileSmsMessagingSendMessage |
|
155 allownextresult 0 |
|
156 waittestclass test |
|
157 |
|
158 test HandleSpecifiedRequests NO |
|
159 test SetSmsParameterCheck OFF 0 |
|
160 |
|
161 delete test |
|
162 [Endtest] |
|
163 |
|
164 // MOD_0001.008_2_NokiaTSY_[XML Read SMS Parameters from SIM] |
|
165 // |
|
166 // Precondition: |
|
167 // - n/a |
|
168 // |
|
169 // Script description: |
|
170 // - n/a |
|
171 // |
|
172 [Test] |
|
173 title MOD_0001.008_2_NokiaTSY_[XML Read SMS Parameters from SIM] |
|
174 create NTT_SMS test |
|
175 |
|
176 test HandleSpecifiedRequests YES |
|
177 test SetSmsParameterCheck ON 8 |
|
178 // Reference parameters to be checked in complete: |
|
179 // Number of SMS parameter sets (2) |
|
180 // SMS parameter set 1: parameter indicator, protocol id, data coding scheme, validity period, service center address, destination // address, alpha tag |
|
181 // SMS parameter set 2: same as in set 1 (255/NA means that this parameter is not valid and not needed to check) |
|
182 test SetSmsReferenceParameters 2 31 1 2 1 +358454400050 +358503655150 NTN 255 255 255 255 NA NA NA |
|
183 |
|
184 test InitializeIPCRequestTable |
|
185 test SetExpectedCompleteIPC EMobileSmsMessagingGetSmspListPhase1 |
|
186 |
|
187 test RunIscTestCase 111 |
|
188 test SyncIscTestCase |
|
189 test ReadSmsParameters |
|
190 |
|
191 allownextresult 0 |
|
192 waittestclass test |
|
193 test HandleSpecifiedRequests NO |
|
194 test SetSmsParameterCheck OFF 0 |
|
195 delete test |
|
196 [Endtest] |
|
197 |
|
198 |
|
199 // MOD_0001.009_2_NokiaTSY_[XML Store SMS Parameters to SIM] |
|
200 // |
|
201 // Precondition: |
|
202 // - Edit the following script parameters if necessary: |
|
203 // - SIM location, default is 1 |
|
204 // - SMSC number, default is +358454400050 for Nokia Test Network |
|
205 // - Alpha tag (description) of the SMSP set |
|
206 // |
|
207 // Script description: |
|
208 // - USE WITH CAUTION, this test case easily can mess up your SIM. There is |
|
209 // no way to set these values from S60 UI. The values below are OK for Nokia |
|
210 // test SIMs. |
|
211 // Parameters are: SIM location, service center number (in international |
|
212 // format), alpha tag (max. 16 characters). |
|
213 // |
|
214 [Test] |
|
215 title MOD_0001.009_1_NokiaTSY_[HW Store SMS Parameters to SIM] |
|
216 create NTT_SMS test |
|
217 |
|
218 test HandleSpecifiedRequests YES |
|
219 test InitializeIPCRequestTable |
|
220 test SetExpectedCompleteIPC EMobileSmsMessagingStoreSmspList |
|
221 |
|
222 pause 1000 |
|
223 test RunIscTestCase 114 |
|
224 test SyncIscTestCase |
|
225 test StoreSmsParameters 1 +358454400050 tekstiviesti |
|
226 |
|
227 allownextresult 0 |
|
228 waittestclass test |
|
229 pause 1000 |
|
230 delete test |
|
231 [Endtest] |
|
232 |
|
233 |
|
234 // MOD_0001.010_2_NokiaTSY_[XML Receive Class 1 SMS message] |
|
235 // |
|
236 // Precondition: |
|
237 // - n/a |
|
238 // |
|
239 // Script description: |
|
240 // - Class 1 SMS is received and type of the SMS is checked. |
|
241 // |
|
242 [Test] |
|
243 title MOD_0001.010_2_NokiaTSY_[XML Receive Class 1 SMS message] |
|
244 create NTT_SMS test |
|
245 |
|
246 test HandleSpecifiedRequests YES |
|
247 |
|
248 test InitializeIPCRequestTable |
|
249 test SetExpectedCompleteIPC EMmTsyActivateSmsRouting |
|
250 test SetExpectedCompleteIPC EMobileSmsMessagingReceiveMessage |
|
251 test SetExpectedCompleteIPC EMobileSmsMessagingAckSmsStored |
|
252 test SetExpectedCompleteIPC EMmTsyDeactivateSmsRouting |
|
253 |
|
254 test RunIscTestCase 102 |
|
255 test SyncIscTestCase |
|
256 test ActivateSMSRouting |
|
257 |
|
258 // EMmTsyActivateSmsRouting |
|
259 allownextresult 0 |
|
260 waittestclass test |
|
261 |
|
262 // wait for ISC testcase completion signal |
|
263 allownextresult 1 |
|
264 waittestclass test |
|
265 |
|
266 test ReceiveSMSMessage Class1 |
|
267 test RunIscTestCase 103 |
|
268 test SyncIscTestCase |
|
269 |
|
270 // EMobileSmsMessagingReceiveMessage |
|
271 allownextresult 0 |
|
272 waittestclass test |
|
273 |
|
274 test AckSMS |
|
275 |
|
276 // EMobileSmsMessagingAckSmsStored |
|
277 allownextresult 0 |
|
278 waittestclass test |
|
279 |
|
280 test DeactivateSMSRouting |
|
281 |
|
282 // EMmTsyDeactivateSmsRouting |
|
283 allownextresult 0 |
|
284 waittestclass test |
|
285 |
|
286 test HandleSpecifiedRequests NO |
|
287 |
|
288 delete test |
|
289 [Endtest] |
|
290 |
|
291 |
|
292 // MOD_0001.014_2_NokiaTSY_[XML Receive Class 2 SMS message] |
|
293 // |
|
294 // Preconditions: |
|
295 // -n/a |
|
296 // |
|
297 // Script description: |
|
298 // - Class 2 SMS is received and type of the SMS is checked. |
|
299 // |
|
300 [Test] |
|
301 title MOD_0001.014_2_NokiaTSY_[XML Receive Class 2 SMS message] |
|
302 create NTT_SMS test |
|
303 |
|
304 test HandleSpecifiedRequests YES |
|
305 |
|
306 test InitializeIPCRequestTable |
|
307 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC |
|
308 test SetExpectedCompleteIPC EMobileSmsMessagingGetMessageStoreInfo |
|
309 test SetExpectedCompleteIPC EMobilePhoneStoreGetInfo |
|
310 test SetExpectedCompleteIPC EMmTsyActivateSmsRouting |
|
311 test SetExpectedCompleteIPC EMobileSmsMessagingReceiveMessage |
|
312 test SetExpectedCompleteIPC EMobileSmsMessagingAckSmsStored |
|
313 test SetExpectedCompleteIPC EMmTsyDeactivateSmsRouting |
|
314 |
|
315 |
|
316 test RunIscTestCase 105 |
|
317 test SyncIscTestCase |
|
318 test SMSCacheInitialization |
|
319 |
|
320 // EMmTsyBootNotifySimStatusReadyIPC |
|
321 allownextresult 0 |
|
322 waittestclass test |
|
323 |
|
324 // EMobileSmsMessagingGetMessageStoreInfo |
|
325 allownextresult 0 |
|
326 waittestclass test |
|
327 |
|
328 // EMobilePhoneStoreGetInfo |
|
329 allownextresult 0 |
|
330 waittestclass test |
|
331 |
|
332 // wait for ISC testcase completion signal |
|
333 allownextresult 1 |
|
334 waittestclass test |
|
335 |
|
336 test RunIscTestCase 102 |
|
337 test SyncIscTestCase |
|
338 |
|
339 test ActivateSMSRouting |
|
340 |
|
341 // EMmTsyActivateSmsRouting |
|
342 allownextresult 0 |
|
343 waittestclass test |
|
344 |
|
345 // wait for ISC testcase completion signal |
|
346 allownextresult 1 |
|
347 waittestclass test |
|
348 |
|
349 test ReceiveSMSMessage Class2 |
|
350 test RunIscTestCase 104 |
|
351 test SyncIscTestCase |
|
352 |
|
353 // EMobileSmsMessagingReceiveMessage |
|
354 allownextresult 0 |
|
355 waittestclass test |
|
356 |
|
357 test AckSMS |
|
358 |
|
359 // EMobileSmsMessagingAckSmsStored |
|
360 allownextresult 0 |
|
361 waittestclass test |
|
362 |
|
363 test DeactivateSMSRouting |
|
364 |
|
365 // EMmTsyDeactivateSmsRouting |
|
366 allownextresult 0 |
|
367 waittestclass test |
|
368 |
|
369 test HandleSpecifiedRequests NO |
|
370 |
|
371 delete test |
|
372 [Endtest] |
|
373 |
|
374 |
|
375 // MOD_0001.015_2_NokiaTSY_[XML SMS Cacheing interrupted / case 1] |
|
376 // Precondition: |
|
377 // - n/a |
|
378 // |
|
379 // Script description: |
|
380 // - n/a |
|
381 // |
|
382 [Test] |
|
383 title MOD_0001.015_2_NokiaTSY_[XML SMS Cacheing interrupted / case 1] |
|
384 create NTT_SMS test |
|
385 |
|
386 test HandleSpecifiedRequests YES |
|
387 |
|
388 test InitializeIPCRequestTable |
|
389 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC |
|
390 test SetExpectedCompleteIPC EMobileSmsMessagingGetMessageStoreInfo |
|
391 test SetExpectedCompleteIPC EMobilePhoneStoreGetInfo |
|
392 |
|
393 test RunIscTestCase 106 |
|
394 test SyncIscTestCase |
|
395 test SMSCacheInitialization |
|
396 |
|
397 // EMmTsyBootNotifySimStatusReadyIPC |
|
398 allownextresult 0 |
|
399 waittestclass test |
|
400 |
|
401 // EMobileSmsMessagingGetMessageStoreInfo |
|
402 allownextresult -4 |
|
403 waittestclass test |
|
404 |
|
405 //EMobilePhoneStoreGetInfo |
|
406 allownextresult -4 |
|
407 waittestclass test |
|
408 |
|
409 test HandleSpecifiedRequests NO |
|
410 |
|
411 delete test |
|
412 [Endtest] |
|
413 |
|
414 |
|
415 // MOD_0001.016_2_NokiaTSY_[XML SMS Cacheing interrupted / case 2] |
|
416 // |
|
417 // This test is made for error 7SW-V: Emergency Call: Emergency call during |
|
418 // remote sim call causes reset correction verification |
|
419 // |
|
420 // Precondition: |
|
421 // - n/a |
|
422 // |
|
423 // Script description: |
|
424 // - n/a |
|
425 // |
|
426 [Test] |
|
427 title MOD_0001.016_2_NokiaTSY_[XML SMS Cacheing interrupted / case 2] |
|
428 create NTT_SMS test |
|
429 |
|
430 test HandleSpecifiedRequests YES |
|
431 |
|
432 test InitializeIPCRequestTable |
|
433 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC |
|
434 test SetExpectedCompleteIPC EMobileSmsMessagingGetMessageStoreInfo |
|
435 test SetExpectedCompleteIPC EMobilePhoneStoreGetInfo |
|
436 |
|
437 test RunIscTestCase 107 |
|
438 test SyncIscTestCase |
|
439 test SMSCacheInitialization |
|
440 |
|
441 // EMmTsyBootNotifySimStatusReadyIPC |
|
442 allownextresult 0 |
|
443 waittestclass test |
|
444 |
|
445 // EMobileSmsMessagingGetMessageStoreInfo |
|
446 allownextresult -330170404 |
|
447 waittestclass test |
|
448 |
|
449 //EMobilePhoneStoreGetInfo |
|
450 allownextresult -4 |
|
451 waittestclass test |
|
452 |
|
453 test HandleSpecifiedRequests NO |
|
454 |
|
455 delete test |
|
456 [Endtest] |
|
457 |
|
458 |
|
459 // MOD_0001.017_2_NokiaTSY_[XML Cacheing interrupted / case 3] |
|
460 // |
|
461 // Precondition: |
|
462 // - n/a |
|
463 // |
|
464 // Script description: |
|
465 // - n/a |
|
466 // |
|
467 [Test] |
|
468 title MOD_0001.017_2_NokiaTSY_[XML Cacheing interrupted / case 3] |
|
469 create NTT_SMS test |
|
470 |
|
471 test HandleSpecifiedRequests YES |
|
472 |
|
473 test InitializeIPCRequestTable |
|
474 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC |
|
475 test SetExpectedCompleteIPC EMobileSmsMessagingGetMessageStoreInfo |
|
476 test SetExpectedCompleteIPC EMobilePhoneStoreGetInfo |
|
477 test SetExpectedCompleteIPC EMobilePhoneStoreWrite |
|
478 |
|
479 test RunIscTestCase 109 |
|
480 test SyncIscTestCase |
|
481 test SMSCacheInitialization |
|
482 |
|
483 // EMmTsyBootNotifySimStatusReadyIPC |
|
484 allownextresult 0 |
|
485 waittestclass test |
|
486 |
|
487 // EMobileSmsMessagingGetMessageStoreInfo |
|
488 allownextresult 0 |
|
489 waittestclass test |
|
490 |
|
491 // EMobilePhoneStoreGetInfo |
|
492 allownextresult 0 |
|
493 waittestclass test |
|
494 |
|
495 test WriteSMSMessage 04544103076 +358454400046 -1 |
|
496 |
|
497 // EMobilePhoneStoreWrite |
|
498 allownextresult -330170404 |
|
499 waittestclass test |
|
500 |
|
501 test HandleSpecifiedRequests NO |
|
502 |
|
503 delete test |
|
504 [Endtest] |
|
505 |
|
506 |
|
507 // MOD_0001.018_2_NokiaTSY_[XML Memory Capacity Exceeded] |
|
508 // |
|
509 // Precondition: |
|
510 // - n/a |
|
511 // |
|
512 // Script description: |
|
513 // - EMobileSmsMessagingNackSmsStored is requested and SMS_GSM_RECEIVED_PP_REPORT_REQ |
|
514 // will be send with status SMS_GSM_ERR_MEMORY_CAPACITY_EXC |
|
515 // |
|
516 [Test] |
|
517 title MOD_0001.018_2_NokiaTSY_[XML Memory Capacity Exceeded] |
|
518 create NTT_SMS test |
|
519 |
|
520 test HandleSpecifiedRequests YES |
|
521 |
|
522 test InitializeIPCRequestTable |
|
523 test SetExpectedCompleteIPC EMobileSmsMessagingNackSmsStored |
|
524 |
|
525 test RunIscTestCase 110 |
|
526 test SyncIscTestCase |
|
527 test NackSMS -4534 |
|
528 |
|
529 // ESmsMessagingNackSmsStored |
|
530 allownextresult 0 |
|
531 waittestclass test |
|
532 |
|
533 test HandleSpecifiedRequests NO |
|
534 |
|
535 delete test |
|
536 [Endtest] |
|
537 |
|
538 |
|
539 // MOD_0001.001_019_NokiaTSY_[XML Send SMS message, CS network barred (DSAC)] |
|
540 // |
|
541 // Precondition: |
|
542 // - The feature under test (DCM DSAC) is flagged in NTSY, because it is supported only |
|
543 // in cellmo version ICPR71. This test case cannot be run in MCL before DSAC support is |
|
544 // added to current cellmo version and flagging is removed from NTSY codes. |
|
545 // If this test case is needed to be run anyway, flagging |
|
546 // 'NCP_COMMON_CELLMO_BRANCH_SUPPORT == NCP_COMMON_CELLMO_BRANCH_0711' must be removed from |
|
547 // cmmstaticutility.cpp and DSAC definition must be added to smsisi.h: |
|
548 // #define SMS_GSM_ERR_CS_BARRED 0xE8 |
|
549 // |
|
550 // Script description: |
|
551 // |
|
552 // - This test case is created for SUB 417-1807: NokiaTSY: UI needed for DCM DSAC. |
|
553 // Test case simulates the situation, where SMS sending fails |
|
554 // because of barred CS network (Domain Specific Access Control) |
|
555 // |
|
556 [Test] |
|
557 title MOD_0001.019_2_NokiaTSY_[XML Send SMS message, CS network barred (DSAC)] |
|
558 create NTT_SMS test |
|
559 |
|
560 test HandleSpecifiedRequests YES |
|
561 test InitializeIPCRequestTable |
|
562 test SetExpectedCompleteIPC EMobileSmsMessagingSendMessage |
|
563 |
|
564 // First parameter: is parameter check required (ON/OFF) |
|
565 // Second parameter: test case number ( 0 = ETestCaseNotDefined ) |
|
566 test SetSmsParameterCheck ON 19 |
|
567 // Reference parameters: message reference(0), length of pdu(10), pdu data( 1 -1 0 0 0 0 0 0 0 0) |
|
568 test SetSmsReferenceParameters 0 10 1 -1 0 0 0 0 0 0 0 0 |
|
569 |
|
570 test RunIscTestCase 112 |
|
571 test SyncIscTestCase |
|
572 |
|
573 // KErrGsmCSConnectionBarred/KErrGeneral |
|
574 allownextresult -542048258 |
|
575 waittestclass test |
|
576 |
|
577 test HandleSpecifiedRequests NO |
|
578 test SetSmsParameterCheck OFF 0 |
|
579 |
|
580 delete test |
|
581 [Endtest] |
|
582 |
|
583 |
|
584 // MOD_0001.020_2_NokiaTSY_[XML SMS settings update] |
|
585 // |
|
586 // Precondition: |
|
587 // N/A |
|
588 // |
|
589 // Script description: |
|
590 // SMS settings are updated (SMS_SETTINGS_UPDATE_REQ/SMS_SETTINGS_UPDATE_RESP) |
|
591 // |
|
592 [Test] |
|
593 title MOD_0001.020_2_NokiaTSY_[XML SMS settings update] |
|
594 create NTT_SMS test |
|
595 |
|
596 test HandleSpecifiedRequests YES |
|
597 test InitializeIPCRequestTable |
|
598 test SetExpectedCompleteIPC EMobileSmsMessagingSetMoSmsBearer |
|
599 |
|
600 test RunIscTestCase 113 |
|
601 test SyncIscTestCase |
|
602 test SmsSettingsUpdate |
|
603 |
|
604 allownextresult 0 |
|
605 waittestclass test |
|
606 |
|
607 test HandleSpecifiedRequests NO |
|
608 |
|
609 delete test |
|
610 [Endtest] |
|
611 |
|
612 // MOD_0001.021_2_NokiaTSY_[XML MT SMs NACKed automatically] |
|
613 // |
|
614 // Precondition: |
|
615 // - n/a |
|
616 // |
|
617 // Script description: |
|
618 // - SMS_RECEIVED_MSG_IND comes and gets NACKed by testcase |
|
619 // - further SMS_RECEIVED_MSG_IND NACKed by NTSY |
|
620 // - storage status updated |
|
621 // - SMS_RECEIVED_MSG_IND pass through again |
|
622 // |
|
623 [Test] |
|
624 title MOD_0001.021_2_NokiaTSY_[XML MT SMs NACKed automatically] |
|
625 create NTT_SMS test |
|
626 |
|
627 test HandleSpecifiedRequests YES |
|
628 test InitializeIPCRequestTable |
|
629 |
|
630 test SetExpectedCompleteIPC EMobileSmsMessagingReceiveMessage // MT SM 1 |
|
631 test SetExpectedCompleteIPC EMobileSmsMessagingNackSmsStored // NACK |
|
632 test SetExpectedCompleteIPC EMobileSmsMessagingResumeSmsReception |
|
633 test SetExpectedCompleteIPC EMobileSmsMessagingReceiveMessage // MT SM 4 |
|
634 test SetExpectedCompleteIPC EMobileSmsMessagingAckSmsStored // ACK |
|
635 |
|
636 test RunIscTestCase 119 |
|
637 test SyncIscTestCase |
|
638 |
|
639 // EMobileSmsMessagingReceiveMessage |
|
640 allownextresult 0 |
|
641 waittestclass test |
|
642 |
|
643 test NackSMS -4534 |
|
644 // EMobileSmsMessagingNackSmsStored |
|
645 allownextresult 0 |
|
646 waittestclass test |
|
647 |
|
648 ///////////////////////////////////////////////////////////////////////////////// |
|
649 // NTSY NACKs 2 more MT SMs |
|
650 ///////////////////////////////////////////////////////////////////////////////// |
|
651 |
|
652 // wait for isc testcase to finish |
|
653 allownextresult 1 |
|
654 waittestclass test |
|
655 |
|
656 test RunIscTestCase 120 |
|
657 test SyncIscTestCase |
|
658 |
|
659 test ResumeSMS |
|
660 // EMobileSmsMessagingResumeSmsReception |
|
661 allownextresult 0 |
|
662 waittestclass test |
|
663 |
|
664 // EMobileSmsMessagingReceiveMessage |
|
665 allownextresult 0 |
|
666 waittestclass test |
|
667 |
|
668 test AckSMS |
|
669 // ESmsMessagingAckSmsStored |
|
670 allownextresult 0 |
|
671 waittestclass test |
|
672 |
|
673 test HandleSpecifiedRequests NO |
|
674 |
|
675 delete test |
|
676 [Endtest] |
|
677 |
|
678 // MOD_0001.030_2_NokiaTSY_[XML Read SMS message] |
|
679 // |
|
680 // Preconditions: |
|
681 // -n/a |
|
682 // |
|
683 // Script description: |
|
684 // - Class 2 SMS is read from cache and completed. |
|
685 // |
|
686 [Test] |
|
687 title MOD_0001.030_2_NokiaTSY_[XML Read SMS message] |
|
688 create NTT_SMS test |
|
689 |
|
690 test HandleSpecifiedRequests YES |
|
691 |
|
692 test InitializeIPCRequestTable |
|
693 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC |
|
694 test SetExpectedCompleteIPC EMobileSmsMessagingGetMessageStoreInfo |
|
695 test SetExpectedCompleteIPC EMobilePhoneStoreGetInfo |
|
696 test SetExpectedCompleteIPC EMmTsyActivateSmsRouting |
|
697 test SetExpectedCompleteIPC EMobilePhoneStoreRead |
|
698 |
|
699 test RunIscTestCase 105 |
|
700 test SyncIscTestCase |
|
701 test SMSCacheInitialization |
|
702 |
|
703 // EMmTsyBootNotifySimStatusReadyIPC |
|
704 allownextresult 0 |
|
705 waittestclass test |
|
706 |
|
707 // EMobileSmsMessagingGetMessageStoreInfo |
|
708 allownextresult 0 |
|
709 waittestclass test |
|
710 |
|
711 // EMobilePhoneStoreGetInfo |
|
712 allownextresult 0 |
|
713 waittestclass test |
|
714 |
|
715 // wait for ISC testcase completion signal |
|
716 allownextresult 1 |
|
717 waittestclass test |
|
718 |
|
719 test RunIscTestCase 102 |
|
720 test SyncIscTestCase |
|
721 |
|
722 test ActivateSMSRouting |
|
723 |
|
724 // EMmTsyActivateSmsRouting |
|
725 allownextresult 0 |
|
726 waittestclass test |
|
727 |
|
728 // wait for ISC testcase completion signal |
|
729 allownextresult 1 |
|
730 waittestclass test |
|
731 |
|
732 // Numbers after CLASS2 are expected TPDU |
|
733 test ReadSMSMessage 1 KSimSmsMtNotRead EIsdnNumberPlan EInternationalNumber +358454400000 CLASS2 4 12 145 83 88 48 86 21 5 65 18 112 32 114 81 32 116 8 5 99 182 76 38 3 |
|
734 |
|
735 // EMobilePhoneStoreRead |
|
736 allownextresult 0 |
|
737 waittestclass test |
|
738 |
|
739 test HandleSpecifiedRequests NO |
|
740 |
|
741 delete test |
|
742 [Endtest] |
|
743 |
|
744 // MOD_0001.031_2_NokiaTSY_[XML Read SMS messages] |
|
745 // |
|
746 // Preconditions: |
|
747 // -n/a |
|
748 // |
|
749 // Script description: |
|
750 // - Class 2 SMS is read from cache and completed. |
|
751 // |
|
752 [Test] |
|
753 title MOD_0001.031_2_NokiaTSY_[XML Read SMS messages] |
|
754 create NTT_SMS test |
|
755 |
|
756 test HandleSpecifiedRequests YES |
|
757 |
|
758 test InitializeIPCRequestTable |
|
759 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC |
|
760 test SetExpectedCompleteIPC EMobileSmsMessagingGetMessageStoreInfo |
|
761 test SetExpectedCompleteIPC EMobilePhoneStoreGetInfo |
|
762 test SetExpectedCompleteIPC EMobilePhoneStoreReadAllPhase1 |
|
763 |
|
764 test RunIscTestCase 118 |
|
765 test SyncIscTestCase |
|
766 test SMSCacheInitialization |
|
767 |
|
768 // EMmTsyBootNotifySimStatusReadyIPC |
|
769 allownextresult 0 |
|
770 waittestclass test |
|
771 |
|
772 // EMobileSmsMessagingGetMessageStoreInfo |
|
773 allownextresult 0 |
|
774 waittestclass test |
|
775 |
|
776 // EMobilePhoneStoreGetInfo |
|
777 allownextresult 0 |
|
778 waittestclass test |
|
779 |
|
780 // wait for ISC testcase completion signal |
|
781 allownextresult 1 |
|
782 waittestclass test |
|
783 |
|
784 // Numbers after CLASS2 are expected TPDU |
|
785 test ReadAllSMSMessage KSimSmsMtNotRead EIsdnNumberPlan EInternationalNumber +358454400000 CLASS2 4 12 145 83 88 48 86 21 5 65 18 112 32 114 81 32 116 8 5 99 182 76 38 3 |
|
786 |
|
787 // EMobilePhoneStoreReadAllPhase1 |
|
788 allownextresult 0 |
|
789 waittestclass test |
|
790 |
|
791 test HandleSpecifiedRequests NO |
|
792 |
|
793 delete test |
|
794 [Endtest] |
|