0
|
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_0007.001_2_NokiaTSY_[XML IsBlocked]
|
|
18 |
//
|
|
19 |
// Verify that Security Code, PIN1 or PIN2 is not Blocked.
|
|
20 |
//
|
|
21 |
// Precondition:
|
|
22 |
// - N/A
|
|
23 |
//
|
|
24 |
// Script description:
|
|
25 |
// - IsBlocked:
|
|
26 |
// 1st parameter: code ID
|
|
27 |
// 2nd parameter: expected result
|
|
28 |
//
|
|
29 |
[Test]
|
|
30 |
title MOD_0007.001_2_NokiaTSY_[XML IsBlocked]
|
|
31 |
create NTT_Security test
|
|
32 |
|
|
33 |
test HandleSpecifiedRequests YES
|
|
34 |
test InitializeIPCRequestTable
|
|
35 |
test SetExpectedCompleteIPC ECustomIsBlockedIPC
|
|
36 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
37 |
test SetExpectedCompleteIPC ECustomIsBlockedIPC
|
|
38 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
39 |
test SetExpectedCompleteIPC ECustomIsBlockedIPC
|
|
40 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
41 |
|
|
42 |
test RunIscTestCase 105
|
|
43 |
test SyncIscTestCase
|
|
44 |
|
|
45 |
test IsBlocked KSecCodeSecurity EFalse
|
|
46 |
allownextresult 0
|
|
47 |
waittestclass test // ECustomIsBlockedIPC
|
|
48 |
|
|
49 |
allownextresult 0
|
|
50 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
51 |
|
|
52 |
test IsBlocked KSecCodePin EFalse
|
|
53 |
allownextresult 0
|
|
54 |
waittestclass test // ECustomIsBlockedIPC
|
|
55 |
|
|
56 |
allownextresult 0
|
|
57 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
58 |
|
|
59 |
test IsBlocked KSecCodePin2 EFalse
|
|
60 |
allownextresult 0
|
|
61 |
waittestclass test // ECustomIsBlockedIPC
|
|
62 |
|
|
63 |
allownextresult 0
|
|
64 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
65 |
|
|
66 |
test HandleSpecifiedRequests NO
|
|
67 |
|
|
68 |
delete test
|
|
69 |
[Endtest]
|
|
70 |
|
|
71 |
|
|
72 |
// MOD_0007.002_2_NokiaTSY_[XML DeliverCode]
|
|
73 |
//
|
|
74 |
// Verify that security code "1234" is properly delivered to the phone.
|
|
75 |
//
|
|
76 |
// Precondition:
|
|
77 |
// - N/A
|
|
78 |
//
|
|
79 |
// Script description:
|
|
80 |
// - DeliverCode:
|
|
81 |
// 1st parameter: code to be delivered
|
|
82 |
//
|
|
83 |
[Test]
|
|
84 |
title MOD_0007.002_2_NokiaTSY_[XML DeliverCode]
|
|
85 |
create NTT_Security test
|
|
86 |
|
|
87 |
test RunIscTestCase 130 // Run dummy case to start NTSY
|
|
88 |
test SyncIscTestCase
|
|
89 |
|
|
90 |
test DeliverCode 1234
|
|
91 |
allownextresult 0
|
|
92 |
waittestclass test
|
|
93 |
|
|
94 |
delete test
|
|
95 |
[Endtest]
|
|
96 |
|
|
97 |
|
|
98 |
// MOD_0007.003_2_NokiaTSY_[XML CheckSecurityCode(PIN)]
|
|
99 |
//
|
|
100 |
// Verify that NokiaTSY sends PIN code "1234".
|
|
101 |
//
|
|
102 |
// Precondition:
|
|
103 |
// - N/A
|
|
104 |
//
|
|
105 |
// Script description:
|
|
106 |
// - DeliverCode:
|
|
107 |
// 1st parameter: code to be delivered
|
|
108 |
// - RunIscTestCase:
|
|
109 |
// 1st parameter: test case ID
|
|
110 |
// - CheckSecurityCode
|
|
111 |
// 1st parameter: code ID
|
|
112 |
// - VerifySecurityCode
|
|
113 |
// 1st parameter: code type
|
|
114 |
// 2nd parameter: PIN code
|
|
115 |
//
|
|
116 |
[Test]
|
|
117 |
title MOD_0007.003_2_NokiaTSY_[XML CheckSecurityCode(PIN)]
|
|
118 |
create NTT_Security test
|
|
119 |
|
|
120 |
test HandleSpecifiedRequests YES
|
|
121 |
test InitializeIPCRequestTable
|
|
122 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
123 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
124 |
test SetExpectedCompleteIPC EMobilePhoneVerifySecurityCode
|
|
125 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
126 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
127 |
test SetExpectedCompleteIPC ECustomCheckSecurityCodeIPC
|
|
128 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityCodeInfoChange
|
|
129 |
|
|
130 |
test RunIscTestCase 130 // Run dummy case to start NTSY
|
|
131 |
test SyncIscTestCase
|
|
132 |
|
|
133 |
test DeliverCode 1234
|
|
134 |
allownextresult 0
|
|
135 |
waittestclass test
|
|
136 |
|
|
137 |
// wait for ISC testcase completion signal
|
|
138 |
allownextresult 1
|
|
139 |
waittestclass test
|
|
140 |
|
|
141 |
test RunIscTestCase 104
|
|
142 |
test SyncIscTestCase
|
|
143 |
|
|
144 |
test CheckSecurityCode KSecCodePin
|
|
145 |
allownextresult 0
|
|
146 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
147 |
|
|
148 |
allownextresult 0
|
|
149 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
150 |
|
|
151 |
test VerifySecurityCode ESecurityCodePin1 1234
|
|
152 |
allownextresult 0
|
|
153 |
waittestclass test // EMobilePhoneVerifySecurityCode
|
|
154 |
|
|
155 |
allownextresult 0
|
|
156 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
157 |
|
|
158 |
allownextresult 0
|
|
159 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
160 |
|
|
161 |
allownextresult 0
|
|
162 |
waittestclass test // ECustomCheckSecurityCodeIPC
|
|
163 |
|
|
164 |
allownextresult 0
|
|
165 |
waittestclass test // EMobilePhoneNotifySecurityCodeInfoChange
|
|
166 |
|
|
167 |
test HandleSpecifiedRequests NO
|
|
168 |
|
|
169 |
delete test
|
|
170 |
[Endtest]
|
|
171 |
|
|
172 |
|
|
173 |
// MOD_0007.004_2_NokiaTSY_[XML CheckSecurityCode(Cancel)]
|
|
174 |
//
|
|
175 |
// Verify that phone accepts the cancel request to ongoing check security code request.
|
|
176 |
//
|
|
177 |
// Precondition:
|
|
178 |
// - N/A
|
|
179 |
//
|
|
180 |
// Script description:
|
|
181 |
// - DeliverCode:
|
|
182 |
// 1st parameter: code to be delivered
|
|
183 |
// - CheckSecurityCode
|
|
184 |
// 1st parameter: code ID
|
|
185 |
//
|
|
186 |
[Test]
|
|
187 |
title MOD_0007.004_2_NokiaTSY_[XML CheckSecurityCode(Cancel)]
|
|
188 |
create NTT_Security test
|
|
189 |
|
|
190 |
test HandleSpecifiedRequests YES
|
|
191 |
test InitializeIPCRequestTable
|
|
192 |
test SetExpectedCompleteIPC EMmTsyBootNotifySecurityReadyIPC
|
|
193 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
194 |
test SetExpectedCompleteIPC ECustomCheckSecurityCodeCancelIPC
|
|
195 |
test SetExpectedCompleteIPC EMobilePhoneAbortSecurityCode
|
|
196 |
test SetExpectedCompleteIPC ECustomCheckSecurityCodeIPC
|
|
197 |
|
|
198 |
test RunIscTestCase 102
|
|
199 |
test SyncIscTestCase
|
|
200 |
allownextresult 0
|
|
201 |
waittestclass test // EMmTsyBootNotifySecurityReadyIPC
|
|
202 |
|
|
203 |
test DeliverCode 1234
|
|
204 |
allownextresult 0
|
|
205 |
waittestclass test
|
|
206 |
|
|
207 |
// wait for ISC testcase completion signal
|
|
208 |
allownextresult 1
|
|
209 |
waittestclass test
|
|
210 |
|
|
211 |
test RunIscTestCase 106
|
|
212 |
test SyncIscTestCase
|
|
213 |
|
|
214 |
test CheckSecurityCode KSecCodeSecurity
|
|
215 |
allownextresult 0
|
|
216 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
217 |
|
|
218 |
test CheckSecurityCodeCancel KSecCodeSecurity
|
|
219 |
allownextresult 0
|
|
220 |
waittestclass test // ECustomCheckSecurityCodeCancelIPC
|
|
221 |
|
|
222 |
allownextresult 0
|
|
223 |
waittestclass test // EMobilePhoneAbortSecurityCode
|
|
224 |
|
|
225 |
allownextresult -3 // KErrCancel
|
|
226 |
waittestclass test // ECustomCheckSecurityCodeIPC
|
|
227 |
|
|
228 |
test HandleSpecifiedRequests NO
|
|
229 |
|
|
230 |
delete test
|
|
231 |
[Endtest]
|
|
232 |
|
|
233 |
|
|
234 |
// MOD_0007.005_2_NokiaTSY_[XML SimGetICCType]
|
|
235 |
//
|
|
236 |
// Verify that phone identifies the SIM ICC type.
|
|
237 |
//
|
|
238 |
// Precondition:
|
|
239 |
// - N/A
|
|
240 |
//
|
|
241 |
[Test]
|
|
242 |
title MOD_0007.005_2_NokiaTSY_[XML SimGetICCType]
|
|
243 |
create NTT_Security test
|
|
244 |
|
|
245 |
test HandleSpecifiedRequests YES
|
|
246 |
test InitializeIPCRequestTable
|
|
247 |
test SetExpectedCompleteIPC EMmTsySimGetICCType
|
|
248 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
249 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
250 |
|
|
251 |
test RunIscTestCase 107
|
|
252 |
test SyncIscTestCase
|
|
253 |
|
|
254 |
test SimGetICCType
|
|
255 |
allownextresult 0
|
|
256 |
waittestclass test // EMmTsySimGetICCType
|
|
257 |
|
|
258 |
allownextresult 0
|
|
259 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
260 |
|
|
261 |
allownextresult 0
|
|
262 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
263 |
|
|
264 |
test HandleSpecifiedRequests NO
|
|
265 |
|
|
266 |
delete test
|
|
267 |
[Endtest]
|
|
268 |
|
|
269 |
|
|
270 |
// MOD_0007.006_2_NokiaTSY_[XML BootGetRFStatus]
|
|
271 |
//
|
|
272 |
// Verify that client gets RF status in phone boot.
|
|
273 |
//
|
|
274 |
// Precondition:
|
|
275 |
// - N/A
|
|
276 |
//
|
|
277 |
[Test]
|
|
278 |
title MOD_0007.006_2_NokiaTSY_[XML BootGetRFStatus]
|
|
279 |
create NTT_Security test
|
|
280 |
|
|
281 |
test HandleSpecifiedRequests YES
|
|
282 |
test InitializeIPCRequestTable
|
|
283 |
test SetExpectedCompleteIPC EMmTsyBootGetRFStatusIPC
|
|
284 |
|
|
285 |
test RunIscTestCase 108
|
|
286 |
test SyncIscTestCase
|
|
287 |
|
|
288 |
test BootGetRFStatus
|
|
289 |
allownextresult 0
|
|
290 |
waittestclass test
|
|
291 |
|
|
292 |
test HandleSpecifiedRequests NO
|
|
293 |
|
|
294 |
delete test
|
|
295 |
[Endtest]
|
|
296 |
|
|
297 |
|
|
298 |
// MOD_0007.007_2_NokiaTSY_[XML PhoneGetPin1DisableSupported]
|
|
299 |
//
|
|
300 |
// Verify that when this capability is set the phone will get information
|
|
301 |
// of PIN1 disable support for a client.
|
|
302 |
//
|
|
303 |
// Precondition:
|
|
304 |
// - N/A
|
|
305 |
//
|
|
306 |
[Test]
|
|
307 |
title MOD_0007.007_2_NokiaTSY_[XML PhoneGetPin1DisableSupported]
|
|
308 |
create NTT_Security test
|
|
309 |
|
|
310 |
test HandleSpecifiedRequests YES
|
|
311 |
test InitializeIPCRequestTable
|
|
312 |
test SetExpectedCompleteIPC EMmTsyPhoneGetPin1DisableSupportedIPC
|
|
313 |
|
|
314 |
test RunIscTestCase 109
|
|
315 |
test SyncIscTestCase
|
|
316 |
|
|
317 |
test PhoneGetPin1DisableSupported
|
|
318 |
allownextresult 0
|
|
319 |
waittestclass test
|
|
320 |
|
|
321 |
test HandleSpecifiedRequests NO
|
|
322 |
|
|
323 |
delete test
|
|
324 |
[Endtest]
|
|
325 |
|
|
326 |
|
|
327 |
// MOD_0007_008_2_NokiaTSY_[XML SecurityGetSimActivePinState]
|
|
328 |
//
|
|
329 |
// Verify that the state of currently active PIN is requested.
|
|
330 |
//
|
|
331 |
// Precondition:
|
|
332 |
// - N/A
|
|
333 |
//
|
|
334 |
[Test]
|
|
335 |
title MOD_0007.008_2_NokiaTSY_[XML SecurityGetSimActivePinState]
|
|
336 |
create NTT_Security test
|
|
337 |
|
|
338 |
test HandleSpecifiedRequests YES
|
|
339 |
test InitializeIPCRequestTable
|
|
340 |
test SetExpectedCompleteIPC EMmTsySecurityGetSimActivePinStateIPC
|
|
341 |
test SetExpectedCompleteIPC EMmTsyBootNotifySecurityReadyIPC
|
|
342 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
343 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
344 |
|
|
345 |
test RunIscTestCase 110
|
|
346 |
test SyncIscTestCase
|
|
347 |
|
|
348 |
test SecurityGetSimActivePinState
|
|
349 |
allownextresult 0
|
|
350 |
waittestclass test // EMmTsySecurityGetSimActivePinStateIPC
|
|
351 |
|
|
352 |
allownextresult 0
|
|
353 |
waittestclass test // EMmTsyBootNotifySecurityReadyIPC
|
|
354 |
|
|
355 |
allownextresult 0
|
|
356 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
357 |
|
|
358 |
allownextresult 0
|
|
359 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
360 |
|
|
361 |
test HandleSpecifiedRequests NO
|
|
362 |
|
|
363 |
delete test
|
|
364 |
[Endtest]
|
|
365 |
|
|
366 |
|
|
367 |
// MOD_0007.009_2_NokiaTSY_[XML BootNotifyModemStatusReady]
|
|
368 |
//
|
|
369 |
// Verify that modem status ready notification for a client in
|
|
370 |
// phone boot is complete.
|
|
371 |
//
|
|
372 |
// Precondition:
|
|
373 |
// - N/A
|
|
374 |
//
|
|
375 |
// Script description:
|
|
376 |
// - RunIscTestCase
|
|
377 |
// 1st parameter: test case ID
|
|
378 |
//
|
|
379 |
[Test]
|
|
380 |
title MOD_0007.009_2_NokiaTSY_[XML BootNotifyModemStatusReady]
|
|
381 |
create NTT_Security test
|
|
382 |
|
|
383 |
test HandleSpecifiedRequests YES
|
|
384 |
test InitializeIPCRequestTable
|
|
385 |
test SetExpectedCompleteIPC EMmTsyBootNotifyModemStatusReadyIPC
|
|
386 |
|
|
387 |
test BootNotifyModemStatusReady
|
|
388 |
|
|
389 |
test RunIscTestCase 101
|
|
390 |
test SyncIscTestCase
|
|
391 |
allownextresult 0
|
|
392 |
waittestclass test // EMmTsyBootNotifyModemStatusReadyIPC
|
|
393 |
|
|
394 |
test HandleSpecifiedRequests NO
|
|
395 |
|
|
396 |
delete test
|
|
397 |
[Endtest]
|
|
398 |
|
|
399 |
|
|
400 |
// MOD_0007.010_2_NokiaTSY_[XML BootNotifySecurityReady]
|
|
401 |
//
|
|
402 |
// Verify that security status ready notification for a client in
|
|
403 |
// phone boot is complete.
|
|
404 |
//
|
|
405 |
// Precondition:
|
|
406 |
// - N/A
|
|
407 |
//
|
|
408 |
// Script description:
|
|
409 |
// - RunIscTestCase
|
|
410 |
// 1st parameter: test case ID
|
|
411 |
//
|
|
412 |
[Test]
|
|
413 |
title MOD_0007.010_2_NokiaTSY_[XML BootNotifySecurityReady]
|
|
414 |
create NTT_Security test
|
|
415 |
|
|
416 |
test HandleSpecifiedRequests YES
|
|
417 |
test InitializeIPCRequestTable
|
|
418 |
test SetExpectedCompleteIPC EMmTsyBootNotifySecurityReadyIPC
|
|
419 |
|
|
420 |
test BootNotifySecurityReady
|
|
421 |
test RunIscTestCase 102
|
|
422 |
test SyncIscTestCase
|
|
423 |
|
|
424 |
allownextresult 0
|
|
425 |
waittestclass test // EMmTsyBootNotifySecurityReadyIPC
|
|
426 |
|
|
427 |
test HandleSpecifiedRequests NO
|
|
428 |
|
|
429 |
delete test
|
|
430 |
[Endtest]
|
|
431 |
|
|
432 |
|
|
433 |
// MOD_0007.011_2_NokiaTSY_[XML GetLockInfo]
|
|
434 |
//
|
|
435 |
// Verify that status and settings of the locks are properly retrieved.
|
|
436 |
//
|
|
437 |
// Precondition:
|
|
438 |
// - N/A
|
|
439 |
//
|
|
440 |
// Script description:
|
|
441 |
// - GetLockInfo
|
|
442 |
// 1st parameter: lock information
|
|
443 |
//
|
|
444 |
[Test]
|
|
445 |
title MOD_0007.011_2_NokiaTSY_[XML GetLockInfo]
|
|
446 |
create NTT_Security test
|
|
447 |
|
|
448 |
test HandleSpecifiedRequests YES
|
|
449 |
test InitializeIPCRequestTable
|
|
450 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
451 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
452 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
453 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
454 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
455 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
456 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
457 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
458 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
459 |
test SetExpectedCompleteIPC EMmTsySimGetICCType
|
|
460 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
461 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
462 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
463 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
464 |
|
|
465 |
test RunIscTestCase 111
|
|
466 |
test SyncIscTestCase
|
|
467 |
|
|
468 |
test GetLockInfo ELockPhoneDevice
|
|
469 |
allownextresult 0
|
|
470 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
471 |
|
|
472 |
allownextresult 0
|
|
473 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
474 |
|
|
475 |
allownextresult 0
|
|
476 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
477 |
|
|
478 |
test GetLockInfo ELockICC
|
|
479 |
allownextresult 0
|
|
480 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
481 |
|
|
482 |
allownextresult 0
|
|
483 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
484 |
|
|
485 |
test GetLockInfo ELockPhoneToICC
|
|
486 |
allownextresult 0
|
|
487 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
488 |
|
|
489 |
allownextresult 0
|
|
490 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
491 |
|
|
492 |
//(some 3G cards)
|
|
493 |
test GetLockInfo ELockUniversalPin
|
|
494 |
allownextresult 0
|
|
495 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
496 |
|
|
497 |
allownextresult 0
|
|
498 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
499 |
|
|
500 |
// wait for ISC testcase completion signal
|
|
501 |
allownextresult 1
|
|
502 |
waittestclass test
|
|
503 |
|
|
504 |
test RunIscTestCase 107
|
|
505 |
test SyncIscTestCase
|
|
506 |
|
|
507 |
test SimGetICCType
|
|
508 |
allownextresult 0
|
|
509 |
waittestclass test // EMmTsySimGetICCType
|
|
510 |
|
|
511 |
allownextresult 0
|
|
512 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
513 |
|
|
514 |
allownextresult 0
|
|
515 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
516 |
|
|
517 |
// wait for ISC testcase completion signal
|
|
518 |
allownextresult 1
|
|
519 |
waittestclass test
|
|
520 |
|
|
521 |
test RunIscTestCase 112
|
|
522 |
test SyncIscTestCase
|
|
523 |
|
|
524 |
//( USIM cadrs )
|
|
525 |
test GetLockInfo ELockPin2
|
|
526 |
allownextresult 0
|
|
527 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
528 |
|
|
529 |
allownextresult 0
|
|
530 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
531 |
|
|
532 |
test HandleSpecifiedRequests NO
|
|
533 |
|
|
534 |
delete test
|
|
535 |
[Endtest]
|
|
536 |
|
|
537 |
|
|
538 |
// MOD_0007.012_2_NokiaTSY_[XML NotifyLockInfoChange]
|
|
539 |
//
|
|
540 |
// Verify that client is allowed to be notified when any part of
|
|
541 |
// the lock information changes.
|
|
542 |
//
|
|
543 |
// Precondition:
|
|
544 |
// - N/A
|
|
545 |
//
|
|
546 |
// Script description:
|
|
547 |
// - RunIscTestCase:
|
|
548 |
// 1st parameter: test case ID
|
|
549 |
//
|
|
550 |
[Test]
|
|
551 |
title MOD_0007.012_2_NokiaTSY_[XML NotifyLockInfoChange]
|
|
552 |
create NTT_Security test
|
|
553 |
|
|
554 |
test HandleSpecifiedRequests YES
|
|
555 |
test InitializeIPCRequestTable
|
|
556 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
557 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
558 |
|
|
559 |
test NotifyLockInfoChange KSecCodePin
|
|
560 |
|
|
561 |
test RunIscTestCase 103
|
|
562 |
test SyncIscTestCase
|
|
563 |
|
|
564 |
allownextresult 0
|
|
565 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
566 |
|
|
567 |
allownextresult 0
|
|
568 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
569 |
|
|
570 |
test HandleSpecifiedRequests NO
|
|
571 |
|
|
572 |
delete test
|
|
573 |
[Endtest]
|
|
574 |
|
|
575 |
|
|
576 |
// MOD_0007.013_2_NokiaTSY_[XML SetLockSetting]
|
|
577 |
//
|
|
578 |
// Verify that the setting of the given lock have been changed.
|
|
579 |
//
|
|
580 |
// Precondition:
|
|
581 |
// - N/A
|
|
582 |
//
|
|
583 |
// Script description:
|
|
584 |
// - DeliverCode
|
|
585 |
// 1st parameter: code to be delivered
|
|
586 |
// - SetLockSetting:
|
|
587 |
// 1st parameter: lock information
|
|
588 |
// RMobilePhone::ELockPhoneDevice: == 0
|
|
589 |
// RMobilePhone::ELockPhoneToICC: == 2
|
|
590 |
// RMobilePhone::ELockICC: == 1
|
|
591 |
// RMobilePhone::ELockPin2: == 5 // In case of 3G card
|
|
592 |
// RMobilePhone::ELockUniversalPin: == 9 // In case of UPIN supported card
|
|
593 |
// - SetLockSetting:
|
|
594 |
// 2nd parameter: lock setting
|
|
595 |
// RMobilePhone::ELockSetEnabled: == 1
|
|
596 |
// RMobilePhone::ELockSetDisabled: == 2
|
|
597 |
// RMobilePhone::ELockReplaced: == 3
|
|
598 |
//
|
|
599 |
[Test]
|
|
600 |
title MOD_0007.013_2_NokiaTSY_[XML SetLockSetting]
|
|
601 |
create NTT_Security test
|
|
602 |
|
|
603 |
test HandleSpecifiedRequests YES
|
|
604 |
test InitializeIPCRequestTable
|
|
605 |
test SetExpectedCompleteIPC EMobilePhoneSetLockSetting
|
|
606 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
607 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
608 |
test SetExpectedCompleteIPC EMobilePhoneSetLockSetting
|
|
609 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
610 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
611 |
|
|
612 |
test RunIscTestCase 130 // Run dummy case to start NTSY
|
|
613 |
test SyncIscTestCase
|
|
614 |
|
|
615 |
test DeliverCode 1234
|
|
616 |
allownextresult 0
|
|
617 |
waittestclass test
|
|
618 |
|
|
619 |
// wait for ISC testcase completion signal
|
|
620 |
allownextresult 1
|
|
621 |
waittestclass test
|
|
622 |
|
|
623 |
test RunIscTestCase 113
|
|
624 |
test SyncIscTestCase
|
|
625 |
|
|
626 |
test SetLockSetting ELockICC ELockSetEnabled
|
|
627 |
allownextresult 0
|
|
628 |
waittestclass test // EMobilePhoneSetLockSetting
|
|
629 |
|
|
630 |
allownextresult 0
|
|
631 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
632 |
|
|
633 |
allownextresult 0
|
|
634 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
635 |
|
|
636 |
test SetLockSetting ELockICC ELockSetDisabled
|
|
637 |
allownextresult 0
|
|
638 |
waittestclass test // EMobilePhoneSetLockSetting
|
|
639 |
|
|
640 |
allownextresult 0
|
|
641 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
642 |
|
|
643 |
allownextresult 0
|
|
644 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
645 |
|
|
646 |
test HandleSpecifiedRequests NO
|
|
647 |
|
|
648 |
delete test
|
|
649 |
[Endtest]
|
|
650 |
|
|
651 |
// MOD_0007.013_2_2_NokiaTSY_[XML SetLockSetting substitute UPIN]
|
|
652 |
//
|
|
653 |
// Verify that the setting of the given lock have been changed.
|
|
654 |
//
|
|
655 |
// Precondition:
|
|
656 |
// - N/A
|
|
657 |
//
|
|
658 |
// Script description:
|
|
659 |
// - DeliverCode
|
|
660 |
// 1st parameter: code to be delivered
|
|
661 |
// - SetLockSetting:
|
|
662 |
// 1st parameter: lock information
|
|
663 |
// RMobilePhone::ELockPhoneDevice: == 0
|
|
664 |
// RMobilePhone::ELockPhoneToICC: == 2
|
|
665 |
// RMobilePhone::ELockICC: == 1
|
|
666 |
// RMobilePhone::ELockPin2: == 5 // In case of 3G card
|
|
667 |
// RMobilePhone::ELockUniversalPin: == 9 // In case of UPIN supported card
|
|
668 |
// - SetLockSetting:
|
|
669 |
// 2nd parameter: lock setting
|
|
670 |
// RMobilePhone::ELockSetEnabled: == 1
|
|
671 |
// RMobilePhone::ELockSetDisabled: == 2
|
|
672 |
// RMobilePhone::ELockReplaced: == 3
|
|
673 |
//
|
|
674 |
[Test]
|
|
675 |
title MOD_0007.013_2_2_NokiaTSY_[XML SetLockSetting substitute UPIN]
|
|
676 |
create NTT_Security test
|
|
677 |
|
|
678 |
test HandleSpecifiedRequests YES
|
|
679 |
test InitializeIPCRequestTable
|
|
680 |
test SetExpectedCompleteIPC EMobilePhoneSetLockSetting
|
|
681 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
682 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
683 |
|
|
684 |
test RunIscTestCase 130 // Run dummy case to start NTSY
|
|
685 |
test SyncIscTestCase
|
|
686 |
|
|
687 |
test DeliverCode 1234
|
|
688 |
allownextresult 0
|
|
689 |
waittestclass test
|
|
690 |
|
|
691 |
// wait for ISC testcase completion signal
|
|
692 |
allownextresult 1
|
|
693 |
waittestclass test
|
|
694 |
|
|
695 |
test RunIscTestCase 126
|
|
696 |
test SyncIscTestCase
|
|
697 |
|
|
698 |
test SetLockSetting ELockUniversalPin ELockReplaced
|
|
699 |
allownextresult 0
|
|
700 |
waittestclass test // EMobilePhoneSetLockSetting
|
|
701 |
|
|
702 |
allownextresult 0
|
|
703 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
704 |
|
|
705 |
allownextresult 0
|
|
706 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
707 |
|
|
708 |
test HandleSpecifiedRequests NO
|
|
709 |
|
|
710 |
delete test
|
|
711 |
[Endtest]
|
|
712 |
|
|
713 |
// MOD_0007.013_2_2_NokiaTSY_[XML SetLockSetting substitute PIN]
|
|
714 |
//
|
|
715 |
// Verify that the setting of the given lock have been changed.
|
|
716 |
//
|
|
717 |
// Precondition:
|
|
718 |
// - N/A
|
|
719 |
//
|
|
720 |
// Script description:
|
|
721 |
// - DeliverCode
|
|
722 |
// 1st parameter: code to be delivered
|
|
723 |
// - SetLockSetting:
|
|
724 |
// 1st parameter: lock information
|
|
725 |
// RMobilePhone::ELockPhoneDevice: == 0
|
|
726 |
// RMobilePhone::ELockPhoneToICC: == 2
|
|
727 |
// RMobilePhone::ELockICC: == 1
|
|
728 |
// RMobilePhone::ELockPin2: == 5 // In case of 3G card
|
|
729 |
// RMobilePhone::ELockUniversalPin: == 9 // In case of UPIN supported card
|
|
730 |
// - SetLockSetting:
|
|
731 |
// 2nd parameter: lock setting
|
|
732 |
// RMobilePhone::ELockSetEnabled: == 1
|
|
733 |
// RMobilePhone::ELockSetDisabled: == 2
|
|
734 |
// RMobilePhone::ELockReplaced: == 3
|
|
735 |
//
|
|
736 |
[Test]
|
|
737 |
title MOD_0007.013_3_2_NokiaTSY_[XML SetLockSetting substitute PIN]
|
|
738 |
create NTT_Security test
|
|
739 |
|
|
740 |
test HandleSpecifiedRequests YES
|
|
741 |
test InitializeIPCRequestTable
|
|
742 |
test SetExpectedCompleteIPC EMobilePhoneSetLockSetting
|
|
743 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
744 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
745 |
|
|
746 |
test RunIscTestCase 130 // Run dummy case to start NTSY
|
|
747 |
test SyncIscTestCase
|
|
748 |
|
|
749 |
test DeliverCode 1234
|
|
750 |
allownextresult 0
|
|
751 |
waittestclass test
|
|
752 |
|
|
753 |
// wait for ISC testcase completion signal
|
|
754 |
allownextresult 1
|
|
755 |
waittestclass test
|
|
756 |
|
|
757 |
test RunIscTestCase 125
|
|
758 |
test SyncIscTestCase
|
|
759 |
|
|
760 |
test SetLockSetting ELockICC ELockReplaced
|
|
761 |
|
|
762 |
allownextresult 0
|
|
763 |
waittestclass test // EMobilePhoneSetLockSetting
|
|
764 |
|
|
765 |
allownextresult 0
|
|
766 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
767 |
|
|
768 |
allownextresult 0
|
|
769 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
770 |
|
|
771 |
test HandleSpecifiedRequests NO
|
|
772 |
|
|
773 |
delete test
|
|
774 |
[Endtest]
|
|
775 |
|
|
776 |
// MOD_0007.014_2_NokiaTSY_[XML ChangeSecurityCode]
|
|
777 |
//
|
|
778 |
// Verify that the lock setting and security code have been changed.
|
|
779 |
//
|
|
780 |
// Precondition:
|
|
781 |
// - N/A
|
|
782 |
//
|
|
783 |
// Script description:
|
|
784 |
// - DeliverCode:
|
|
785 |
// 1st parameter: code to be delivered
|
|
786 |
// - SetLockSetting:
|
|
787 |
// 1st parameter: lock information
|
|
788 |
// RMobilePhone::ELockPhoneDevice: == 0
|
|
789 |
// RMobilePhone::ELockPhoneToICC: == 2
|
|
790 |
// RMobilePhone::ELockICC: == 1
|
|
791 |
// RMobilePhone::ELockPin2: == 5 // In case of 3G card
|
|
792 |
// RMobilePhone::ELockUniversalPin: == 9 // In case of UPIN supported card
|
|
793 |
// 2nd parameter: lock setting
|
|
794 |
// RMobilePhone::ELockSetEnabled: == 1
|
|
795 |
// RMobilePhone::ELockSetDisabled: == 2
|
|
796 |
// RMobilePhone::ELockReplaced: == 3
|
|
797 |
// - ChangeSecurityCode:
|
|
798 |
// 1st parameter: code type
|
|
799 |
// 2nd parameter: old code
|
|
800 |
// 3nd parameter: new code
|
|
801 |
//
|
|
802 |
[Test]
|
|
803 |
title MOD_0007.014_2_NokiaTSY_[XML ChangeSecurityCode]
|
|
804 |
create NTT_Security test
|
|
805 |
|
|
806 |
test HandleSpecifiedRequests YES
|
|
807 |
test InitializeIPCRequestTable
|
|
808 |
test SetExpectedCompleteIPC EMobilePhoneVerifySecurityCode
|
|
809 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
810 |
test SetExpectedCompleteIPC EMobilePhoneChangeSecurityCode
|
|
811 |
|
|
812 |
test RunIscTestCase 130 // Run dummy case to start NTSY
|
|
813 |
test SyncIscTestCase
|
|
814 |
|
|
815 |
test DeliverCode 1234
|
|
816 |
allownextresult 0
|
|
817 |
waittestclass test
|
|
818 |
|
|
819 |
// wait for ISC testcase completion signal
|
|
820 |
allownextresult 1
|
|
821 |
waittestclass test
|
|
822 |
|
|
823 |
test RunIscTestCase 114
|
|
824 |
test SyncIscTestCase
|
|
825 |
|
|
826 |
test VerifySecurityCode ESecurityCodePhonePassword 12345
|
|
827 |
allownextresult 0
|
|
828 |
waittestclass test // EMobilePhoneVerifySecurityCode
|
|
829 |
|
|
830 |
allownextresult 0
|
|
831 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
832 |
|
|
833 |
test ChangeSecurityCode ESecurityCodePhonePassword 12345 12345
|
|
834 |
allownextresult 0
|
|
835 |
waittestclass test // EMobilePhoneChangeSecurityCode
|
|
836 |
|
|
837 |
test HandleSpecifiedRequests NO
|
|
838 |
|
|
839 |
delete test
|
|
840 |
[Endtest]
|
|
841 |
|
|
842 |
|
|
843 |
// MOD_0007.015_2_NokiaTSY_[XML VerifySecurityCode]
|
|
844 |
//
|
|
845 |
// Verify that the security code requering verification is properly sended
|
|
846 |
// to the phone.
|
|
847 |
//
|
|
848 |
// Precondition:
|
|
849 |
// - N/A
|
|
850 |
//
|
|
851 |
// Script description:
|
|
852 |
// - VerifySecurityCode:
|
|
853 |
// 1st parameter: code type
|
|
854 |
// 2nd parameter: security code
|
|
855 |
// 3nd parameter: unblock code
|
|
856 |
//
|
|
857 |
[Test]
|
|
858 |
title MOD_0007.015_2_NokiaTSY_[XML VerifySecurityCode]
|
|
859 |
create NTT_Security test
|
|
860 |
|
|
861 |
test HandleSpecifiedRequests YES
|
|
862 |
test InitializeIPCRequestTable
|
|
863 |
test SetExpectedCompleteIPC EMobilePhoneVerifySecurityCode
|
|
864 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
865 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
866 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityCodeInfoChange
|
|
867 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
868 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
869 |
|
|
870 |
test RunIscTestCase 115
|
|
871 |
test SyncIscTestCase
|
|
872 |
|
|
873 |
test VerifySecurityCode ESecurityCodePin1 1234 1234
|
|
874 |
allownextresult 0
|
|
875 |
waittestclass test // EMobilePhoneVerifySecurityCode
|
|
876 |
|
|
877 |
allownextresult 0
|
|
878 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
879 |
|
|
880 |
allownextresult 0
|
|
881 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
882 |
|
|
883 |
allownextresult 0
|
|
884 |
waittestclass test // EMobilePhoneNotifySecurityCodeInfoChange
|
|
885 |
|
|
886 |
allownextresult 0
|
|
887 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
888 |
|
|
889 |
allownextresult 0
|
|
890 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
891 |
|
|
892 |
test HandleSpecifiedRequests NO
|
|
893 |
|
|
894 |
delete test
|
|
895 |
[Endtest]
|
|
896 |
|
|
897 |
|
|
898 |
// MOD_0007.016_2_NokiaTSY_[XML AbortSecurityCode]
|
|
899 |
//
|
|
900 |
// Verify that phone is informed that the user has cancelled an outstanding
|
|
901 |
// verify security code request.
|
|
902 |
//
|
|
903 |
// Precondition:
|
|
904 |
// - N/A
|
|
905 |
//
|
|
906 |
// Script description:
|
|
907 |
// - DeliverCode:
|
|
908 |
// 1st parameter: code to be delivered
|
|
909 |
// - CheckSecurityCode
|
|
910 |
// 1st parameter: code ID
|
|
911 |
// - AbortSecurityCode:
|
|
912 |
// 1st parameter: code type
|
|
913 |
//
|
|
914 |
[Test]
|
|
915 |
title MOD_0007.016_2_NokiaTSY_[XML AbortSecurityCode]
|
|
916 |
create NTT_Security test
|
|
917 |
|
|
918 |
test HandleSpecifiedRequests YES
|
|
919 |
test InitializeIPCRequestTable
|
|
920 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
921 |
test SetExpectedCompleteIPC ECustomCheckSecurityCodeCancelIPC
|
|
922 |
test SetExpectedCompleteIPC EMobilePhoneAbortSecurityCode
|
|
923 |
test SetExpectedCompleteIPC ECustomCheckSecurityCodeIPC
|
|
924 |
|
|
925 |
test RunIscTestCase 130 // Run dummy case to start NTSY
|
|
926 |
test SyncIscTestCase
|
|
927 |
|
|
928 |
test DeliverCode 1234
|
|
929 |
allownextresult 0
|
|
930 |
waittestclass test
|
|
931 |
|
|
932 |
// wait for ISC testcase completion signal
|
|
933 |
allownextresult 1
|
|
934 |
waittestclass test
|
|
935 |
|
|
936 |
test RunIscTestCase 116
|
|
937 |
test SyncIscTestCase
|
|
938 |
|
|
939 |
test CheckSecurityCode KSecCodePin
|
|
940 |
allownextresult 0
|
|
941 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
942 |
|
|
943 |
test AbortSecurityCode ESecurityCodePin1
|
|
944 |
allownextresult 0
|
|
945 |
waittestclass test // ECustomCheckSecurityCodeCancelIPC
|
|
946 |
|
|
947 |
allownextresult 0
|
|
948 |
waittestclass test // EMobilePhoneAbortSecurityCode
|
|
949 |
|
|
950 |
allownextresult -39 // KErrAbort
|
|
951 |
waittestclass test // ECustomCheckSecurityCodeIPC
|
|
952 |
|
|
953 |
test HandleSpecifiedRequests NO
|
|
954 |
|
|
955 |
delete test
|
|
956 |
[Endtest]
|
|
957 |
|
|
958 |
|
|
959 |
// MOD_0007.017_2_NokiaTSY_[XML Get and Set Fdn Status]
|
|
960 |
//
|
|
961 |
// Test reading and changing the FDN status ("FDN active"/"FDN not active")
|
|
962 |
// on the SIM card (Corresponds to IPCs EMobilePhoneGetFdnStatus and
|
|
963 |
// EMobilePhoneSetFdnSetting).
|
|
964 |
//
|
|
965 |
// Precondition:
|
|
966 |
// - N/A
|
|
967 |
//
|
|
968 |
// Script description:
|
|
969 |
// - VerifySecurityCode:
|
|
970 |
// 1st parameter: code type
|
|
971 |
// 2nd parameter: security code
|
|
972 |
// 3nd parameter: unblock code
|
|
973 |
// - SimSetFdnStatus:
|
|
974 |
// 1st parameter: fdn setting
|
|
975 |
// 0 = EFdnSetOn
|
|
976 |
// 1 = EFdnSetOff
|
|
977 |
//
|
|
978 |
[Test]
|
|
979 |
title MOD_0007.017_2_NokiaTSY_[XML Get and Set Fdn Status]
|
|
980 |
create NTT_Security test
|
|
981 |
|
|
982 |
test HandleSpecifiedRequests YES
|
|
983 |
test InitializeIPCRequestTable
|
|
984 |
|
|
985 |
test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
|
|
986 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
987 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
988 |
test SetExpectedCompleteIPC EMobilePhoneGetFdnStatus
|
|
989 |
test SetExpectedCompleteIPC EMobilePhoneGetFdnStatus
|
|
990 |
|
|
991 |
test RunIscTestCase 117
|
|
992 |
test SyncIscTestCase
|
|
993 |
allownextresult 0
|
|
994 |
waittestclass test // EMmTsyBootNotifySimStatusReadyIPC
|
|
995 |
|
|
996 |
// enable FDN
|
|
997 |
test SimSetFdnStatus 0
|
|
998 |
allownextresult 0
|
|
999 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1000 |
|
|
1001 |
// disable FDN
|
|
1002 |
test SimSetFdnStatus 1
|
|
1003 |
allownextresult 0
|
|
1004 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1005 |
|
|
1006 |
test SimGetFdnStatus
|
|
1007 |
allownextresult 0
|
|
1008 |
waittestclass test // EMobilePhoneGetFdnStatus
|
|
1009 |
|
|
1010 |
test SimGetFdnStatus
|
|
1011 |
allownextresult 0
|
|
1012 |
waittestclass test // EMobilePhoneGetFdnStatus
|
|
1013 |
|
|
1014 |
test HandleSpecifiedRequests NO
|
|
1015 |
|
|
1016 |
delete test
|
|
1017 |
[Endtest]
|
|
1018 |
|
|
1019 |
// MOD_0007.017_3_NokiaTSY_[XML Set Fdn Status when FDN state already correct in EFest]
|
|
1020 |
//
|
|
1021 |
// Test reading and changing the FDN status ("FDN active"/"FDN not active")
|
|
1022 |
// on the SIM card (Corresponds to IPCs EMobilePhoneGetFdnStatus and
|
|
1023 |
// EMobilePhoneSetFdnSetting) when FDN state already correct in EFest
|
|
1024 |
//
|
|
1025 |
// Precondition:
|
|
1026 |
// - N/A
|
|
1027 |
//
|
|
1028 |
// - SimSetFdnStatus:
|
|
1029 |
// 1st parameter: fdn setting
|
|
1030 |
// 0 = EFdnSetOn
|
|
1031 |
// 1 = EFdnSetOff
|
|
1032 |
//
|
|
1033 |
[Test]
|
|
1034 |
title MOD_0007.017_3_NokiaTSY_[XML Set Fdn Status when FDN state already correct in EFest]
|
|
1035 |
create NTT_Security test
|
|
1036 |
|
|
1037 |
test HandleSpecifiedRequests YES
|
|
1038 |
test InitializeIPCRequestTable
|
|
1039 |
|
|
1040 |
test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
|
|
1041 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1042 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1043 |
|
|
1044 |
test RunIscTestCase 131
|
|
1045 |
test SyncIscTestCase
|
|
1046 |
allownextresult 0
|
|
1047 |
waittestclass test // EMmTsyBootNotifySimStatusReadyIPC
|
|
1048 |
|
|
1049 |
// enable FDN
|
|
1050 |
test SimSetFdnStatus 0
|
|
1051 |
allownextresult 0
|
|
1052 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1053 |
|
|
1054 |
// disable FDN
|
|
1055 |
test SimSetFdnStatus 1
|
|
1056 |
allownextresult 0
|
|
1057 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1058 |
|
|
1059 |
test HandleSpecifiedRequests NO
|
|
1060 |
|
|
1061 |
delete test
|
|
1062 |
[Endtest]
|
|
1063 |
|
|
1064 |
|
|
1065 |
// MOD_0007.017_4_NokiaTSY_[XML Get and Set Fdn Status, EFest reading fails]
|
|
1066 |
//
|
|
1067 |
// Test reading and changing the FDN status ("FDN active"/"FDN not active")
|
|
1068 |
// on the SIM card (Corresponds to IPCs EMobilePhoneGetFdnStatus and
|
|
1069 |
// EMobilePhoneSetFdnSetting) when EFest reading fails
|
|
1070 |
//
|
|
1071 |
// Precondition:
|
|
1072 |
// - N/A
|
|
1073 |
//
|
|
1074 |
// - SimSetFdnStatus:
|
|
1075 |
// 1st parameter: fdn setting
|
|
1076 |
// 0 = EFdnSetOn
|
|
1077 |
// 1 = EFdnSetOff
|
|
1078 |
//
|
|
1079 |
[Test]
|
|
1080 |
title MOD_0007.017_4_NokiaTSY_[XML Get and Set Fdn Status, EFest reading fails]
|
|
1081 |
create NTT_Security test
|
|
1082 |
|
|
1083 |
test HandleSpecifiedRequests YES
|
|
1084 |
test InitializeIPCRequestTable
|
|
1085 |
|
|
1086 |
test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
|
|
1087 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1088 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1089 |
test SetExpectedCompleteIPC EMobilePhoneGetFdnStatus
|
|
1090 |
|
|
1091 |
test RunIscTestCase 132
|
|
1092 |
test SyncIscTestCase
|
|
1093 |
allownextresult 0
|
|
1094 |
waittestclass test // EMmTsyBootNotifySimStatusReadyIPC
|
|
1095 |
|
|
1096 |
// enable FDN
|
|
1097 |
test SimSetFdnStatus 0
|
|
1098 |
allownextresult -2 // KErrGeneral
|
|
1099 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1100 |
|
|
1101 |
// disable FDN
|
|
1102 |
test SimSetFdnStatus 1
|
|
1103 |
allownextresult -2 // KErrGeneral
|
|
1104 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1105 |
|
|
1106 |
test SimGetFdnStatus
|
|
1107 |
allownextresult -2 // KErrGeneral
|
|
1108 |
waittestclass test // EMobilePhoneGetFdnStatus
|
|
1109 |
|
|
1110 |
test HandleSpecifiedRequests NO
|
|
1111 |
|
|
1112 |
delete test
|
|
1113 |
[Endtest]
|
|
1114 |
|
|
1115 |
// MOD_0007.017_5_NokiaTSY_[XML Set Fdn Status, EFest update fails]
|
|
1116 |
//
|
|
1117 |
// Test reading and changing the FDN status ("FDN active"/"FDN not active")
|
|
1118 |
// on the SIM card (Corresponds to IPCs EMobilePhoneGetFdnStatus and
|
|
1119 |
// EMobilePhoneSetFdnSetting) when EFest reading fails
|
|
1120 |
//
|
|
1121 |
// Precondition:
|
|
1122 |
// - N/A
|
|
1123 |
//
|
|
1124 |
// - SimSetFdnStatus:
|
|
1125 |
// 1st parameter: fdn setting
|
|
1126 |
// 0 = EFdnSetOn
|
|
1127 |
// 1 = EFdnSetOff
|
|
1128 |
//
|
|
1129 |
[Test]
|
|
1130 |
title MOD_0007.017_5_NokiaTSY_[XML Set Fdn Status, EFest update fails]
|
|
1131 |
create NTT_Security test
|
|
1132 |
|
|
1133 |
test HandleSpecifiedRequests YES
|
|
1134 |
test InitializeIPCRequestTable
|
|
1135 |
|
|
1136 |
test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
|
|
1137 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1138 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1139 |
|
|
1140 |
test RunIscTestCase 133
|
|
1141 |
test SyncIscTestCase
|
|
1142 |
allownextresult 0
|
|
1143 |
waittestclass test // EMmTsyBootNotifySimStatusReadyIPC
|
|
1144 |
|
|
1145 |
// enable FDN
|
|
1146 |
test SimSetFdnStatus 0
|
|
1147 |
allownextresult -2 // KErrGeneral
|
|
1148 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1149 |
|
|
1150 |
// disable FDN
|
|
1151 |
test SimSetFdnStatus 1
|
|
1152 |
allownextresult -2 // KErrGeneral
|
|
1153 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1154 |
|
|
1155 |
test HandleSpecifiedRequests NO
|
|
1156 |
|
|
1157 |
delete test
|
|
1158 |
[Endtest]
|
|
1159 |
|
|
1160 |
|
|
1161 |
// MOD_0007.017_6_NokiaTSY_[XML Get and Set Fdn Status when FDN not supported in EFust]
|
|
1162 |
//
|
|
1163 |
// Test reading and changing the FDN status ("FDN active"/"FDN not active")
|
|
1164 |
// on the SIM card (Corresponds to IPCs EMobilePhoneGetFdnStatus and
|
|
1165 |
// EMobilePhoneSetFdnSetting) when FDN not supported in EFust
|
|
1166 |
//
|
|
1167 |
// Precondition:
|
|
1168 |
// - N/A
|
|
1169 |
//
|
|
1170 |
// - SimSetFdnStatus:
|
|
1171 |
// 1st parameter: fdn setting
|
|
1172 |
// 0 = EFdnSetOn
|
|
1173 |
// 1 = EFdnSetOff
|
|
1174 |
//
|
|
1175 |
[Test]
|
|
1176 |
title MOD_0007.017_6_NokiaTSY_[XML Get and Set Fdn Status when FDN not supported in EFust]
|
|
1177 |
create NTT_Security test
|
|
1178 |
|
|
1179 |
test HandleSpecifiedRequests YES
|
|
1180 |
test InitializeIPCRequestTable
|
|
1181 |
|
|
1182 |
test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
|
|
1183 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1184 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1185 |
test SetExpectedCompleteIPC EMobilePhoneGetFdnStatus
|
|
1186 |
|
|
1187 |
test RunIscTestCase 139
|
|
1188 |
test SyncIscTestCase
|
|
1189 |
allownextresult 0
|
|
1190 |
waittestclass test // EMmTsyBootNotifySimStatusReadyIPC
|
|
1191 |
|
|
1192 |
// enable FDN
|
|
1193 |
test SimSetFdnStatus 0
|
|
1194 |
allownextresult -5 // KErrNotSupported
|
|
1195 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1196 |
|
|
1197 |
// disable FDN
|
|
1198 |
test SimSetFdnStatus 1
|
|
1199 |
allownextresult -5 // KErrNotSupported
|
|
1200 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1201 |
|
|
1202 |
test SimGetFdnStatus
|
|
1203 |
allownextresult 0
|
|
1204 |
waittestclass test // EMobilePhoneGetFdnStatus
|
|
1205 |
|
|
1206 |
test HandleSpecifiedRequests NO
|
|
1207 |
|
|
1208 |
delete test
|
|
1209 |
[Endtest]
|
|
1210 |
|
|
1211 |
|
|
1212 |
// MOD_0007.017_7_NokiaTSY_[XML Get and Set Fdn Status in case of ICC card]
|
|
1213 |
//
|
|
1214 |
// Test reading and changing the FDN status ("FDN active"/"FDN not active")
|
|
1215 |
// on the SIM card (Corresponds to IPCs EMobilePhoneGetFdnStatus and
|
|
1216 |
// EMobilePhoneSetFdnSetting) in case of ICC card
|
|
1217 |
//
|
|
1218 |
// Precondition:
|
|
1219 |
// - N/A
|
|
1220 |
//
|
|
1221 |
// - SimSetFdnStatus:
|
|
1222 |
// 1st parameter: fdn setting
|
|
1223 |
// 0 = EFdnSetOn
|
|
1224 |
// 1 = EFdnSetOff
|
|
1225 |
//
|
|
1226 |
[Test]
|
|
1227 |
title MOD_0007.017_7_NokiaTSY_[XML Get and Set Fdn Status in case of ICC card]
|
|
1228 |
create NTT_Security test
|
|
1229 |
|
|
1230 |
test HandleSpecifiedRequests YES
|
|
1231 |
test InitializeIPCRequestTable
|
|
1232 |
|
|
1233 |
test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
|
|
1234 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1235 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1236 |
test SetExpectedCompleteIPC EMobilePhoneGetFdnStatus
|
|
1237 |
test SetExpectedCompleteIPC EMobilePhoneGetFdnStatus
|
|
1238 |
|
|
1239 |
test RunIscTestCase 134
|
|
1240 |
test SyncIscTestCase
|
|
1241 |
allownextresult 0
|
|
1242 |
waittestclass test // EMmTsyBootNotifySimStatusReadyIPC
|
|
1243 |
|
|
1244 |
// enable FDN
|
|
1245 |
test SimSetFdnStatus 0
|
|
1246 |
allownextresult 0
|
|
1247 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1248 |
|
|
1249 |
// disable FDN
|
|
1250 |
test SimSetFdnStatus 1
|
|
1251 |
allownextresult 0
|
|
1252 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1253 |
|
|
1254 |
test SimGetFdnStatus
|
|
1255 |
allownextresult 0
|
|
1256 |
waittestclass test // EMobilePhoneGetFdnStatus
|
|
1257 |
|
|
1258 |
test SimGetFdnStatus
|
|
1259 |
allownextresult 0
|
|
1260 |
waittestclass test // EMobilePhoneGetFdnStatus
|
|
1261 |
|
|
1262 |
test HandleSpecifiedRequests NO
|
|
1263 |
|
|
1264 |
delete test
|
|
1265 |
[Endtest]
|
|
1266 |
|
|
1267 |
// MOD_0007.017_8_NokiaTSY_[XML Set Fdn Status in case of ICC card, command fails]
|
|
1268 |
//
|
|
1269 |
// Test reading and changing the FDN status ("FDN active"/"FDN not active")
|
|
1270 |
// on the SIM card (Corresponds to IPCs EMobilePhoneGetFdnStatus and
|
|
1271 |
// EMobilePhoneSetFdnSetting) in case of ICC card and command fails
|
|
1272 |
//
|
|
1273 |
// Precondition:
|
|
1274 |
// - N/A
|
|
1275 |
//
|
|
1276 |
// - SimSetFdnStatus:
|
|
1277 |
// 1st parameter: fdn setting
|
|
1278 |
// 0 = EFdnSetOn
|
|
1279 |
// 1 = EFdnSetOff
|
|
1280 |
//
|
|
1281 |
[Test]
|
|
1282 |
title MOD_0007.017_8_NokiaTSY_[XML Set Fdn Status in case of ICC card, command fails]
|
|
1283 |
create NTT_Security test
|
|
1284 |
|
|
1285 |
test HandleSpecifiedRequests YES
|
|
1286 |
test InitializeIPCRequestTable
|
|
1287 |
|
|
1288 |
test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
|
|
1289 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1290 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1291 |
|
|
1292 |
test RunIscTestCase 135
|
|
1293 |
test SyncIscTestCase
|
|
1294 |
allownextresult 0
|
|
1295 |
waittestclass test // EMmTsyBootNotifySimStatusReadyIPC
|
|
1296 |
|
|
1297 |
// enable FDN
|
|
1298 |
test SimSetFdnStatus 0
|
|
1299 |
allownextresult -21 // KerrAccessDenied
|
|
1300 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1301 |
|
|
1302 |
// disable FDN
|
|
1303 |
test SimSetFdnStatus 1
|
|
1304 |
allownextresult -2 // KErrGeneral
|
|
1305 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1306 |
|
|
1307 |
test HandleSpecifiedRequests NO
|
|
1308 |
|
|
1309 |
delete test
|
|
1310 |
[Endtest]
|
|
1311 |
|
|
1312 |
// MOD_0007.017_9_NokiaTSY_[XML Get and Set Fdn Status in case of ICC card, FDN not supported in EFsst]
|
|
1313 |
//
|
|
1314 |
// Test reading and changing the FDN status ("FDN active"/"FDN not active")
|
|
1315 |
// on the SIM card (Corresponds to IPCs EMobilePhoneGetFdnStatus and
|
|
1316 |
// EMobilePhoneSetFdnSetting) in case of ICC card
|
|
1317 |
//
|
|
1318 |
// Precondition:
|
|
1319 |
// - N/A
|
|
1320 |
//
|
|
1321 |
// - SimSetFdnStatus:
|
|
1322 |
// 1st parameter: fdn setting
|
|
1323 |
// 0 = EFdnSetOn
|
|
1324 |
// 1 = EFdnSetOff
|
|
1325 |
//
|
|
1326 |
[Test]
|
|
1327 |
title MOD_0007.017_9_NokiaTSY_[XML Get and Set Fdn Status in case of ICC card, FDN not supported in EFsst]
|
|
1328 |
create NTT_Security test
|
|
1329 |
|
|
1330 |
test HandleSpecifiedRequests YES
|
|
1331 |
test InitializeIPCRequestTable
|
|
1332 |
|
|
1333 |
test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
|
|
1334 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1335 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1336 |
test SetExpectedCompleteIPC EMobilePhoneGetFdnStatus
|
|
1337 |
|
|
1338 |
test RunIscTestCase 140
|
|
1339 |
test SyncIscTestCase
|
|
1340 |
allownextresult 0
|
|
1341 |
waittestclass test // EMmTsyBootNotifySimStatusReadyIPC
|
|
1342 |
|
|
1343 |
// enable FDN
|
|
1344 |
test SimSetFdnStatus 0
|
|
1345 |
allownextresult -5 // KErrNotSupported
|
|
1346 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1347 |
|
|
1348 |
// disable FDN
|
|
1349 |
test SimSetFdnStatus 1
|
|
1350 |
allownextresult -5 // KErrNotSupported
|
|
1351 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1352 |
|
|
1353 |
test SimGetFdnStatus
|
|
1354 |
allownextresult 0
|
|
1355 |
waittestclass test // EMobilePhoneGetFdnStatus
|
|
1356 |
|
|
1357 |
test HandleSpecifiedRequests NO
|
|
1358 |
|
|
1359 |
delete test
|
|
1360 |
[Endtest]
|
|
1361 |
|
|
1362 |
|
|
1363 |
// MOD_0007.017_10_NokiaTSY_[XML Set Fdn Status in case of ICC card, state already correct]
|
|
1364 |
//
|
|
1365 |
// Test reading and changing the FDN status ("FDN active"/"FDN not active")
|
|
1366 |
// on the SIM card (Corresponds to IPCs EMobilePhoneGetFdnStatus and
|
|
1367 |
// EMobilePhoneSetFdnSetting) in case of ICC card and state is already correct
|
|
1368 |
//
|
|
1369 |
// Precondition:
|
|
1370 |
// - N/A
|
|
1371 |
//
|
|
1372 |
// - SimSetFdnStatus:
|
|
1373 |
// 1st parameter: fdn setting
|
|
1374 |
// 0 = EFdnSetOn
|
|
1375 |
// 1 = EFdnSetOff
|
|
1376 |
//
|
|
1377 |
[Test]
|
|
1378 |
title MOD_0007.017_10_NokiaTSY_[XML Set Fdn Status in case of ICC card, state already correct]
|
|
1379 |
create NTT_Security test
|
|
1380 |
|
|
1381 |
test HandleSpecifiedRequests YES
|
|
1382 |
test InitializeIPCRequestTable
|
|
1383 |
|
|
1384 |
test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
|
|
1385 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1386 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1387 |
|
|
1388 |
test RunIscTestCase 136
|
|
1389 |
test SyncIscTestCase
|
|
1390 |
allownextresult 0
|
|
1391 |
waittestclass test // EMmTsyBootNotifySimStatusReadyIPC
|
|
1392 |
|
|
1393 |
// enable FDN
|
|
1394 |
test SimSetFdnStatus 0
|
|
1395 |
allownextresult 0
|
|
1396 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1397 |
|
|
1398 |
// disable FDN
|
|
1399 |
test SimSetFdnStatus 1
|
|
1400 |
allownextresult 0
|
|
1401 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1402 |
|
|
1403 |
test HandleSpecifiedRequests NO
|
|
1404 |
|
|
1405 |
delete test
|
|
1406 |
[Endtest]
|
|
1407 |
|
|
1408 |
// MOD_0007.017_11_NokiaTSY_[XML Get and Set Fdn Status in case of ICC card, file info reading fails]
|
|
1409 |
//
|
|
1410 |
// Test reading and changing the FDN status ("FDN active"/"FDN not active")
|
|
1411 |
// on the SIM card (Corresponds to IPCs EMobilePhoneGetFdnStatus and
|
|
1412 |
// EMobilePhoneSetFdnSetting) in case of ICC card and file info reading fails
|
|
1413 |
//
|
|
1414 |
// Precondition:
|
|
1415 |
// - N/A
|
|
1416 |
//
|
|
1417 |
// - SimSetFdnStatus:
|
|
1418 |
// 1st parameter: fdn setting
|
|
1419 |
// 0 = EFdnSetOn
|
|
1420 |
// 1 = EFdnSetOff
|
|
1421 |
//
|
|
1422 |
[Test]
|
|
1423 |
title MOD_0007.017_11_NokiaTSY_[XML Get and Set Fdn Status in case of ICC card, file info reading fails]
|
|
1424 |
create NTT_Security test
|
|
1425 |
|
|
1426 |
test HandleSpecifiedRequests YES
|
|
1427 |
test InitializeIPCRequestTable
|
|
1428 |
|
|
1429 |
test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
|
|
1430 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1431 |
test SetExpectedCompleteIPC EMobilePhoneSetFdnSetting
|
|
1432 |
test SetExpectedCompleteIPC EMobilePhoneGetFdnStatus
|
|
1433 |
|
|
1434 |
test RunIscTestCase 137
|
|
1435 |
test SyncIscTestCase
|
|
1436 |
allownextresult 0
|
|
1437 |
waittestclass test // EMmTsyBootNotifySimStatusReadyIPC
|
|
1438 |
|
|
1439 |
// enable FDN
|
|
1440 |
test SimSetFdnStatus 0
|
|
1441 |
allownextresult -5 // KErrNotSupported
|
|
1442 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1443 |
|
|
1444 |
// disable FDN
|
|
1445 |
test SimSetFdnStatus 1
|
|
1446 |
allownextresult -5 // KErrNotSupported
|
|
1447 |
waittestclass test // EMobilePhoneSetFdnSetting
|
|
1448 |
|
|
1449 |
test SimGetFdnStatus
|
|
1450 |
allownextresult -5 // KErrNotSupported
|
|
1451 |
waittestclass test // EMobilePhoneGetFdnStatus
|
|
1452 |
|
|
1453 |
test HandleSpecifiedRequests NO
|
|
1454 |
|
|
1455 |
delete test
|
|
1456 |
[Endtest]
|
|
1457 |
|
|
1458 |
|
|
1459 |
// MOD_0007.018_2_NokiaTSY_[XML DisablePhoneLock]
|
|
1460 |
//
|
|
1461 |
// Verify that the phone lock is disabled.
|
|
1462 |
//
|
|
1463 |
// Precondition:
|
|
1464 |
// - N/A
|
|
1465 |
//
|
|
1466 |
// Script description:
|
|
1467 |
// - DeliverCode:
|
|
1468 |
// 1st parameter: code to be delivered
|
|
1469 |
// - DisablePhoneLock
|
|
1470 |
// 1st parameter: security code
|
|
1471 |
//
|
|
1472 |
[Test]
|
|
1473 |
title MOD_0007.018_2_NokiaTSY_[XML DisablePhoneLock]
|
|
1474 |
create NTT_Security test
|
|
1475 |
|
|
1476 |
test HandleSpecifiedRequests YES
|
|
1477 |
test InitializeIPCRequestTable
|
|
1478 |
test SetExpectedCompleteIPC ECustomDisablePhoneLockIPC
|
|
1479 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
1480 |
test SetExpectedCompleteIPC EMobilePhoneNotifySecurityEvent
|
|
1481 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
1482 |
|
|
1483 |
test RunIscTestCase 130 // Run dummy case to start NTSY
|
|
1484 |
test SyncIscTestCase
|
|
1485 |
|
|
1486 |
test DeliverCode 12345
|
|
1487 |
allownextresult 0
|
|
1488 |
waittestclass test
|
|
1489 |
|
|
1490 |
// wait for ISC testcase completion signal
|
|
1491 |
allownextresult 1
|
|
1492 |
waittestclass test
|
|
1493 |
|
|
1494 |
test RunIscTestCase 118
|
|
1495 |
test SyncIscTestCase
|
|
1496 |
|
|
1497 |
test DisablePhoneLock 12345
|
|
1498 |
allownextresult 0
|
|
1499 |
waittestclass test // ECustomDisablePhoneLockIPC
|
|
1500 |
|
|
1501 |
allownextresult 0
|
|
1502 |
waittestclass test // EMobilePhoneGetLockInfo
|
|
1503 |
|
|
1504 |
allownextresult 0
|
|
1505 |
waittestclass test // EMobilePhoneNotifySecurityEvent
|
|
1506 |
|
|
1507 |
allownextresult 0
|
|
1508 |
waittestclass test // EMobilePhoneNotifyLockInfoChange
|
|
1509 |
|
|
1510 |
test HandleSpecifiedRequests NO
|
|
1511 |
|
|
1512 |
delete test
|
|
1513 |
[Endtest]
|
|
1514 |
|
|
1515 |
|
|
1516 |
// MOD_0007.019_2_NokiaTSY_[XML SecurityInfo]
|
|
1517 |
//
|
|
1518 |
// Verify that the phone returns correct value of remaining attempts left
|
|
1519 |
//
|
|
1520 |
// Precondition:
|
|
1521 |
// - N/A
|
|
1522 |
//
|
|
1523 |
// Script description:
|
|
1524 |
// - SecurityInfo
|
|
1525 |
// Type of securitycode:
|
|
1526 |
// - ESecurityCodePin1
|
|
1527 |
// - ESecurityCodePin2
|
|
1528 |
// - ESecurityCodePuk1
|
|
1529 |
// - ESecurityCodePuk2
|
|
1530 |
// - ESecurityUniversalPin
|
|
1531 |
// - ESecurityUniversalPuk
|
|
1532 |
//
|
|
1533 |
[Test]
|
|
1534 |
title MOD_0007.019_2_NokiaTSY_[XML SecurityInfo]
|
|
1535 |
create NTT_Security test
|
|
1536 |
|
|
1537 |
test HandleSpecifiedRequests YES
|
|
1538 |
test InitializeIPCRequestTable
|
|
1539 |
test SetExpectedCompleteIPC EMobilePhoneGetSecurityCodeInfo
|
|
1540 |
|
|
1541 |
test RunIscTestCase 119
|
|
1542 |
test SyncIscTestCase
|
|
1543 |
|
|
1544 |
test SecurityInfo ESecurityCodePin1
|
|
1545 |
allownextresult 0
|
|
1546 |
waittestclass test // EMobilePhoneGetSecurityCodeInfo
|
|
1547 |
|
|
1548 |
test HandleSpecifiedRequests NO
|
|
1549 |
|
|
1550 |
delete test
|
|
1551 |
[Endtest]
|
|
1552 |
|
|
1553 |
// MOD_0007_120_2_NokiaTSY_[XML Get Current Active USIM Application]
|
|
1554 |
//
|
|
1555 |
// Precondition:
|
|
1556 |
// - N/A
|
|
1557 |
//
|
|
1558 |
// Script description:
|
|
1559 |
// - Get Current Active USIM Application
|
|
1560 |
//
|
|
1561 |
[Test]
|
|
1562 |
title MOD_0007_120_2_NokiaTSY_[XML Get Current Active USIM Application]
|
|
1563 |
create NTT_Security test
|
|
1564 |
test HandleSpecifiedRequests YES
|
|
1565 |
test InitializeIPCRequestTable
|
|
1566 |
test SetExpectedCompleteIPC EMobilePhoneGetCurrentActiveUSimApplication
|
|
1567 |
test RunIscTestCase 121
|
|
1568 |
test SyncIscTestCase
|
|
1569 |
test GetCurrentActiveUSIMApplication 147377136
|
|
1570 |
allownextresult 0
|
|
1571 |
waittestclass test
|
|
1572 |
test HandleSpecifiedRequests NO
|
|
1573 |
delete test
|
|
1574 |
[Endtest]
|
|
1575 |
|
|
1576 |
// MOD_0007_121_2_NokiaTSY_[XML Get Current Active USIM Application 2G]
|
|
1577 |
//
|
|
1578 |
// Precondition:
|
|
1579 |
// - N/A
|
|
1580 |
//
|
|
1581 |
// Script description:
|
|
1582 |
// - Get Current Active USIM Application
|
|
1583 |
//
|
|
1584 |
[Test]
|
|
1585 |
title MOD_0007_121_2_NokiaTSY_[XML Get Current Active USIM Application 2G]
|
|
1586 |
create NTT_Security test
|
|
1587 |
test HandleSpecifiedRequests YES
|
|
1588 |
test InitializeIPCRequestTable
|
|
1589 |
test SetExpectedCompleteIPC EMobilePhoneGetCurrentActiveUSimApplication
|
|
1590 |
test RunIscTestCase 122
|
|
1591 |
test SyncIscTestCase
|
|
1592 |
test GetCurrentActiveUSIMApplication
|
|
1593 |
allownextresult -1
|
|
1594 |
waittestclass test
|
|
1595 |
test HandleSpecifiedRequests NO
|
|
1596 |
delete test
|
|
1597 |
[Endtest]
|
|
1598 |
|
|
1599 |
// MOD_0007_122_2_NokiaTSY_[XML Get Current Active USIM Application - sb status not ok]
|
|
1600 |
//
|
|
1601 |
// Precondition:
|
|
1602 |
// - N/A
|
|
1603 |
//
|
|
1604 |
// Script description:
|
|
1605 |
// - Get Current Active USIM Application
|
|
1606 |
//
|
|
1607 |
[Test]
|
|
1608 |
title MOD_0007_122_2_NokiaTSY_[XML Get Current Active USIM Application - sb status not ok]
|
|
1609 |
create NTT_Security test
|
|
1610 |
test HandleSpecifiedRequests YES
|
|
1611 |
test InitializeIPCRequestTable
|
|
1612 |
test SetExpectedCompleteIPC EMobilePhoneGetCurrentActiveUSimApplication
|
|
1613 |
test RunIscTestCase 123
|
|
1614 |
test SyncIscTestCase
|
|
1615 |
test GetCurrentActiveUSIMApplication
|
|
1616 |
allownextresult -2
|
|
1617 |
waittestclass test
|
|
1618 |
test HandleSpecifiedRequests NO
|
|
1619 |
delete test
|
|
1620 |
[Endtest]
|
|
1621 |
|
|
1622 |
// MOD_0007_123_2_NokiaTSY_[XML Get Current Active USIM Application - file not avail]
|
|
1623 |
//
|
|
1624 |
// Precondition:
|
|
1625 |
// - N/A
|
|
1626 |
//
|
|
1627 |
// Script description:
|
|
1628 |
// - Get Current Active USIM Application
|
|
1629 |
//
|
|
1630 |
[Test]
|
|
1631 |
title MOD_0007_123_2_NokiaTSY_[XML Get Current Active USIM Application - file not avail]
|
|
1632 |
create NTT_Security test
|
|
1633 |
test HandleSpecifiedRequests YES
|
|
1634 |
test InitializeIPCRequestTable
|
|
1635 |
test SetExpectedCompleteIPC EMobilePhoneGetCurrentActiveUSimApplication
|
|
1636 |
test RunIscTestCase 124
|
|
1637 |
test SyncIscTestCase
|
|
1638 |
test GetCurrentActiveUSIMApplication
|
|
1639 |
allownextresult -1
|
|
1640 |
waittestclass test
|
|
1641 |
test HandleSpecifiedRequests NO
|
|
1642 |
delete test
|
|
1643 |
[Endtest]
|
|
1644 |
|
|
1645 |
// MOD_0007_200_2_NokiaTSY_[XML SIM lock disabled - original SIM]
|
|
1646 |
//
|
|
1647 |
// Precondition:
|
|
1648 |
// - N/A
|
|
1649 |
//
|
|
1650 |
// Script description:
|
|
1651 |
// - SEC_CODE_STATE_OK_RESP state is SEC_DISABLE
|
|
1652 |
// - Reference: TSW Error EAJG-7EE9GN
|
|
1653 |
//
|
|
1654 |
[Test]
|
|
1655 |
title MOD_0007_200_2_NokiaTSY_[XML SIM lock disabled - original SIM]
|
|
1656 |
create NTT_Security test
|
|
1657 |
|
|
1658 |
test HandleSpecifiedRequests YES
|
|
1659 |
test InitializeIPCRequestTable
|
|
1660 |
|
|
1661 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
1662 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
1663 |
|
|
1664 |
test RunIscTestCase 127
|
|
1665 |
test SyncIscTestCase
|
|
1666 |
test GetLockInfo ELockPhoneToICC SIMLockDisabled Unlocked
|
|
1667 |
|
|
1668 |
// EMobilePhoneGetLockInfo
|
|
1669 |
allownextresult 0
|
|
1670 |
waittestclass test
|
|
1671 |
|
|
1672 |
// EMobilePhoneNotifyLockInfoChange
|
|
1673 |
allownextresult 0
|
|
1674 |
waittestclass test
|
|
1675 |
|
|
1676 |
test HandleSpecifiedRequests NO
|
|
1677 |
|
|
1678 |
delete test
|
|
1679 |
[Endtest]
|
|
1680 |
|
|
1681 |
// MOD_0007_201_2_NokiaTSY_[XML SIM lock enabled - original SIM]
|
|
1682 |
//
|
|
1683 |
// Precondition:
|
|
1684 |
// - N/A
|
|
1685 |
//
|
|
1686 |
// Script description:
|
|
1687 |
// - SEC_CODE_STATE_OK_RESP state is SEC_CODE_LEVEL_PHONE_ENABLE
|
|
1688 |
// and in this case SEC_STATE_REQ is sent.
|
|
1689 |
// - SEC_STATE_RESP cardStatus is SEC_OWNER_CARD => lock status is unlocked.
|
|
1690 |
// - Reference: TSW Error EAJG-7EE9GN
|
|
1691 |
//
|
|
1692 |
[Test]
|
|
1693 |
title MOD_0007_201_2_NokiaTSY_[XML SIM lock enabled - original SIM]
|
|
1694 |
create NTT_Security test
|
|
1695 |
|
|
1696 |
test HandleSpecifiedRequests YES
|
|
1697 |
test InitializeIPCRequestTable
|
|
1698 |
|
|
1699 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
1700 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
1701 |
|
|
1702 |
test RunIscTestCase 128
|
|
1703 |
test SyncIscTestCase
|
|
1704 |
test GetLockInfo ELockPhoneToICC SIMLockEnabled Unlocked
|
|
1705 |
|
|
1706 |
// EMobilePhoneGetLockInfo
|
|
1707 |
allownextresult 0
|
|
1708 |
waittestclass test
|
|
1709 |
|
|
1710 |
// EMobilePhoneNotifyLockInfoChange
|
|
1711 |
allownextresult 0
|
|
1712 |
waittestclass test
|
|
1713 |
|
|
1714 |
test HandleSpecifiedRequests NO
|
|
1715 |
|
|
1716 |
delete test
|
|
1717 |
[Endtest]
|
|
1718 |
|
|
1719 |
// MOD_0007_202_2_NokiaTSY_[XML SIM lock enabled - SIM is changed]
|
|
1720 |
//
|
|
1721 |
// Precondition:
|
|
1722 |
// - N/A
|
|
1723 |
//
|
|
1724 |
// Script description:
|
|
1725 |
// - SEC_CODE_STATE_OK_RESP state is SEC_CODE_LEVEL_PHONE_ENABLE
|
|
1726 |
// and in this case SEC_STATE_REQ is sent.
|
|
1727 |
// - SEC_STATE_RESP cardStatus is SEC_NOT_OWNER_CARD => lock status is locked.
|
|
1728 |
// - Reference: TSW Error EAJG-7EE9GN
|
|
1729 |
//
|
|
1730 |
[Test]
|
|
1731 |
title MOD_0007_202_2_NokiaTSY_[XML SIM lock enabled - SIM is changed]
|
|
1732 |
create NTT_Security test
|
|
1733 |
|
|
1734 |
test HandleSpecifiedRequests YES
|
|
1735 |
test InitializeIPCRequestTable
|
|
1736 |
|
|
1737 |
test SetExpectedCompleteIPC EMobilePhoneGetLockInfo
|
|
1738 |
test SetExpectedCompleteIPC EMobilePhoneNotifyLockInfoChange
|
|
1739 |
|
|
1740 |
test RunIscTestCase 129
|
|
1741 |
test SyncIscTestCase
|
|
1742 |
test GetLockInfo ELockPhoneToICC SIMLockEnabled Locked
|
|
1743 |
|
|
1744 |
// EMobilePhoneGetLockInfo
|
|
1745 |
allownextresult 0
|
|
1746 |
waittestclass test
|
|
1747 |
|
|
1748 |
// EMobilePhoneNotifyLockInfoChange
|
|
1749 |
allownextresult 0
|
|
1750 |
waittestclass test
|
|
1751 |
|
|
1752 |
test HandleSpecifiedRequests NO
|
|
1753 |
|
|
1754 |
delete test
|
|
1755 |
[Endtest]
|
|
1756 |
|
|
1757 |
// End of file
|