adaptationlayer/tsy/nokiatsy_dll/internal/test/nokiatsy_test_tool/sim/group/sim.cfg
changeset 0 63b37f68c1ce
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/adaptationlayer/tsy/nokiatsy_dll/internal/test/nokiatsy_test_tool/sim/group/sim.cfg	Fri Nov 06 17:28:23 2009 +0000
@@ -0,0 +1,618 @@
+//* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+//* All rights reserved.
+//* This component and the accompanying materials are made available
+//* under the terms of the License "Eclipse Public License v1.0"
+//* which accompanies this distribution, and is available
+//* at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//*
+//* Initial Contributors:
+//* Nokia Corporation - initial contribution.
+//*
+//* Contributors:
+//*
+//* Description:  
+//*
+
+
+// MOD_0005_101_1_NokiaTSY_[HW GetServiceTable SIM]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - Get service table SIM
+// - First parameter is service table
+//
+[Test]
+title MOD_0005_101_1_NokiaTSY_[HW GetServiceTable SIM]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMobilePhoneGetServiceTable
+test RunIscTestCase 1010
+test SyncIscTestCase
+test GetServiceTable SIM
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+// MOD_0005_102_1_NokiaTSY_[HW GetServiceTable USIM]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - Get service table USIM
+// - First parameter is service table
+//
+[Test]
+title MOD_0005_102_1_NokiaTSY_[HW GetServiceTable USIM]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMobilePhoneGetServiceTable
+test RunIscTestCase 1020
+test SyncIscTestCase
+test GetServiceTable USIM
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+// MOD_0005_103_1_NokiaTSY_[HW GetServiceTable SIM and USIM]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - Get service table SIM and USIM
+// - First parameter is service table
+//
+[Test]
+title MOD_0005_103_1_NokiaTSY_[HW GetServiceTable SIM and USIM]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMobilePhoneGetServiceTable
+test SetExpectedCompleteIPC EMobilePhoneGetServiceTable
+test RunIscTestCase 1010
+test SyncIscTestCase
+test GetServiceTable SIM
+allownextresult 0
+waittestclass test
+test RunIscTestCase 1020
+test SyncIscTestCase
+test GetServiceTable USIM
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+// MOD_0005_104_1_NokiaTSY_[HW GetServiceTable USIM and SIM]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - Get service table USIM and SIM
+// - First parameter is service table
+//
+[Test]
+title MOD_0005_104_1_NokiaTSY_[HW GetServiceTable USIM and SIM]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMobilePhoneGetServiceTable
+test SetExpectedCompleteIPC EMobilePhoneGetServiceTable
+test RunIscTestCase 1020
+test SyncIscTestCase
+test GetServiceTable USIM
+allownextresult 0
+waittestclass test
+test RunIscTestCase 1010
+test SyncIscTestCase
+test GetServiceTable SIM
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+// MOD_0005_105_1_NokiaTSY_[HW GetALSLine]
+//
+// Precondition:
+// - needs to be tested with sim including alternative line
+//
+// Script description:
+// - Get ALS line
+//
+[Test]
+title MOD_0005_105_1_NokiaTSY_[HW GetALSLine]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMobilePhoneGetALSLine
+test RunIscTestCase 1050
+test SyncIscTestCase
+test GetALSLine
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+// MOD_0005_106_1_NokiaTSY_[HW SetALSLine 0]
+//
+// Precondition:
+// - needs to be tested with sim including alternative line
+//
+// Script description:
+// - Set ALS line
+// - parameters:
+//   0 = EAlternateLinePrimary,
+//   1 = EAlternateLineAuxiliary,
+//   2 = EAlternateLineUnknown,
+//   3 = EAlternateLineNotAvailable
+//
+[Test]
+title MOD_0005_106_1_NokiaTSY_[HW SetALSLine 0]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMobilePhoneSetALSLine
+test RunIscTestCase 1060
+test SyncIscTestCase
+test SetALSLine 0
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+// MOD_0005_107_1_NokiaTSY_[HW SetALSLine 1]
+//
+// Precondition:
+// - needs to be tested with sim including alternative line
+//
+// Script description:
+// - Set ALS line
+// - parameters:
+//   0 = EAlternateLinePrimary,
+//   1 = EAlternateLineAuxiliary,
+//   2 = EAlternateLineUnknown,
+//   3 = EAlternateLineNotAvailable
+//
+[Test]
+title MOD_0005_107_1_NokiaTSY_[HW SetALSLine 1]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMobilePhoneSetALSLine
+test RunIscTestCase 1070
+test SyncIscTestCase
+test SetALSLine 1
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_108_1_NokiaTSY_[HW GetCustomerServiceProfile]
+//
+// Precondition:
+// - CSP bit must be set to 1 from product profile.
+// - Either ALS or CSP bit can be 1 at the same time.
+//
+// Script description:
+// - GetCustomerServiceProfile
+//
+[Test]
+title MOD_0005_108_1_NokiaTSY_[HW GetCustomerServiceProfile]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMobilePhoneGetCustomerServiceProfile
+test RunIscTestCase 1080
+test SyncIscTestCase
+test GetCustomerServiceProfile
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_109_1_NokiaTSY_[HW GetPin1DisableSupported]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - GetPin1DisableSupported
+//
+[Test]
+title MOD_0005_109_1_NokiaTSY_[HW GetPin1DisableSupported]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMmTsyPhoneGetPin1DisableSupportedIPC
+test RunIscTestCase 1090
+test SyncIscTestCase
+test GetPin1DisableSupported
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_110_1_NokiaTSY_[HW SimRefreshRegister]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - SimRefreshRegister
+// parameter:
+//  KCacheSmsParams = 0x01
+//  KCacheAdn = 0x02
+//  KCacheFdn = 0x04
+//  KCacheServiceTable = 0x08
+//
+[Test]
+title MOD_0005_110_1_NokiaTSY_[HW SimRefreshRegister]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMmTsySimRefreshRegisterIPC
+test RunIscTestCase 1100
+test SyncIscTestCase
+test SimRefreshRegister 6
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_111_1_NokiaTSY_[HW SimRefreshDone ok]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - SimRefreshDone
+// - parameter: error code
+//
+[Test]
+title MOD_0005_111_1_NokiaTSY_[HW SimRefreshDone ok]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMmTsySimRefreshNowIPC
+test SetExpectedCompleteIPC EMmTsySimRefreshDoneIPC
+test SendSIMRefreshNtf
+
+test RunIscTestCase 101
+test SyncIscTestCase
+
+allownextresult 0
+waittestclass test
+
+test RunIscTestCase 1110
+test SyncIscTestCase
+test SimRefreshDone 0
+
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_112_1_NokiaTSY_[HW SimRefreshDone fail]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - SimRefreshDone
+// - parameter: error code
+//
+[Test]
+title MOD_0005_112_1_NokiaTSY_[HW SimRefreshDone fail]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMmTsySimRefreshNowIPC
+test SetExpectedCompleteIPC EMmTsySimRefreshDoneIPC
+
+test SendSIMRefreshNtf
+
+test RunIscTestCase 101
+test SyncIscTestCase
+
+allownextresult 0
+waittestclass test
+
+test RunIscTestCase 1120
+test SyncIscTestCase
+test SimRefreshDone 1
+
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_113_1_NokiaTSY_[HW GetSubscriberId]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - GetSubscriberId
+//
+[Test]
+title MOD_0005_113_1_NokiaTSY_[HW GetSubscriberId]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMobilePhoneGetSubscriberId
+test RunIscTestCase 1130
+test SyncIscTestCase
+test GetSubscriberId
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_114_1_NokiaTSY_[HW GetServiceProviderName]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - GetServiceProviderName
+//
+[Test]
+title MOD_0005_114_1_NokiaTSY_[HW GetServiceProviderName]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMobilePhoneGetServiceProviderName
+test RunIscTestCase 1140
+test SyncIscTestCase
+test GetServiceProviderName
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_117_1_NokiaTSY_[HW ReadSimFile]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - Read Sim File
+// - parameters:
+//      master file     0x3F00
+//      dedicated file  0x2FE2
+//      dedicated file  0x0000
+//      elementary file 0x0000
+//      offset          0x0000
+//      size            0x0000
+//
+[Test]
+title MOD_0005_117_1_NokiaTSY_[HW ReadSimFile]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC ECustomReadSimFileIPC
+test RunIscTestCase 1170
+test SyncIscTestCase
+test ReadSimFile 16128 12258 0 0 0 0
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_118_1_NokiaTSY_[HW GetSimAuthenticationData SIM]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// -Parameter SIM: forces service type to SIM_ST_EAP_SIM_CONTEXT in
+//  SIM_AUTHENTICATION_REQ message.
+//
+[Test]
+title MOD_0005_118_1_NokiaTSY_[HW GetSimAuthenticationData SIM]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
+test ReadSimFile 16128 12258 0 0 0 0
+pause 1000
+test RunIscTestCase 1180
+test SyncIscTestCase
+test GetSimAuthenticationData SIM
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_119_1_NokiaTSY_[HW GetSimAuthenticationData AKA]
+//
+// Precondition:
+// -2G SIM must be used.
+//
+// Script description:
+// -Parameter AKA: forces service type to SIM_ST_EAP_AKA_CONTEXT in
+//  SIM_AUTHENTICATION_REQ message.
+//
+[Test]
+title MOD_0005_119_1_NokiaTSY_[HW GetSimAuthenticationData AKA]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC ECustomGetSimAuthenticationDataIPC
+pause 1000
+test RunIscTestCase 1190
+test SyncIscTestCase
+test GetSimAuthenticationData AKA
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_120_1_NokiaTSY_[HW GetNetworkProviderName]
+//
+// Precondition:
+// -SIM supporting operator name must be used (e.g. ORANGE)
+// -CSP bit must be on in product profile.
+//
+// Script description:
+// -N/A
+//
+[Test]
+title MOD_0005_120_1_NokiaTSY_[HW GetNetworkProviderName]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC ECustomGetNetworkProviderNameIPC
+test RunIscTestCase 1200
+test SyncIscTestCase
+test GetNetworkProviderName
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_121_1_NokiaTSY_[HW Authenticate IMS Data]
+//
+// Precondition:
+// -2G SIM must be used.
+//
+// Script description:
+// -Both input parameters must be 16 bytes length and contain only hexadecimals.
+//  First is input for SIM_SB_RAND_PARAMS and second SIM_SB_UMTS_AUTN_PARAMS.
+[Test]
+title MOD_0005_121_1_NokiaTSY_[HW Authenticate IMS Data]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMobilePhoneIMSAuthenticate
+test RunIscTestCase 1210
+test SyncIscTestCase
+test AuthenticateIMSData 0101010101010101 1010101010101010
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_122_1_NokiaTSY_[HW Get IMS Authorization Info]
+//
+// Precondition:
+// -N/A
+//
+// Script description:
+// -N/A
+//
+[Test]
+title MOD_0005_122_1_NokiaTSY_[HW Get IMS Authorization Info]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC EMobilePhoneAuthorizationInfoPhase1
+test RunIscTestCase 1220
+test SyncIscTestCase
+test GetIMSAuthorizationInfo
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_123_1_NokiaTSY_[HW Get ALS Blocked Status]
+//
+// Precondition:
+// -Must be Tested with SIM card supporting ALS (e.g. ORANGE)
+//
+// Script description:
+// -Possible results: BlockStatusActive or BlockStatusInactive
+//  or EBlockStatusNotSupported.
+//
+[Test]
+title MOD_0005_123_1_NokiaTSY_[HW Get ALS Blocked Status]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC ECustomGetAlsBlockedIPC
+test RunIscTestCase 1230
+test SyncIscTestCase
+test GetALSBlockedStatus
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_124_1_NokiaTSY_[HW Set ALS Blocked Status Activate]
+//
+// Precondition:
+//  ALS bit must be set "ON" in Product profile
+//
+// NOTE!!!!!
+//  Testing with SIM card what support ALS (example ORANGE)
+//
+// EXTRA NOTE!!!
+//  Go Menu -> Settings -> Telephone settings -> Call settings ->
+//  Phone line blocking -> Give PIN 2 code but *DONT'T CHANGE* the
+//  status "ON", then you can test this case!!!!
+//
+// Script description:
+// - Set ALS Blocked Status
+//
+[Test]
+title MOD_0005_124_1_NokiaTSY_[HW Set ALS Blocked Status Activate]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC ECustomSetAlsBlockedIPC
+test RunIscTestCase 1240
+test SyncIscTestCase
+test SetALSBlockedStatus Activate
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_125_1_NokiaTSY_[HW Set ALS Blocked Status Deactivate]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - Set ALS blocked status
+// - parameter: status
+// - EXTRA NOTE!!!
+//      Go Menu -> Settings -> Telephone settings -> Call settings ->
+//      Phone line blocking -> Give PIN 2 code but *DONT'T CHANGE* the
+//      status "ON", then you can test this case!!!!
+//
+[Test]
+title MOD_0005_125_1_NokiaTSY_[HW Set ALS Blocked Status Deactivate]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC ECustomSetAlsBlockedIPC
+test RunIscTestCase 1250
+test SyncIscTestCase
+test SetALSBlockedStatus Deactivate
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]
+
+
+// MOD_0005_126_1_NokiaTSY_[HW Check ALS Product Profile Support]
+//
+// Precondition:
+// - none
+//
+// Script description:
+// - Check ALS Product Profile Support
+//
+[Test]
+title MOD_0005_126_1_NokiaTSY_[HW Check ALS Product Profile Support]
+create NTT_SIM test
+test InitializeIPCRequestTable
+test SetExpectedCompleteIPC ECustomCheckAlsPpSupportIPC
+test RunIscTestCase 1260
+test SyncIscTestCase
+test CheckAlsPpSupport
+allownextresult 0
+waittestclass test
+delete test
+[Endtest]