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_0004.001_2_NokiaTSY_[XML NotifyBatteryInfoChange (monitoring info)] |
|
19 // |
|
20 // Precondition: |
|
21 // n/a, XML case |
|
22 // |
|
23 // Script description: |
|
24 // -N/A |
|
25 // |
|
26 [Test] |
|
27 title MOD_0004.001_2_NokiaTSY_[XML NotifyBatteryInfoChange (monitoring info)] |
|
28 create NTT_Misc test |
|
29 |
|
30 test InitializeIPCRequestTable |
|
31 test SetExpectedCompleteIPC EMobilePhoneNotifyBatteryInfoChange |
|
32 |
|
33 test RunIscTestCase 101 |
|
34 test SyncIscTestCase |
|
35 |
|
36 test MobilePhoneNotifyBatteryInfoChange EPowerStatusUnknown 100 |
|
37 |
|
38 allownextresult 0 |
|
39 waittestclass test |
|
40 delete test |
|
41 [Endtest] |
|
42 |
|
43 // MOD_0004.002_2_NokiaTSY_[XML NotifyBatteryInfoChange (charger info)] |
|
44 // |
|
45 // Precondition: |
|
46 // n/a, XML case |
|
47 // |
|
48 // Script description: |
|
49 // -N/A |
|
50 // |
|
51 [Test] |
|
52 title MOD_0004.002_2_NokiaTSY_[XML NotifyBatteryInfoChange (charger info)] |
|
53 create NTT_Misc test |
|
54 |
|
55 test InitializeIPCRequestTable |
|
56 test SetExpectedCompleteIPC EMobilePhoneNotifyBatteryInfoChange |
|
57 |
|
58 test RunIscTestCase 102 |
|
59 test SyncIscTestCase |
|
60 |
|
61 test MobilePhoneNotifyBatteryInfoChange EBatteryConnectedButExternallyPowered 0 |
|
62 |
|
63 allownextresult 0 |
|
64 waittestclass test |
|
65 delete test |
|
66 [Endtest] |
|
67 |
|
68 // MOD_0004.003_2_NokiaTSY_[XML NotifyBatteryInfoChange (battery empty)] |
|
69 // |
|
70 // Precondition: |
|
71 // n/a, XML case |
|
72 // |
|
73 // Script description: |
|
74 // -N/A |
|
75 // |
|
76 [Test] |
|
77 title MOD_0004.003_2_NokiaTSY_[XML NotifyBatteryInfoChange (battery empty)] |
|
78 create NTT_Misc test |
|
79 |
|
80 test InitializeIPCRequestTable |
|
81 test SetExpectedCompleteIPC EMobilePhoneNotifyBatteryInfoChange |
|
82 |
|
83 test RunIscTestCase 103 |
|
84 test SyncIscTestCase |
|
85 |
|
86 test MobilePhoneNotifyBatteryInfoChange EPowerStatusUnknown 0 |
|
87 |
|
88 allownextresult 0 |
|
89 waittestclass test |
|
90 delete test |
|
91 [Endtest] |
|
92 |
|
93 // MOD_0004.101_2_NokiaTSY_[XML Set ACL status ON] |
|
94 // |
|
95 // Precondition: |
|
96 // - n/a |
|
97 // |
|
98 // Script description: |
|
99 // EAclStatusEnabled = ACL status |
|
100 // |
|
101 [Test] |
|
102 title MOD_0004.101_2_NokiaTSY_[XML Set ACL status ON] |
|
103 create NTT_Misc test |
|
104 |
|
105 test InitializeIPCRequestTable |
|
106 test SetExpectedCompleteIPC EMobilePhoneSetAPNControlListServiceStatus |
|
107 |
|
108 test RunIscTestCase 104 |
|
109 test SyncIscTestCase |
|
110 |
|
111 test SetACLStatus EAclStatusEnabled |
|
112 |
|
113 // EMobilePhoneSetAPNControlListServiceStatus |
|
114 allownextresult 0 |
|
115 waittestclass test |
|
116 |
|
117 delete test |
|
118 [Endtest] |
|
119 |
|
120 // MOD_0004.101_1_2_NokiaTSY_[XML Set ACL status ON, ACL Not Available] |
|
121 // |
|
122 // Precondition: |
|
123 // - n/a |
|
124 // |
|
125 // Script description: |
|
126 // EAclStatusEnabled = ACL status |
|
127 // |
|
128 [Test] |
|
129 title MOD_0004.101_1_2_NokiaTSY_[XML Set ACL status ON, ACL Not Available] |
|
130 create NTT_Misc test |
|
131 |
|
132 test InitializeIPCRequestTable |
|
133 test SetExpectedCompleteIPC EMobilePhoneSetAPNControlListServiceStatus |
|
134 |
|
135 test RunIscTestCase 113 |
|
136 test SyncIscTestCase |
|
137 |
|
138 test SetACLStatus EAclStatusEnabled |
|
139 |
|
140 // EMobilePhoneSetAPNControlListServiceStatus |
|
141 allownextresult -1 |
|
142 waittestclass test |
|
143 |
|
144 delete test |
|
145 [Endtest] |
|
146 |
|
147 // MOD_0004.102_2_NokiaTSY_[XML Set ACL status OFF] |
|
148 // |
|
149 // Precondition: |
|
150 // - n/a |
|
151 // |
|
152 // Script description: |
|
153 // EAclStatusDisabled = ACL status |
|
154 // |
|
155 [Test] |
|
156 title MOD_0004.102_2_NokiaTSY_[XML Set ACL status OFF] |
|
157 create NTT_Misc test |
|
158 |
|
159 test InitializeIPCRequestTable |
|
160 test SetExpectedCompleteIPC EMobilePhoneSetAPNControlListServiceStatus |
|
161 |
|
162 test RunIscTestCase 105 |
|
163 test SyncIscTestCase |
|
164 |
|
165 test SetACLStatus EAclStatusDisabled |
|
166 |
|
167 // EMobilePhoneSetAPNControlListServiceStatus |
|
168 allownextresult 0 |
|
169 waittestclass test |
|
170 |
|
171 delete test |
|
172 [Endtest] |
|
173 |
|
174 // MOD_0004.102_1_2_NokiaTSY_[XML Set ACL status OFF, ACL Not Available] |
|
175 // |
|
176 // Precondition: |
|
177 // - n/a |
|
178 // |
|
179 // Script description: |
|
180 // EAclStatusDisabled = ACL status |
|
181 // |
|
182 [Test] |
|
183 title MOD_0004.102_1_2_NokiaTSY_[XML Set ACL status OFF, ACL Not Available] |
|
184 create NTT_Misc test |
|
185 |
|
186 test InitializeIPCRequestTable |
|
187 test SetExpectedCompleteIPC EMobilePhoneSetAPNControlListServiceStatus |
|
188 |
|
189 test RunIscTestCase 114 |
|
190 test SyncIscTestCase |
|
191 |
|
192 test SetACLStatus EAclStatusDisabled |
|
193 |
|
194 // EMobilePhoneSetAPNControlListServiceStatus |
|
195 allownextresult -1 |
|
196 waittestclass test |
|
197 |
|
198 delete test |
|
199 [Endtest] |
|
200 |
|
201 // MOD_0004.103_2_NokiaTSY_[XML Get ACL status] |
|
202 // |
|
203 // Precondition: |
|
204 // - n/a |
|
205 // |
|
206 // Script description: |
|
207 // -N/A |
|
208 // |
|
209 [Test] |
|
210 title MOD_0004.103_2_NokiaTSY_[XML Get ACL status] |
|
211 create NTT_Misc test |
|
212 |
|
213 test InitializeIPCRequestTable |
|
214 test SetExpectedCompleteIPC EMobilePhoneGetAPNControlListServiceStatus |
|
215 |
|
216 test RunIscTestCase 106 |
|
217 test SyncIscTestCase |
|
218 |
|
219 test GetACLStatus EAPNControlListServiceDisabled |
|
220 |
|
221 allownextresult 0 |
|
222 waittestclass test |
|
223 delete test |
|
224 [Endtest] |
|
225 |
|
226 // MOD_0004.103_1_2_NokiaTSY_[XML Get ACL status, ACL Not Available] |
|
227 // |
|
228 // Precondition: |
|
229 // - n/a |
|
230 // |
|
231 // Script description: |
|
232 // -N/A |
|
233 // |
|
234 [Test] |
|
235 title MOD_0004.103_1_2_NokiaTSY_[XML Get ACL status, ACL Not Available] |
|
236 create NTT_Misc test |
|
237 |
|
238 test InitializeIPCRequestTable |
|
239 test SetExpectedCompleteIPC EMobilePhoneGetAPNControlListServiceStatus |
|
240 |
|
241 test RunIscTestCase 115 |
|
242 test SyncIscTestCase |
|
243 |
|
244 test GetACLStatus EAPNControlListServiceDisabled |
|
245 |
|
246 allownextresult -1 |
|
247 waittestclass test |
|
248 delete test |
|
249 [Endtest] |
|
250 |
|
251 // MOD_0004.104_2_NokiaTSY_[XML Write ACL Entry] |
|
252 // |
|
253 // Precondition: |
|
254 // - n/a |
|
255 // |
|
256 // Script description: |
|
257 // WritedByTestTool = APN string |
|
258 // |
|
259 [Test] |
|
260 title MOD_0004.104_2_NokiaTSY_[XML Write ACL Entry] |
|
261 create NTT_Misc test |
|
262 |
|
263 test InitializeIPCRequestTable |
|
264 test SetExpectedCompleteIPC EMobilePhoneAppendAPNName |
|
265 |
|
266 test RunIscTestCase 107 |
|
267 test SyncIscTestCase |
|
268 |
|
269 test WriteACLEntry WritedByTestTool |
|
270 allownextresult 0 |
|
271 waittestclass test |
|
272 delete test |
|
273 [Endtest] |
|
274 |
|
275 // MOD_0004.104_1_2_NokiaTSY_[XML Write ACL Entry, ACL Not Available] |
|
276 // |
|
277 // Precondition: |
|
278 // - n/a |
|
279 // |
|
280 // Script description: |
|
281 // WritedByTestTool = APN string |
|
282 // |
|
283 [Test] |
|
284 title MOD_0004.104_1_2_NokiaTSY_[XML Write ACL Entry, ACL Not Available] |
|
285 create NTT_Misc test |
|
286 |
|
287 test InitializeIPCRequestTable |
|
288 test SetExpectedCompleteIPC EMobilePhoneAppendAPNName |
|
289 |
|
290 test RunIscTestCase 116 |
|
291 test SyncIscTestCase |
|
292 |
|
293 test WriteACLEntry WritedByTestTool |
|
294 allownextresult -1 |
|
295 waittestclass test |
|
296 delete test |
|
297 [Endtest] |
|
298 |
|
299 // MOD_0004.105_2_NokiaTSY_[XML Write ACL Entry with empty name] |
|
300 // |
|
301 // Precondition: |
|
302 // - n/a |
|
303 // |
|
304 // Script description: |
|
305 // -N/A |
|
306 // |
|
307 [Test] |
|
308 title MOD_0004.105_2_NokiaTSY_[XML Write ACL Entry with empty name] |
|
309 create NTT_Misc test |
|
310 |
|
311 test InitializeIPCRequestTable |
|
312 test SetExpectedCompleteIPC EMobilePhoneAppendAPNName |
|
313 |
|
314 test RunIscTestCase 108 |
|
315 test SyncIscTestCase |
|
316 |
|
317 test WriteACLEntry |
|
318 allownextresult 0 |
|
319 waittestclass test |
|
320 delete test |
|
321 [Endtest] |
|
322 |
|
323 // MOD_0004.106_2_NokiaTSY_[XML Delete ACL Entry] |
|
324 // |
|
325 // Precondition: |
|
326 // - n/a |
|
327 // |
|
328 // Script description: |
|
329 // 0 = index |
|
330 // |
|
331 [Test] |
|
332 title MOD_0004.106_2_NokiaTSY_[XML Delete ACL Entry] |
|
333 create NTT_Misc test |
|
334 |
|
335 test InitializeIPCRequestTable |
|
336 test SetExpectedCompleteIPC EMobilePhoneDeleteAPNName |
|
337 |
|
338 test RunIscTestCase 109 |
|
339 test SyncIscTestCase |
|
340 |
|
341 test DeleteACLEntry 0 |
|
342 |
|
343 allownextresult 0 |
|
344 waittestclass test |
|
345 delete test |
|
346 [Endtest] |
|
347 |
|
348 // MOD_0004.106_1_2_NokiaTSY_[XML Delete ACL Entry, ACL Not Available] |
|
349 // |
|
350 // Precondition: |
|
351 // - n/a |
|
352 // |
|
353 // Script description: |
|
354 // 0 = index |
|
355 // |
|
356 [Test] |
|
357 title MOD_0004.106_1_2_NokiaTSY_[XML Delete ACL Entry, ACL Not Available] |
|
358 create NTT_Misc test |
|
359 |
|
360 test InitializeIPCRequestTable |
|
361 test SetExpectedCompleteIPC EMobilePhoneDeleteAPNName |
|
362 |
|
363 test RunIscTestCase 117 |
|
364 test SyncIscTestCase |
|
365 |
|
366 test DeleteACLEntry 0 |
|
367 |
|
368 allownextresult -1 |
|
369 waittestclass test |
|
370 delete test |
|
371 [Endtest] |
|
372 |
|
373 // MOD_0004.107_2_NokiaTSY_[XML Enumerate APN Entries] |
|
374 // |
|
375 // Precondition: |
|
376 // - n/a |
|
377 // |
|
378 // Script description: Gets number of APN |
|
379 // - N/A |
|
380 // |
|
381 [Test] |
|
382 title MOD_0004.107_2_NokiaTSY_[XML Enumerate APN Entries] |
|
383 create NTT_Misc test |
|
384 |
|
385 test InitializeIPCRequestTable |
|
386 test SetExpectedCompleteIPC EMobilePhoneEnumerateAPNEntries |
|
387 |
|
388 test RunIscTestCase 110 |
|
389 test SyncIscTestCase |
|
390 |
|
391 test EnumerateAPNEntries 3 |
|
392 allownextresult 0 |
|
393 waittestclass test |
|
394 delete test |
|
395 [Endtest] |
|
396 |
|
397 // MOD_0004.107_1_2_NokiaTSY_[XML Enumerate APN Entries, ACL Not Available] |
|
398 // |
|
399 // Precondition: |
|
400 // - n/a |
|
401 // |
|
402 // Script description: Gets number of APN |
|
403 // - N/A |
|
404 // |
|
405 [Test] |
|
406 title MOD_0004.107_1_2_NokiaTSY_[XML Enumerate APN Entries, ACL Not Available] |
|
407 create NTT_Misc test |
|
408 |
|
409 test InitializeIPCRequestTable |
|
410 test SetExpectedCompleteIPC EMobilePhoneEnumerateAPNEntries |
|
411 |
|
412 test RunIscTestCase 118 |
|
413 test SyncIscTestCase |
|
414 |
|
415 test EnumerateAPNEntries 3 |
|
416 allownextresult -1 |
|
417 waittestclass test |
|
418 delete test |
|
419 [Endtest] |
|
420 |
|
421 // MOD_0004.108_2_NokiaTSY_[XML Get APN Name] |
|
422 // |
|
423 // Precondition: |
|
424 // -HW requirements: TestPhone and SIM must support ACL (e.g. Aalto) |
|
425 // |
|
426 // Script description: |
|
427 // 1 = index |
|
428 // |
|
429 [Test] |
|
430 title MOD_0004.108_2_NokiaTSY_[XML Get APN Name] |
|
431 create NTT_Misc test |
|
432 |
|
433 test InitializeIPCRequestTable |
|
434 test SetExpectedCompleteIPC EMobilePhoneGetAPNname |
|
435 |
|
436 test RunIscTestCase 111 |
|
437 test SyncIscTestCase |
|
438 |
|
439 test GetAPNName 0 WritedByTestTool |
|
440 allownextresult 0 |
|
441 waittestclass test |
|
442 delete test |
|
443 [Endtest] |
|
444 |
|
445 // MOD_0004.108_1_2_NokiaTSY_[XML Get APN Name, ACL Not Available] |
|
446 // |
|
447 // Precondition: |
|
448 // -N/A |
|
449 // |
|
450 // Script description: |
|
451 // -N/A |
|
452 // |
|
453 [Test] |
|
454 title MOD_0004.108_1_2_NokiaTSY_[XML Get APN Name, ACL Not Available] |
|
455 create NTT_Misc test |
|
456 |
|
457 test InitializeIPCRequestTable |
|
458 test SetExpectedCompleteIPC EMobilePhoneGetAPNname |
|
459 |
|
460 test RunIscTestCase 119 |
|
461 test SyncIscTestCase |
|
462 |
|
463 test GetAPNName 0 WritedByTestTool |
|
464 allownextresult -1 |
|
465 waittestclass test |
|
466 delete test |
|
467 [Endtest] |
|
468 |
|
469 // MOD_0004.114_2_NokiaTSY_[XML Set Always on Mode HPLMN,VPLMN,Active and NotActive] |
|
470 // |
|
471 // Precondition: |
|
472 // - if tested in 05PR1 braches, enable CASW_ALWAYS_ON_PDP_CONTEXT |
|
473 // flag |
|
474 // |
|
475 // Script description: |
|
476 // - Modes HPLMN, VPLMN, Active and NotActive are tested. |
|
477 // |
|
478 |
|
479 [Test] |
|
480 title MOD_0004.114_2_NokiaTSY_[XML Set Always on Mode HPLMN,VPLMN,Active and NotActive] |
|
481 create NTT_Misc test |
|
482 |
|
483 test InitializeIPCRequestTable |
|
484 test SetExpectedCompleteIPC ECustomSetAlwaysOnMode |
|
485 test SetExpectedCompleteIPC ECustomSetAlwaysOnMode |
|
486 test SetExpectedCompleteIPC ECustomSetAlwaysOnMode |
|
487 test SetExpectedCompleteIPC ECustomSetAlwaysOnMode |
|
488 |
|
489 test RunIscTestCase 112 |
|
490 test SyncIscTestCase |
|
491 |
|
492 test SetAlwaysOnModeSelection HPLMN |
|
493 allownextresult 0 |
|
494 waittestclass test |
|
495 |
|
496 test SetAlwaysOnModeSelection VPLMN |
|
497 allownextresult 0 |
|
498 waittestclass test |
|
499 |
|
500 test SetAlwaysOnModeSelection Active |
|
501 allownextresult 0 |
|
502 waittestclass test |
|
503 |
|
504 test SetAlwaysOnModeSelection NotActive |
|
505 allownextresult 0 |
|
506 waittestclass test |
|
507 |
|
508 delete test |
|
509 [Endtest] |
|