diff -r 1972d8c2e329 -r 510c70acdbf6 adaptationlayer/tsy/simatktsy_dll/internal/test/simatktsy_testtool/simatk/testfiles/simatk_closechannel.cfg --- a/adaptationlayer/tsy/simatktsy_dll/internal/test/simatktsy_testtool/simatk/testfiles/simatk_closechannel.cfg Mon Nov 09 10:31:01 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,166 +0,0 @@ -//* Copyright (c) 2008 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: - -// -// Precondition: -// - Detailed description can be found from Quality Center's Project: CoreSW_CASW/Module Tests/SIM ATK TSY/SimAtkTSY_testtool -// -// Script description (note: Open Channel command is used during the testing. Open Channel's script description can be found -// from it's config file): - -// Proactive command // -/////////////////////// - -// AlphaId (Optional) -// Enter the text inside the quotes or as unicode hex digits. Example: AlphaId "abc" or AlphaId 0x61 0x62 0x63 - -// Destination (Optional, default = 0x21, Channel 1) -// Command has to be aimed to some destination. Destinations are: -// -1 Initialisation value -// 0x01 The destination device for the proactive command is the keypad. -// 0x02 The destination device for the proactive command is the display. -// 0x03 The destination device for the proactive command is the earpiece. -// 0x10 The destination device for the proactive command is the additional card reader 0. -// 0x11 The destination device for the proactive command is the additional card reader 1. -// 0x12 The destination device for the proactive command is the additional card reader 2. -// 0x13 The destination device for the proactive command is the additional card reader 3. -// 0x14 The destination device for the proactive command is the additional card reader 4. -// 0x15 The destination device for the proactive command is the additional card reader 5. -// 0x16 The destination device for the proactive command is the additional card reader 6. -// 0x17 The destination device for the proactive command is the additional card reader 7. -// 0x21 The destination device for the proactive command is the channel 1. -// 0x22 The destination device for the proactive command is the channel 2. -// 0x23 The destination device for the proactive command is the channel 3. -// 0x24 The destination device for the proactive command is the channel 4. -// 0x25 The destination device for the proactive command is the channel 5. -// 0x26 The destination device for the proactive command is the channel 6. -// 0x27 The destination device for the proactive command is the channel 7. -// 0x81 The destination device for the proactive command is the UICC. -// 0x82 The destination device for the proactive command is the Mobile Equipment, typically a phone. -// 0x83 The destination device for the proactive command is the network. -// Example destination channel 7: Destination 0x27 - -// IconId (Optional, default = IconId 0 0) -// IconQualifier -// 0 NotSet -// 1 NoIconId -// 2 SelfExplanatory -// 3 NotSelfExplanatory -// IconIdentifier -// Id number -// Example SelfExplanatory ID 5: IconId 2 5 - -// TextAttribute (Optional, default = 0, not initialized) -// TA contains information how the text related to a command should be presented to a user. Status of TA -// can be either not initialized, not provided or present. TA coding is specified in ETSI TS 123 040. -// If TA is provided by the script, it is presumed that is should be provided also by the command. -// Example TA provided: TextAttribute AA BB CC DD - -// Terminal Response // -/////////////////////// - -// GeneralResult (Optional, default = Success ) -// General result of the proactive command. Set this as described in -// the proactive commands versus terminal response table in ETSI TS 102 223. - -// AdditionalInfo (Optional, default = "") -// Contains additional information associated with certain error codes set in GeneralResult. -// If the value in GeneralResult does not require any information then leave this field empty. - -// InfoType (Optional, default = NoAdditionalInfo ) -// If the value of GeneralResult requires additional information, set this to MeProblem. -// Otherwise set to NoAdditionalInfo - -[Test] -title MOD_0025.001_SIM_ATK_TSY_[CLOSE CHANNEL] - -create SimAtk simatk -create SimAtkNotify openChannel -create SimAtkNotify closeChannel - -// Open all -simatk Connect RTelServer -simatk Load PhoneTsy.tsy -simatk Open DefaultPhone -simatk Open SAT -simatk Open IscControl - -// Load ISC XML -file -simatk LoadIscTests SimAtk_CloseChannel.xml - - -// Sequence 1.1 (CLOSE CHANNEL, successful) -// -openChannel UseObjectAddress simatk ESatNotifyOpenChannelPCmd -closeChannel UseObjectAddress simatk ESatNotifyCloseChannelPCmd -simatk RunIscTestCase 25 101 -waittestclass openChannel -simatk CheckProactiveCommand CommandType ESatNotifyOpenChannelPCmd Bearer 2 BearerParams 02 04 05 05 10 02 BufferSize 1000 AccessName "\x06TestGp\x02rs" UserLogin "UserLog" UserPassword "UserPwd" SimMeInterface 2 44444 DestinationAddress "01.01.01.01" -simatk SendTerminalResponse CommandType ESatNotifyOpenChannelPCmd BearerParams 00 04 05 05 10 02 BufferSize 1000 AdditionalInfo 81 0 InfoType ChannelStatusInfo - -simatk SyncIscTestCase -waittestclass closeChannel -simatk CheckProactiveCommand CommandType ESatNotifyCloseChannelPCmd -simatk SendTerminalResponse CommandType ESatNotifyCloseChannelPCmd - -simatk WaitForRequest - - -// Sequence 1.2 (CLOSE CHANNEL, with an invalid channel identifier) -// -openChannel UseObjectAddress simatk ESatNotifyOpenChannelPCmd -closeChannel UseObjectAddress simatk ESatNotifyCloseChannelPCmd -simatk RunIscTestCase 25 102 -waittestclass openChannel -simatk CheckProactiveCommand CommandType ESatNotifyOpenChannelPCmd Bearer 2 BearerParams 02 04 05 05 10 02 BufferSize 1000 AccessName "\x06TestGp\x02rs" UserLogin "UserLog" UserPassword "UserPwd" SimMeInterface 2 44444 DestinationAddress "01.01.01.01" -simatk SendTerminalResponse CommandType ESatNotifyOpenChannelPCmd BufferSize 1000 AdditionalInfo 81 0 InfoType ChannelStatusInfo BearerParams 00 04 05 05 10 02 - -simatk SyncIscTestCase -waittestclass closeChannel -simatk CheckProactiveCommand CommandType ESatNotifyCloseChannelPCmd Destination 0x22 -simatk SendTerminalResponse CommandType ESatNotifyCloseChannelPCmd GeneralResult BearerIndepProtocolError InfoType MeProblem AdditionalInfo ChannelIdNotValid - -simatk WaitForRequest - - -// Sequence 1.3 (CLOSE CHANNEL, on an already closed channel) -// -openChannel UseObjectAddress simatk ESatNotifyOpenChannelPCmd -closeChannel UseObjectAddress simatk ESatNotifyCloseChannelPCmd -simatk RunIscTestCase 25 103 -waittestclass openChannel -simatk CheckProactiveCommand CommandType ESatNotifyOpenChannelPCmd Bearer 2 BearerParams 02 04 05 05 10 02 BufferSize 1000 AccessName "\x06TestGp\x02rs" UserLogin "UserLog" UserPassword "UserPwd" SimMeInterface 2 44444 DestinationAddress "01.01.01.01" -simatk SendTerminalResponse CommandType ESatNotifyOpenChannelPCmd BufferSize 1000 AdditionalInfo 81 0 InfoType ChannelStatusInfo BearerParams 00 04 05 05 10 02 - -simatk SyncIscTestCase -waittestclass closeChannel -simatk CheckProactiveCommand CommandType ESatNotifyCloseChannelPCmd -simatk SendTerminalResponse CommandType ESatNotifyCloseChannelPCmd - -closeChannel UseObjectAddress simatk ESatNotifyCloseChannelPCmd -simatk SyncIscTestCase -waittestclass closeChannel -simatk CheckProactiveCommand CommandType ESatNotifyCloseChannelPCmd -simatk SendTerminalResponse CommandType ESatNotifyCloseChannelPCmd GeneralResult BearerIndepProtocolError InfoType MeProblem AdditionalInfo ChannelIdNotValid - -simatk WaitForRequest - -// close all -simatk Close IscControl -simatk Close SAT -simatk Unload PhoneTsy.tsy -simatk Close RTelServer -delete simatk -delete notify -[Endtest]