adaptationlayer/tsy/nokiatsy_dll/internal/test/nokiatsy_test_tool/sim/group/sim_simulate.cfg
changeset 0 63b37f68c1ce
equal deleted inserted replaced
-1:000000000000 0:63b37f68c1ce
       
     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_0005_101_2_NokiaTSY_[XML GetServiceTable SIM]
       
    18 //
       
    19 // Precondition:
       
    20 // - none
       
    21 //
       
    22 // Script description:
       
    23 // - Get service table SIM
       
    24 // - First parameter is service table
       
    25 //
       
    26 [Test]
       
    27 title MOD_0005_101_2_NokiaTSY_[XML GetServiceTable SIM]
       
    28 create NTT_SIM test
       
    29 test InitializeIPCRequestTable
       
    30 test SetExpectedCompleteIPC EMobilePhoneGetServiceTable
       
    31 test RunIscTestCase 111
       
    32 test SyncIscTestCase
       
    33 test GetServiceTable SIM
       
    34 allownextresult 0
       
    35 waittestclass test
       
    36 delete test
       
    37 [Endtest]
       
    38 
       
    39 
       
    40 // MOD_0005_102_2_NokiaTSY_[XML GetServiceTable USIM]
       
    41 //
       
    42 // Precondition:
       
    43 // - none
       
    44 //
       
    45 // Script description:
       
    46 // - Get service table USIM
       
    47 // - First parameter is service table
       
    48 //
       
    49 [Test]
       
    50 title MOD_0005_102_2_NokiaTSY_[XML GetServiceTable USIM]
       
    51 create NTT_SIM test
       
    52 test InitializeIPCRequestTable
       
    53 test SetExpectedCompleteIPC EMobilePhoneGetServiceTable
       
    54 test RunIscTestCase 112
       
    55 test SyncIscTestCase
       
    56 test GetServiceTable USIM
       
    57 allownextresult 0
       
    58 waittestclass test
       
    59 delete test
       
    60 [Endtest]
       
    61 
       
    62 
       
    63 // MOD_0005_103_2_NokiaTSY_[XML GetServiceTable SIM and USIM]
       
    64 //
       
    65 // Precondition:
       
    66 // - none
       
    67 //
       
    68 // Script description:
       
    69 // - Get service table SIM and USIM
       
    70 // - First parameter is service table
       
    71 //
       
    72 [Test]
       
    73 title MOD_0005_103_2_NokiaTSY_[XML GetServiceTable SIM and USIM]
       
    74 create NTT_SIM test
       
    75 test InitializeIPCRequestTable
       
    76 test SetExpectedCompleteIPC EMobilePhoneGetServiceTable
       
    77 test SetExpectedCompleteIPC EMobilePhoneGetServiceTable
       
    78 test RunIscTestCase 111
       
    79 test SyncIscTestCase
       
    80 test GetServiceTable SIM
       
    81 allownextresult 0
       
    82 waittestclass test
       
    83 // wait for ISC testcase completion signal
       
    84 allownextresult 1
       
    85 waittestclass test
       
    86 test RunIscTestCase 112
       
    87 test SyncIscTestCase
       
    88 test GetServiceTable USIM
       
    89 allownextresult 0
       
    90 waittestclass test
       
    91 delete test
       
    92 [Endtest]
       
    93 
       
    94 
       
    95 // MOD_0005_104_2_NokiaTSY_[XML GetServiceTable USIM and SIM]
       
    96 //
       
    97 // Precondition:
       
    98 // - none
       
    99 //
       
   100 // Script description:
       
   101 // - Get service table USIM and SIM
       
   102 // - First parameter is service table
       
   103 //
       
   104 [Test]
       
   105 title MOD_0005_104_2_NokiaTSY_[XML GetServiceTable USIM and SIM]
       
   106 create NTT_SIM test
       
   107 test InitializeIPCRequestTable
       
   108 test SetExpectedCompleteIPC EMobilePhoneGetServiceTable
       
   109 test SetExpectedCompleteIPC EMobilePhoneGetServiceTable
       
   110 test RunIscTestCase 112
       
   111 test SyncIscTestCase
       
   112 test GetServiceTable USIM
       
   113 allownextresult 0
       
   114 waittestclass test
       
   115 // wait for ISC testcase completion signal
       
   116 allownextresult 1
       
   117 waittestclass test
       
   118 test RunIscTestCase 111
       
   119 test SyncIscTestCase
       
   120 test GetServiceTable SIM
       
   121 allownextresult 0
       
   122 waittestclass test
       
   123 delete test
       
   124 [Endtest]
       
   125 
       
   126 
       
   127 // MOD_0005_105_2_NokiaTSY_[XML GetALSLine]
       
   128 //
       
   129 // Precondition:
       
   130 // - none
       
   131 //
       
   132 // Script description:
       
   133 // - Get ALS line
       
   134 // - parameter: ALS line (EAlternateLinePrimary = 0,
       
   135 //   EAlternateLineAuxiliary = 1), for validity checking
       
   136 //
       
   137 [Test]
       
   138 title MOD_0005_105_2_NokiaTSY_[XML GetALSLine]
       
   139 create NTT_SIM test
       
   140 test HandleSpecifiedRequests YES
       
   141 test InitializeIPCRequestTable
       
   142 test SetExpectedCompleteIPC EMobilePhoneGetALSLine
       
   143 test RunIscTestCase 500
       
   144 test SyncIscTestCase
       
   145 test GetALSLine 1
       
   146 allownextresult 0
       
   147 waittestclass test
       
   148 test HandleSpecifiedRequests NO
       
   149 delete test
       
   150 [Endtest]
       
   151 
       
   152 
       
   153 // MOD_0005_106_2_NokiaTSY_[XML SetALSLine 0]
       
   154 //
       
   155 // Precondition:
       
   156 // - none
       
   157 //
       
   158 // Script description:
       
   159 // - Set ALS line
       
   160 // - parameters:
       
   161 //   0 = EAlternateLinePrimary,
       
   162 //   1 = EAlternateLineAuxiliary,
       
   163 //   2 = EAlternateLineUnknown,
       
   164 //   3 = EAlternateLineNotAvailable
       
   165 //
       
   166 [Test]
       
   167 title MOD_0005_106_2_NokiaTSY_[XML SetALSLine 0]
       
   168 create NTT_SIM test
       
   169 test InitializeIPCRequestTable
       
   170 test SetExpectedCompleteIPC EMobilePhoneSetALSLine
       
   171 test RunIscTestCase 501
       
   172 test SyncIscTestCase
       
   173 test SetALSLine 0
       
   174 allownextresult 0
       
   175 waittestclass test
       
   176 delete test
       
   177 [Endtest]
       
   178 
       
   179 
       
   180 // MOD_0005_107_2_NokiaTSY_[XML SetALSLine 1]
       
   181 //
       
   182 // Precondition:
       
   183 // - none
       
   184 //
       
   185 // Script description:
       
   186 // - Set ALS line
       
   187 // - parameters:
       
   188 //   0 = EAlternateLinePrimary,
       
   189 //   1 = EAlternateLineAuxiliary,
       
   190 //   2 = EAlternateLineUnknown,
       
   191 //   3 = EAlternateLineNotAvailable
       
   192 //
       
   193 [Test]
       
   194 title MOD_0005_107_2_NokiaTSY_[XML SetALSLine 1]
       
   195 create NTT_SIM test
       
   196 test InitializeIPCRequestTable
       
   197 test SetExpectedCompleteIPC EMobilePhoneSetALSLine
       
   198 test RunIscTestCase 502
       
   199 test SyncIscTestCase
       
   200 test SetALSLine 1
       
   201 allownextresult 0
       
   202 waittestclass test
       
   203 delete test
       
   204 [Endtest]
       
   205 
       
   206 
       
   207 // MOD_0005_108_2_NokiaTSY_[XML GetCustomerServiceProfile]
       
   208 //
       
   209 // Precondition:
       
   210 // -none
       
   211 //
       
   212 // Script description:
       
   213 // - GetCustomerServiceProfile
       
   214 // - parameters (for validity checking)
       
   215 // - CallOfferingServices: 240
       
   216 // - CallRestrictionServices: 248
       
   217 // - OtherSuppServices: 128
       
   218 // - CallCompletionServices: 192
       
   219 // - Teleservices: 222
       
   220 // - CphsTeleservices: 128
       
   221 // - CphsFeatures: 0
       
   222 // - NumberIdentServices: 129
       
   223 // - Phase2PlusServices: 0
       
   224 // - ValueAddedServices: 132
       
   225 //
       
   226 [Test]
       
   227 title MOD_0005_108_2_NokiaTSY_[XML GetCustomerServiceProfile]
       
   228 create NTT_SIM test
       
   229 test HandleSpecifiedRequests YES
       
   230 test InitializeIPCRequestTable
       
   231 test SetExpectedCompleteIPC EMobilePhoneGetCustomerServiceProfile
       
   232 test RunIscTestCase 503
       
   233 test SyncIscTestCase
       
   234 test GetCustomerServiceProfile 240 248 128 192 222 128 0 129 0 132
       
   235 allownextresult 0
       
   236 waittestclass test
       
   237 test HandleSpecifiedRequests NO
       
   238 delete test
       
   239 [Endtest]
       
   240 
       
   241 
       
   242 // MOD_0005_109_2_NokiaTSY_[XML GetPin1DisableSupported]
       
   243 //
       
   244 // Precondition:
       
   245 // - none
       
   246 //
       
   247 // Script description:
       
   248 // - GetPin1DisableSupported
       
   249 //
       
   250 [Test]
       
   251 title MOD_0005_109_2_NokiaTSY_[XML GetPin1DisableSupported]
       
   252 create NTT_SIM test
       
   253 test InitializeIPCRequestTable
       
   254 test SetExpectedCompleteIPC EMmTsyPhoneGetPin1DisableSupportedIPC
       
   255 test RunIscTestCase 504
       
   256 test SyncIscTestCase
       
   257 test GetPin1DisableSupported
       
   258 allownextresult 0
       
   259 waittestclass test
       
   260 delete test
       
   261 [Endtest]
       
   262 
       
   263 
       
   264 // MOD_0005_110_2_NokiaTSY_[XML SimRefreshRegister]
       
   265 //
       
   266 // Precondition:
       
   267 // - none
       
   268 //
       
   269 // Script description:
       
   270 // - SimRefreshRegister
       
   271 // parameter:
       
   272 //  KCacheSmsParams = 0x01
       
   273 //  KCacheAdn = 0x02
       
   274 //  KCacheFdn = 0x04
       
   275 //  KCacheServiceTable = 0x08
       
   276 //  KCacheALSline = 0x10
       
   277 //
       
   278 [Test]
       
   279 title MOD_0005_110_2_NokiaTSY_[XML SimRefreshRegister]
       
   280 create NTT_SIM test
       
   281 test InitializeIPCRequestTable
       
   282 test SetExpectedCompleteIPC EMmTsySimRefreshRegisterIPC
       
   283 test RunIscTestCase 505
       
   284 test SyncIscTestCase
       
   285 test SimRefreshRegister 31
       
   286 allownextresult 0
       
   287 waittestclass test
       
   288 delete test
       
   289 [Endtest]
       
   290 
       
   291 
       
   292 // MOD_0005_111_2_NokiaTSY_[XML SimRefreshDone ok]
       
   293 //
       
   294 // Precondition:
       
   295 // - none
       
   296 //
       
   297 // Script description:
       
   298 // - SimRefreshDone
       
   299 // - parameter: error code
       
   300 //
       
   301 [Test]
       
   302 title MOD_0005_111_2_NokiaTSY_[XML SimRefreshDone ok]
       
   303 create NTT_SIM test
       
   304 test InitializeIPCRequestTable
       
   305 test SetExpectedCompleteIPC EMmTsySimRefreshNowIPC
       
   306 test SetExpectedCompleteIPC EMmTsySimRefreshDoneIPC
       
   307 test SendSIMRefreshNtf
       
   308 
       
   309 test RunIscTestCase 101
       
   310 test SyncIscTestCase
       
   311 
       
   312 allownextresult 0
       
   313 waittestclass test
       
   314 
       
   315 // wait for ISC testcase completion signal
       
   316 allownextresult 1
       
   317 waittestclass test
       
   318 
       
   319 test RunIscTestCase 506
       
   320 test SyncIscTestCase
       
   321 test SimRefreshDone 0
       
   322 
       
   323 allownextresult 0
       
   324 waittestclass test
       
   325 delete test
       
   326 [Endtest]
       
   327 
       
   328 
       
   329 // MOD_0005_112_2_NokiaTSY_[XML SimRefreshDone fail]
       
   330 //
       
   331 // Precondition:
       
   332 // - none
       
   333 //
       
   334 // Script description:
       
   335 // - SimRefreshDone
       
   336 // - parameter: error code
       
   337 //
       
   338 [Test]
       
   339 title MOD_0005_112_2_NokiaTSY_[XML SimRefreshDone fail]
       
   340 create NTT_SIM test
       
   341 test InitializeIPCRequestTable
       
   342 test SetExpectedCompleteIPC EMmTsySimRefreshNowIPC
       
   343 test SetExpectedCompleteIPC EMmTsySimRefreshDoneIPC
       
   344 
       
   345 test SendSIMRefreshNtf
       
   346 
       
   347 test RunIscTestCase 101
       
   348 test SyncIscTestCase
       
   349 
       
   350 allownextresult 0
       
   351 waittestclass test
       
   352 
       
   353 // wait for ISC testcase completion signal
       
   354 allownextresult 1
       
   355 waittestclass test
       
   356 
       
   357 test RunIscTestCase 507
       
   358 test SyncIscTestCase
       
   359 test SimRefreshDone 1
       
   360 
       
   361 allownextresult 0
       
   362 waittestclass test
       
   363 delete test
       
   364 [Endtest]
       
   365 
       
   366 // MOD_0005_112_1_2_NokiaTSY_[XML SimRefreshDone with caching and fail]
       
   367 //
       
   368 // Precondition:
       
   369 // - none
       
   370 //
       
   371 // Script description:
       
   372 // - SimRefreshDone
       
   373 // - parameter: error code
       
   374 //
       
   375 [Test]
       
   376 title MOD_0005_112_1_2_NokiaTSY_[XML SimRefreshDone with caching and fail]
       
   377 create NTT_SIM test
       
   378 test InitializeIPCRequestTable
       
   379 test SetExpectedCompleteIPC EMmTsySimRefreshNowIPC
       
   380 test SetExpectedCompleteIPC EMmTsySimRefreshDoneIPC
       
   381 
       
   382 test SendSIMRefreshNtf
       
   383 
       
   384 test RunIscTestCase 102
       
   385 test SyncIscTestCase
       
   386 
       
   387 allownextresult 0
       
   388 pause 1000
       
   389 waittestclass test
       
   390 
       
   391 // wait for ISC testcase completion signal
       
   392 allownextresult 1
       
   393 waittestclass test
       
   394 
       
   395 test RunIscTestCase 666
       
   396 test SyncIscTestCase
       
   397 test SimRefreshDone 1
       
   398 
       
   399 allownextresult 0
       
   400 waittestclass test
       
   401 delete test
       
   402 [Endtest]
       
   403 
       
   404 
       
   405 // MOD_0005_113_2_NokiaTSY_[XML GetSubscriberId]
       
   406 //
       
   407 // Precondition:
       
   408 // - none
       
   409 //
       
   410 // Script description:
       
   411 // - GetSubscriberId
       
   412 // - parameter: IMSI (for validity checking)
       
   413 //
       
   414 [Test]
       
   415 title MOD_0005_113_2_NokiaTSY_[XML GetSubscriberId]
       
   416 create NTT_SIM test
       
   417 test HandleSpecifiedRequests YES
       
   418 test InitializeIPCRequestTable
       
   419 test SetExpectedCompleteIPC EMobilePhoneGetSubscriberId
       
   420 test RunIscTestCase 508
       
   421 test SyncIscTestCase
       
   422 test GetSubscriberId 234334009813270
       
   423 allownextresult 0
       
   424 waittestclass test
       
   425 test HandleSpecifiedRequests NO
       
   426 delete test
       
   427 [Endtest]
       
   428 
       
   429 
       
   430 // MOD_0005_114_2_NokiaTSY_[XML GetServiceProviderName]
       
   431 //
       
   432 // Precondition:
       
   433 // - none
       
   434 //
       
   435 // Script description:
       
   436 // - GetServiceProviderName
       
   437 // - parameter: display request (1) for validity checking
       
   438 //
       
   439 [Test]
       
   440 title MOD_0005_114_2_NokiaTSY_[XML GetServiceProviderName]
       
   441 create NTT_SIM test
       
   442 test HandleSpecifiedRequests YES
       
   443 test InitializeIPCRequestTable
       
   444 test SetExpectedCompleteIPC EMobilePhoneGetServiceProviderName
       
   445 test RunIscTestCase 509
       
   446 test SyncIscTestCase
       
   447 test GetServiceProviderName 1
       
   448 allownextresult 0
       
   449 waittestclass test
       
   450 test HandleSpecifiedRequests NO
       
   451 delete test
       
   452 [Endtest]
       
   453 
       
   454 
       
   455 // MOD_0005_117_2_NokiaTSY_[XML ReadSimFile]
       
   456 //
       
   457 // Precondition:
       
   458 // - none
       
   459 //
       
   460 // Script description:
       
   461 // - Read Sim File
       
   462 // - parameters:
       
   463 //      master file     0x3F00
       
   464 //      dedicated file  0x2FE2
       
   465 //      dedicated file  0x0000
       
   466 //      elementary file 0x0000
       
   467 //      offset          0x0000
       
   468 //      size            0x0000
       
   469 //
       
   470 [Test]
       
   471 title MOD_0005_117_2_NokiaTSY_[XML ReadSimFile]
       
   472 create NTT_SIM test
       
   473 test InitializeIPCRequestTable
       
   474 test SetExpectedCompleteIPC ECustomReadSimFileIPC
       
   475 test RunIscTestCase 510
       
   476 test SyncIscTestCase
       
   477 test ReadSimFile 16128 12258 0 0 0 0
       
   478 allownextresult 0
       
   479 waittestclass test
       
   480 delete test
       
   481 [Endtest]
       
   482 
       
   483 
       
   484 // MOD_0005_118_2_NokiaTSY_[XML GetSimAuthenticationData SIM]
       
   485 //
       
   486 // Precondition:
       
   487 // - none
       
   488 //
       
   489 // Script description:
       
   490 // -Parameter SIM: gsm security context authentication 
       
   491 //
       
   492 [Test]
       
   493 title MOD_0005_118_2_NokiaTSY_[XML GetSimAuthenticationData SIM]
       
   494 create NTT_SIM test
       
   495 test InitializeIPCRequestTable
       
   496 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   497 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   498 pause 1000
       
   499 
       
   500 test RunIscTestCase 511
       
   501 test SyncIscTestCase
       
   502 allownextresult 0
       
   503 waittestclass test
       
   504 test GetSimAuthenticationData SIM
       
   505 allownextresult 0
       
   506 waittestclass test
       
   507 
       
   508 delete test
       
   509 [Endtest]
       
   510 
       
   511 
       
   512 // MOD_0005_118_3_NokiaTSY_[XML GetSimAuthenticationData SIM invalid APDU]
       
   513 //
       
   514 // Precondition:
       
   515 // - none
       
   516 //
       
   517 // Script description:
       
   518 // -Parameter SIM: gsm security context authentication
       
   519 //
       
   520 [Test]
       
   521 title MOD_0005_118_3_NokiaTSY_[XML GetSimAuthenticationData SIM invalid APDU]
       
   522 create NTT_SIM test
       
   523 test InitializeIPCRequestTable
       
   524 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   525 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   526 
       
   527 test RunIscTestCase 192
       
   528 test SyncIscTestCase
       
   529 allownextresult 0
       
   530 waittestclass test
       
   531 test GetSimAuthenticationData SIM
       
   532 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
   533 waittestclass test
       
   534 
       
   535 delete test
       
   536 [Endtest]
       
   537 
       
   538 
       
   539 // MOD_0005_118_4_NokiaTSY_[XML GetSimAuthenticationData SIM invalid APDU part2]
       
   540 //
       
   541 // Precondition:
       
   542 // - none
       
   543 //
       
   544 // Script description:
       
   545 // -Parameter SIM: gsm security context authentication
       
   546 //
       
   547 [Test]
       
   548 title MOD_0005_118_4_NokiaTSY_[XML GetSimAuthenticationData SIM invalid APDU part2]
       
   549 create NTT_SIM test
       
   550 test InitializeIPCRequestTable
       
   551 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   552 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   553 
       
   554 test RunIscTestCase 193
       
   555 test SyncIscTestCase
       
   556 allownextresult 0
       
   557 waittestclass test
       
   558 test GetSimAuthenticationData SIM
       
   559 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
   560 waittestclass test
       
   561 
       
   562 delete test
       
   563 [Endtest]
       
   564 
       
   565 
       
   566 // MOD_0005_119_2_NokiaTSY_[XML GetSimAuthenticationData AKA]
       
   567 //
       
   568 // Precondition:
       
   569 // - none
       
   570 //
       
   571 // Script description:
       
   572 // -Parameter AKA: forces service type to SIM_ST_EAP_AKA_CONTEXT in
       
   573 //  SIM_AUTHENTICATION_REQ message.
       
   574 //
       
   575 [Test]
       
   576 title MOD_0005_119_2_NokiaTSY_[XML GetSimAuthenticationData AKA]
       
   577 create NTT_SIM test
       
   578 test InitializeIPCRequestTable
       
   579 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   580 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   581 
       
   582 test RunIscTestCase 512
       
   583 test SyncIscTestCase
       
   584 allownextresult 0
       
   585 waittestclass test
       
   586 test GetSimAuthenticationData AKA
       
   587 allownextresult 0
       
   588 waittestclass test
       
   589 delete test
       
   590 [Endtest]
       
   591 
       
   592 
       
   593 // MOD_0005_119_3_NokiaTSY_[XML GetSimAuthenticationData AKA Synchronisation failure]
       
   594 //
       
   595 // Precondition:
       
   596 // - none
       
   597 //
       
   598 // Script description:
       
   599 // -Parameter AKA: forces 3G security contect APDU to be sent to the UICC. UICC
       
   600 //  retuns with result "synchronisation failure"
       
   601 //
       
   602 [Test]
       
   603 title MOD_0005_119_3_NokiaTSY_[XML GetSimAuthenticationData AKA Synchronisation failure]
       
   604 create NTT_SIM test
       
   605 test InitializeIPCRequestTable
       
   606 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   607 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   608 
       
   609 test RunIscTestCase 181
       
   610 test SyncIscTestCase
       
   611 allownextresult 0
       
   612 waittestclass test
       
   613 test GetSimAuthenticationData AKA
       
   614 allownextresult -3214 //KErrMMEtelSqnVerificationFailed
       
   615 waittestclass test
       
   616 delete test
       
   617 [Endtest]
       
   618 
       
   619 
       
   620 // MOD_0005_119_4_NokiaTSY_[XML GetSimAuthenticationData AKA Incorrect MAC]
       
   621 //
       
   622 // Precondition:
       
   623 // - none
       
   624 //
       
   625 // Script description:
       
   626 // -Parameter AKA: forces 3G security contect APDU to be sent to the UICC. UICC
       
   627 //  retuns with result "incorrect MAC"
       
   628 //
       
   629 [Test]
       
   630 title MOD_0005_119_4_NokiaTSY_[XML GetSimAuthenticationData AKA Incorrect MAC]
       
   631 create NTT_SIM test
       
   632 test InitializeIPCRequestTable
       
   633 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   634 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   635 
       
   636 test RunIscTestCase 182
       
   637 test SyncIscTestCase
       
   638 allownextresult 0
       
   639 waittestclass test
       
   640 test GetSimAuthenticationData AKA
       
   641 allownextresult -3213 //KErrMMEtelMacVerificationFailed
       
   642 waittestclass test
       
   643 delete test
       
   644 [Endtest]
       
   645 
       
   646 
       
   647 // MOD_0005_119_5_NokiaTSY_[XML GetSimAuthenticationData AKA unknown sw1 and sw2]
       
   648 //
       
   649 // Precondition:
       
   650 // - none
       
   651 //
       
   652 // Script description:
       
   653 // -Parameter AKA: forces 3G security contect APDU to be sent to the UICC. UICC
       
   654 //  retuns with unknown sw1 and sw2
       
   655 //
       
   656 [Test]
       
   657 title MOD_0005_119_5_NokiaTSY_[XML GetSimAuthenticationData AKA unknown sw1 and sw2]
       
   658 create NTT_SIM test
       
   659 test InitializeIPCRequestTable
       
   660 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   661 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   662 
       
   663 test RunIscTestCase 183
       
   664 test SyncIscTestCase
       
   665 allownextresult 0
       
   666 waittestclass test
       
   667 test GetSimAuthenticationData AKA
       
   668 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
   669 waittestclass test
       
   670 delete test
       
   671 [Endtest]
       
   672 
       
   673 
       
   674 // MOD_0005_119_6_NokiaTSY_[XML GetSimAuthenticationData AKA without parameter Kc]
       
   675 //
       
   676 // Precondition:
       
   677 // - none
       
   678 //
       
   679 // Script description:
       
   680 // -Parameter AKA: 3G security context authentication. UICC responds with successfull
       
   681 //  apdu. Reponse doesn't contain parameter Kc
       
   682 //
       
   683 [Test]
       
   684 title MOD_0005_119_6_NokiaTSY_[XML GetSimAuthenticationData AKA without parameter Kc]
       
   685 create NTT_SIM test
       
   686 test InitializeIPCRequestTable
       
   687 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   688 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   689 
       
   690 test RunIscTestCase 184
       
   691 test SyncIscTestCase
       
   692 allownextresult 0
       
   693 waittestclass test
       
   694 test GetSimAuthenticationData AKA
       
   695 allownextresult 0
       
   696 waittestclass test
       
   697 delete test
       
   698 [Endtest]
       
   699 
       
   700 
       
   701 // MOD_0005_119_7_NokiaTSY_[XML GetSimAuthenticationData AKA UICC responds with error]
       
   702 //
       
   703 // Precondition:
       
   704 // - none
       
   705 //
       
   706 // Script description:
       
   707 // -Parameter AKA: 3G security context authentication. UICC responds with error
       
   708 //
       
   709 [Test]
       
   710 title MOD_0005_119_7_NokiaTSY_[XML GetSimAuthenticationData AKA UICC responds with error]
       
   711 create NTT_SIM test
       
   712 test InitializeIPCRequestTable
       
   713 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   714 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   715 
       
   716 test RunIscTestCase 185
       
   717 test SyncIscTestCase
       
   718 allownextresult 0
       
   719 waittestclass test
       
   720 test GetSimAuthenticationData AKA
       
   721 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
   722 waittestclass test
       
   723 delete test
       
   724 [Endtest]
       
   725 
       
   726 
       
   727 // MOD_0005_119_8_NokiaTSY_[XML GetSimAuthenticationData AKA invalid APDU]
       
   728 //
       
   729 // Precondition:
       
   730 // - none
       
   731 //
       
   732 // Script description:
       
   733 // -Parameter AKA: 3G security context authentication. UICC responds with invalid
       
   734 // APDU
       
   735 //
       
   736 [Test]
       
   737 title MOD_0005_119_8_NokiaTSY_[XML GetSimAuthenticationData AKA invalid APDU]
       
   738 create NTT_SIM test
       
   739 test InitializeIPCRequestTable
       
   740 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   741 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   742 
       
   743 test RunIscTestCase 186
       
   744 test SyncIscTestCase
       
   745 allownextresult 0
       
   746 waittestclass test
       
   747 test GetSimAuthenticationData AKA
       
   748 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
   749 waittestclass test
       
   750 delete test
       
   751 [Endtest]
       
   752 
       
   753 
       
   754 // MOD_0005_119_9_NokiaTSY_[XML GetSimAuthenticationData AKA invalid APDU part2]
       
   755 //
       
   756 // Precondition:
       
   757 // - none
       
   758 //
       
   759 // Script description:
       
   760 // -Parameter AKA: 3G security context authentication. UICC responds with invalid
       
   761 // APDU part2
       
   762 //
       
   763 [Test]
       
   764 title MOD_0005_119_9_NokiaTSY_[XML GetSimAuthenticationData AKA invalid APDU part2]
       
   765 create NTT_SIM test
       
   766 test InitializeIPCRequestTable
       
   767 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   768 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   769 
       
   770 test RunIscTestCase 187
       
   771 test SyncIscTestCase
       
   772 allownextresult 0
       
   773 waittestclass test
       
   774 test GetSimAuthenticationData AKA
       
   775 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
   776 waittestclass test
       
   777 delete test
       
   778 [Endtest]
       
   779 
       
   780 
       
   781 // MOD_0005_119_10_NokiaTSY_[XML GetSimAuthenticationData AKA invalid APDU part3]
       
   782 //
       
   783 // Precondition:
       
   784 // - none
       
   785 //
       
   786 // Script description:
       
   787 // -Parameter AKA: 3G security context authentication. UICC responds with invalid
       
   788 // APDU part3
       
   789 //
       
   790 [Test]
       
   791 title MOD_0005_119_10_NokiaTSY_[XML GetSimAuthenticationData AKA invalid APDU part3]
       
   792 create NTT_SIM test
       
   793 test InitializeIPCRequestTable
       
   794 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   795 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   796 
       
   797 test RunIscTestCase 188
       
   798 test SyncIscTestCase
       
   799 allownextresult 0
       
   800 waittestclass test
       
   801 test GetSimAuthenticationData AKA
       
   802 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
   803 waittestclass test
       
   804 delete test
       
   805 [Endtest]
       
   806 
       
   807 
       
   808 // MOD_0005_119_11_NokiaTSY_[XML GetSimAuthenticationData AKA invalid APDU part4]
       
   809 //
       
   810 // Precondition:
       
   811 // - none
       
   812 //
       
   813 // Script description:
       
   814 // -Parameter AKA: 3G security context authentication. UICC responds with invalid
       
   815 // APDU part4
       
   816 //
       
   817 [Test]
       
   818 title MOD_0005_119_11_NokiaTSY_[XML GetSimAuthenticationData AKA invalid APDU part4]
       
   819 create NTT_SIM test
       
   820 test InitializeIPCRequestTable
       
   821 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   822 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   823 
       
   824 test RunIscTestCase 189
       
   825 test SyncIscTestCase
       
   826 allownextresult 0
       
   827 waittestclass test
       
   828 test GetSimAuthenticationData AKA
       
   829 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
   830 waittestclass test
       
   831 delete test
       
   832 [Endtest]
       
   833 
       
   834 
       
   835 // MOD_0005_119_12_NokiaTSY_[XML GetSimAuthenticationData AKA invalid APDU part5]
       
   836 //
       
   837 // Precondition:
       
   838 // - none
       
   839 //
       
   840 // Script description:
       
   841 // -Parameter AKA: 3G security context authentication. UICC responds with invalid
       
   842 // APDU part5
       
   843 //
       
   844 [Test]
       
   845 title MOD_0005_119_12_NokiaTSY_[XML GetSimAuthenticationData AKA invalid APDU part5]
       
   846 create NTT_SIM test
       
   847 test InitializeIPCRequestTable
       
   848 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   849 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   850 
       
   851 test RunIscTestCase 190
       
   852 test SyncIscTestCase
       
   853 allownextresult 0
       
   854 waittestclass test
       
   855 test GetSimAuthenticationData AKA
       
   856 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
   857 waittestclass test
       
   858 delete test
       
   859 [Endtest]
       
   860 
       
   861 
       
   862 // MOD_0005_119_13_NokiaTSY_[XML GetSimAuthenticationData AKA invalid APDU part6]
       
   863 //
       
   864 // Precondition:
       
   865 // - none
       
   866 //
       
   867 // Script description:
       
   868 // -Parameter AKA: 3G security context authentication. UICC responds with invalid
       
   869 // APDU part6
       
   870 //
       
   871 [Test]
       
   872 title MOD_0005_119_13_NokiaTSY_[XML GetSimAuthenticationData AKA invalid APDU part6]
       
   873 create NTT_SIM test
       
   874 test InitializeIPCRequestTable
       
   875 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   876 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
   877 
       
   878 test RunIscTestCase 191
       
   879 test SyncIscTestCase
       
   880 allownextresult 0
       
   881 waittestclass test
       
   882 test GetSimAuthenticationData AKA
       
   883 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
   884 waittestclass test
       
   885 delete test
       
   886 [Endtest]
       
   887 
       
   888 
       
   889 // MOD_0005_120_2_NokiaTSY_[XML GetNetworkProviderName]
       
   890 //
       
   891 // Precondition:
       
   892 // - none
       
   893 // Script description:
       
   894 // - parameter: NW provider name ( for validity checking )
       
   895 //
       
   896 [Test]
       
   897 title MOD_0005_120_2_NokiaTSY_[XML GetNetworkProviderName]
       
   898 create NTT_SIM test
       
   899 test HandleSpecifiedRequests YES
       
   900 test InitializeIPCRequestTable
       
   901 test SetExpectedCompleteIPC ECustomGetNetworkProviderNameIPC
       
   902 test RunIscTestCase 513
       
   903 test SyncIscTestCase
       
   904 test GetNetworkProviderName Orange
       
   905 allownextresult 0
       
   906 waittestclass test
       
   907 test HandleSpecifiedRequests NO
       
   908 delete test
       
   909 [Endtest]
       
   910 
       
   911 
       
   912 // MOD_0005_121_2_NokiaTSY_[XML Authenticate IMS Data]
       
   913 //
       
   914 // Precondition:
       
   915 // - none
       
   916 //
       
   917 // Script description:
       
   918 // -Both input parameters must be 16 bytes length and contain only hexadecimals.
       
   919 //  First is input for SIM_SB_RAND_PARAMS and second SIM_SB_UMTS_AUTN_PARAMS.
       
   920 [Test]
       
   921 title MOD_0005_121_2_NokiaTSY_[XML Authenticate IMS Data]
       
   922 create NTT_SIM test
       
   923 test InitializeIPCRequestTable
       
   924 
       
   925 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   926 test SetExpectedCompleteIPC EMobilePhoneIMSAuthenticate
       
   927 
       
   928 test RunIscTestCase 514
       
   929 test SyncIscTestCase
       
   930 allownextresult 0
       
   931 waittestclass test
       
   932 test AuthenticateIMSData 0101010101010101 1010101010101010
       
   933 allownextresult 0
       
   934 waittestclass test
       
   935 delete test
       
   936 [Endtest]
       
   937 
       
   938 
       
   939 // MOD_0005_121_3_NokiaTSY_[XML Authenticate IMS Data, ISim application not found]
       
   940 //
       
   941 // Precondition:
       
   942 // - none
       
   943 //
       
   944 // Script description:
       
   945 // -Both input parameters must be 16 bytes length and contain only hexadecimals.
       
   946 //  First is input for RAND params and second for AUTN params.
       
   947 [Test]
       
   948 title MOD_0005_121_3_NokiaTSY_[XML Authenticate IMS Data, ISim application not found]
       
   949 create NTT_SIM test
       
   950 test InitializeIPCRequestTable
       
   951 
       
   952 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   953 test SetExpectedCompleteIPC EMobilePhoneIMSAuthenticate
       
   954 
       
   955 test RunIscTestCase 200
       
   956 test SyncIscTestCase
       
   957 allownextresult 0
       
   958 waittestclass test
       
   959 test AuthenticateIMSData 0101010101010101 1010101010101010
       
   960 allownextresult 0
       
   961 waittestclass test
       
   962 delete test
       
   963 [Endtest]
       
   964 
       
   965 
       
   966 // MOD_0005_121_4_NokiaTSY_[XML Authenticate IMS Data with ICC card]
       
   967 //
       
   968 // Precondition:
       
   969 // - none
       
   970 //
       
   971 // Script description:
       
   972 // -Both input parameters must be 16 bytes length and contain only hexadecimals.
       
   973 //  First is input for RAND params and second for AUTN params.
       
   974 [Test]
       
   975 title MOD_0005_121_4_NokiaTSY_[XML Authenticate IMS Data with ICC card]
       
   976 create NTT_SIM test
       
   977 test InitializeIPCRequestTable
       
   978 
       
   979 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
   980 test SetExpectedCompleteIPC EMobilePhoneIMSAuthenticate
       
   981 
       
   982 test RunIscTestCase 210
       
   983 test SyncIscTestCase
       
   984 allownextresult 0
       
   985 waittestclass test
       
   986 test AuthenticateIMSData 0101010101010101 1010101010101010
       
   987 allownextresult 0
       
   988 waittestclass test
       
   989 delete test
       
   990 [Endtest]
       
   991 
       
   992 
       
   993 // MOD_0005_121_5_NokiaTSY_[XML Authenticate IMS Data, ISim application already activated]
       
   994 //
       
   995 // Precondition:
       
   996 // - none
       
   997 //
       
   998 // Script description:
       
   999 // -Both input parameters must be 16 bytes length and contain only hexadecimals.
       
  1000 //  First is input for RAND params and second for AUTN params.
       
  1001 [Test]
       
  1002 title MOD_0005_121_5_NokiaTSY_[XML Authenticate IMS Data, ISim application already activated]
       
  1003 create NTT_SIM test
       
  1004 test InitializeIPCRequestTable
       
  1005 
       
  1006 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1007 test SetExpectedCompleteIPC EMobilePhoneIMSAuthenticate
       
  1008 test SetExpectedCompleteIPC EMobilePhoneIMSAuthenticate
       
  1009 
       
  1010 test RunIscTestCase 211
       
  1011 test SyncIscTestCase
       
  1012 allownextresult 0
       
  1013 waittestclass test
       
  1014 test AuthenticateIMSData 0101010101010101 1010101010101010
       
  1015 allownextresult 0
       
  1016 waittestclass test
       
  1017 test AuthenticateIMSData 0101010101010101 1010101010101010
       
  1018 allownextresult 0
       
  1019 waittestclass test
       
  1020 delete test
       
  1021 [Endtest]
       
  1022 
       
  1023 
       
  1024 // MOD_0005_121_6_NokiaTSY_[XML Authenticate IMS Data, ISim application activation fails]
       
  1025 //
       
  1026 // Precondition:
       
  1027 // - none
       
  1028 //
       
  1029 // Script description:
       
  1030 // -Both input parameters must be 16 bytes length and contain only hexadecimals.
       
  1031 //  First is input for RAND params and second for AUTN params.
       
  1032 [Test]
       
  1033 title MOD_0005_121_6_NokiaTSY_[XML Authenticate IMS Data, ISim application activation fails]
       
  1034 create NTT_SIM test
       
  1035 test InitializeIPCRequestTable
       
  1036 
       
  1037 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1038 test SetExpectedCompleteIPC EMobilePhoneIMSAuthenticate
       
  1039 
       
  1040 test RunIscTestCase 212
       
  1041 test SyncIscTestCase
       
  1042 allownextresult 0
       
  1043 waittestclass test
       
  1044 test AuthenticateIMSData 0101010101010101 1010101010101010
       
  1045 allownextresult 0
       
  1046 waittestclass test
       
  1047 delete test
       
  1048 [Endtest]
       
  1049 
       
  1050 
       
  1051 // MOD_0005_122_2_NokiaTSY_[XML Get IMS Authorization Info]
       
  1052 //
       
  1053 // Precondition:
       
  1054 // -N/A
       
  1055 //
       
  1056 // Script description:
       
  1057 // -N/A
       
  1058 //
       
  1059 [Test]
       
  1060 title MOD_0005_122_2_NokiaTSY_[XML Get IMS Authorization Info]
       
  1061 create NTT_SIM test
       
  1062 test InitializeIPCRequestTable
       
  1063 test SetExpectedCompleteIPC EMobilePhoneAuthorizationInfoPhase1
       
  1064 test RunIscTestCase 515
       
  1065 test SyncIscTestCase
       
  1066 test GetIMSAuthorizationInfo
       
  1067 allownextresult 0
       
  1068 waittestclass test
       
  1069 delete test
       
  1070 [Endtest]
       
  1071 
       
  1072 
       
  1073 // MOD_0005_123_2_NokiaTSY_[XML Get ALS Blocked Status]
       
  1074 //
       
  1075 // Precondition:
       
  1076 // - none
       
  1077 //
       
  1078 // Script description:
       
  1079 // -Possible results: BlockStatusActive or BlockStatusInactive
       
  1080 //  or EBlockStatusNotSupported.
       
  1081 // -parameter: BlockStatusInactive = 2 (for validity checking )
       
  1082 //
       
  1083 [Test]
       
  1084 title MOD_0005_123_2_NokiaTSY_[XML Get ALS Blocked Status]
       
  1085 create NTT_SIM test
       
  1086 test HandleSpecifiedRequests YES
       
  1087 test InitializeIPCRequestTable
       
  1088 test SetExpectedCompleteIPC ECustomGetAlsBlockedIPC
       
  1089 test RunIscTestCase 516
       
  1090 test SyncIscTestCase
       
  1091 test GetALSBlockedStatus 2
       
  1092 allownextresult 0
       
  1093 waittestclass test
       
  1094 test HandleSpecifiedRequests NO
       
  1095 delete test
       
  1096 [Endtest]
       
  1097 
       
  1098 
       
  1099 // MOD_0005_124_2_NokiaTSY_[XML Set ALS Blocked Status Activate]
       
  1100 //
       
  1101 // Precondition:
       
  1102 // - none
       
  1103 // Script description:
       
  1104 // - Set ALS Blocked Status
       
  1105 //
       
  1106 [Test]
       
  1107 title MOD_0005_124_2_NokiaTSY_[XML Set ALS Blocked Status Activate]
       
  1108 create NTT_SIM test
       
  1109 test InitializeIPCRequestTable
       
  1110 test SetExpectedCompleteIPC ECustomSetAlsBlockedIPC
       
  1111 test RunIscTestCase 517
       
  1112 test SyncIscTestCase
       
  1113 test SetALSBlockedStatus Activate
       
  1114 allownextresult 0
       
  1115 waittestclass test
       
  1116 delete test
       
  1117 [Endtest]
       
  1118 
       
  1119 
       
  1120 // MOD_0005_125_2_NokiaTSY_[XML Set ALS Blocked Status Deactivate]
       
  1121 //
       
  1122 // Precondition:
       
  1123 // - none
       
  1124 //
       
  1125 // Script description:
       
  1126 // - Set ALS blocked status
       
  1127 // - parameter: status
       
  1128 //
       
  1129 [Test]
       
  1130 title MOD_0005_125_2_NokiaTSY_[XML Set ALS Blocked Status Deactivate]
       
  1131 create NTT_SIM test
       
  1132 test InitializeIPCRequestTable
       
  1133 test SetExpectedCompleteIPC ECustomSetAlsBlockedIPC
       
  1134 test RunIscTestCase 518
       
  1135 test SyncIscTestCase
       
  1136 test SetALSBlockedStatus Deactivate
       
  1137 allownextresult 0
       
  1138 waittestclass test
       
  1139 delete test
       
  1140 [Endtest]
       
  1141 
       
  1142 
       
  1143 // MOD_0005_126_2_NokiaTSY_[XML Check ALS Product Profile Support]
       
  1144 //
       
  1145 // Precondition:
       
  1146 // - none
       
  1147 //
       
  1148 // Script description:
       
  1149 // - Check ALS Product Profile Support
       
  1150 // - parameter: EAlsSupportOff( 1 ), for validity checking
       
  1151 //
       
  1152 [Test]
       
  1153 title MOD_0005_126_2_NokiaTSY_[XML Check ALS Product Profile Support]
       
  1154 create NTT_SIM test
       
  1155 test HandleSpecifiedRequests YES
       
  1156 test InitializeIPCRequestTable
       
  1157 test SetExpectedCompleteIPC ECustomCheckAlsPpSupportIPC
       
  1158 test RunIscTestCase 519
       
  1159 test SyncIscTestCase
       
  1160 test CheckAlsPpSupport 1
       
  1161 allownextresult 0
       
  1162 waittestclass test
       
  1163 test HandleSpecifiedRequests NO
       
  1164 delete test
       
  1165 [Endtest]
       
  1166 
       
  1167 
       
  1168 // MOD_0005.130_2_NokiaTSY_[XML GBA Bootstrap, OK case]
       
  1169 //
       
  1170 // Precondition:
       
  1171 // -N/A
       
  1172 //
       
  1173 // Script description:
       
  1174 // -Parameter GBABOOT: service type for authentication
       
  1175 // -Parameter 1: GBA bootstrap OK case
       
  1176 // -Parameter 1234...: UMTS AUTN params used in request
       
  1177 // -Parameter 1122...: RAND params used in request
       
  1178 // -Parameter 72B1...: waited RES in response
       
  1179 [Test]
       
  1180 title MOD_0005.130_2_NokiaTSY_[XML GBA Bootstrap, OK case]
       
  1181 create NTT_SIM test
       
  1182 test HandleSpecifiedRequests YES
       
  1183 test InitializeIPCRequestTable
       
  1184 
       
  1185 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1186 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1187 
       
  1188 test RunIscTestCase 130
       
  1189 test SyncIscTestCase
       
  1190 allownextresult 0
       
  1191 waittestclass test
       
  1192 test GetSimAuthenticationData GBABOOT 1 12345678900009876543210011111112 11223344556677889900112233445566 72B153A772B153A7
       
  1193 allownextresult 0
       
  1194 waittestclass test
       
  1195 test HandleSpecifiedRequests NO
       
  1196 delete test
       
  1197 [Endtest]
       
  1198 
       
  1199 
       
  1200 // MOD_0005.130.1_2_NokiaTSY_[XML GBA Bootstrap, KErrMMEtelAuthenticateFailed]
       
  1201 //
       
  1202 // Precondition:
       
  1203 // -N/A
       
  1204 //
       
  1205 // Script description:
       
  1206 // -Parameter GBABOOT: service type for authentication
       
  1207 // -Parameter 2: GBA bootstrap, authentication fail
       
  1208 // -Parameter 1234...: UMTS AUTN params used in request
       
  1209 // -Parameter 1122...: RAND params used in request
       
  1210 [Test]
       
  1211 title MOD_0005.130.1_2_NokiaTSY_[XML GBA Bootstrap, KErrMMEtelAuthenticateFailed]
       
  1212 create NTT_SIM test
       
  1213 test HandleSpecifiedRequests YES
       
  1214 test InitializeIPCRequestTable
       
  1215 
       
  1216 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1217 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1218 
       
  1219 test RunIscTestCase 131
       
  1220 test SyncIscTestCase
       
  1221 allownextresult 0
       
  1222 waittestclass test
       
  1223 test GetSimAuthenticationData GBABOOT 2 12345678900009876543210011111112 11223344556677889900112233445566
       
  1224 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
  1225 waittestclass test
       
  1226 test HandleSpecifiedRequests NO
       
  1227 delete test
       
  1228 [Endtest]
       
  1229 
       
  1230 
       
  1231 // MOD_0005.130.2_2_NokiaTSY_[XML GBA Bootstrap, KErrMMEtelSqnVerificationFailed]
       
  1232 //
       
  1233 // Precondition:
       
  1234 // -N/A
       
  1235 //
       
  1236 // Script description:
       
  1237 // -Parameter GBABOOT: service type for authentication
       
  1238 // -Parameter 3 = GBA bootstrap, verification fail
       
  1239 // -Parameter 1234...: UMTS AUTN params used in request
       
  1240 // -Parameter 1122...: RAND params used in request
       
  1241 // -Parameter 0987...: waited AUTS params in response
       
  1242 [Test]
       
  1243 title MOD_0005.130.2_2_NokiaTSY_[XML GBA Bootstrap, KErrMMEtelSqnVerificationFailed]
       
  1244 create NTT_SIM test
       
  1245 test HandleSpecifiedRequests YES
       
  1246 test InitializeIPCRequestTable
       
  1247 
       
  1248 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1249 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1250 
       
  1251 test RunIscTestCase 132
       
  1252 test SyncIscTestCase
       
  1253 allownextresult 0
       
  1254 waittestclass test
       
  1255 test GetSimAuthenticationData GBABOOT 3 12345678900009876543210011111112 11223344556677889900112233445566 0987654321123456789009876543
       
  1256 allownextresult -3214 //KErrMMEtelSqnVerificationFailed
       
  1257 waittestclass test
       
  1258 test HandleSpecifiedRequests NO
       
  1259 delete test
       
  1260 [Endtest]
       
  1261 
       
  1262 
       
  1263 // MOD_0005.130.3_2_NokiaTSY_[XML GBA Bootstrap, error]
       
  1264 //
       
  1265 // Precondition:
       
  1266 // -N/A
       
  1267 //
       
  1268 // Script description:
       
  1269 // -Parameter GBABOOT: service type for authentication
       
  1270 // -Parameter 1: GBA bootstrap OK case
       
  1271 // -Parameter 1234...: UMTS AUTN params used in request
       
  1272 // -Parameter 1122...: RAND params used in request
       
  1273 [Test]
       
  1274 title MOD_0005.130.3_2_NokiaTSY_[XML GBA Bootstrap, error]
       
  1275 create NTT_SIM test
       
  1276 test HandleSpecifiedRequests YES
       
  1277 test InitializeIPCRequestTable
       
  1278 
       
  1279 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1280 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1281 
       
  1282 test RunIscTestCase 139
       
  1283 test SyncIscTestCase
       
  1284 allownextresult 0
       
  1285 waittestclass test
       
  1286 test GetSimAuthenticationData GBABOOT 8 12345678900009876543210011111112 11223344556677889900112233445566
       
  1287 allownextresult -2 // KErrGeneral
       
  1288 waittestclass test
       
  1289 test HandleSpecifiedRequests NO
       
  1290 delete test
       
  1291 [Endtest]
       
  1292 
       
  1293 
       
  1294 // MOD_0005.131_2_NokiaTSY_[XML GBA Bootstrap update, OK case]
       
  1295 //
       
  1296 // Precondition:
       
  1297 // -N/A
       
  1298 //
       
  1299 // Script description:
       
  1300 // -Parameter GBABOOTUPDATE: service type for authentication
       
  1301 // -Parameter 6 = GBA update, OK case
       
  1302 // -Parameter 1234...: BTID params used in request
       
  1303 // -Parameter 0011...: KeyLifetime params used in request
       
  1304 // -Parameter 1122...: waited RAND params in response
       
  1305 [Test]
       
  1306 title MOD_0005.131_2_NokiaTSY_[XML GBA Bootstrap update, OK case]
       
  1307 create NTT_SIM test
       
  1308 test HandleSpecifiedRequests YES
       
  1309 test InitializeIPCRequestTable
       
  1310 
       
  1311 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1312 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1313 
       
  1314 test RunIscTestCase 133
       
  1315 test SyncIscTestCase
       
  1316 allownextresult 0
       
  1317 waittestclass test
       
  1318 test GetSimAuthenticationData GBABOOTUPDATE 6 12345678900987654321 0011223344556677889900112233445566778899 11223344556677889900112233445566
       
  1319 allownextresult 0
       
  1320 waittestclass test
       
  1321 test HandleSpecifiedRequests NO
       
  1322 delete test
       
  1323 [Endtest]
       
  1324 
       
  1325 
       
  1326 // MOD_0005.131.1_2_NokiaTSY_[XML GBA Bootstrap update, errors]
       
  1327 //
       
  1328 // Precondition:
       
  1329 // -N/A
       
  1330 //
       
  1331 // Script description:
       
  1332 // -Parameter GBABOOTUPDATE: service type for authentication
       
  1333 // -Parameter 6 = GBA update, OK case
       
  1334 // -Parameter 1234...: BTID params used in request
       
  1335 // -Parameter 0011...: KeyLifetime params used in request
       
  1336 [Test]
       
  1337 title MOD_0005.131.1_2_NokiaTSY_[XML GBA Bootstrap update, errors]
       
  1338 create NTT_SIM test
       
  1339 test HandleSpecifiedRequests YES
       
  1340 test InitializeIPCRequestTable
       
  1341 
       
  1342 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1343 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1344 
       
  1345 test RunIscTestCase 138
       
  1346 test SyncIscTestCase
       
  1347 allownextresult 0
       
  1348 waittestclass test
       
  1349 test GetSimAuthenticationData GBABOOTUPDATE 7 1234567890098765432155 0011223344556677889900112233445566778899
       
  1350 allownextresult -6 //KErrArgument
       
  1351 waittestclass test
       
  1352 test HandleSpecifiedRequests NO
       
  1353 delete test
       
  1354 [Endtest]
       
  1355 
       
  1356 
       
  1357 // MOD_0005.132_2_NokiaTSY_[XML GBA NAF derivation, OK case]
       
  1358 //
       
  1359 // Precondition:
       
  1360 // -N/A
       
  1361 //
       
  1362 // Script description:
       
  1363 // Script description:
       
  1364 // -Parameter GBABOOTNAFDER: service type for authentication
       
  1365 // -Parameter 4 = GBA NAF derivation, ok case
       
  1366 // -Parameter 1234...: NAF ID used in request
       
  1367 // -Parameter 1111...: private user id used in request
       
  1368 // -Parameter 1122...: waited KsExtNaf in response
       
  1369 [Test]
       
  1370 title MOD_0005.132_2_NokiaTSY_[XML GBA NAF derivation, OK case]
       
  1371 create NTT_SIM test
       
  1372 test HandleSpecifiedRequests YES
       
  1373 test InitializeIPCRequestTable
       
  1374 
       
  1375 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1376 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1377 
       
  1378 test RunIscTestCase 134
       
  1379 test SyncIscTestCase
       
  1380 allownextresult 0
       
  1381 waittestclass test
       
  1382 test GetSimAuthenticationData GBABOOTNAFDER 4 12345678900987654321 1111222233330000333322221111 1234004321
       
  1383 allownextresult 0
       
  1384 waittestclass test
       
  1385 test HandleSpecifiedRequests NO
       
  1386 delete test
       
  1387 [Endtest]
       
  1388 
       
  1389 
       
  1390 // MOD_0005.132.1_2_NokiaTSY_[XML GBA NAF derivation, KErrMMEtelAuthenticateFailed]
       
  1391 //
       
  1392 // Precondition:
       
  1393 // -N/A
       
  1394 //
       
  1395 // Script description:
       
  1396 // -Parameter GBABOOTNAFDER: service type for authentication
       
  1397 // -Parameter 5 = GBA NAF derivation, authentication fail case
       
  1398 // -Parameter 1234...: NAF ID used in request
       
  1399 // -Parameter 1111...: private user id used in request
       
  1400 [Test]
       
  1401 title MOD_0005.132.1_2_NokiaTSY_[XML GBA NAF derivation, KErrMMEtelAuthenticateFailed]
       
  1402 create NTT_SIM test
       
  1403 test HandleSpecifiedRequests YES
       
  1404 test InitializeIPCRequestTable
       
  1405 
       
  1406 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1407 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1408 
       
  1409 test RunIscTestCase 135
       
  1410 test SyncIscTestCase
       
  1411 allownextresult 0
       
  1412 waittestclass test
       
  1413 test GetSimAuthenticationData GBABOOTNAFDER 5 12345678900987654321 1111222233330000333322221111
       
  1414 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
  1415 waittestclass test
       
  1416 test HandleSpecifiedRequests NO
       
  1417 delete test
       
  1418 [Endtest]
       
  1419 
       
  1420 
       
  1421 // MOD_0005.132.2_2_NokiaTSY_[XML GBA NAF derivation, error]
       
  1422 //
       
  1423 // Precondition:
       
  1424 // -N/A
       
  1425 //
       
  1426 // Script description:
       
  1427 // Script description:
       
  1428 // -Parameter GBABOOTNAFDER: service type for authentication
       
  1429 // -Parameter 9 = GBA NAF derivation, fail case
       
  1430 // -Parameter 1234...: NAF ID used in request
       
  1431 // -Parameter 1111...: private user id used in request
       
  1432 [Test]
       
  1433 title MOD_0005.132.2_2_NokiaTSY_[XML GBA NAF derivation, error]
       
  1434 create NTT_SIM test
       
  1435 test HandleSpecifiedRequests YES
       
  1436 test InitializeIPCRequestTable
       
  1437 
       
  1438 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1439 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1440 
       
  1441 test RunIscTestCase 160
       
  1442 test SyncIscTestCase
       
  1443 allownextresult 0
       
  1444 waittestclass test
       
  1445 test GetSimAuthenticationData GBABOOTNAFDER 9 12345678900987654321 1111222233330000333322221111
       
  1446 allownextresult -2 //KErrGeneral
       
  1447 waittestclass test
       
  1448 test HandleSpecifiedRequests NO
       
  1449 delete test
       
  1450 [Endtest]
       
  1451 
       
  1452 // MOD_0005.132.3_2_NokiaTSY_[XML GBA NAF derivation, KErrNotSupported]
       
  1453 //
       
  1454 // Precondition:
       
  1455 // -N/A
       
  1456 //
       
  1457 // Script description:
       
  1458 // Script description:
       
  1459 // -Parameter GBABOOTNAFDER: service type for authentication
       
  1460 // -Parameter 9 = GBA NAF derivation, fail case
       
  1461 // -Parameter 1234...: NAF ID used in request
       
  1462 // -Parameter 1111...: private user id used in request
       
  1463 [Test]
       
  1464 title MOD_0005.132.3_2_NokiaTSY_[XML GBA NAF derivation, KErrNotSupported]
       
  1465 create NTT_SIM test
       
  1466 test HandleSpecifiedRequests YES
       
  1467 test InitializeIPCRequestTable
       
  1468 
       
  1469 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1470 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1471 
       
  1472 test RunIscTestCase 162
       
  1473 test SyncIscTestCase
       
  1474 allownextresult 0
       
  1475 waittestclass test
       
  1476 test GetSimAuthenticationData GBABOOTNAFDER 9 12345678900987654321 1111222233330000333322221111
       
  1477 allownextresult -5 //KErrNotSupported
       
  1478 waittestclass test
       
  1479 test HandleSpecifiedRequests NO
       
  1480 delete test
       
  1481 [Endtest]
       
  1482 
       
  1483 
       
  1484 // MOD_0005.132.4_2_NokiaTSY_[XML GBA NAF derivation, invalid response APDU]
       
  1485 //
       
  1486 // Precondition:
       
  1487 // -N/A
       
  1488 //
       
  1489 // Script description:
       
  1490 // Script description:
       
  1491 // -Parameter GBABOOTNAFDER: service type for authentication
       
  1492 // -Parameter 9 = GBA NAF derivation, fail case
       
  1493 // -Parameter 1234...: NAF ID used in request
       
  1494 // -Parameter 1111...: private user id used in request
       
  1495 [Test]
       
  1496 title MOD_0005.132.4_2_NokiaTSY_[XML GBA NAF derivation, invalid response APDU]
       
  1497 create NTT_SIM test
       
  1498 test HandleSpecifiedRequests YES
       
  1499 test InitializeIPCRequestTable
       
  1500 
       
  1501 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1502 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1503 
       
  1504 test RunIscTestCase 196
       
  1505 test SyncIscTestCase
       
  1506 allownextresult 0
       
  1507 waittestclass test
       
  1508 test GetSimAuthenticationData GBABOOTNAFDER 9 12345678900987654321 1111222233330000333322221111
       
  1509 allownextresult -2 //KErrGeneral
       
  1510 waittestclass test
       
  1511 test HandleSpecifiedRequests NO
       
  1512 delete test
       
  1513 [Endtest]
       
  1514 
       
  1515 
       
  1516 // MOD_0005.133_2_NokiaTSY_[XML Service support on USIM, available]
       
  1517 //
       
  1518 // Precondition:
       
  1519 // -N/A
       
  1520 //
       
  1521 // Script description:
       
  1522 // -Parameter 69: application number on USIM
       
  1523 //  68 = SIM_APP_GBA_AVAIL
       
  1524 //  69 = SIM_APP_MBMS_AVAIL
       
  1525 // -Parameter 1: availability, 0 false, 1 true
       
  1526 [Test]
       
  1527 title MOD_0005.133_2_NokiaTSY_[XML Service support on USIM, available]
       
  1528 create NTT_SIM test
       
  1529 test HandleSpecifiedRequests YES
       
  1530 test InitializeIPCRequestTable
       
  1531 test SetExpectedCompleteIPC ECustomGetServiceTableSupportbyApplication
       
  1532 test RunIscTestCase 136
       
  1533 test SyncIscTestCase
       
  1534 test GetServiceSupport 69 1
       
  1535 allownextresult 0
       
  1536 waittestclass test
       
  1537 test HandleSpecifiedRequests NO
       
  1538 delete test
       
  1539 [Endtest]
       
  1540 
       
  1541 
       
  1542 // MOD_0005.133.1_2_NokiaTSY_[XML Service support on USIM, error]
       
  1543 //
       
  1544 // Precondition:
       
  1545 // -N/A
       
  1546 //
       
  1547 // Script description:
       
  1548 // -Parameter 69: application number on USIM
       
  1549 //  68 = SIM_APP_GBA_AVAIL
       
  1550 //  69 = SIM_APP_MBMS_AVAIL
       
  1551 // -Parameter 1: availability, 0 false, 1 true
       
  1552 [Test]
       
  1553 title MOD_0005.133.1_2_NokiaTSY_[XML Service support on USIM, error]
       
  1554 create NTT_SIM test
       
  1555 test HandleSpecifiedRequests YES
       
  1556 test InitializeIPCRequestTable
       
  1557 test SetExpectedCompleteIPC ECustomGetServiceTableSupportbyApplication
       
  1558 test RunIscTestCase 161
       
  1559 test SyncIscTestCase
       
  1560 test GetServiceSupport 69 1
       
  1561 allownextresult -2 //KErrGeneral
       
  1562 waittestclass test
       
  1563 test HandleSpecifiedRequests NO
       
  1564 delete test
       
  1565 [Endtest]
       
  1566 
       
  1567 
       
  1568 // MOD_0005.134_2_NokiaTSY_[XML Service support on USIM, not available]
       
  1569 //
       
  1570 // Precondition:
       
  1571 // -N/A
       
  1572 //
       
  1573 // Script description:
       
  1574 // -Parameter 69: application number on USIM
       
  1575 //  68 = SIM_APP_GBA_AVAIL
       
  1576 //  69 = SIM_APP_MBMS_AVAIL
       
  1577 // -Parameter 0: availability, 0 false, 1 true
       
  1578 [Test]
       
  1579 title MOD_0005.134_2_NokiaTSY_[XML Service support on USIM, not available]
       
  1580 create NTT_SIM test
       
  1581 test HandleSpecifiedRequests YES
       
  1582 test InitializeIPCRequestTable
       
  1583 test SetExpectedCompleteIPC ECustomGetServiceTableSupportbyApplication
       
  1584 test RunIscTestCase 137
       
  1585 test SyncIscTestCase
       
  1586 test GetServiceSupport 69 0
       
  1587 allownextresult 0
       
  1588 waittestclass test
       
  1589 test HandleSpecifiedRequests NO
       
  1590 delete test
       
  1591 [Endtest]
       
  1592 
       
  1593 
       
  1594 // MOD_0005.140_2_NokiaTSY_[XML MSK update, OK]
       
  1595 //
       
  1596 // Precondition:
       
  1597 // -N/A
       
  1598 //
       
  1599 // Script description:
       
  1600 // -Parameter MGVMSKUPDATE: service type for authentication
       
  1601 // -Parameter 11 = MGV, MSK update, ok case
       
  1602 // -Parameter 1234...: Mikey used in request
       
  1603 // -Parameter 0987...: wanted mikey in response
       
  1604 [Test]
       
  1605 title MOD_0005.140_2_NokiaTSY_[XML MSK update, OK]
       
  1606 create NTT_SIM test
       
  1607 test HandleSpecifiedRequests YES
       
  1608 test InitializeIPCRequestTable
       
  1609 
       
  1610 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1611 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1612 
       
  1613 test RunIscTestCase 140
       
  1614 test SyncIscTestCase
       
  1615 allownextresult 0
       
  1616 waittestclass test
       
  1617 test GetSimAuthenticationData MGVMSKUPDATE 11 1234567890000987654321 0987654321001234567890
       
  1618 allownextresult 0
       
  1619 waittestclass test
       
  1620 test HandleSpecifiedRequests NO
       
  1621 delete test
       
  1622 [Endtest]
       
  1623 
       
  1624 
       
  1625 // MOD_0005.140.1_2_NokiaTSY_[XML MSK update, null Mikey]
       
  1626 //
       
  1627 // Precondition:
       
  1628 // -N/A
       
  1629 //
       
  1630 // Script description:
       
  1631 // -Parameter MGVMSKUPDATE: service type for authentication
       
  1632 // -Parameter 12 = MGV, MSK update, case when Mikey is null
       
  1633 // -Parameter 1234...: Mikey used in request
       
  1634 [Test]
       
  1635 title MOD_0005.140.1_2_NokiaTSY_[XML MSK update, null Mikey]
       
  1636 create NTT_SIM test
       
  1637 test HandleSpecifiedRequests YES
       
  1638 test InitializeIPCRequestTable
       
  1639 
       
  1640 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1641 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1642 
       
  1643 test RunIscTestCase 141
       
  1644 test SyncIscTestCase
       
  1645 allownextresult 0
       
  1646 waittestclass test
       
  1647 test GetSimAuthenticationData MGVMSKUPDATE 12 1234567890000987654321
       
  1648 allownextresult 0
       
  1649 waittestclass test
       
  1650 test HandleSpecifiedRequests NO
       
  1651 delete test
       
  1652 [Endtest]
       
  1653 
       
  1654 
       
  1655 // MOD_0005.140.2_2_NokiaTSY_[XML MSK update, error]
       
  1656 //
       
  1657 // Precondition:
       
  1658 // -N/A
       
  1659 //
       
  1660 // Script description:
       
  1661 // -Parameter MGVMSKUPDATE: service type for authentication
       
  1662 // -Parameter 13 = MGV, MSK update, error case.
       
  1663 // -Parameter 1234...: Mikey used in request
       
  1664 [Test]
       
  1665 title MOD_0005.140.2_2_NokiaTSY_[XML MSK update, error]
       
  1666 create NTT_SIM test
       
  1667 test HandleSpecifiedRequests YES
       
  1668 test InitializeIPCRequestTable
       
  1669 
       
  1670 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1671 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1672 
       
  1673 test RunIscTestCase 142
       
  1674 test SyncIscTestCase
       
  1675 allownextresult 0
       
  1676 waittestclass test
       
  1677 test GetSimAuthenticationData MGVMSKUPDATE 13 1234567890000987654321
       
  1678 allownextresult -8405 //KErrCustomSCNoMemSpaceAvailableAuthError, there is no enough memory on USIM
       
  1679 waittestclass test
       
  1680 test HandleSpecifiedRequests NO
       
  1681 delete test
       
  1682 [Endtest]
       
  1683 
       
  1684 
       
  1685 // MOD_0005.140.3_2_NokiaTSY_[XML MSK update, all failure cases]
       
  1686 //
       
  1687 // Precondition:
       
  1688 // -N/A
       
  1689 //
       
  1690 // Script description:
       
  1691 // - This test case simulates all possible error values received in
       
  1692 //   SIM_SB_AM_HANDLE_ID in case of MGV MSK update
       
  1693 //
       
  1694 [Test]
       
  1695 title MOD_0005.140.3_2_NokiaTSY_[XML MSK update, all failure cases]
       
  1696 create NTT_SIM test
       
  1697 test HandleSpecifiedRequests YES
       
  1698 test InitializeIPCRequestTable
       
  1699 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1700 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1701 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1702 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1703 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1704 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1705 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1706 test RunIscTestCase 148
       
  1707 test SyncIscTestCase
       
  1708 allownextresult 0
       
  1709 waittestclass test
       
  1710 test GetSimAuthenticationData MGVMSKUPDATE 13 1234567890000987654321
       
  1711 allownextresult -8401 //KErrCustomSCCondOfuseNotSatisfied
       
  1712 waittestclass test
       
  1713 test GetSimAuthenticationData MGVMSKUPDATE 13 1234567890000987654321
       
  1714 allownextresult -8406 //KErrCustomSCNoMemSpaceAvailableMukAuthError
       
  1715 waittestclass test
       
  1716 test GetSimAuthenticationData MGVMSKUPDATE 13 1234567890000987654321
       
  1717 allownextresult -8405 //KErrCustomSCNoMemSpaceAvailableAuthError
       
  1718 waittestclass test
       
  1719 test GetSimAuthenticationData MGVMSKUPDATE 13 1234567890000987654321
       
  1720 allownextresult -8403 //KErrCustomSCIncorrectMACAuthError
       
  1721 waittestclass test
       
  1722 test GetSimAuthenticationData MGVMSKUPDATE 13 1234567890000987654321
       
  1723 allownextresult -8402 //KErrCustomSCRefDataNotFound
       
  1724 waittestclass test
       
  1725 test GetSimAuthenticationData MGVMSKUPDATE 13 1234567890000987654321
       
  1726 allownextresult -2 // KErrGeneral
       
  1727 waittestclass test
       
  1728 test HandleSpecifiedRequests NO
       
  1729 delete test
       
  1730 [Endtest]
       
  1731 
       
  1732 
       
  1733 // MOD_0005.140.4_2_NokiaTSY_[XML MSK update with OMA BCast extension]
       
  1734 //
       
  1735 // Precondition:
       
  1736 // -N/A
       
  1737 //
       
  1738 // Script description:
       
  1739 // -Parameter MGVMSKUPDATE: service type for authentication
       
  1740 // -Parameter 19 = MGV, MSK update with OMA BCast Extension, ok case
       
  1741 // -Parameter 1234...: Mikey used in request
       
  1742 // -Parameter 0987...: wanted mikey in response
       
  1743 // -Parameter 0D...  : wanted BCast management data in response
       
  1744 // -Parameter 1122...: wanted parental rating data in response
       
  1745 // -Parameter 55  ...: wanted Security Policy Ext data in response
       
  1746 [Test]
       
  1747 title MOD_0005.140.4_2_NokiaTSY_[XML MSK update with OMA BCast extension]
       
  1748 create NTT_SIM test
       
  1749 test HandleSpecifiedRequests YES
       
  1750 test InitializeIPCRequestTable
       
  1751 
       
  1752 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1753 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1754 
       
  1755 test RunIscTestCase 173
       
  1756 test SyncIscTestCase
       
  1757 allownextresult 0
       
  1758 waittestclass test
       
  1759 test GetSimAuthenticationData MGVMSKUPDATE 19 1234567890000987654321 0987654321001234567890 0D 1122 55
       
  1760 allownextresult 0
       
  1761 waittestclass test
       
  1762 test HandleSpecifiedRequests NO
       
  1763 delete test
       
  1764 [Endtest]
       
  1765 
       
  1766 
       
  1767 // MOD_0005.141_2_NokiaTSY_[XML MTK generation, OK]
       
  1768 //
       
  1769 // Precondition:
       
  1770 // -N/A
       
  1771 //
       
  1772 // Script description:
       
  1773 // -Parameter MGVMTKGENERATION: service type for authentication
       
  1774 // -Parameter 14 = MGV, MTK generation, ok case
       
  1775 // -Parameter 1234...: Mikey used in request
       
  1776 // -Parameter 0987...: wanted MTK SALT in response
       
  1777 [Test]
       
  1778 title MOD_0005.141_2_NokiaTSY_[XML MTK generation, OK]
       
  1779 create NTT_SIM test
       
  1780 test HandleSpecifiedRequests YES
       
  1781 test InitializeIPCRequestTable
       
  1782 
       
  1783 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1784 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1785 
       
  1786 test RunIscTestCase 143
       
  1787 test SyncIscTestCase
       
  1788 allownextresult 0
       
  1789 waittestclass test
       
  1790 test GetSimAuthenticationData MGVMTKGENERATION 14 1234567890000987654321 09876543210012345678900987654321001234567890
       
  1791 allownextresult 0
       
  1792 waittestclass test
       
  1793 test HandleSpecifiedRequests NO
       
  1794 delete test
       
  1795 [Endtest]
       
  1796 
       
  1797 
       
  1798 // MOD_0005.141.1_2_NokiaTSY_[XML MTK generation, errors]
       
  1799 //
       
  1800 // Precondition:
       
  1801 // -N/A
       
  1802 //
       
  1803 // Script description:
       
  1804 // -Parameter MGVMTKGENERATION: service type for authentication
       
  1805 // -Parameter 15 = MGV, MTK generation, error case
       
  1806 // -Parameter 1234...: Mikey used in request
       
  1807 [Test]
       
  1808 title MOD_0005.141.1_2_NokiaTSY_[XML MTK generation, errors]
       
  1809 create NTT_SIM test
       
  1810 test HandleSpecifiedRequests YES
       
  1811 test InitializeIPCRequestTable
       
  1812 
       
  1813 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1814 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1815 
       
  1816 test RunIscTestCase 144
       
  1817 test SyncIscTestCase
       
  1818 allownextresult 0
       
  1819 waittestclass test
       
  1820 test GetSimAuthenticationData MGVMTKGENERATION 15 1234567890000987654321
       
  1821 allownextresult -8404 //KErrCustomSCKeyRefreshFail
       
  1822 waittestclass test
       
  1823 test HandleSpecifiedRequests NO
       
  1824 delete test
       
  1825 [Endtest]
       
  1826 
       
  1827 
       
  1828 // MOD_0005.141.2_2_NokiaTSY_[XML MTK generation, all failure cases]
       
  1829 //
       
  1830 // Precondition:
       
  1831 // -N/A
       
  1832 //
       
  1833 // Script description:
       
  1834 // - This test case simulates all possible error values received in
       
  1835 //   SIM_SB_AM_HANDLE_ID in case of MGV MSK generation
       
  1836 //
       
  1837 [Test]
       
  1838 title MOD_0005.141.2_2_NokiaTSY_[XML MTK generation, all failure cases]
       
  1839 create NTT_SIM test
       
  1840 test HandleSpecifiedRequests YES
       
  1841 test InitializeIPCRequestTable
       
  1842 
       
  1843 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1844 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1845 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1846 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1847 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1848 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1849 
       
  1850 test RunIscTestCase 149
       
  1851 test SyncIscTestCase
       
  1852 allownextresult 0
       
  1853 waittestclass test
       
  1854 test GetSimAuthenticationData MGVMTKGENERATION 15 1234567890000987654321
       
  1855 allownextresult -8401 //KErrCustomSCCondOfuseNotSatisfied
       
  1856 waittestclass test
       
  1857 test GetSimAuthenticationData MGVMTKGENERATION 15 1234567890000987654321
       
  1858 allownextresult -8404 //KErrCustomSCKeyRefreshFail
       
  1859 waittestclass test
       
  1860 test GetSimAuthenticationData MGVMTKGENERATION 15 1234567890000987654321
       
  1861 allownextresult -8403 //KErrCustomSCIncorrectMACAuthError
       
  1862 waittestclass test
       
  1863 test GetSimAuthenticationData MGVMTKGENERATION 15 1234567890000987654321
       
  1864 allownextresult -8402 //KErrCustomSCRefDataNotFound
       
  1865 waittestclass test
       
  1866 test GetSimAuthenticationData MGVMTKGENERATION 15 1234567890000987654321
       
  1867 allownextresult -2 // KErrGeneral
       
  1868 waittestclass test
       
  1869 test HandleSpecifiedRequests NO
       
  1870 delete test
       
  1871 [Endtest]
       
  1872 
       
  1873 
       
  1874 // MOD_0005.141.3_2_NokiaTSY_[XML MTK generation with OMA BCast extension (BCast management)]
       
  1875 //
       
  1876 // Precondition:
       
  1877 // -N/A
       
  1878 //
       
  1879 // Script description:
       
  1880 // -Parameter MGVMTKGENERATION: service type for authentication
       
  1881 // -Parameter 20 = MGV, MTK generation with OMA BCast extension, BCast management data operation, ok case
       
  1882 // -Parameter 1234...: Mikey used in request
       
  1883 // -Parameter 00     : wanted BCasb management data
       
  1884 // -Parameter 1122...: wanted TEK data
       
  1885 // -Parameter 4433...: wanted SALT data
       
  1886 //
       
  1887 //
       
  1888 [Test]
       
  1889 title MOD_0005.141.3_2_NokiaTSY_[XML MTK generation with OMA BCast extension (BCast management)]
       
  1890 create NTT_SIM test
       
  1891 test HandleSpecifiedRequests YES
       
  1892 test InitializeIPCRequestTable
       
  1893 
       
  1894 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1895 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1896 
       
  1897 test RunIscTestCase 174
       
  1898 test SyncIscTestCase
       
  1899 allownextresult 0
       
  1900 waittestclass test
       
  1901 test GetSimAuthenticationData MGVMTKGENERATION 20 1234567890000987654321 00 11223344556677889900112233 4433221100998877665544332211
       
  1902 allownextresult 0
       
  1903 waittestclass test
       
  1904 test HandleSpecifiedRequests NO
       
  1905 delete test
       
  1906 [Endtest]
       
  1907 
       
  1908 
       
  1909 // MOD_0005.141.4_2_NokiaTSY_[XML MTK generation with OMA BCast extension (parental control operation)]
       
  1910 //
       
  1911 // Precondition:
       
  1912 // -N/A
       
  1913 //
       
  1914 // Script description:
       
  1915 // -Parameter MGVMTKGENERATION: service type for authentication
       
  1916 // -Parameter 21 = MGV, MTK generation with OMA BCast extension, parental control operation, ok case
       
  1917 // -Parameter 1234...: Mikey used in request
       
  1918 // -Parameter 00     : wanted BCasb management data
       
  1919 // -Parameter 1122...: wanted parental control data
       
  1920 //
       
  1921 //
       
  1922 [Test]
       
  1923 title MOD_0005.141.4_2_NokiaTSY_[XML MTK generation with OMA BCast extension (parental control operation)]
       
  1924 create NTT_SIM test
       
  1925 test HandleSpecifiedRequests YES
       
  1926 test InitializeIPCRequestTable
       
  1927 
       
  1928 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1929 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1930 
       
  1931 test RunIscTestCase 197
       
  1932 test SyncIscTestCase
       
  1933 allownextresult 0
       
  1934 waittestclass test
       
  1935 test GetSimAuthenticationData MGVMTKGENERATION 21 1234567890000987654321 07 223344
       
  1936 allownextresult 0
       
  1937 waittestclass test
       
  1938 test HandleSpecifiedRequests NO
       
  1939 delete test
       
  1940 [Endtest]
       
  1941 
       
  1942 
       
  1943 // MOD_0005.142_2_NokiaTSY_[XML MSK deletion, ok]
       
  1944 //
       
  1945 // Precondition:
       
  1946 // -N/A
       
  1947 //
       
  1948 // Script description:
       
  1949 // -Parameter MGVMSKDELETION: service type for authentication
       
  1950 // -Parameter 16 = MGV, MSK deletion, OK case
       
  1951 // -Parameter 110011: domain id used in request
       
  1952 // -Parameter 1234: group id used in request
       
  1953 [Test]
       
  1954 title MOD_0005.142_2_NokiaTSY_[XML MSK deletion, ok]
       
  1955 create NTT_SIM test
       
  1956 test HandleSpecifiedRequests YES
       
  1957 test InitializeIPCRequestTable
       
  1958 
       
  1959 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1960 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1961 
       
  1962 test RunIscTestCase 145
       
  1963 test SyncIscTestCase
       
  1964 allownextresult 0
       
  1965 waittestclass test
       
  1966 test GetSimAuthenticationData MGVMSKDELETION 16 110011 1234
       
  1967 allownextresult 0
       
  1968 waittestclass test
       
  1969 test HandleSpecifiedRequests NO
       
  1970 delete test
       
  1971 [Endtest]
       
  1972 
       
  1973 
       
  1974 // MOD_0005.142.1_2_NokiaTSY_[XML MSK deletion, error]
       
  1975 //
       
  1976 // Precondition:
       
  1977 // -N/A
       
  1978 //
       
  1979 // Script description:
       
  1980 // -Parameter MGVMSKDELETION: service type for authentication
       
  1981 // -Parameter 17 = MGV, MSK deletion, error case
       
  1982 // -Parameter 110011: domain id used in request
       
  1983 // -Parameter 1234: group id used in request
       
  1984 [Test]
       
  1985 title MOD_0005.142.1_2_NokiaTSY_[XML MSK deletion, error]
       
  1986 create NTT_SIM test
       
  1987 test HandleSpecifiedRequests YES
       
  1988 test InitializeIPCRequestTable
       
  1989 
       
  1990 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  1991 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  1992 
       
  1993 test RunIscTestCase 146
       
  1994 test SyncIscTestCase
       
  1995 allownextresult 0
       
  1996 waittestclass test
       
  1997 test GetSimAuthenticationData MGVMSKDELETION 17 110011 1234
       
  1998 allownextresult -8402 //KErrCustomSCRefDataNotFound
       
  1999 waittestclass test
       
  2000 test HandleSpecifiedRequests NO
       
  2001 delete test
       
  2002 [Endtest]
       
  2003 
       
  2004 
       
  2005 // MOD_0005.142.2_2_NokiaTSY_[XML MSK deletion, authentication fail]
       
  2006 //
       
  2007 // Precondition:
       
  2008 // -N/A
       
  2009 //
       
  2010 // Script description:
       
  2011 // -Parameter MGVMSKDELETION: service type for authentication
       
  2012 // -Parameter 18 = MGV, MSK deletion, authentication fail
       
  2013 // -Parameter 110011: domain id used in request
       
  2014 // -Parameter 1234: group id used in request
       
  2015 [Test]
       
  2016 title MOD_0005.142.2_2_NokiaTSY_[XML MSK deletion, authentication fail]
       
  2017 create NTT_SIM test
       
  2018 test HandleSpecifiedRequests YES
       
  2019 test InitializeIPCRequestTable
       
  2020 
       
  2021 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  2022 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  2023 
       
  2024 test RunIscTestCase 147
       
  2025 test SyncIscTestCase
       
  2026 allownextresult 0
       
  2027 waittestclass test
       
  2028 test GetSimAuthenticationData MGVMSKDELETION 18 110011 1234
       
  2029 allownextresult -3215 // KErrMMEtelAuthenticateFailed
       
  2030 waittestclass test
       
  2031 test HandleSpecifiedRequests NO
       
  2032 delete test
       
  2033 [Endtest]
       
  2034 
       
  2035 
       
  2036 // MOD_0005.150_2_NokiaTSY_[XML Read HomeZone Param]
       
  2037 //
       
  2038 // Precondition:
       
  2039 // -N/A
       
  2040 //
       
  2041 // Script description:
       
  2042 // - EReadViagHomeZoneParamsIPC is requested from NTSY
       
  2043 // - NTSY sends SIM_VIAG_HOME_ZONE_REQ(READ_PARAM) to CellMo
       
  2044 // - CellMo responds with SIM_VIAG_HOME_ZONE_RESP(READ_PARAM)
       
  2045 //   response contents
       
  2046 //      {
       
  2047 //      smsc=my_SMSC_number\0,
       
  2048 //      scp=my_SCP_number\0\0,
       
  2049 //      zonever=EA,
       
  2050 //      viagelem[0]=
       
  2051 //          {
       
  2052 //          x=AABBCC01,
       
  2053 //          y=AABBCC10,
       
  2054 //          r2=AABBCC11,
       
  2055 //          id=01,
       
  2056 //          hz=00(Inactive),
       
  2057 //          tag=homezone_A\0\DEAD\BEEF
       
  2058 //          }
       
  2059 //      viagelem[1]=
       
  2060 //          {
       
  2061 //          x=AABBCC02,
       
  2062 //          y=AABBCC20,
       
  2063 //          r2=AABBCC22,
       
  2064 //          id=02,
       
  2065 //          hz=01(HZACtive),
       
  2066 //          tag=homezone_B\0\DEAD\BEEF
       
  2067 //          }
       
  2068 //      viagelem[2]=
       
  2069 //          {
       
  2070 //          x=AABBCC03,
       
  2071 //          y=AABBCC30,
       
  2072 //          r2=AABBCC33,
       
  2073 //          id=03,
       
  2074 //          hz=02(Inactive),
       
  2075 //          tag=homezone_C\0\DEAD\BEEF
       
  2076 //          }
       
  2077 //      viagelem[3]=
       
  2078 //          {
       
  2079 //          x=AABBCC04,
       
  2080 //          y=AABBCC40,
       
  2081 //          r2=AABBCC44,
       
  2082 //          id=04,
       
  2083 //          hz=03(CZActive),
       
  2084 //          tag=homezone_D\0\DEAD\BEEF
       
  2085 //          }
       
  2086 //      }
       
  2087 [Test]
       
  2088 title MOD_0005.150_2_NokiaTSY_[XML Read HomeZone Param]
       
  2089 create NTT_SIM test
       
  2090 test HandleSpecifiedRequests YES
       
  2091 test InitializeIPCRequestTable
       
  2092 test SetExpectedCompleteIPC EReadViagHomeZoneParamsIPC
       
  2093 
       
  2094 test RunIscTestCase 164
       
  2095 test SyncIscTestCase
       
  2096 
       
  2097 test ViagHomeZoneReadParam my_SMSC_number my_SCP_number EA AABBCC01 AABBCC10 AABBCC11 1 Inactive homezone_A AABBCC02 AABBCC20 AABBCC22 2 HZActive homezone_B AABBCC03 AABBCC30 AABBCC33 3 Inactive homezone_C AABBCC04 AABBCC40 AABBCC44 4 CZActive homezone_D
       
  2098 
       
  2099 allownextresult 0 // KErrNone
       
  2100 waittestclass test // EReadViagHomeZoneParamsIPC
       
  2101 
       
  2102 test HandleSpecifiedRequests NO
       
  2103 delete test
       
  2104 [Endtest]
       
  2105 
       
  2106 
       
  2107 // MOD_0005.151_2_NokiaTSY_[XML Read HomeZone Cache]
       
  2108 //
       
  2109 // Precondition:
       
  2110 // -N/A
       
  2111 //
       
  2112 // Script description:
       
  2113 // - EReadViagHomeZoneCacheIPC is requested from NTSY
       
  2114 // - NTSY sends SIM_VIAG_HOME_ZONE_REQ(READ_CACHE) to CellMo
       
  2115 //   request contents
       
  2116 //      {
       
  2117 //      cacheid=04
       
  2118 //      recnum=06
       
  2119 //      }
       
  2120 // - CellMo responds with SIM_VIAG_HOME_ZONE_RESP(READ_CACHE)
       
  2121 //   response contents
       
  2122 //      {
       
  2123 //      lac=AABB,
       
  2124 //      cellid=CCDD
       
  2125 //      }
       
  2126 [Test]
       
  2127 title MOD_0005.151_2_NokiaTSY_[XML Read HomeZone Cache]
       
  2128 create NTT_SIM test
       
  2129 test HandleSpecifiedRequests YES
       
  2130 test InitializeIPCRequestTable
       
  2131 test SetExpectedCompleteIPC EReadViagHomeZoneCacheIPC
       
  2132 
       
  2133 test RunIscTestCase 165
       
  2134 test SyncIscTestCase
       
  2135 
       
  2136 test ViagHomeZoneReadCache 04 06 AABB CCDD
       
  2137 
       
  2138 allownextresult 0 // KErrNone
       
  2139 waittestclass test // EReadViagHomeZoneCacheIPC
       
  2140 
       
  2141 test HandleSpecifiedRequests NO
       
  2142 delete test
       
  2143 [Endtest]
       
  2144 
       
  2145 
       
  2146 // MOD_0005.152_2_NokiaTSY_[XML Write HomeZone Settings]
       
  2147 //
       
  2148 // Precondition:
       
  2149 // -N/A
       
  2150 //
       
  2151 // Script description:
       
  2152 // - EWriteViagHomeZoneUHZIUESettingsIPC is requested from NTSY
       
  2153 // - NTSY sends SIM_VIAG_HOME_ZONE_REQ(SIM_ST_WRITE_UHZIUE_SETTINGS) to CellMo
       
  2154 //   request contents
       
  2155 //      {
       
  2156 //      set=CE,
       
  2157 //      ver=05
       
  2158 //      }
       
  2159 // - CellMo responds with SIM_VIAG_HOME_ZONE_RESP(SIM_ST_WRITE_UHZIUE_SETTINGS)
       
  2160 [Test]
       
  2161 title MOD_0005.152_2_NokiaTSY_[XML Write HomeZone Settings]
       
  2162 create NTT_SIM test
       
  2163 test HandleSpecifiedRequests YES
       
  2164 test InitializeIPCRequestTable
       
  2165 test SetExpectedCompleteIPC EWriteViagHomeZoneUHZIUESettingsIPC
       
  2166 
       
  2167 test RunIscTestCase 166
       
  2168 test SyncIscTestCase
       
  2169 
       
  2170 test ViagHomeZoneWriteSettings CE 05
       
  2171 
       
  2172 allownextresult 0 // KErrNone
       
  2173 waittestclass test // EWriteViagHomeZoneUHZIUESettingsIPC
       
  2174 
       
  2175 test HandleSpecifiedRequests NO
       
  2176 delete test
       
  2177 [Endtest]
       
  2178 
       
  2179 
       
  2180 // MOD_0005.153_2_NokiaTSY_[XML Write HomeZone Cache]
       
  2181 //
       
  2182 // Precondition:
       
  2183 // -N/A
       
  2184 //
       
  2185 // Script description:
       
  2186 // - EWriteViagHomeZoneCacheIPC is requested from NTSY
       
  2187 // - NTSY sends SIM_VIAG_HOME_ZONE_REQ(WRITE_CACHE) to CellMo
       
  2188 //   request contents
       
  2189 //      {
       
  2190 //      cacheid=04,
       
  2191 //      recnum=09,
       
  2192 //      lac=BBAA,
       
  2193 //      cellid=CCDD
       
  2194 //      }
       
  2195 // - CellMo responds with SIM_VIAG_HOME_ZONE_RESP(WRITE_CACHE)
       
  2196 [Test]
       
  2197 title MOD_0005.153_2_NokiaTSY_[XML Write HomeZone Cache]
       
  2198 create NTT_SIM test
       
  2199 test HandleSpecifiedRequests YES
       
  2200 test InitializeIPCRequestTable
       
  2201 test SetExpectedCompleteIPC EWriteViagHomeZoneCacheIPC
       
  2202 
       
  2203 test RunIscTestCase 167
       
  2204 test SyncIscTestCase
       
  2205 
       
  2206 test ViagHomeZoneWriteCache 04 09 BBAA CCDD
       
  2207 
       
  2208 allownextresult 0 // KErrNone
       
  2209 waittestclass test // EWriteViagHomeZoneCacheIPC
       
  2210 
       
  2211 test HandleSpecifiedRequests NO
       
  2212 delete test
       
  2213 [Endtest]
       
  2214 
       
  2215 
       
  2216 // MOD_0005.154_2_NokiaTSY_[XML SimRefresh OPL, PNN and ONS records success case]
       
  2217 //
       
  2218 // Precondition:
       
  2219 // - none
       
  2220 //
       
  2221 // Script description:
       
  2222 //
       
  2223 [Test]
       
  2224 title MOD_0005.154_2_NokiaTSY_[XML SimRefresh OPL, PNN and ONS records success case]
       
  2225 create NTT_SIM test
       
  2226 
       
  2227 test SetOperInfoAPAC OperInfoLATIN
       
  2228 
       
  2229 test RunIscTestCaseStartNTSYAfterTestToolStart 169
       
  2230 test SyncIscTestCaseStartNTSYAfterTestToolStart
       
  2231 
       
  2232 // wait for ISC testcase completion signal
       
  2233 allownextresult 1
       
  2234 waittestclass test
       
  2235 
       
  2236 test RunIscTestCase 170
       
  2237 test SyncIscTestCase
       
  2238 
       
  2239 // wait for ISC testcase completion signal
       
  2240 allownextresult 1
       
  2241 waittestclass test
       
  2242 
       
  2243 test RunIscTestCase 171
       
  2244 test SyncIscTestCase
       
  2245 
       
  2246 // wait for ISC testcase completion signal
       
  2247 allownextresult 1
       
  2248 waittestclass test
       
  2249 
       
  2250 delete test
       
  2251 [Endtest]
       
  2252 
       
  2253 
       
  2254 // MOD_0005.155_2_NokiaTSY_[XML SimRefresh OPL, PNN and ONS records fail case]
       
  2255 //
       
  2256 // Precondition:
       
  2257 // - none
       
  2258 //
       
  2259 // Script description:
       
  2260 //
       
  2261 [Test]
       
  2262 title MOD_0005.155_2_NokiaTSY_[XML SimRefresh OPL, PNN and ONS records fail case]
       
  2263 create NTT_SIM test
       
  2264 
       
  2265 test SetOperInfoAPAC OperInfoLATIN
       
  2266 
       
  2267 test RunIscTestCaseStartNTSYAfterTestToolStart 169
       
  2268 test SyncIscTestCaseStartNTSYAfterTestToolStart
       
  2269 
       
  2270 // wait for ISC testcase completion signal
       
  2271 allownextresult 1
       
  2272 waittestclass test
       
  2273 
       
  2274 test RunIscTestCase 170
       
  2275 test SyncIscTestCase
       
  2276 
       
  2277 // wait for ISC testcase completion signal
       
  2278 allownextresult 1
       
  2279 waittestclass test
       
  2280 
       
  2281 test RunIscTestCase 172
       
  2282 test SyncIscTestCase
       
  2283 
       
  2284 // wait for ISC testcase completion signal
       
  2285 allownextresult 1
       
  2286 waittestclass test
       
  2287 
       
  2288 delete test
       
  2289 [Endtest]
       
  2290 
       
  2291 
       
  2292 // MOD_0005_160_2_NokiaTSY_[XML GetSimAuthenticationData SIM with ICC card]
       
  2293 //
       
  2294 // Precondition:
       
  2295 // - none
       
  2296 //
       
  2297 // Script description:
       
  2298 // -Parameter SIM: gsm security context authentication 
       
  2299 //
       
  2300 [Test]
       
  2301 title MOD_0005_160_2_NokiaTSY_[XML GetSimAuthenticationData SIM with ICC card]
       
  2302 create NTT_SIM test
       
  2303 test InitializeIPCRequestTable
       
  2304 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  2305 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  2306 
       
  2307 test RunIscTestCase 198
       
  2308 test SyncIscTestCase
       
  2309 allownextresult 0
       
  2310 waittestclass test
       
  2311 test GetSimAuthenticationData SIM
       
  2312 allownextresult 0
       
  2313 waittestclass test
       
  2314 
       
  2315 delete test
       
  2316 [Endtest]
       
  2317 
       
  2318 
       
  2319 // MOD_0005_161_2_NokiaTSY_[XML GetSimAuthenticationData AKA with ICC card]
       
  2320 //
       
  2321 // Precondition:
       
  2322 // - none
       
  2323 //
       
  2324 // Script description:
       
  2325 // -Parameter AKA: forces service type to SIM_ST_EAP_AKA_CONTEXT in
       
  2326 //  SIM_AUTHENTICATION_REQ message.
       
  2327 //
       
  2328 [Test]
       
  2329 title MOD_0005_161_2_NokiaTSY_[XML GetSimAuthenticationData AKA with ICC card]
       
  2330 create NTT_SIM test
       
  2331 test InitializeIPCRequestTable
       
  2332 test SetExpectedCompleteIPC EMmTsyBootNotifySimStatusReadyIPC
       
  2333 test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
       
  2334 
       
  2335 test RunIscTestCase 199
       
  2336 test SyncIscTestCase
       
  2337 allownextresult 0
       
  2338 waittestclass test
       
  2339 test GetSimAuthenticationData AKA
       
  2340 allownextresult 0
       
  2341 waittestclass test
       
  2342 delete test
       
  2343 [Endtest]