adaptationlayer/tsy/nokiatsy_dll/internal/test/nokiatsy_test_tool/sim/group/sim_pb.cfg
changeset 4 510c70acdbf6
parent 3 1972d8c2e329
child 5 8ccc39f9d787
equal deleted inserted replaced
3:1972d8c2e329 4:510c70acdbf6
     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 // MOD_0005_001_1_NokiaTSY_[HW PhoneBook initialization - Adn]
       
    17 // Initialize SIM phonebook
       
    18 // Parameter:
       
    19 //   Phonebook name (e.g. 'Adn')
       
    20 //
       
    21 [Test]
       
    22 title MOD_0005_001_1_NokiaTSY_[HW PhoneBook initialization - Adn]
       
    23 create NTT_SIM test
       
    24 test InitializeIPCRequestTable
       
    25 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
    26 test RunIscTestCase 001
       
    27 test SyncIscTestCase
       
    28 test PbInit Adn
       
    29 allownextresult 0
       
    30 waittestclass test
       
    31 delete test
       
    32 [Endtest]
       
    33 
       
    34 // MOD_0005_002_1_NokiaTSY_[HW PhoneBook initialization - Fdn]
       
    35 // Initialize SIM phonebook
       
    36 // Parameter:
       
    37 //   Phonebook name (e.g. 'Adn')
       
    38 //
       
    39 [Test]
       
    40 title MOD_0005_002_1_NokiaTSY_[HW PhoneBook initialization - Fdn]
       
    41 create NTT_SIM test
       
    42 test InitializeIPCRequestTable
       
    43 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
    44 test RunIscTestCase 002
       
    45 test SyncIscTestCase
       
    46 test PbInit Fdn
       
    47 allownextresult 0
       
    48 waittestclass test
       
    49 delete test
       
    50 [Endtest]
       
    51 
       
    52 // MOD_0005_003_1_NokiaTSY_[HW PhoneBook initialization - Adn and Fdn]
       
    53 // Initialize SIM phonebook
       
    54 // Parameter:
       
    55 //   Phonebook name (e.g. 'Adn')
       
    56 //
       
    57 [Test]
       
    58 title MOD_0005_003_1_NokiaTSY_[HW PhoneBook initialization - Adn and Fdn]
       
    59 create NTT_SIM test
       
    60 test InitializeIPCRequestTable
       
    61 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
    62 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
    63 test RunIscTestCase 003
       
    64 test SyncIscTestCase
       
    65 test PbInit Adn
       
    66 test PbInit Fdn
       
    67 allownextresult 0
       
    68 waittestclass test
       
    69 allownextresult 0
       
    70 waittestclass test
       
    71 delete test
       
    72 [Endtest]
       
    73 
       
    74 // MOD_0005_004_1_NokiaTSY_[HW PhoneBook cache - Adn]
       
    75 // Cache SIM phonebook
       
    76 // Parameter:
       
    77 //   Phonebook name (e.g. 'Adn')
       
    78 //
       
    79 [Test]
       
    80 title MOD_0005_004_1_NokiaTSY_[HW PhoneBook cache - Adn]
       
    81 create NTT_SIM test
       
    82 test InitializeIPCRequestTable
       
    83 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
    84 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
    85 test PbInit Adn
       
    86 allownextresult 0
       
    87 waittestclass test
       
    88 test RunIscTestCase 004
       
    89 test SyncIscTestCase
       
    90 test PbStoreCache Adn
       
    91 allownextresult 0
       
    92 waittestclass test
       
    93 delete test
       
    94 [Endtest]
       
    95 
       
    96 // MOD_0005_005_1_NokiaTSY_[HW PhoneBook cache - Fdn]
       
    97 // Cache SIM phonebook
       
    98 // Parameter:
       
    99 //   Phonebook name (e.g. 'Fdn')
       
   100 //
       
   101 [Test]
       
   102 title MOD_0005_005_1_NokiaTSY_[HW PhoneBook cache - Fdn]
       
   103 create NTT_SIM test
       
   104 test InitializeIPCRequestTable
       
   105 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
   106 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   107 test PbInit Fdn
       
   108 allownextresult 0
       
   109 waittestclass test
       
   110 test RunIscTestCase 005
       
   111 test SyncIscTestCase
       
   112 test PbStoreCache Fdn
       
   113 allownextresult 0
       
   114 waittestclass test
       
   115 delete test
       
   116 [Endtest]
       
   117 
       
   118 // MOD_0005_006_1_NokiaTSY_[HW PhoneBook cache - Sdn]
       
   119 // Cache SIM phonebook
       
   120 // Parameter:
       
   121 //   Phonebook name (e.g. 'Sdn')
       
   122 //
       
   123 [Test]
       
   124 title MOD_0005_006_1_NokiaTSY_[HW PhoneBook cache - Sdn]
       
   125 create NTT_SIM test
       
   126 test InitializeIPCRequestTable
       
   127 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
   128 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   129 test PbInit Fdn
       
   130 allownextresult 0
       
   131 waittestclass test
       
   132 test RunIscTestCase 006
       
   133 test SyncIscTestCase
       
   134 test PbStoreCache Sdn
       
   135 allownextresult 0
       
   136 waittestclass test
       
   137 delete test
       
   138 [Endtest]
       
   139 
       
   140 // MOD_0005_007_1_NokiaTSY_[HW PhoneBook cache - Adn and Fdn]
       
   141 // Cache SIM phonebook
       
   142 // Parameter:
       
   143 //   Phonebook name (e.g. 'Adn' and 'Fdn')
       
   144 //
       
   145 [Test]
       
   146 title MOD_0005_007_1_NokiaTSY_[HW PhoneBook cache - Adn and Fdn]
       
   147 create NTT_SIM test
       
   148 test InitializeIPCRequestTable
       
   149 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
   150 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   151 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   152 test PbInit Adn
       
   153 allownextresult 0
       
   154 waittestclass test
       
   155 test RunIscTestCase 004
       
   156 test SyncIscTestCase
       
   157 test PbStoreCache Adn
       
   158 pause 1000
       
   159 test RunIscTestCase 005
       
   160 test SyncIscTestCase
       
   161 test PbStoreCache Fdn
       
   162 allownextresult 0
       
   163 waittestclass test
       
   164 allownextresult 0
       
   165 waittestclass test
       
   166 delete test
       
   167 [Endtest]
       
   168 
       
   169 // MOD_0005_008_1_NokiaTSY_[HW PhoneBook cache - Adn and Sdn]
       
   170 // Cache SIM phonebook
       
   171 // Parameter:
       
   172 //   Phonebook name (e.g. 'Adn' and 'Sdn')
       
   173 //
       
   174 [Test]
       
   175 title MOD_0005_008_1_NokiaTSY_[HW PhoneBook cache - Adn and Sdn]
       
   176 create NTT_SIM test
       
   177 test InitializeIPCRequestTable
       
   178 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
   179 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   180 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   181 test PbInit Adn
       
   182 allownextresult 0
       
   183 waittestclass test
       
   184 test RunIscTestCase 004
       
   185 test SyncIscTestCase
       
   186 test PbStoreCache Adn
       
   187 pause 1000
       
   188 test RunIscTestCase 006
       
   189 test SyncIscTestCase
       
   190 test PbStoreCache Sdn
       
   191 allownextresult 0
       
   192 waittestclass test
       
   193 allownextresult 0
       
   194 waittestclass test
       
   195 delete test
       
   196 [Endtest]
       
   197 
       
   198 // MOD_0005_009_1_NokiaTSY_[HW Write Entries - Adn]
       
   199 // Write entries to SIM phonebook
       
   200 // Parameters:
       
   201 //   Phonebook name (e.g. 'Adn')
       
   202 //   Index, if index is -1 entry is written to the first empty place
       
   203 //   Name
       
   204 //   Phone number
       
   205 //   Email (optional)
       
   206 //   Second name (nickname) (optional)
       
   207 //   Additional number (optional)
       
   208 //
       
   209 // Precondition:
       
   210 //   When writing and reading Second Name Entry (SNE), NTN sim card needed
       
   211 //
       
   212 [Test]
       
   213 title MOD_0005_009_1_NokiaTSY_[HW Write Entries - Adn]
       
   214 create NTT_SIM test
       
   215 test InitializeIPCRequestTable
       
   216 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreWriteIPC
       
   217 test RunIscTestCase 009
       
   218 test SyncIscTestCase
       
   219 test WriteEntries Adn -1 Testi 040123321
       
   220 allownextresult 0
       
   221 waittestclass test
       
   222 delete test
       
   223 [Endtest]
       
   224 
       
   225 // MOD_0005_010_1_NokiaTSY_[HW Write Entries - Adn 1]
       
   226 // Write entries to SIM phonebook
       
   227 // Parameters:
       
   228 //   Phonebook name (e.g. 'Adn')
       
   229 //   Index, if index is -1 entry is written to the first empty place
       
   230 //   Name
       
   231 //   Phone number
       
   232 //   Email (optional)
       
   233 //   Second name (nickname) (optional)
       
   234 //   Additional number (optional)
       
   235 //
       
   236 // Precondition:
       
   237 //   When writing and reading Second Name Entry (SNE), NTN sim card needed
       
   238 //
       
   239 [Test]
       
   240 title MOD_0005_010_1_NokiaTSY_[HW Write Entries - Adn 1]
       
   241 create NTT_SIM test
       
   242 test InitializeIPCRequestTable
       
   243 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreWriteIPC
       
   244 test RunIscTestCase 010
       
   245 test SyncIscTestCase
       
   246 test WriteEntries Adn 1 Testi 040123321 email sne 020020
       
   247 allownextresult 0
       
   248 waittestclass test
       
   249 delete test
       
   250 [Endtest]
       
   251 
       
   252 // MOD_0005_011_1_NokiaTSY_[HW Write Entries - Adn 2]
       
   253 // Write entries to SIM phonebook
       
   254 // Parameters:
       
   255 //   Phonebook name (e.g. 'Adn')
       
   256 //   Index, if index is -1 entry is written to the first empty place
       
   257 //   Name
       
   258 //   Phone number
       
   259 //   Email (optional)
       
   260 //   Second name (nickname) (optional)
       
   261 //   Additional number (optional)
       
   262 //
       
   263 // Precondition:
       
   264 //   When writing and reading Second Name Entry (SNE), NTN sim card needed
       
   265 //
       
   266 [Test]
       
   267 title MOD_0005_011_1_NokiaTSY_[HW Write Entries - Adn 2]
       
   268 create NTT_SIM test
       
   269 test InitializeIPCRequestTable
       
   270 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreWriteIPC
       
   271 test RunIscTestCase 011
       
   272 test SyncIscTestCase
       
   273 test WriteEntries Adn 2 Testi2 040321123 email2 sne2 030030
       
   274 allownextresult 0
       
   275 waittestclass test
       
   276 delete test
       
   277 [Endtest]
       
   278 
       
   279 // MOD_0005_012_1_NokiaTSY_[HW Read Entries - Adn 1]
       
   280 // Read one entry from SIM phonebook
       
   281 // Parameters:
       
   282 //   Phonebook name (e.g. 'Adn')
       
   283 //   Index to be read from
       
   284 //
       
   285 // Precondition:
       
   286 //   At least one entry must be in ADN phone book
       
   287 //
       
   288 [Test]
       
   289 title MOD_0005_012_1_NokiaTSY_[HW Read Entries - Adn 1]
       
   290 create NTT_SIM test
       
   291 test InitializeIPCRequestTable
       
   292 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreReadIPC
       
   293 test RunIscTestCase 012
       
   294 test SyncIscTestCase
       
   295 test ReadEntries Adn 1 1 DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE
       
   296 allownextresult 0
       
   297 waittestclass test
       
   298 delete test
       
   299 [Endtest]
       
   300 
       
   301 // MOD_0005_013_1_NokiaTSY_[HW Read Entries - Adn 2]
       
   302 // Read one entry from SIM phonebook
       
   303 // Parameters:
       
   304 //   Phonebook name (e.g. 'Adn')
       
   305 //   Index to be read from
       
   306 //
       
   307 // Precondition:
       
   308 //   At least one entry must be in ADN phone book
       
   309 //
       
   310 [Test]
       
   311 title MOD_0005_013_1_NokiaTSY_[HW Read Entries - Adn 2]
       
   312 create NTT_SIM test
       
   313 test InitializeIPCRequestTable
       
   314 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreReadIPC
       
   315 test RunIscTestCase 012
       
   316 test SyncIscTestCase
       
   317 test ReadEntries Adn 1 2 DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE
       
   318 allownextresult 0
       
   319 waittestclass test
       
   320 delete test
       
   321 [Endtest]
       
   322 
       
   323 
       
   324 // MOD_0005_014_1_NokiaTSY_[HW Delete Entry - Adn 1]
       
   325 // Delete one entry from SIM phonebook
       
   326 // Parameters:
       
   327 //   Phonebook name (e.g. 'Adn')
       
   328 //   Index to be deleted
       
   329 //
       
   330 // Precondition:
       
   331 //   At least one entry must be in ADN phone book
       
   332 //
       
   333 [Test]
       
   334 title MOD_0005_014_1_NokiaTSY_[HW Delete Entry - Adn 1]
       
   335 create NTT_SIM test
       
   336 test InitializeIPCRequestTable
       
   337 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreDeleteIPC
       
   338 test RunIscTestCase 014
       
   339 test SyncIscTestCase
       
   340 test DeleteEntry Adn 1
       
   341 allownextresult 0
       
   342 waittestclass test
       
   343 delete test
       
   344 [Endtest]
       
   345 
       
   346 //MOD_0005_015_1_NokiaTSY_[HW Delete all  - Adn]
       
   347 // Delete all entries from the sim phone book
       
   348 // parameters:
       
   349 //  phone book name
       
   350 //
       
   351 [Test]
       
   352 title MOD_0005_015_1_NokiaTSY_[HW Delete all  - Adn]
       
   353 create NTT_SIM test
       
   354 test InitializeIPCRequestTable
       
   355 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreDeleteAllIPC
       
   356 test RunIscTestCase 015
       
   357 test SyncIscTestCase
       
   358 test DeleteAllEntries Adn
       
   359 allownextresult 0
       
   360 waittestclass test
       
   361 delete test
       
   362 [Endtest]
       
   363 
       
   364 // MOD_0005_016_1_NokiaTSY_[HW Get Pb Store Info  - Adn]
       
   365 // Get phonebook store info (number of used entries).
       
   366 // Parameter:
       
   367 //   Phonebook name (e.g. 'Adn')
       
   368 //
       
   369 [Test]
       
   370 title MOD_0005_016_1_NokiaTSY_[HW Get Pb Store Info  - Adn]
       
   371 create NTT_SIM test
       
   372 test InitializeIPCRequestTable
       
   373 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreGetInfoIPC
       
   374 test RunIscTestCase 016
       
   375 test SyncIscTestCase
       
   376 test GetPbStoreInfo Adn
       
   377 allownextresult 0
       
   378 waittestclass test
       
   379 delete test
       
   380 [Endtest]
       
   381 
       
   382 //MOD_0005_017_1_NokiaTSY_[HW GetMailboxNumbers]
       
   383 // GetMailboxNumbers
       
   384 //
       
   385 // sim card supporting MBDN needed
       
   386 // also MBDN flag needs to be set ON in NokiaTSY
       
   387 //
       
   388 [Test]
       
   389 title  MOD_0005_017_1_NokiaTSY_[HW GetMailboxNumbers]
       
   390 create NTT_SIM test
       
   391 test InitializeIPCRequestTable
       
   392 test SetExpectedCompleteIPC ECustomReadSimFileIPC
       
   393 test SetExpectedCompleteIPC EMobilePhoneGetMailboxNumbers
       
   394 test RunIscTestCase 017
       
   395 test SyncIscTestCase
       
   396 test GetMailboxNumbers
       
   397 allownextresult 0
       
   398 waittestclass test
       
   399 delete test
       
   400 [Endtest]
       
   401 
       
   402 
       
   403 //MOD_0005_018_1_NokiaTSY_[HW Write Entries - MBDN]
       
   404 // Write MBDN entry
       
   405 // parameters:
       
   406 //  phone book name
       
   407 //  index, if index is -1 entry is written to the first empty place
       
   408 //  name
       
   409 //  phone number
       
   410 //
       
   411 // sim card supporting MBDN needed
       
   412 // also MBDN flag needs to be set ON in NokiaTSY
       
   413 //
       
   414 [Test]
       
   415 title  MOD_0005_018_1_NokiaTSY_[HW Write Entries - MBDN]
       
   416 create NTT_SIM test
       
   417 test InitializeIPCRequestTable
       
   418 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreWriteIPC
       
   419 test RunIscTestCase 018
       
   420 test SyncIscTestCase
       
   421 test WriteEntries MBDN 4 Testi 040123321
       
   422 allownextresult 0
       
   423 waittestclass test
       
   424 delete test
       
   425 [Endtest]
       
   426 
       
   427 //MOD_0005_019_1_NokiaTSY_[HW Read Entries - MBDN 1]
       
   428 // Read enties from the sim phone book
       
   429 // parameters:
       
   430 //  phone book name
       
   431 //  index
       
   432 //  number of entries to be read
       
   433 //
       
   434 // sim card supporting MBDN needed
       
   435 // also MBDN flag needs to be set ON in NokiaTSY
       
   436 //
       
   437 [Test]
       
   438 title MOD_0005_019_1_NokiaTSY_[HW Read Entries - MBDN 4]
       
   439 create NTT_SIM test
       
   440 test InitializeIPCRequestTable
       
   441 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreReadIPC
       
   442 test RunIscTestCase 019
       
   443 test SyncIscTestCase
       
   444 test ReadEntries MBDN 4 1 DONTCARE DONTCARE
       
   445 allownextresult 0
       
   446 waittestclass test
       
   447 delete test
       
   448 [Endtest]
       
   449 
       
   450 //MOD_0005_020_1_NokiaTSY_[HW Read Entries - MBDN 3]
       
   451 // Read enties from the sim phone book
       
   452 // parameters:
       
   453 //  phone book name
       
   454 //  index
       
   455 //  number of entries to be read
       
   456 //
       
   457 // sim card supporting MBDN needed
       
   458 // also MBDN flag needs to be set ON in NokiaTSY
       
   459 //
       
   460 [Test]
       
   461 title MOD_0005_020_NokiaTSY_[HW Read Entries - MBDN 3]
       
   462 create NTT_SIM test
       
   463 test InitializeIPCRequestTable
       
   464 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreReadIPC
       
   465 test RunIscTestCase 020
       
   466 test SyncIscTestCase
       
   467 test ReadEntries MBDN 3 1 DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE DONTCARE
       
   468 allownextresult 0
       
   469 waittestclass test
       
   470 delete test
       
   471 [Endtest]
       
   472 
       
   473 //MOD_0005_021_1_NokiaTSY_[HW Delete MBDN 4]
       
   474 // Delete MBDN enties from the sim phone book
       
   475 // parameters:
       
   476 //  phone book name
       
   477 //  index
       
   478 //
       
   479 // sim card supporting MBDN needed
       
   480 // also MBDN flag needs to be set ON in NokiaTSY
       
   481 //
       
   482 [Test]
       
   483 title MOD_0005_021_1_NokiaTSY_[HW Delete MBDN 4]
       
   484 create NTT_SIM test
       
   485 test InitializeIPCRequestTable
       
   486 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreDeleteIPC
       
   487 test RunIscTestCase 021
       
   488 test SyncIscTestCase
       
   489 test DeleteEntry MBDN 4
       
   490 allownextresult 0
       
   491 waittestclass test
       
   492 delete test
       
   493 [Endtest]
       
   494 
       
   495 
       
   496 //MOD_0005_401_1_NokiaTSY_[HW Write AAS]
       
   497 // Write AAS
       
   498 // parameters:
       
   499 //  location
       
   500 //  file type
       
   501 //  AAS
       
   502 //
       
   503 // sim card supporting AAS needed
       
   504 // also INTERNAL_RD_USIM_PHONEBOOK_GAS_AND_AAS flag
       
   505 // needs to be set ON in NokiaTSY and in CommonTSY
       
   506 // also CustomAPI support needed
       
   507 //
       
   508 [Test]
       
   509 title MOD_0005_401_1_NokiaTSY_[HW Write AAS]
       
   510 create NTT_SIM test
       
   511 test InitializeIPCRequestTable
       
   512 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
   513 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   514 test SetExpectedCompleteIPC ECustomWriteAlphaStringIPC
       
   515 test SetExpectedCompleteIPC ECustomWriteAlphaStringIPC
       
   516 test SetExpectedCompleteIPC ECustomWriteAlphaStringIPC
       
   517 test PbInit Adn
       
   518 allownextresult 0
       
   519 waittestclass test
       
   520 test PbStoreCache Adn
       
   521 allownextresult 0
       
   522 waittestclass test
       
   523 test WriteAlphaString AAS 1 Home
       
   524 allownextresult 0
       
   525 waittestclass test
       
   526 test WriteAlphaString AAS 2 Other
       
   527 allownextresult 0
       
   528 waittestclass test
       
   529 test WriteAlphaString AAS 3 Work
       
   530 allownextresult 0
       
   531 waittestclass test
       
   532 delete test
       
   533 [Endtest]
       
   534 
       
   535 //MOD_0005_402_1_NokiaTSY_[HW Delete AAS]
       
   536 // Delete AAS
       
   537 // parameters:
       
   538 //  location
       
   539 //  file type
       
   540 //
       
   541 // test case MOD_0005_401_1_NokiaTSY_[HW Write AAS] needs
       
   542 // to be runned before to set AAS to be deleted in this case
       
   543 //
       
   544 // sim card supporting AAS needed
       
   545 // also INTERNAL_RD_USIM_PHONEBOOK_GAS_AND_AAS flag
       
   546 // needs to be set ON in NokiaTSY and in CommonTSY
       
   547 // also CustomAPI support needed
       
   548 //
       
   549 [Test]
       
   550 title MOD_0005_402_1_NokiaTSY_[HW Delete AAS]
       
   551 create NTT_SIM test
       
   552 test InitializeIPCRequestTable
       
   553 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
   554 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   555 test SetExpectedCompleteIPC ECustomDeleteAlphaStringIPC
       
   556 test SetExpectedCompleteIPC ECustomDeleteAlphaStringIPC
       
   557 test PbInit Adn
       
   558 allownextresult 0
       
   559 waittestclass test
       
   560 test PbStoreCache Adn
       
   561 allownextresult 0
       
   562 waittestclass test
       
   563 test DeleteAlphaString AAS 2
       
   564 allownextresult 0
       
   565 waittestclass test
       
   566 //tests that we can delete also empty without crashing
       
   567 test DeleteAlphaString AAS 2
       
   568 allownextresult 0
       
   569 waittestclass test
       
   570 delete test
       
   571 [Endtest]
       
   572 
       
   573 
       
   574 //MOD_0005_403_1_NokiaTSY_[HW Read AAS]
       
   575 // Read AAS
       
   576 // parameters:
       
   577 //  file type
       
   578 //  location
       
   579 //
       
   580 // test cases MOD_0005_401_NokiaTSY_[Write AAS] and
       
   581 // MOD_0005_402_1_NokiaTSY_[HW Delete AAS] needs to be
       
   582 // runned before to set AAS to be read in this case
       
   583 //
       
   584 // sim card supporting AAS needed
       
   585 // also INTERNAL_RD_USIM_PHONEBOOK_GAS_AND_AAS flag
       
   586 // needs to be set ON in NokiaTSY and in CommonTSY
       
   587 // also CustomAPI support needed
       
   588 //
       
   589 [Test]
       
   590 title MOD_0005_403_1_NokiaTSY_[HW Read AAS]
       
   591 create NTT_SIM test
       
   592 test InitializeIPCRequestTable
       
   593 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
   594 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   595 test SetExpectedCompleteIPC ECustomReadAlphaStringIPC
       
   596 test SetExpectedCompleteIPC ECustomReadAlphaStringIPC
       
   597 test SetExpectedCompleteIPC ECustomReadAlphaStringIPC
       
   598 test PbInit Adn
       
   599 allownextresult 0
       
   600 waittestclass test
       
   601 test PbStoreCache Adn
       
   602 allownextresult 0
       
   603 waittestclass test
       
   604 test ReadAlphaString AAS 1
       
   605 allownextresult 0
       
   606 waittestclass test
       
   607 test ReadAlphaString AAS 2
       
   608 allownextresult -1
       
   609 waittestclass test
       
   610 test ReadAlphaString AAS 3
       
   611 allownextresult 0
       
   612 waittestclass test
       
   613 delete test
       
   614 [Endtest]
       
   615 
       
   616 
       
   617 //MOD_0005_404_1_NokiaTSY_[HW Write entry including AAS]
       
   618 // Write entry including AAS
       
   619 // parameters:
       
   620 //  Phonebook name (e.g. 'Adn')
       
   621 //   Index, if index is -1 entry is written to the first empty place
       
   622 //   Name
       
   623 //   Phone number
       
   624 //   Email
       
   625 //   Second name (nickname)
       
   626 //   Additional number
       
   627 //   AAS
       
   628 //
       
   629 //
       
   630 // sim card supporting AAS needed
       
   631 // also INTERNAL_RD_USIM_PHONEBOOK_GAS_AND_AAS flag
       
   632 // needs to be set ON in NokiaTSY and in CommonTSY
       
   633 // also CustomAPI support needed
       
   634 //
       
   635 [Test]
       
   636 title MOD_0005_404_1_NokiaTSY_[HW Write entry including AAS]
       
   637 create NTT_SIM test
       
   638 test InitializeIPCRequestTable
       
   639 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
   640 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   641 test SetExpectedCompleteIPC ECustomWriteAlphaStringIPC
       
   642 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreWriteIPC
       
   643 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreReadIPC
       
   644 test PbInit Adn
       
   645 allownextresult 0
       
   646 waittestclass test
       
   647 test PbStoreCache Adn
       
   648 allownextresult 0
       
   649 waittestclass test
       
   650 test WriteAlphaString AAS 1 Home
       
   651 allownextresult 0
       
   652 waittestclass test
       
   653 test WriteEntries Adn 10 Testi2 040321123 email2 sne2 030030 Home
       
   654 allownextresult 0
       
   655 waittestclass test
       
   656 test ReadEntries Adn 10 1 DONTCARE DONTCARE
       
   657 allownextresult 0
       
   658 waittestclass test
       
   659 delete test
       
   660 [Endtest]
       
   661 
       
   662 
       
   663 //MOD_0005_405_1_NokiaTSY_[HW Write GAS]
       
   664 // Write GAS
       
   665 // parameters:
       
   666 //  location
       
   667 //  file type
       
   668 //  GAS
       
   669 //
       
   670 // sim card supporting GAS needed
       
   671 // also INTERNAL_RD_USIM_PHONEBOOK_GAS_AND_AAS flag
       
   672 // needs to be set ON in NokiaTSY and in CommonTSY
       
   673 // also CustomAPI support needed
       
   674 //
       
   675 [Test]
       
   676 title MOD_0005_405_1_NokiaTSY_[HW Write GAS]
       
   677 create NTT_SIM test
       
   678 test InitializeIPCRequestTable
       
   679 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
   680 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   681 test SetExpectedCompleteIPC ECustomWriteAlphaStringIPC
       
   682 test SetExpectedCompleteIPC ECustomWriteAlphaStringIPC
       
   683 test SetExpectedCompleteIPC ECustomWriteAlphaStringIPC
       
   684 test PbInit Adn
       
   685 allownextresult 0
       
   686 waittestclass test
       
   687 test PbStoreCache Adn
       
   688 allownextresult 0
       
   689 waittestclass test
       
   690 test WriteAlphaString GAS 1 Home
       
   691 allownextresult 0
       
   692 waittestclass test
       
   693 test WriteAlphaString GAS 2 Other
       
   694 allownextresult 0
       
   695 waittestclass test
       
   696 test WriteAlphaString GAS 3 Work
       
   697 allownextresult 0
       
   698 waittestclass test
       
   699 delete test
       
   700 [Endtest]
       
   701 
       
   702 //title MOD_0005_406_1_NokiaTSY_[HW Delete GAS]
       
   703 // Delete GAS
       
   704 // parameters:
       
   705 //  location
       
   706 //  file type
       
   707 //
       
   708 // test case MOD_0005_405_NokiaTSY_[Write GAS] needs
       
   709 // to be runned before to set GAS to be deleted in this case
       
   710 //
       
   711 // sim card supporting GAS needed
       
   712 // also INTERNAL_RD_USIM_PHONEBOOK_GAS_AND_AAS flag
       
   713 // needs to be set ON in NokiaTSY and in CommonTSY
       
   714 // also CustomAPI support needed
       
   715 //
       
   716 [Test]
       
   717 title MOD_0005_406_1_NokiaTSY_[HW Delete GAS]
       
   718 create NTT_SIM test
       
   719 test InitializeIPCRequestTable
       
   720 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
   721 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   722 test SetExpectedCompleteIPC ECustomDeleteAlphaStringIPC
       
   723 test SetExpectedCompleteIPC ECustomDeleteAlphaStringIPC
       
   724 test PbInit Adn
       
   725 allownextresult 0
       
   726 waittestclass test
       
   727 test PbStoreCache Adn
       
   728 allownextresult 0
       
   729 waittestclass test
       
   730 test DeleteAlphaString GAS 2
       
   731 allownextresult 0
       
   732 waittestclass test
       
   733 //tests that we can delete also empty without crashing
       
   734 test DeleteAlphaString GAS 2
       
   735 allownextresult 0
       
   736 waittestclass test
       
   737 delete test
       
   738 [Endtest]
       
   739 
       
   740 
       
   741 //MOD_0005_407_1_NokiaTSY_[HW Read GAS]
       
   742 // Read GAS
       
   743 // parameters:
       
   744 //  file type
       
   745 //  location
       
   746 //
       
   747 // test cases MOD_0005_405_NokiaTSY_[Write GAS] and
       
   748 // MOD_0005_406_NokiaTSY_[Delete GAS] needs to be
       
   749 // runned before to set GAS to be read in this case
       
   750 //
       
   751 // sim card supporting GAS needed
       
   752 // also INTERNAL_RD_USIM_PHONEBOOK_GAS_AND_AAS flag
       
   753 // needs to be set ON in NokiaTSY and in CommonTSY
       
   754 // also CustomAPI support needed
       
   755 //
       
   756 [Test]
       
   757 title MOD_0005_407_1_NokiaTSY_[HW Read GAS]
       
   758 create NTT_SIM test
       
   759 test InitializeIPCRequestTable
       
   760 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
   761 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   762 test SetExpectedCompleteIPC ECustomReadAlphaStringIPC
       
   763 test SetExpectedCompleteIPC ECustomReadAlphaStringIPC
       
   764 test SetExpectedCompleteIPC ECustomReadAlphaStringIPC
       
   765 test PbInit Adn
       
   766 allownextresult 0
       
   767 waittestclass test
       
   768 test PbStoreCache Adn
       
   769 allownextresult 0
       
   770 waittestclass test
       
   771 test ReadAlphaString GAS 1
       
   772 allownextresult 0
       
   773 waittestclass test
       
   774 test ReadAlphaString GAS 2
       
   775 allownextresult -1
       
   776 waittestclass test
       
   777 test ReadAlphaString GAS 3
       
   778 allownextresult 0
       
   779 waittestclass test
       
   780 delete test
       
   781 [Endtest]
       
   782 
       
   783 
       
   784 //MOD_0005_408_1_NokiaTSY_[HW Write and read entry including AAS and GAS]
       
   785 // Write entry including AAS and GAS
       
   786 // parameters:
       
   787 //  Phonebook name (e.g. 'Adn')
       
   788 //   Index, if index is -1 entry is written to the first empty place
       
   789 //   Name
       
   790 //   Phone number
       
   791 //   Email
       
   792 //   Second name (nickname)
       
   793 //   Additional number
       
   794 //   AAS
       
   795 //   GAS
       
   796 //
       
   797 // sim card supporting GAS needed
       
   798 // also INTERNAL_RD_USIM_PHONEBOOK_GAS_AND_AAS flag
       
   799 // needs to be set ON in NokiaTSY and in CommonTSY
       
   800 // also CustomAPI support needed
       
   801 //
       
   802 [Test]
       
   803 title MOD_0005_408_1_NokiaTSY_[HW Write and read entry including AAS and GAS]
       
   804 create NTT_SIM test
       
   805 test InitializeIPCRequestTable
       
   806 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreInitIPC
       
   807 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreCacheIPC
       
   808 test SetExpectedCompleteIPC ECustomWriteAlphaStringIPC
       
   809 test SetExpectedCompleteIPC ECustomWriteAlphaStringIPC
       
   810 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreWriteIPC
       
   811 test SetExpectedCompleteIPC EMmTsyPhoneBookStoreReadIPC
       
   812 test PbInit Adn
       
   813 allownextresult 0
       
   814 waittestclass test
       
   815 test PbStoreCache Adn
       
   816 allownextresult 0
       
   817 waittestclass test
       
   818 test WriteAlphaString GAS 1 Koti
       
   819 allownextresult 0
       
   820 waittestclass test
       
   821 test WriteAlphaString AAS 1 Home
       
   822 allownextresult 0
       
   823 waittestclass test
       
   824 test WriteEntries Adn 10 Testi2 040321123 email2 sne2 030030 Home Koti
       
   825 allownextresult 0
       
   826 waittestclass test
       
   827 test ReadEntries Adn 10 1 DONTCARE DONTCARE
       
   828 allownextresult 0
       
   829 waittestclass test
       
   830 delete test
       
   831 [Endtest]
       
   832 
       
   833