// Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "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:
//

RUN_SCRIPT z:\TestData\Scripts\TE_smsprt_setup.script

LOAD_SUITE TE_smsprt -SharedData

//!@file

START_TESTCASE SMS-SMSStack-NA-3001
//!@SYMTestCaseID SMS-SMSStack-NA-3001
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Simple Tx And Rx
//!@SYMTestPriority critical
//!@SYMTestActions Test simple transmit and receive
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSimpleTxAndRx z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber0
END_TESTCASE SMS-SMSStack-NA-3001

START_TESTCASE SMS-SMSS-SMSPROT-0158
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0158
//!@SYMDEF INC138096
//!@SYMTestCaseDesc Tests that a SMS can be received when the "LogDuration" is set to "No Log"
//!@SYMTestPriority Critical
//!@SYMTestActions Sets the Log Server to "No Log", then sends and receives a SMS, both operations should be completed successfully.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 600 TE_smsprt TestSimpleTxAndRxWithLoggingDisabled z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber158
END_TESTCASE SMS-SMSS-SMSPROT-0158

START_TESTCASE SMS-SMSStack-NA-3002
//!@SYMTestCaseID SMS-SMSStack-NA-3002
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Status Report
//!@SYMTestPriority critical
//!@SYMTestActions  Test status report
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestStatusReport z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber1
END_TESTCASE SMS-SMSStack-NA-3002


START_TESTCASE SMS-SMSStack-NA-3003
//!@SYMTestCaseID SMS-SMSStack-NA-3003
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Tx With Error
//!@SYMTestPriority critical
//!@SYMTestActions Test Transmit with Error
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestTxWithError z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber2
END_TESTCASE SMS-SMSStack-NA-3003


START_TESTCASE SMS-SMSStack-NA-3004
//!@SYMTestCaseID SMS-SMSStack-NA-3004
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Tx Failed
//!@SYMTestPriority critical
//!@SYMTestActions  Test Transmit with failure
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestTxFailed z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber3
END_TESTCASE SMS-SMSStack-NA-3004


START_TESTCASE SMS-SMSStack-NA-3005
//!@SYMTestCaseID SMS-SMSStack-NA-3005
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Matching To Observer
//!@SYMTestPriority critical
//!@SYMTestActions  Test Matching To Observer
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestMatchingToObserver z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber4
END_TESTCASE SMS-SMSStack-NA-3005


START_TESTCASE SMS-SMSStack-NA-3006
//!@SYMTestCaseID SMS-SMSStack-NA-3006
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Command Messages
//!@SYMTestPriority critical
//!@SYMTestActions Test Command Messages
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestCommandMessages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber5
END_TESTCASE SMS-SMSStack-NA-3006


START_TESTCASE SMS-SMSStack-NA-3007
//!@SYMTestCaseID SMS-SMSStack-NA-3007
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Simple Rx
//!@SYMTestPriority critical
//!@SYMTestActions Test Simple Receive
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSimpleRx z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber6
END_TESTCASE SMS-SMSStack-NA-3007


START_TESTCASE SMS-SMSStack-NA-3008
//!@SYMTestCaseID SMS-SMSStack-NA-3008
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test 7bit Mess Test
//!@SYMTestPriority critical
//!@SYMTestActions  Test 7bit Mess Test
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt Test7bitMessTest z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber7
END_TESTCASE SMS-SMSStack-NA-3008


START_TESTCASE SMS-SMSStack-NA-3009
//!@SYMTestCaseID SMS-SMSStack-NA-3009
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Class Messages
//!@SYMTestPriority critical
//!@SYMTestActions Test Class Messages
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestClassMessages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber8
END_TESTCASE SMS-SMSStack-NA-3009


START_TESTCASE SMS-SMSStack-NA-3010
//!@SYMTestCaseID SMS-SMSStack-NA-3010
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Rx Concatenated
//!@SYMTestPriority critical
//!@SYMTestActions  Test receive concatenated
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestRxConcatenated z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber9
END_TESTCASE SMS-SMSStack-NA-3010


START_TESTCASE SMS-SMSStack-NA-3011
//!@SYMTestCaseID SMS-SMSStack-NA-3011
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Rx Duplicate
//!@SYMTestPriority critical
//!@SYMTestActions  Test receive duplicate
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestRxDuplicate z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber10
END_TESTCASE SMS-SMSStack-NA-3011


START_TESTCASE SMS-SMSStack-NA-3012
//!@SYMTestCaseID SMS-SMSStack-NA-3012
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Rx Ring Tone A
//!@SYMTestPriority critical
//!@SYMTestActions  Test receive ring tone A
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestRxRingToneA z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber11
END_TESTCASE SMS-SMSStack-NA-3012


START_TESTCASE SMS-SMSStack-NA-3013
//!@SYMTestCaseID SMS-SMSStack-NA-3013
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Tx Rx Concatenated
//!@SYMTestPriority critical
//!@SYMTestActions  Test Transmit/receive concatenated messages
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestTxRxConcatenated z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber12
END_TESTCASE SMS-SMSStack-NA-3013


START_TESTCASE SMS-SMSStack-NA-3014
//!@SYMTestCaseID SMS-SMSStack-NA-3014
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Param Storage
//!@SYMTestPriority critical
//!@SYMTestActions  Test storage of parameters
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestParamStorage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber13
END_TESTCASE SMS-SMSStack-NA-3014


START_TESTCASE SMS-SMSStack-NA-3015
//!@SYMTestCaseID SMS-SMSStack-NA-3015
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Sms Store
//!@SYMTestPriority critical
//!@SYMTestActions  Test Sms Store
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSmsStore z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber14
END_TESTCASE SMS-SMSStack-NA-3015


START_TESTCASE SMS-SMSStack-NA-3016
//!@SYMTestCaseID SMS-SMSStack-NA-3016
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Sms Store List
//!@SYMTestPriority critical
//!@SYMTestActions  Test Sms Store List
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSmsStoreList z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber15
END_TESTCASE SMS-SMSStack-NA-3016


START_TESTCASE SMS-SMSStack-NA-3017
//!@SYMTestCaseID SMS-SMSStack-NA-3017
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Delete Sms
//!@SYMTestPriority critical
//!@SYMTestActions Test Delete Sms
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestDeleteSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber15
END_TESTCASE SMS-SMSStack-NA-3017


START_TESTCASE SMS-SMSStack-NA-3018
//!@SYMTestCaseID SMS-SMSStack-NA-3018
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Socket Binding
//!@SYMTestPriority critical
//!@SYMTestActions  Test Socket Binding
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSocketBinding z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber16
END_TESTCASE SMS-SMSStack-NA-3018

START_TESTCASE SMS-SMSStack-NA-3098
//!@SYMTestCaseID SMS-SMSStack-NA-3098
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test SMS address class
//!@SYMTestPriority High
//!@SYMTestActions  Test SMS address class
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSmsAddr
END_TESTCASE SMS-SMSStack-NA-3098

START_TESTCASE SMS-SMSStack-NA-3019
//!@SYMTestCaseID SMS-SMSStack-NA-3019
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Sms Event Logger
//!@SYMTestPriority critical
//!@SYMTestActions  Test Sms Event Logger
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSmsEventLogger z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber17
END_TESTCASE SMS-SMSStack-NA-3019


START_TESTCASE SMS-SMSStack-NA-3020
//!@SYMTestCaseID SMS-SMSStack-NA-3020
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Bearer Change
//!@SYMTestPriority critical
//!@SYMTestActions  Test Bearer Change
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestBearerChange z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber18
END_TESTCASE SMS-SMSStack-NA-3020


START_TESTCASE SMS-SMSStack-NA-3094
//!@SYMTestCaseID SMS-SMSStack-NA-3094
//!@SYMREQ DEF080837
//!@SYMTestCaseDesc Test Restore Bearer
//!@SYMTestPriority critical
//!@SYMTestActions  Test Restore Bearer
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestRestoreBearer 
END_TESTCASE SMS-SMSStack-NA-3094


START_TESTCASE SMS-SMSStack-NA-3021
//!@SYMTestCaseID SMS-SMSStack-NA-3021
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Recv Mode Change
//!@SYMTestPriority critical
//!@SYMTestActions  Test Recieve Mode Change
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestRecvModeChange z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber19
END_TESTCASE SMS-SMSStack-NA-3021


START_TESTCASE SMS-SMSStack-NA-3022
//!@SYMTestCaseID SMS-SMSStack-NA-3022
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Tsy Caps
//!@SYMTestPriority critical
//!@SYMTestActions  Test Tsy Capabilities
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestTsyCaps z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber20
END_TESTCASE SMS-SMSStack-NA-3022


START_TESTCASE SMS-SMSStack-NA-3023
//!@SYMTestCaseID SMS-SMSStack-NA-3023
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test OOM Send Sms
//!@SYMTestPriority critical
//!@SYMTestActions  Test send sms with out of memory conditions
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestOOMSendSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber21
END_TESTCASE SMS-SMSStack-NA-3023


START_TESTCASE SMS-SMSStack-NA-3024
//!@SYMTestCaseID SMS-SMSStack-NA-3024
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test OOM Write Sms
//!@SYMTestPriority critical
//!@SYMTestActions  Test write sms with out of memory conditions
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestOOMWriteSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber22
END_TESTCASE SMS-SMSStack-NA-3024


START_TESTCASE SMS-SMSStack-NA-3025
//!@SYMTestCaseID SMS-SMSStack-NA-3025
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test OOM Read Sms
//!@SYMTestPriority critical
//!@SYMTestActions  Test Read Sms with out of memory conditions
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestOOMReadSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber23
END_TESTCASE SMS-SMSStack-NA-3025


START_TESTCASE SMS-SMSStack-NA-3026
//!@SYMTestCaseID SMS-SMSStack-NA-3026
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test OOM Read Sms List
//!@SYMTestPriority critical
//!@SYMTestActions  Test read sms list with out of memory conditions
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 1000 TE_smsprt TestOOMReadSmsList z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber24
END_TESTCASE SMS-SMSStack-NA-3026


START_TESTCASE SMS-SMSStack-NA-3027
//!@SYMTestCaseID SMS-SMSStack-NA-3027
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test OOM Delete Sms
//!@SYMTestPriority critical
//!@SYMTestActions  Test delete sms with out of memory conditions
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestOOMDeleteSms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber25
END_TESTCASE SMS-SMSStack-NA-3027


START_TESTCASE SMS-SMSStack-NA-3028
//!@SYMTestCaseID SMS-SMSStack-NA-3028
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc TestOOMSmsParams
//!@SYMTestPriority critical
//!@SYMTestActions  Test sms params with out of memory conditions
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestOOMSmsParams z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber26
END_TESTCASE SMS-SMSStack-NA-3028


START_TESTCASE SMS-SMSStack-NA-3029
//!@SYMTestCaseID SMS-SMSStack-NA-3029
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc TestMeStoreDupAndMiss
//!@SYMTestPriority critical
//!@SYMTestActions  Test Me store with duplicate and missing pdus'
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestMeStoreDupAndMiss z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber27
END_TESTCASE SMS-SMSStack-NA-3029


START_TESTCASE SMS-SMSStack-NA-3030
//!@SYMTestCaseID SMS-SMSStack-NA-3030
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Sim Store Dup And Miss
//!@SYMTestPriority critical
//!@SYMTestActions  Test Sim Store with duplicate and Missing pdus'
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSimStoreDupAndMiss z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber28
END_TESTCASE SMS-SMSStack-NA-3030


START_TESTCASE SMS-SMSStack-NA-3031
//!@SYMTestCaseID SMS-SMSStack-NA-3031
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc TestRxCphs
//!@SYMTestPriority critical
//!@SYMTestActions   Test the reception of a CPHS Message Waiting Indication
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestRxCphs z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber30
END_TESTCASE SMS-SMSStack-NA-3031


START_TESTCASE SMS-SMSStack-NA-3032
//!@SYMTestCaseID SMS-SMSStack-NA-3032
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Invalid PDUs
//!@SYMTestPriority critical
//!@SYMTestActions  Test receiving invalid pdus
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestInvalidPDUs z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber31
END_TESTCASE SMS-SMSStack-NA-3032


START_TESTCASE SMS-SMSStack-NA-3033
//!@SYMTestCaseID SMS-SMSStack-NA-3033
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Stress
//!@SYMTestPriority critical
//!@SYMTestActions  Test Transmit and Receive large number of different messages
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 700 TE_smsprt TestStress z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber32

END_TESTCASE SMS-SMSStack-NA-3033

START_TESTCASE SMS-SMSStack-NA-3034
//!@SYMTestCaseID SMS-SMSStack-NA-3034
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Combined Store
//!@SYMTestPriority critical
//!@SYMTestActions  Test Combined Store
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestCombinedStore z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber33
END_TESTCASE SMS-SMSStack-NA-3034


START_TESTCASE SMS-SMSStack-NA-3035
//!@SYMTestCaseID SMS-SMSStack-NA-3035
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Params Inter
//!@SYMTestPriority critical
//!@SYMTestActions  Test retrieving and storing the sms parameters
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestParamsInter z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber34
END_TESTCASE SMS-SMSStack-NA-3035


START_TESTCASE SMS-SMSStack-NA-3036
//!@SYMTestCaseID SMS-SMSStack-NA-3036
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc TestTxRxAlphanumeric
//!@SYMTestPriority critical
//!@SYMTestActions  est a Transmit And receive of messages with alphanumeric dest/orig addresses
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestTxRxAlphanumeric z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber35
END_TESTCASE SMS-SMSStack-NA-3036


START_TESTCASE SMS-SMSStack-NA-3037
//!@SYMTestCaseID SMS-SMSStack-NA-3037
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Rx Suspend
//!@SYMTestPriority critical
//!@SYMTestActions  Test Receive Suspension
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestRxSuspend 
END_TESTCASE SMS-SMSStack-NA-3037


START_TESTCASE SMS-SMSStack-NA-3038
//!@SYMTestCaseID SMS-SMSStack-NA-3038
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Enumerate Corrupted
//!@SYMTestPriority critical
//!@SYMTestActions Test Enumeration of Corrupted messages
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestEnumerateCorrupted z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber37
END_TESTCASE SMS-SMSStack-NA-3038


START_TESTCASE SMS-SMSStack-NA-3039
//!@SYMTestCaseID SMS-SMSStack-NA-3039
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc TestCancelling
//!@SYMTestPriority critical
//!@SYMTestActions  Test Cancellacion of an sms operation
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestCancelling z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber38
END_TESTCASE SMS-SMSStack-NA-3039


START_TESTCASE SMS-SMSStack-NA-3040
//!@SYMTestCaseID SMS-SMSStack-NA-3040
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Send And Recv Msgs With Different TON
//!@SYMTestPriority critical
//!@SYMTestActions  Test send And recieve messages with different TON
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSendAndRecvMsgsWithDifferentTON 
END_TESTCASE SMS-SMSStack-NA-3040


START_TESTCASE SMS-SMSStack-NA-3041
//!@SYMTestCaseID SMS-SMSStack-NA-3041
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Send And Receive Indicator Msgs
//!@SYMTestPriority critical
//!@SYMTestActions  Test send and receive indicator messages
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSendAndReceiveIndicatorMsgs
END_TESTCASE SMS-SMSStack-NA-3041


START_TESTCASE SMS-SMSStack-NA-3042
//!@SYMTestCaseID SMS-SMSStack-NA-3042
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Send and Receive Max Length Msg
//!@SYMTestPriority critical
//!@SYMTestActions  Test Send Recv Maximum Length Message (255 Pdus)
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 5000 TE_smsprt TestSendRecvMaxLengthMsg
END_TESTCASE SMS-SMSStack-NA-3042


START_TESTCASE SMS-SMSStack-NA-3043
//!@SYMTestCaseID SMS-SMSStack-NA-3043
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Send And Recv Msgs With Different PID
//!@SYMTestPriority critical
//!@SYMTestActions  Test Send And Receive Msgs With Different PID
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSendAndRecvMsgsWithDifferentPID
END_TESTCASE SMS-SMSStack-NA-3043


START_TESTCASE SMS-SMSStack-NA-3044
//!@SYMTestCaseID SMS-SMSStack-NA-3044
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc  Sms Params Error Cases
//!@SYMTestPriority critical
//!@SYMTestActions Test Sms Parameters Error Cases
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt SmsParamsErrorCases
END_TESTCASE SMS-SMSStack-NA-3044


START_TESTCASE SMS-SMSStack-NA-3097
//!@SYMTestCaseID SMS-SMSStack-NA-3097
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Resend Failed Concatinated Message
//!@SYMTestPriority critical
//!@SYMTestActions Test Resend Failed Concatinated Message
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestResendFailedConcatinatedMessage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber44
END_TESTCASE SMS-SMSStack-NA-3097


START_TESTCASE SMS-SMSStack-NA-3045
//!@SYMTestCaseID SMS-SMSStack-NA-3045
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Multipart Wap Message
//!@SYMTestPriority critical
//!@SYMTestActions Test Multipart Wap Message
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestMultipartWapMessage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber45
END_TESTCASE SMS-SMSStack-NA-3045


START_TESTCASE SMS-SMSStack-NA-3046
//!@SYMTestCaseID SMS-SMSStack-NA-3046
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test MOSES Message
//!@SYMTestPriority critical
//!@SYMTestActions  Test MOSES Message
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestMOSESMessage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber46
END_TESTCASE SMS-SMSStack-NA-3046


START_TESTCASE SMS-SMSStack-NA-3047
//!@SYMTestCaseID SMS-SMSStack-NA-3047
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Clock Back
//!@SYMTestPriority critical
//!@SYMTestActions  Test Clock Back
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestClockBack z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber47
END_TESTCASE SMS-SMSStack-NA-3047


START_TESTCASE SMS-SMSStack-NA-3048
//!@SYMTestCaseID SMS-SMSStack-NA-3048
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Enumerate NoMessages
//!@SYMTestPriority critical
//!@SYMTestActions  Test enumeration of no messages
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestEnumerateNoMessages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber48
END_TESTCASE SMS-SMSStack-NA-3048


START_TESTCASE SMS-SMSStack-NA-3049
//!@SYMTestCaseID SMS-SMSStack-NA-3049
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Concatenated Message Logging
//!@SYMTestPriority critical
//!@SYMTestActions  Test Concatenated Message Logging
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestConcatenatedMessageLogging z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber50
END_TESTCASE SMS-SMSStack-NA-3049


START_TESTCASE SMS-SMSStack-NA-3050
//!@SYMTestCaseID SMS-SMSStack-NA-3050
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Enumeration Of Status Report
//!@SYMTestPriority critical
//!@SYMTestActions  Test Enumeration Of Status Report
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestEnumerationOfStatusReport z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber51
END_TESTCASE SMS-SMSStack-NA-3050


START_TESTCASE SMS-SMSStack-NA-3051
//!@SYMTestCaseID SMS-SMSStack-NA-3051
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test IE
//!@SYMTestPriority critical
//!@SYMTestActions  Test IE
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber52
END_TESTCASE SMS-SMSStack-NA-3051


START_TESTCASE SMS-SMSStack-NA-3052
//!@SYMTestCaseID SMS-SMSStack-NA-3052
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Email IE
//!@SYMTestPriority critical
//!@SYMTestActions Test Email IE
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestEmailIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber53
END_TESTCASE SMS-SMSStack-NA-3052


START_TESTCASE SMS-SMSStack-NA-3053
//!@SYMTestCaseID SMS-SMSStack-NA-3053
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Max Read Time For Sms Store List
//!@SYMTestPriority critical
//!@SYMTestActions Test Maximim Read Time For Sms Store List
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestMaxReadTimeForSmsStoreList z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber54
END_TESTCASE SMS-SMSStack-NA-3053


START_TESTCASE SMS-SMSStack-NA-3054
//!@SYMTestCaseID SMS-SMSStack-NA-3054
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc  Test Same Log Id Multiple PDU
//!@SYMTestPriority critical
//!@SYMTestActions  Test same log id multiple pdu
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSameLogIdMultiplePDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber57
END_TESTCASE SMS-SMSStack-NA-3054


START_TESTCASE SMS-SMSStack-NA-3055
//!@SYMTestCaseID SMS-SMSStack-NA-3055
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Same Log Id Single PDU
//!@SYMTestPriority critical
//!@SYMTestActions  Test Same Log Id Single PDU
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSameLogIdSinglePDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber58
END_TESTCASE SMS-SMSStack-NA-3055


START_TESTCASE SMS-SMSStack-NA-3056
//!@SYMTestCaseID SMS-SMSStack-NA-3056
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Write Status Report To SIM
//!@SYMTestPriority critical
//!@SYMTestActions Test Writing of a status report to the sim
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestWriteStatusReportToSIM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber49
END_TESTCASE SMS-SMSStack-NA-3056


START_TESTCASE SMS-SMSStack-NA-3057
//!@SYMTestCaseID SMS-SMSStack-NA-3057
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc  Test Tx Sms With Delayed Completion
//!@SYMTestPriority critical
//!@SYMTestActions   Test transmit of a sms with delayed completion
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS copyfile z:\sms\smswap.sms-sendTryTimeout.esk c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk

RUN_TEST_STEP 500 TE_smsprt TestTxSmsWithDelayedCompletion z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber60

RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
END_TESTCASE SMS-SMSStack-NA-3057


START_TESTCASE SMS-SMSStack-NA-3058
//!@SYMTestCaseID SMS-SMSStack-NA-3058
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Sms Store Read Cancel
//!@SYMTestPriority critical
//!@SYMTestActions Test sms store read with cancel
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSmsStoreReadCancel
END_TESTCASE SMS-SMSStack-NA-3058


START_TESTCASE SMS-SMSStack-NA-3059
//!@SYMTestCaseID SMS-SMSStack-NA-3059
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Bind When Powered Down With Publish Subscribe
//!@SYMTestPriority critical
//!@SYMTestActions  Test bind when powered down with publish and subscribe
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestBindWhenPoweredDownWithPublishSubscribe
END_TESTCASE SMS-SMSStack-NA-3059


START_TESTCASE SMS-SMSStack-NA-3060
//!@SYMTestCaseID SMS-SMSStack-NA-3060
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc TestObserverNotifiedWhenPoweredDownWithPublishSubscribe
//!@SYMTestPriority critical
//!@SYMTestActions  Test observer notified when powered down with publish and subscribe
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestObserverNotifiedWhenPoweredDownWithPublishSubscribe z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber59

END_TESTCASE SMS-SMSStack-NA-3060

START_TESTCASE SMS-SMSStack-NA-3061
//!@SYMTestCaseID SMS-SMSStack-NA-3061
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Sms CNumber Change WithPublish Subscribe
//!@SYMTestPriority critical
//!@SYMTestActions  Test sms CNumber change with publish and subscribe
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSmsCNumberChangeWithPublishSubscribe z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber55
END_TESTCASE SMS-SMSStack-NA-3061


START_TESTCASE SMS-SMSStack-NA-3062
//!@SYMTestCaseID SMS-SMSStack-NA-3062
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Status Report Time
//!@SYMTestPriority critical
//!@SYMTestActions  Test Status Report Time
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestStatusReportTime z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber62
END_TESTCASE SMS-SMSStack-NA-3062


START_TESTCASE SMS-SMSStack-NA-3063
//!@SYMTestCaseID SMS-SMSStack-NA-3063
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Tx 8Bit Wap With Status
//!@SYMTestPriority critical
//!@SYMTestActions  Test Transmit 8Bit wap message with status
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestTx8BitWapWithStatus z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber63
END_TESTCASE SMS-SMSStack-NA-3063


START_TESTCASE SMS-SMSStack-NA-3064
//!@SYMTestCaseID SMS-SMSStack-NA-3064
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Sim Store Corrupt Message
//!@SYMTestPriority critical
//!@SYMTestActions  Test sim store with corrupt message
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestSimStoreCorruptMessage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber64
END_TESTCASE SMS-SMSStack-NA-3064



START_TESTCASE SMS-SMSStack-NA-3065
//!@SYMTestCaseID SMS-SMSStack-NA-3065
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Corrupt Pdu With Negative Response
//!@SYMTestPriority critical
//!@SYMTestActions  Test a corrupt pdu with anegative response
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS copyfile z:\sms\testsmswap.sms.esk c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
RUN_TEST_STEP 500 TE_smsprt TestCorruptPduWithNegativeResponse z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber65
RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
END_TESTCASE SMS-SMSStack-NA-3065


START_TESTCASE SMS-SMSStack-NA-3066
//!@SYMTestCaseID SMS-SMSStack-NA-3066
//!@SYMREQ REQ0000
//!@SYMTestCaseDesc Test Boot Timer can be configured to a non default value
//!@SYMTestPriority critical
//!@SYMTestActions  Check that boot timer can be configured from smswap.sms.esk file.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS copyfile z:\sms\smswap.sms-bootTimerTimeout.esk c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
RUN_TEST_STEP 500 TE_smsprt TestBootTimer z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber45
RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
END_TESTCASE SMS-SMSStack-NA-3066


START_TESTCASE SMS-SMSStack-NA-3067
//!@SYMTestCaseID SMS-SMSStack-NA-3067
//!@SYMREQ REQ4612
//!@SYMTestCaseDesc Test CSmsMessageTimeStamp
//!@SYMTestPriority critical
//!@SYMTestActions Create message with know system utc time.  Set and get also checked
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestCSmsMessageTimeStamp
END_TESTCASE SMS-SMSStack-NA-3067

START_TESTCASE SMS-SMSStack-NA-3068
//!@SYMTestCaseID SMS-SMSStack-NA-3068
//!@SYMREQ REQ4612
//!@SYMTestCaseDesc Test service center time stamp in PDU with CSmsMessage interface.
//!@SYMTestPriority critical
//!@SYMTestActions Simulate receiving deliver PDU's.  Create message and interogate PDU and check time stamp and validity period.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestCSmsMessageWithDeliverPDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber66
END_TESTCASE SMS-SMSStack-NA-3068

START_TESTCASE SMS-SMSStack-NA-3069
//!@SYMTestCaseID SMS-SMSStack-NA-3069
//!@SYMREQ REQ4612
//!@SYMTestCaseDesc Test Status Report
//!@SYMTestPriority critical
//!@SYMTestActions  Test status report
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestCSmsMessageWithStatusReportPDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber67
END_TESTCASE SMS-SMSStack-NA-3069

START_TESTCASE SMS-SMSStack-NA-3070
//!@SYMTestCaseID SMS-SMSStack-NA-3070
//!@SYMREQ REQ4612
//!@SYMTestCaseDesc Test Submit PDU
//!@SYMTestPriority critical
//!@SYMTestActions  Create a submit message.  Send it using SimTSY.  SimTSY will validate the PDU to what is expected.  Status=0
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestCSmsMessageWithSubmitPDU z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber68
END_TESTCASE SMS-SMSStack-NA-3070

START_TESTCASE SMS-SMSStack-NA-3071
//!@SYMTestCaseID SMS-SMSStack-NA-3071
//!@SYMREQ DEF055800
//!@SYMTestCaseDesc Test Handling of PDUs with PID 0x40
//!@SYMTestPriority critical
//!@SYMTestActions  Check that PDUs with PID 0x40 are acknowledged but not forwarded to the client
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestHandlePID40h z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber69
END_TESTCASE SMS-SMSStack-NA-3071

START_TESTCASE SMS-SMSS-SMSPROT-I-3072
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3072
//!@SYMREQ REQ4917.1
//!@SYMTestCaseDesc Test hyperlink operations interface, and SMS stack ability to handle single PDU messages with hyperlinks
//!@SYMTestPriority high
//!@SYMTestActions Test hyperlink API's.  Transmit and receive of single PDU message with and without hyperlinks
//!@SYMTestExpectedResults
//!@SYMTestCaseDependencies Sim.tsy, smsstacktestutilities.dll
//!@SYMTestType IT
RUN_TEST_STEP 180 TE_smsprt TestSinglePDUHyperLinks z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber70
END_TESTCASE SMS-SMSS-SMSPROT-I-3072

START_TESTCASE SMS-SMSS-SMSPROT-I-3073
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3073
//!@SYMREQ REQ4917.2
//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without hyperlinks
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive of multiple PDU message with and without hyperlinks
//!@SYMTestExpectedResults Pass
//!@SYMTestType IT
RUN_TEST_STEP 60 TE_smsprt TestMultiplePDUHyperLinks z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber71
END_TESTCASE SMS-SMSS-SMSPROT-I-3073

START_TESTCASE SMS-SMSS-SMSPROT-I-3074
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3074
//!@SYMREQ REQ4919.1
//!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without reply address
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive of single PDU message with and without reply address
//!@SYMTestExpectedResults Pass
//!@SYMTestType IT
RUN_TEST_STEP 180 TE_smsprt TestSinglePDUReplyAddress z:\testdata\configs\te_smsprt_data.ini ReplyAddress
END_TESTCASE SMS-SMSS-SMSPROT-I-3074

START_TESTCASE SMS-SMSS-SMSPROT-I-3075
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3075
//!@SYMREQ REQ4919.2
//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without reply address
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive of single PDU message with and without reply address
//!@SYMTestExpectedResults Pass
//!@SYMTestType IT
RUN_TEST_STEP 500 TE_smsprt TestMultiplePDUReplyAddress
END_TESTCASE SMS-SMSS-SMSPROT-I-3075

START_TESTCASE SMS-SMSS-SMSPROT-I-3076
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3076
//!@SYMREQ REQ4922.1
//!@SYMTestCaseDesc Test operations on SMS message for special messages
//!@SYMTestPriority high
//!@SYMTestActions Call API's for adding, removing, counting, and copying special messages
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 30 TE_smsprt TestSpecialMessageWaitingOperations
END_TESTCASE SMS-SMSS-SMSPROT-I-3076

START_TESTCASE SMS-SMSS-SMSPROT-I-3077
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3077
//!@SYMREQ REQ4922.2
//!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without special messages
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive single PDU message with and without special messages
//!@SYMTestExpectedResults Pass
//!@SYMTestType IT
RUN_TEST_STEP 120 TE_smsprt TestSinglePDUSpecialMessageWaiting z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber73
END_TESTCASE SMS-SMSS-SMSPROT-I-3077

START_TESTCASE SMS-SMSS-SMSPROT-I-3078
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3078
//!@SYMREQ REQ4922.3
//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without special messages
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive multiple PDU message with and without special messages
//!@SYMTestExpectedResults Pass
//!@SYMTestType IT
RUN_TEST_STEP 500 TE_smsprt TestMultiplePDUSpecialMessageWaiting
END_TESTCASE SMS-SMSS-SMSPROT-I-3078

START_TESTCASE SMS-SMSS-SMSPROT-I-3079
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3079
//!@SYMREQ REQ4923.1
//!@SYMTestCaseDesc Test operations on SMS message for enhanced voice mail information
//!@SYMTestPriority high
//!@SYMTestActions Call API's for adding, removing, counting, and copying enhanced voice mail information
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 30 TE_smsprt TestEnhancedVoiceMailOperations z:\testdata\configs\te_smsprt_data.ini EnhancedVoiceMail
END_TESTCASE SMS-SMSS-SMSPROT-I-3079

START_TESTCASE SMS-SMSS-SMSPROT-I-3080
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3080
//!@SYMREQ REQ4923.2
//!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without enhanced voice mail information
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive single PDU message with and without enhanced voice mail information
//!@SYMTestExpectedResults Pass
//!@SYMTestType IT
RUN_TEST_STEP 180 TE_smsprt TestSinglePDUEnhancedVoiceMailInformation z:\testdata\configs\te_smsprt_data.ini EnhancedVoiceMail
END_TESTCASE SMS-SMSS-SMSPROT-I-3080

START_TESTCASE SMS-SMSS-SMSPROT-I-3081
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3081
//!@SYMREQ REQ4923.3
//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without enhanced voice mail information
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive multiple PDU message with and without enhanced voice mail information
//!@SYMTestExpectedResults Pass
//!@SYMTestType IT
RUN_TEST_STEP 500 TE_smsprt TestMultiplePDUEnhancedVoiceMailInformation
END_TESTCASE SMS-SMSS-SMSPROT-I-3081

START_TESTCASE SMS-SMSS-SMSPROT-I-3082
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3082
//!@SYMREQ REQ4923.4
//!@SYMTestCaseDesc Test operations on SMS message for enhanced voice mail delete confirmations
//!@SYMTestPriority high
//!@SYMTestActions Call API's for adding, removing, counting, and copying enhanced voice mail delete confirmations
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 30 TE_smsprt TestEnhancedVoiceMailDeleteOperations
END_TESTCASE SMS-SMSS-SMSPROT-I-3082

START_TESTCASE SMS-SMSS-SMSPROT-I-3083
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3083
//!@SYMREQ REQ4923.5
//!@SYMTestCaseDesc Test SMS stack ability to handle single PDU SMS messages with and without enhanced voice mail delete confirmations
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive single PDU message with and without enhanced voice mail delete confirmations
//!@SYMTestExpectedResults Pass
//!@SYMTestType IT
RUN_TEST_STEP 120 TE_smsprt TestSinglePDUEnhancedVoiceMailDeleteConfirmation z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber75
END_TESTCASE SMS-SMSS-SMSPROT-I-3083

START_TESTCASE SMS-SMSS-SMSPROT-I-3084
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3084
//!@SYMREQ REQ4923.6
//!@SYMTestCaseDesc Test SMS stack ability to handle multiple PDU SMS messages with and without enhanced voice mail delete confirmations
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive multiple PDU message with and without enhanced voice mail delete confirmations
//!@SYMTestExpectedResults Pass
//!@SYMTestType IT
RUN_TEST_STEP 180 TE_smsprt TestMultiplePDUEnhancedVoiceMailDeleteConfirmation
END_TESTCASE SMS-SMSS-SMSPROT-I-3084

START_TESTCASE SMS-SMSS-SMSPROT-I-3085
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3085
//!@SYMREQ REQ4920.1
//!@SYMTestCaseDesc SMS stack will handle a SMS as 7 bit if no coding scheme has been specified.
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive multiple PDU message with and without enhanced voice mail delete confirmations
//!@SYMTestExpectedResults SMS stack will handle received SMS as a 7 Bit coded message, KErrNone
//!@SYMTestType IT
RUN_TEST_STEP 180 TE_smsprt Test7BitDefaultAlphabet z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber76
END_TESTCASE SMS-SMSS-SMSPROT-I-3085

START_TESTCASE SMS-SMSS-SMSPROT-I-3086
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3086
//!@SYMREQ REQ4918
//!@SYMTestCaseDesc SMS stack will allow zero length information elements.
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive single and multiple PDU message with and zero length IE.  IE is USIM toolkit IE.
//!@SYMTestExpectedResults Stack will accept zero length IE, add it to the list.  KErrNone
//!@SYMTestType IT
//!@SYMTestCaseDependencies SIM.TSY
RUN_TEST_STEP 180 TE_smsprt TestZeroLengthIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber77
END_TESTCASE SMS-SMSS-SMSPROT-I-3086

START_TESTCASE SMS-SMSS-SMSPROT-I-3087
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3087
//!@SYMREQ REQ4924
//!@SYMTestCaseDesc SMS stack will process SMS messages that indicate automatic deletion
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive single PDU message with automatic deletion. Stack allow sending these messages.  Messages received are automatically deleted, and given to the client. Class 2 messages are not deleted from the SIM - default behaviour in ESK file.
//!@SYMTestExpectedResults Messages are deleted from the phone store and SIM store.  Exception for class 2 messages, messages remains in the SIM store.
//!@SYMTestType CIT
//!@SYMTestCaseDependencies SIM.TSY
RUN_TEST_STEP 180 TE_smsprt TestAutomaticDeletionInDCS z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber78
END_TESTCASE SMS-SMSS-SMSPROT-I-3087

START_TESTCASE SMS-SMSS-SMSPROT-I-3088
// -----------------------------------------------------------------------------------------------------------
//Test the configurability for automatic deletion with use of esk file
//Copy required ESK file for testing configuration for deleting class 2 messages for automatic deletion
// -----------------------------------------------------------------------------------------------------------
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3088
//!@SYMREQ REQ4924
//!@SYMTestCaseDesc SMS stack will process SMS messages that indicate automatic deletion, and set for deletion in ESK file
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive message with automatic deletion and set as so in the ESK file.
//!@SYMTestExpectedResults Stack will delete all messages, including Class 2 messages.
//!@SYMTestType CIT
//!@SYMTestCaseDependencies SIM.TSY
//Make a backup, copy over test ESK
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS copyfile z:\sms\smswap.sms-AutoDeletionClass2.esk c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
RUN_TEST_STEP 500 TE_smsprt TestAutomaticDeletionInDCSAndInEsk z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber79
RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
END_TESTCASE SMS-SMSS-SMSPROT-I-3088


START_TESTCASE SMS-SMSS-SMSPROT-I-3089
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3089
//!@SYMREQ REQ4921
//!@SYMTestCaseDesc SMS stack will automatically delete type 0 SMS messages.
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive single PDU type 0 message. Repeat this twice, once for each setting in the ESK file.
//!@SYMTestExpectedResults Stack will send messages marked as type 0.  Messages are deleted from the phone store and SIM store.  Exception for class 2 messages, messages remains in the SIM store.
//!@SYMTestType CIT
//!@SYMTestCaseDependencies SIM.TSY
RUN_TEST_STEP 300 TE_smsprt TestAutomaticDeletionTypeZeroSMS z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber80

END_TESTCASE SMS-SMSS-SMSPROT-I-3089

START_TESTCASE SMS-SMSS-SMSPROT-I-3090
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3090
//!@SYMREQ REQ4921
//!@SYMTestCaseDesc SMS stack will automatically delete type 0 SMS messages.
//!@SYMTestPriority high
//!@SYMTestActions Transmit and receive single PDU type 0 message. Repeat this twice, once for each setting in the ESK file.
//!@SYMTestExpectedResults Stack will send messages marked as type 0.  Messages are deleted from the phone store and SIM store.  Exception for class 2 messages, messages remains in the SIM store.
//!@SYMTestType CIT
//!@SYMTestCaseDependencies SIM.TSY
//Copy required ESK file for testing configuration for deleting class 2 messages for automatic deletion
//Make a backup, copy over test ESK
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.bak
RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.esk c:\private\101F7989\esock\smswap.sms.bak
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS copyfile z:\sms\smswap.sms-AutomaticDeletionOfType0.esk c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS MakeReadWrite c:\private\101F7989\esock\smswap.sms.esk
//Run the test step
RUN_TEST_STEP 180 TE_smsprt TestAutomaticDeletionTypeZeroAndSetInESK z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber81
//restore orig esk file
RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS copyfile c:\private\101F7989\esock\smswap.sms.bak c:\private\101F7989\esock\smswap.sms.esk
RUN_UTILS DeleteFile c:\private\101F7989\esock\smswap.sms.bak
END_TESTCASE SMS-SMSS-SMSPROT-I-3090


START_TESTCASE SMS-SMSS-SMSPROT-I-3091
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3091
//!@SYMREQ REQ4923.7
//!@SYMTestCaseDesc The SMS Stack can send the maximum size enhanced voice mail message that will fit in a PDU (139 bytes).
//!@SYMTestPriority high
//!@SYMTestActions Create a 139 byte enhanced voice mail message, add it to an empty SMS message and send it.
//!@SYMTestExpectedResults The message is sent successfully.
//!@SYMTestType CIT
//!@SYMTestCaseDependencies SIM.TSY
RUN_TEST_STEP 120 TE_smsprt EnhancedVoiceMessageBoundaryTest z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber83
END_TESTCASE SMS-SMSS-SMSPROT-I-3091

START_TESTCASE SMS-SMSS-SMSPROT-I-3092
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3092
//!@SYMREQ REQ4923.8
//!@SYMTestCaseDesc The SMS Stack can send the maximum size enhanced voice mail message that will fit in a segmented message (134 bytes).
//!@SYMTestPriority high
//!@SYMTestActions Send the maximum size enhanced voice mail message that will fit in a segmented message (134 bytes).
//!@SYMTestExpectedResults The message is sent successfully.
//!@SYMTestType CIT
//!@SYMTestCaseDependencies SIM.TSY
RUN_TEST_STEP 120 TE_smsprt EnhancedVoiceMessageBoundaryTest1 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber84
END_TESTCASE SMS-SMSS-SMSPROT-I-3092

START_TESTCASE SMS-SMSS-SMSPROT-I-3093
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3093
//!@SYMREQ REQ4924.9
//!@SYMTestCaseDesc The SMS stack can recover from heap exhaustion when sending a SMS Messages containing R6 Information Elements.
//!@SYMTestPriority high
//!@SYMTestActions A message containing R6 SMS IEs is sent repeatedly. The ESOCK server is configured to fail the n th request for heap memory, (n incrementing each time the message is sent). The test therefore checks that the stack can recover gracefully from heap exhaustion at every location that memory can be allocated.
//!@SYMTestExpectedResults Assume that sending a R6 SMS requires 'M' heap allocations. The stack should return an Out of Memory error when heap allocation request fails because 'n' has a value in the range 1..m. When 'n' has value m+1, the message should be sent successfully and the test should exit.
//!@SYMTestType CIT
//!@SYMTestCaseDependencies SIM.TSY
RUN_TEST_STEP 120 TE_smsprt TestOOMSendR6Sms z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber82
END_TESTCASE SMS-SMSS-SMSPROT-I-3093

START_TESTCASE SMS-SMSS-SMSPROT-I-3094
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3094
//!@SYMREQ REQ4920.1
//!@SYMTestCaseDesc Submit reports default to 7 bit decoding if no DCS value is specified.
//!@SYMTestPriority high
//!@SYMTestActions Decode a submit report that contains text, but whose DCS byte is unspecified.
//!@SYMTestExpectedResults The text is successfully decoded using 7 bit decoding.
//!@SYMTestType CIT
//!@SYMTestCaseDependencies SIM.TSY
RUN_TEST_STEP 120 TE_smsprt CSubmitReportDefaultsTo7BitDecoding
END_TESTCASE SMS-SMSS-SMSPROT-I-3094

START_TESTCASE SMS-SMSS-SMSPROT-I-3095
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3095
//!@SYMREQ REQ4920.2
//!@SYMTestCaseDesc Deliver reports default to 7 bit decoding if no DCS value is specified.
//!@SYMTestPriority high
//!@SYMTestActions Decode a deliver report that contains text, but whose DCS byte is unspecified.
//!@SYMTestExpectedResults The text is successfully decoded using 7 bit decoding.
//!@SYMTestType CIT
//!@SYMTestCaseDependencies SIM.TSY
RUN_TEST_STEP 120 TE_smsprt CDeliverReportDefaultsTo7BitDecoding
END_TESTCASE SMS-SMSS-SMSPROT-I-3095

START_TESTCASE SMS-SMSS-SMSPROT-I-3096
//!@SYMTestCaseID SMS-SMSS-SMSPROT-I-3096
//!@SYMREQ REQ4920.3
//!@SYMTestCaseDesc Status reports default to 7 bit decoding if no DCS value is specified.
//!@SYMTestPriority high
//!@SYMTestActions Decode a Status report that contains text, but whose DCS byte is unspecified.
//!@SYMTestExpectedResults The text is successfully decoded using 7 bit decoding.
//!@SYMTestType CIT
//!@SYMTestCaseDependencies SIM.TSY
RUN_TEST_STEP 120 TE_smsprt CStatusReportDefaultsTo7BitDecoding
END_TESTCASE SMS-SMSS-SMSPROT-I-3096

START_TESTCASE SMS-GSMU-0046
//!@SYMTestCaseID SMS-GSMU-0046	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Send single 7 bit PDU with TP-SRR status report scheme.
//!@SYMTestActions
//1. Mark the heap
//2. Create the message with test data (2)
//3. Set the scheme to TSmsStatusReportScheme::ETPSRRScheme
//4. Set Default to zero and set the last segment
//5. Send the message
//6. Check request completes with KErrNone 
//7. Delete the message.
//8. Unmark the heap
//!@SYMTestExpectedResults The message is sent successfully and SIMTSY has verified the format and correctness of the PDU - that it contains TP-SRR bit set, PDU = PDU (3).
RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send7BitTPSRRSchemeSinglePDU

END_TESTCASE SMS-GSMU-0046

START_TESTCASE SMS-GSMU-0047
//!@SYMTestCaseID SMS-GSMU-0047	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Send single 8 bit PDU with TP-SRR status report scheme.
//!@SYMTestActions
//1. Mark the heap
//2. Create the message with test data (3)
//3. Set the scheme to TSmsStatusReportScheme::ETPSRRScheme
//4. Set Default to zero and set the last segment
//5. Send the message
//6. Check request completes with KErrNone 
//7. Delete the message.
//8. Unmark the heap
//!@SYMTestExpectedResults The message is sent successfully and SIMTSY has verified the format and correctness of the PDU - that it contains TP-SRR bit set, PDU = PDU (803).
RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send8BitTPSRRSchemeSinglePDU

END_TESTCASE SMS-GSMU-0047

START_TESTCASE SMS-GSMU-0059
//!@SYMTestCaseID SMS-GSMU-0059	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Send 7 bit multiple PDU message with TP-SRR status report scheme set in all segments.
//!@SYMTestActions
//1. Mark the heap
//2. Create the message with test data (4)
//3. Set default to zero and set scheme TSmsStatusReportScheme::ETPSRRScheme in every segment
//4. Send the message
//5. Check request completes KErrNone 
//6. Delete the message
//7. Unmark the heap
//!@SYMTestExpectedResults The message is verified by SimTSY that it contains TP-SRR bit set in every segment which = PDU (29-31).
RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send7BitTPSRRSchemeMultiplePDU

END_TESTCASE SMS-GSMU-0059

START_TESTCASE SMS-GSMU-0060
//!@SYMTestCaseID SMS-GSMU-0060	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Send 8 bit multiple PDU message with TP-SRR status report scheme set in all segments.
//!@SYMTestActions
//1. Mark the heap
//2. Create the message with test data (4)
//3. Set default to zero and set scheme TSmsStatusReportScheme::ETPSRRScheme in every segment
//4. Send the message
//5. Check request completes KErrNone 
//6. Delete the message
//7. Unmark the heap
//!@SYMTestExpectedResults The message is verified by SimTSY that it contains TP-SRR bit set in every segment which = PDU (829-831).
RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInAllPDUs z:\testdata\configs\te_statusReportScheme.ini Send8BitTPSRRSchemeMultiplePDU

END_TESTCASE SMS-GSMU-0060

START_TESTCASE SMS-GSMU-0067
//!@SYMTestCaseID SMS-GSMU-0067
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Send 7 bit multiple PDU message with TP-SRR scheme set in only the last PDU.
//!@SYMTestActions
//1. Mark the heap
//2. Create the message with test data (4)
//3. Set scheme to TSmsStatusReportScheme::ETPSRRScheme and set default to zero.
//4. Set TP-SRR for last segment only.
//5. Send the message and check request completes KErrNone 
//6. Delete the message
//7. Unmark the heap
//!@SYMTestExpectedResults The message sent is verified by SimTSY, PDUs = PDU(41-43) that it contains TP-SRR scheme set only in last segment.
RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInLastPDU z:\testdata\configs\te_statusReportScheme.ini Send7BitTPSRRSchemeLastPDU
END_TESTCASE SMS-GSMU-0067


START_TESTCASE SMS-GSMU-0068
//!@SYMTestCaseID SMS-GSMU-0068	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Send 8 bit multiple PDU message with TP-SRR scheme set in only the last PDU.
//!@SYMTestActions
//1. Mark the heap
//2. Create the message with test data (4)
//3. Set scheme to TSmsStatusReportScheme::ETPSRRScheme and set default to zero. 
//4. Use function which sets the last segment.
//5. Set TP-SRR for last segment only.
//6. Send the message and check request completes KErrNone 
//7. Delete the message
//8. Unmark the heap
//!@SYMTestExpectedResults The message sent is verified by SimTSY, PDUs = PDU(841-843) that it contains TP-SRR scheme set only in last segment.
RUN_TEST_STEP  100 TE_smsprt TestSendingTPSRRSchemeInLastPDU z:\testdata\configs\te_statusReportScheme.ini Send8BitTPSRRSchemeLastPDU

// -------------------------------------------------------------------------------------------------------
END_TESTCASE SMS-GSMU-0068


START_TESTCASE SMS-GSMU-0092
//!@SYMTestCaseID SMS-GSMU-0092	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive a “completed” status report for a TP-SRR scheme in a single 8bit PDU message.    
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive completed status report - PDU(103)
//6. Unmark the heap
//!@SYMTestExpectedResults A notification isn’t received after sending the message. The received status report generates a notification.
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveStatusReportCompletedSinglePDU
END_TESTCASE SMS-GSMU-0092


START_TESTCASE SMS-GSMU-0093
//!@SYMTestCaseID SMS-GSMU-0093	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive “permanent failure” status report for a TP-SRR scheme in a single 8 bit PDU message.  
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive permanent failure status report - PDU(104)
//6. Unmark the heap
//!@SYMTestExpectedResults A notification isn’t received after sending the message. The received status report generates a notification.
RUN_TEST_STEP  100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini ReceiveStatusReportPermanentFailureSinglePDU
END_TESTCASE SMS-GSMU-0093


START_TESTCASE SMS-GSMU-0094
//!@SYMTestCaseID SMS-GSMU-0094	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive “temporary failure” status report and then a “completed” for a TP-SRR scheme in a single 8 bit PDU message.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive temporary failure status report - PDU(105)
//6. Receive completed status report - PDU(106)
//7. Unmark the heap
//!@SYMTestExpectedResults A notification isn’t received after sending or after receiving the temporary failure.  However, a notification is generated after receiving the completed status report.
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini TemporyFailureCompletedSinglePDU
END_TESTCASE SMS-GSMU-0094


START_TESTCASE SMS-GSMU-0095
//!@SYMTestCaseID SMS-GSMU-0095	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive “temporary failure” status report and then a “permanent failure” for a TP-SRR scheme in a single 8 bit PDU message.  
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (3) and with TP-SRR scheme set (1).
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive temporary failure status report - PDU(107)
//6. Receive completed status report - PDU(108)
//7. Unmark the heap
//!@SYMTestExpectedResults A notification isn’t received after sending or after receiving the temporary failure.  However, a notification is generated after receiving the permanent failure status report.
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini TemporyFailurePermanentFailureSinglePDU
END_TESTCASE SMS-GSMU-0095


START_TESTCASE SMS-GSMU-0097
//!@SYMTestCaseID SMS-GSMU-0097	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive “completed” status reports for a multiple 8 bit PDU message with TP-SRR set in every PDU in this order: third,second,first.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and with TP-SRR scheme set in every PDU.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive completed status report for third PDU - PDU(112)
//6. Receive completed status report for second PDU - PDU(111)
//7. Receive completed status report for first PDU - PDU(110)
//8. Unmark the heap
//!@SYMTestExpectedResults A notification isn’t received after sending. The status reports received are logged and a notification is generated on receiving PDU(110).
RUN_TEST_STEP  100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini MultipeStatusReportsCompletedOrderThirdSecondFirst
END_TESTCASE SMS-GSMU-0097


START_TESTCASE SMS-GSMU-0098
//!@SYMTestCaseID SMS-GSMU-0098	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive “completed” status reports for a multiple 8 bit PDU message with TP-SRR set in every PDU in this order: first, second, third.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and with TP-SRR scheme set in every PDU.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive completed status report for first PDU - PDU(113)
//6. Receive completed status report for second PDU - PDU(114)
//7. Receive completed status report for third PDU - PDU(115)
//8. Unmark the heap
//!@SYMTestExpectedResults A notification isn’t received after sending. The status reports received are logged and a notification is generated on receiving PDU(115).
RUN_TEST_STEP  100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini MultipeStatusReportsCompletedOrderFirstSecondThird
END_TESTCASE SMS-GSMU-0098


START_TESTCASE SMS-GSMU-0099
//!@SYMTestCaseID SMS-GSMU-0099	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive “completed” and “temporary failure” status reports for a multiple 8 bit PDU message with TP-SRR set in every PDU.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and with TP-SRR scheme set in every PDU.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive completed status report for first PDU - PDU(116)
//6. Receive temporary status report for third PDU - PDU(117)
//7. Receive completed status report for second PDU - PDU(118)
//8. Receive completed status report for third PDU - PDU(119)
//9. Unmark the heap
//!@SYMTestExpectedResults A notification isn’t received after sending. The status reports received are logged and a notification is only generated on receiving PDU(119).
RUN_TEST_STEP  100 TE_smsprt TestReceivingTPSRRAllPDU z:\testdata\configs\te_statusReportScheme.ini MultipeStatusReportsTemporyFailureOnThird
END_TESTCASE SMS-GSMU-0099


START_TESTCASE SMS-GSMU-0100
//!@SYMTestCaseID SMS-GSMU-0100	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive “completed” status reports for a multiple 8 bit PDU message with TP-SRR set in last PDU only.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and TP-SRR set in last segment.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive completed status report for last PDU - PDU(120)
//6. Unmark the heap
//!@SYMTestExpectedResults A notification isn’t received after sending. The status report received is logged and a notification is generated on receiving it.
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportCompletedLastOnly
END_TESTCASE SMS-GSMU-0100


START_TESTCASE SMS-GSMU-0101
//!@SYMTestCaseID SMS-GSMU-0101	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive “temporary failure” and “completed” status reports for the last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and TP-SRR set in last segment.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive temporary status report for last PDU - PDU(121)
//6. Receive completed status report for last PDU - PDU(122)
//7. Unmark the heap
//!@SYMTestExpectedResults A notification is only received on receiving PDU(122).
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportTemporaryFailureThenCompletedLastOnly
END_TESTCASE SMS-GSMU-0101


START_TESTCASE SMS-GSMU-0102
//!@SYMTestCaseID SMS-GSMU-0102	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive “permanent failure” status report for the last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and TP-SRR set in last segment.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive completed status report for last PDU - PDU(123)
//6. Unmark the heap
//!@SYMTestExpectedResults A notification isn’t received after sending. The status report received is logged and a notification is generated on receiving it.
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportPermanentFailureLastPDUOnly
END_TESTCASE SMS-GSMU-0102


START_TESTCASE SMS-GSMU-0103
//!@SYMTestCaseID SMS-GSMU-0103	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive “temporary failure” and “permanent failure” status reports for the last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and TP-SRR set in last segment.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive temporary status report for last PDU - PDU(124)
//6. Receive permanent failure status report for last PDU - PDU(125)
//7. Unmark the heap
//!@SYMTestExpectedResults A notification is only received on receiving PDU(125).
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini SingleStatusReportTemporaryFailureThenPermanentFailureLastOnly
END_TESTCASE SMS-GSMU-0103


START_TESTCASE SMS-GSMU-0104
//!@SYMTestCaseID SMS-GSMU-0104	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive “completed” status reports for the first and last PDU of a multiple 8 bit PDU message with TP-SRR set in last segment only.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and TP-SRR set in last segment.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive completed status report for first PDU - PDU(126)
//6. Receive completed status report for last PDU - PDU(127)
//7. Unmark the heap
//!@SYMTestExpectedResults A notification is only received on receiving PDU(127).
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastTPSRR z:\testdata\configs\te_statusReportScheme.ini CompletedStatusReportForFirstAndThirdPDUSetForLastOnly
END_TESTCASE SMS-GSMU-0104


START_TESTCASE SMS-GSMU-0107
//!@SYMTestCaseID SMS-GSMU-0107	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive a "completed" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.    
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive "completed" status report - PDU(131)
//6. Unmark the heap
//!@SYMTestExpectedResults A notification isn't received after sending the message. The received status report generates a notification.
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceiveStatusReportForSinglePDUSMSCLastPDU
END_TESTCASE SMS-GSMU-0107


START_TESTCASE SMS-GSMU-0108
//!@SYMTestCaseID SMS-GSMU-0108	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive a "permanent failure" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.    
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive "permanent failure" status report - PDU(132)
//6. Unmark the heap
//!@SYMTestExpectedResults A notification isn't received after sending the message. The received status report generates a notification.
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceivePermanentFailureStatusReportSinglePDUSMSCLastPDU
END_TESTCASE SMS-GSMU-0108


START_TESTCASE SMS-GSMU-0109
//!@SYMTestCaseID SMS-GSMU-0109	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive a "temporary failure" and a "permanent failure" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.    
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive "temporary failure" status report - PDU(133)
//6. Receive "permanent failure" status report - PDU(134)
//7. Unmark the heap
//!@SYMTestExpectedResults A notification isn't received after sending or after receiving the status report PDU(133).  A notification is generated on receiving PDU(134)
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceiveTemporyFailurePermanentFailureStatusReportSinglePDUSMSCScheme
END_TESTCASE SMS-GSMU-0109


START_TESTCASE SMS-GSMU-0110
//!@SYMTestCaseID SMS-GSMU-0110	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//1@SYMTestCaseDesc Receive a "temporary failure" and a "completed" status report for a SMSC scheme in a single 8bit PDU message set with value 0x01.    
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (3) and with SMSC scheme with value 0x01.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive "temporary failure" status report - PDU(135)
//6. Receive "completed" status report - PDU(136)
//7. Unmark the heap
//!@SYMTestExpectedResults A notification is only generated on receiving PDU(136)
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini ReceiveTemporyFailureCompletedStatusReportSinglePDUSMSCScheme
END_TESTCASE SMS-GSMU-0110


START_TESTCASE SMS-GSMU-0112
//!@SYMTestCaseID SMS-GSMU-0112	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive "completed" status reports for a multiple 8 bit PDU message with SMSC set in every PDU (0x01) in this order: third,second,first.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and with SMSC scheme set (0x01) and in every PDU.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive completed status report for third PDU - PDU(140)
//6. Receive completed status report for second PDU - PDU(141)
//7. Receive completed status report for first PDU - PDU(142)
//8. Unmark the heap
//!@SYMTestExpectedResults A notification isn't received after sending. The status reports received are logged and a notification is generated on receiving PDU(142).
RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCAllPDUs z:\testdata\configs\te_statusReportScheme.ini MultipeCompletedStatusReportsSMSCScheme
END_TESTCASE SMS-GSMU-0112


START_TESTCASE SMS-GSMU-0114
//!@SYMTestCaseID SMS-GSMU-0114	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive "completed" and "temporary failure" status reports for a multiple 8 bit PDU message with SMSC set in every PDU (0x01) in this order: second, third, first.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and with SMSC scheme set (0x01) and in every PDU.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive "completed" status report for second PDU - PDU(146)
//6. Receive "temporary failure" status report for third PDU - PDU(147)
//7. Receive "completed" status report for first PDU - PDU(148)
//8. Receive "completed" status report for third PDU - PDU(149)
//9. Unmark the heap
//!@SYMTestExpectedResults A notification isn't received after sending. The status reports received are logged and a notification is generated on receiving PDU(149).
RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCAllPDUs z:\testdata\configs\te_statusReportScheme.ini MultipeCompletedTemporaryFailureStatusReportsSMSCScheme
END_TESTCASE SMS-GSMU-0114


START_TESTCASE SMS-GSMU-0115
//!@SYMTestCaseID SMS-GSMU-0115	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive "completed" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive "completed" status report for last PDU - PDU(150)
//6. Unmark the heap
//!@SYMTestExpectedResults A notification isn't received after sending. The status report received is logged and a notification is generated on receiving it.
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUSingleStatusReportLastPDUSMSCScheme
END_TESTCASE SMS-GSMU-0115


START_TESTCASE SMS-GSMU-0116
//!@SYMTestCaseID SMS-GSMU-0116	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive "temporary failure" and "completed" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive "temporary failure" status report for last PDU - PDU(151)
//6. Receive "completed" status report for last PDU - PDU(152)
//7. Unmark the heap
//!@SYMTestExpectedResults A notification only received after receiving status report PDU(152).
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUTemporaryCompleteStatusReportLastPDUSMSCScheme
END_TESTCASE SMS-GSMU-0116


START_TESTCASE SMS-GSMU-0117
//!@SYMTestCaseID SMS-GSMU-0117	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive "permanent failure" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive "permanent failure" status report for last PDU - PDU(153)
//6. Unmark the heap
//!@SYMTestExpectedResults A notification is only received after receiving status report PDU(153).
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUPermanentFailureStatusReportLastPDUSMSCScheme
END_TESTCASE SMS-GSMU-0117


START_TESTCASE SMS-GSMU-0118
//!@SYMTestCaseID SMS-GSMU-0118	
//!@SYMFssID CR0205	
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive "temporary failure" and "permanent failure" status reports for a multiple 8 bit PDU message with SMSC scheme set (0x01) in last segment only.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and SMSC scheme set in last segment (0x01).
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive "temporary failure" status report for last PDU - PDU(154)
//6. Receive "permanent failure" status report for last PDU - PDU(155)
//7. Unmark the heap
//!@SYMTestExpectedResults A notification only received after receiving status report PDU(155).
RUN_TEST_STEP  100 TE_smsprt TestReceivingLastSMSC z:\testdata\configs\te_statusReportScheme.ini MultipePDUTemporaryPermanentFailureStatusReportLastPDUSMSCScheme
END_TESTCASE SMS-GSMU-0118


START_TESTCASE SMS-GSMU-0119
//!@SYMTestCaseID SMS-GSMU-0119	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive "completed" status reports for first and third PDU of a multiple 8 bit PDU message with SMSC set (0x01) in first and last only.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and SMSC set in first and last segment.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive "completed" status report for first PDU - PDU(156)
//6. Receive "completed" status report for last PDU - PDU(157)
//7. Receive "completed" status report for second PDU - PDU(158)
//8. Unmark the heap
//!@SYMTestExpectedResults A notification is generated on receiving PDU(157).
RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCSomePDUs z:\testdata\configs\te_statusReportScheme.ini CompletedStatusReportForFirstAndThirdPDUSMSC
END_TESTCASE SMS-GSMU-0119


START_TESTCASE SMS-GSMU-0120
//!@SYMTestCaseID SMS-GSMU-0120	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive "permanent failure" status reports for first and second PDU of a multiple 8 bit PDU message with SMSC set (0x01) in first and second only.
//!@SYMTestActions
//1. Mark the heap
//2. Create SMS message with test data (4) and SMSC set in first and last segment.
//3. Send the message and check request completes KErrNone 
//4. Delete the message
//5. Receive "permanent failure" status report for first PDU - PDU(159)
//6. Receive "permanent failure" status report for second PDU - PDU(160)
//7. Receive "permanent failure" status report for last PDU - PDU(161)
//8. Unmark the heap
//!@SYMTestExpectedResults A notification is generated on receiving PDU(160).
RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCSomePDUs z:\testdata\configs\te_statusReportScheme.ini PermanentFailureStatusReportForFirstAndSecondPDUSMSC
END_TESTCASE SMS-GSMU-0120


START_TESTCASE SMS-GSMU-0049
//!@SYMTestCaseID SMS-GSMU-0049	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive single 8 bit PDU with TP-SRR status report scheme.
//!@SYMTestActions
//1. Mark the heap
//2. Trigger the sending of messages with sending message
//3. Receive a message of PDU (804).
//4. Delete the message
//5. Unmark the heap
//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EDefaultScheme scheme and has text of test data(2).
RUN_TEST_STEP  100 TE_smsprt TestReceivingDeliversWithTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRSingle8Bit
END_TESTCASE SMS-GSMU-0049


START_TESTCASE SMS-GSMU-0058
//!@SYMTestCaseID SMS-GSMU-0058	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive 8 bit multiple PDU message with no status report scheme.
//!@SYMTestActions
//1. Mark the heap
//2. Trigger receive by sending a message PDU(1)
//3. Receive PDUs (826-828) the message and check request completes KErrNone
//4. Check message contains text of test data (4) and has TSmsStatusReportScheme::EDefaultScheme scheme.
//5. Delete the message
//6. Unmark the heap
//!@SYMTestExpectedResults The message is verified as containing test data (4) and is found to have TSmsStatusReportScheme::EDefaultScheme status report scheme set.
RUN_TEST_STEP  100 TE_smsprt TestReceivingDeliversWithTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRMultiple8Bit
END_TESTCASE SMS-GSMU-0058


START_TESTCASE SMS-GSMU-0061
//!@SYMTestCaseID SMS-GSMU-0061	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive 7 bit multiple PDU message with TP-SRR status report scheme set in all segments.
//!@SYMTestActions
//1. Mark the heap
//2. Trigger receive by sending a message
//3. Receive PDUs (32-34) and check request completes successfully
//4. Check message it has text data = test data (4) and has TSmsStatusReportScheme::ETPSRRScheme scheme set for every PDU.
//5. Delete the message
//6. Unmark the heap
//!@SYMTestExpectedResults The message received has text of test data (4) and has TSmsStatusReportScheme::ETPSRRScheme scheme set for every PDU.
RUN_TEST_STEP  100 TE_smsprt TestReceivingDeliversWithTPSRR z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRMultiple7Bit
END_TESTCASE SMS-GSMU-0061


START_TESTCASE SMS-GSMU-0070
//!@SYMTestCaseID SMS-GSMU-0070	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive 8 bit multiple PDU message with TP-SRR scheme set in the third (last) PDU only.
//!@SYMTestActions
//1. Mark the heap
//2. Trigger receiving by sending a message
//3. Receive a message PDUs(844-846) and check message is received ok.
//4. Check message has TSmsStatusReportScheme::ETPSRRScheme scheme set only in last PDU.
//5. Delete the message
//6. Unmark the heap
//!@SYMTestExpectedResults The message received has text of test data (4) and has TSmsStatusReportScheme::ETPSRRScheme scheme set in third segment only.
RUN_TEST_STEP  100 TE_smsprt TestDeliversWithTPSRRScheme z:\testdata\configs\te_statusReportScheme.ini ReceiveDeliversWithTPSRRMultiple8BitLastPDU
END_TESTCASE SMS-GSMU-0070


START_TESTCASE SMS-GSMU-0051
//!@SYMTestCaseID SMS-GSMU-0051	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Send single 8 bit PDU with SMSC status report scheme specifying no status report requested, i.e. 0x00.
//!@SYMTestActions
//1. Mark the heap
//2. Create the message with test data (3)
//3. Set the scheme to TSmsStatusReportScheme::EControlParametersScheme and value = 0x00
//4. Send the message check request completes KErrNone 
//5. Delete the message.
//6. Unmark the heap
//!@SYMTestExpectedResults The message is sent successfully - SIMTSY has verified the format and correctness of the PDU = PDU(805) - it contains an SMSC control element with a value of 0x00.
RUN_TEST_STEP  100 TE_smsprt TestSendingSMSCSchemeSinglePDUNoBitSet z:\testdata\configs\te_statusReportScheme.ini Send8BitSMSCSchemeSinglePDUNoBitSet
END_TESTCASE SMS-GSMU-0051


START_TESTCASE SMS-GSMU-0052
//!@SYMTestCaseID SMS-GSMU-0052
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive single 7 bit PDU with SMSC status report scheme specifying no status report requested, i.e. 0x00.
//!@SYMTestActions
//1. Mark the heap
//2. Receive a message of PDU.
//3. Test that the scheme is set to SMSC and the status report = 0x00.
//4. Delete the message
//5. Unmark the heap
//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value=0x00.
RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCSinglePDU z:\testdata\configs\te_statusReportScheme.ini Receive7BitSMSCSchemSinglePDU
END_TESTCASE SMS-GSMU-0052


START_TESTCASE SMS-GSMU-0055
//!@SYMTestCaseID SMS-GSMU-0055	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Send single 8 bit PDU with SMSC status report scheme with status report requested for every possible combination, i.e. ESmsStatusReportTransactionCompleted=0x01,  ESmsStatusReportPermanentError, ESmsStatusReportTemporaryError, ESmsStatusReportTemporaryErrorSCTrying, ESmsStatusReportForFutureUse1, ESmsStatusReportForFutureUse2, ESmsStatusReportCancelRestSRR, ESmsStatusReportIncludeOriginalUDH, ESmsSelectiveStatusReportMask.
//!@SYMTestActions
//1. Mark the heap
//2. Create the message with test data (2)
//3. Set scheme to TSmsStatusReportScheme::EControlParametersScheme
//3. For each configuration of TSmsSMSCControlParameters
//  3.1 Set value
//  3.2 Send the message
//  3.3 Delete the message.
//4. Unmark the heap
//!@SYMTestExpectedResults The messages configuration is set for all values up to ESmsStatusReportTemporaryErrorSCTrying.  The messages are sent successfully and SIMTSY has verified the format and correctness of the PDU - PDU(806-813) that it contains an SMSC control element with the corresponding SMSC control parameter value.
RUN_TEST_STEP  100 TE_smsprt TestSendingSMSCSchemeSinglePDUSomeBitsSet z:\testdata\configs\te_statusReportScheme.ini Send8BitSMSCSchemeSinglePDUSomeBitsSet
END_TESTCASE SMS-GSMU-0055


START_TESTCASE SMS-GSMU-0056
//!@SYMTestCaseID SMS-GSMU-0056
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive single 8 bit PDU messages with SMSC status report scheme set with status report requested for the lowest 4 bits that is 0x0F
//!@SYMTestActions
//1. Mark the heap
//2. Receive a message of PDU.
//3. Test that the scheme is set to SMSC and the status report = 0x0F.
//4. Delete the message
//5. Unmark the heap
//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value=0x0F.
RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCSinglePDU z:\testdata\configs\te_statusReportScheme.ini Receive8BitSMSCSchemSinglePDU
END_TESTCASE SMS-GSMU-0056


START_TESTCASE SMS-GSMU-0064
//!@SYMTestCaseID SMS-GSMU-0064	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Send 8 bit multiple PDU message with SMSC status report scheme and set to not requesting status reports, i.e. 0x00.
//!@SYMTestActions
//1. Mark the heap
//2. Create the message with test data (4)
//3. Set scheme to TSmsStatusReportScheme::EControlParametersScheme scheme and with value 0x00
//4. Send the message and check request completes KErrNone 
//5. Delete the message
//6. Unmark the heap
//!@SYMTestExpectedResults The message sent is verified by SimTSY, PDUs (835-837) that it contains SMSC IE in every PDU and with value of 0x00.
RUN_TEST_STEP  100 TE_smsprt TestSendingSMSCSchemeMultiplePDUsSomeBitsSet z:\testdata\configs\te_statusReportScheme.ini Send8BitSMSCSchemeMultiplePDU
END_TESTCASE SMS-GSMU-0064


START_TESTCASE SMS-GSMU-0065
//!@SYMTestCaseID SMS-GSMU-0065
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive 7 bit multiple PDU message with SMSC status report scheme and all PDUs set to not requesting status reports, i.e. 0x00.
//!@SYMTestActions
//1. Mark the heap
//2. Receive a message of PDU.
//3. Test that the scheme is set to SMSC and the status report = 0x00 for all the PDUs.
//4. Delete the message
//5. Unmark the heap
//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value=0x00.
RUN_TEST_STEP 100 TE_smsprt TestReceivingSMSCMultiplePDU z:\testdata\configs\te_statusReportScheme.ini Receive7BitSMSCSchemeMultiplePDU
END_TESTCASE SMS-GSMU-0065


START_TESTCASE SMS-GSMU-0071
//!@SYMTestCaseID SMS-GSMU-0071	
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Send 7 bit multiple PDU message with TSmsStatusReportScheme::EControlParametersScheme status report scheme for first and last PDU and set to ESmsStatusReportPermanentError and ESmsStatusReportTemporaryError respectively.
//!@SYMTestActions
//1. Mark the heap
//2. Create the message with test data (4)
//3. Set SMSC scheme for first and last PDU or segment and set values to ESmsStatusReportPermanentError and ESmsStatusReportTemporaryError respectively.
//4. Send the message and check request completes KErrNone 
//5. Delete the message
//6. Unmark the heap
//!@SYMTestExpectedResults The message sent is verified by SimTSY by receving PDUs (47-49) which contain SMSC scheme for first and last PDU with values ESmsStatusReportPermanentError and ESmsStatusReportTemporaryError respectively.
RUN_TEST_STEP  100 TE_smsprt TestSendingSMSCSchemeMultiplePDUsSomeBitsSet z:\testdata\configs\te_statusReportScheme.ini Send7BitSMSCSchemeMultiplePDU
END_TESTCASE SMS-GSMU-0071


START_TESTCASE SMS-GSMU-0074
//!@SYMTestCaseID SMS-GSMU-0074
//!@SYMFssID CR0205	
//!@SYMTestPriority High
//!@SYMTestCaseDesc Receive 8 bit multiple PDU message with SMSC status report scheme set in first and second PDU only and with values ESmsStatusReportForFutureUse2 and ESmsStatusReportCancelRestSRR respectively.
//!@SYMTestActions
//1. Mark the heap
//2. Receive a message of PDU.
//3. Test that the scheme is set to SMSC and the status report = 0x20 for the first PDU and 0x80 for the second PDU.
//4. Delete the message
//5. Unmark the heap
//!@SYMTestExpectedResults Message received has TSmsStatusReportScheme::EControlParametersScheme scheme set with value = 0x20 for the first PDU and 0x80 for the second PDU.
RUN_TEST_STEP  100 TE_smsprt TestReceivingSMSCMultiplePDU z:\testdata\configs\te_statusReportScheme.ini Receive8BitSMSCSchemMultiplePDU
END_TESTCASE SMS-GSMU-0074


START_TESTCASE SMS-SMSS-SMSPROT-0123
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0123
//!@SYMDEF INC091449
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive class0 and class2 messages when DiskSpace in mid range
//!@SYMTestActions Set the disk space to below the high limit, receive class 0, attempt to receive class 2, raise disk space and receive class 2.
//!@SYMTestExpectedResults Class0 message received, class2 rejected until disk space is increased.
RUN_TEST_STEP 600 TE_smsprt TestDiskSpaceMidRangeClass0Class2 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber131
END_TESTCASE SMS-SMSS-SMSPROT-0123


START_TESTCASE SMS-SMSS-SMSPROT-0124
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0124
//!@SYMDEF INC091449
//!@SYMTestPriority Critical
//!@SYMTestCaseDesc Receive class0 and class2 messages when DiskSpace below the mid range. 
//!@SYMTestActions Set the disk space to below the low limit, attempt to receive class 0 and class 2, raise disk space and receive class 0 and class 2.
//!@SYMTestExpectedResults Class0 and class2 messages rejected when disk space below the low limit, received when disk space increases.
RUN_TEST_STEP 600 TE_smsprt TestDiskSpaceLowRangeClass0Class2 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber132
END_TESTCASE SMS-SMSS-SMSPROT-0124


START_TESTCASE SMS-SMSS-SMSPROT-0125
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0125
//!@SYMDEF INC100061
//!@SYMTestCaseDesc Tests receiving corrupt PDUs to ensure the stack does not crash.
//!@SYMTestPriority Critical
//!@SYMTestActions Receives SMSs that are invalid and then 1 that is valid.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestCorruptPDUs z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber133
END_TESTCASE SMS-SMSS-SMSPROT-0125

START_TESTCASE SMS-SMSS-SMSPROT-0126
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0126
//!@SYMDEF INC103598
//!@SYMTestCaseDesc Tests receiving a series of PDUs when the assembly store gets congested.
//!@SYMTestPriority Critical
//!@SYMTestActions Ensures that the resume code can restart reception when the store has been full.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestCongestedReceive z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber141
END_TESTCASE SMS-SMSS-SMSPROT-0126

START_TESTCASE SMS-SMSS-SMSPROT-0127
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0127
//!@SYMDEF INC117178
//!@SYMTestCaseDesc Test Binary Tx And Rx
//!@SYMTestPriority critical
//!@SYMTestActions Test binary transmit and receive
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestBinaryTxAndRx z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber142
END_TESTCASE SMS-SMSS-SMSPROT-0127


START_TESTCASE SMS-SMSS-SMSPROT-0128
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0128
//!@SYMDEF INC119830
//!@SYMTestCaseDesc Test boundary condition, GSMU encoder completely fills a PDU, then attempts to add a format IE. 
//!@SYMTestPriority critical
//!@SYMTestActions GSMU encodes a PDU until it is full, then attempts to add an format IE, the format IE and its associated text should be encoded in a new PDU.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestEncodingPDUonBoundary z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber143
END_TESTCASE SMS-SMSS-SMSPROT-0128


START_TESTCASE SMS-SMSS-SMSPROT-0129
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0129
//!@SYMDEF INC123727
//!@SYMTestCaseDesc Tests that a PDU can be received if it has an invalid or reserved IE number.
//!@SYMTestPriority Critical
//!@SYMTestActions Receives the PDU which has a reserved IE number.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 500 TE_smsprt TestReceiveInvalidOrReservedIE z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber144
END_TESTCASE SMS-SMSS-SMSPROT-0129


START_TESTCASE SMS-SMSS-SMSPROT-0150
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0150
//!@SYMREQ PREQ2265
//!@SYMTestCaseDesc Tests that standard GSM characters can be sent and received using 7bit without loss of characters.
//!@SYMTestPriority Critical
//!@SYMTestActions Generates various messages based on standard GSM characters, sends/receives them and compares the contents.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 1200 TE_smsprt TestEncoding7bitStandardGSM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber150
END_TESTCASE SMS-SMSS-SMSPROT-0150


START_TESTCASE SMS-SMSS-SMSPROT-0151
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0151
//!@SYMREQ PREQ2265
//!@SYMTestCaseDesc Tests that standard 8bit characters can be sent and received without loss of characters.
//!@SYMTestPriority Critical
//!@SYMTestActions Generates various messages based on Code Page 1252 characters, sends/receives them and compares the contents.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 1200 TE_smsprt TestEncoding8bitCodePage1252 z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber151
END_TESTCASE SMS-SMSS-SMSPROT-0151


START_TESTCASE SMS-SMSS-SMSPROT-0152
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0152
//!@SYMREQ PREQ2265
//!@SYMTestCaseDesc Tests that standard unicode characters can be sent and received without loss of characters.
//!@SYMTestPriority Critical
//!@SYMTestActions Generates various messages based various characters, sends/receives them and compares the contents.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 1800 TE_smsprt TestEncodingUnicode z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber152
END_TESTCASE SMS-SMSS-SMSPROT-0152


START_TESTCASE SMS-SMSS-SMSPROT-0153
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0153
//!@SYMREQ PREQ2265
//!@SYMTestCaseDesc Tests that unconvertible GSM characters can be sent using 7bit by being set to the replacement character.
//!@SYMTestPriority Critical
//!@SYMTestActions Generates various messages based on unconvertible GSM characters, sends/receives them and compares the contents.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 1200 TE_smsprt TestEncoding7bitUnconvertibleGSM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber153
END_TESTCASE SMS-SMSS-SMSPROT-0153


START_TESTCASE SMS-SMSS-SMSPROT-0154
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0154
//!@SYMREQ PREQ2265
//!@SYMTestCaseDesc Tests that non-standard GSM characters can be sent and received using 7bit with downgraded conversions.
//!@SYMTestPriority Critical
//!@SYMTestActions Generates various messages based on standard GSM characters, sends/receives them and compares the contents.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 1200 TE_smsprt TestEncoding7bitNonStandardGSM z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber154
END_TESTCASE SMS-SMSS-SMSPROT-0154


START_TESTCASE SMS-SMSS-SMSPROT-0155
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0155
//!@SYMREQ PREQ2265
//!@SYMTestCaseDesc Tests that Turkish characters can be sent and received using 7bit without loss of characters.
//!@SYMTestPriority Critical
//!@SYMTestActions Generates various messages based on Turkish characters, sends/receives them and compares the contents.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 4500 TE_smsprt TestEncoding7bitTurkishNationalLanguage z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber155
END_TESTCASE SMS-SMSS-SMSPROT-0155

START_TESTCASE SMS-SMSS-SMSPROT-0156
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0156
//!@SYMDEF DEF129817
//!@SYMTestCaseDesc Tests that unconverted characters are counted correctly when Turkish is enabled.
//!@SYMTestPriority Critical
//!@SYMTestActions Generates various messages with some Turkish and unconvertible characters, sends/receives them and compares the contents.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 600 TE_smsprt TestEncoding7bitTurkishAndUnconvertible z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber156
END_TESTCASE SMS-SMSS-SMSPROT-0156


START_TESTCASE SMS-SMSS-SMSPROT-0157
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0157
//!@SYMDEF DEF128736
//!@SYMTestCaseDesc Tests that messages can be received if different DCS values are used.
//!@SYMTestPriority Critical
//!@SYMTestActions Generates 3 messages with each DCS and then receives 3 mixed DCS messages.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 600 TE_smsprt TestReceivingMessageWithDifferentEncodings z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber157
END_TESTCASE SMS-SMSS-SMSPROT-0157

START_TESTCASE SMS-SMSS-SMSPROT-0159
//!@SYMTestCaseID SMS-SMSS-SMSPROT-0159
//!@SYMDEF DEF137787
//!@SYMTestCaseDesc Tests that closing a socket before reading message does not orphan them in the SAR store
//!@SYMTestPriority Critical
//!@SYMTestActions Generates a message which is requested by client before and after closure of socket.
//!@SYMTestExpectedResults The message should be able to be requested and read after closure of socket.
//!@SYMTestType CT
RUN_TEST_STEP 600 TE_smsprt TestReceivingMessageAfterSocketClosure z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber159
END_TESTCASE SMS-SMSS-SMSPROT-0159

START_TESTCASE SMS-SMSS-SMSPROT-0160
//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0160
//! @SYMTestType                CT
//! @SYMTestPriority            Critical
//! @SYMTestCaseDesc            Test to ensure that the Turkish, Spanish and Portuguese 7 bit character conversion libraries are being used with SMS send and receive
//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
//!                           Version tb92 and later
//! @SYMTestExpectedResults     Pass
//! @SYMTestDesignTechnique     Error Guessing
//! @SYMCR                      CR2040
RUN_TEST_STEP 100 TE_smsprt TestEncoding7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber160
END_TESTCASE SMS-SMSS-SMSPROT-0160

START_TESTCASE SMS-SMSS-SMSPROT-0161
//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0161
//! @SYMTestType                CT
//! @SYMTestPriority            High
//! @SYMTestCaseDesc            Multiple PDU SMS test - tests that when a shift character might spans two PDU's it is added to the next PDU rather than split the two bytes between PDUs - also tests that the cheapest coding is used when ESmsEncodingPortugueseLockingAndSingleShift is requested.
//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
//!                           Version tb92 and later
//! @SYMTestExpectedResults     Pass
//! @SYMTestDesignTechnique     Boundary Value Analysis
//! @SYMCR                      CR2040
RUN_TEST_STEP 100 TE_smsprt TestEncodingMultiPDUwith7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber161
END_TESTCASE SMS-SMSS-SMSPROT-0161

START_TESTCASE SMS-SMSS-SMSPROT-0162
//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0162
//! @SYMTestType                CT
//! @SYMTestPriority            Critical
//! @SYMTestCaseDesc            Test to ensure that Turkish, Spanish and Portuguese characters are downgraded when ESmsEncodingNone is used
//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
//!                           Version tb92 and later
//! @SYMTestExpectedResults     Pass
//! @SYMTestDesignTechnique     Error Guessing
//! @SYMCR                      CR2040
RUN_TEST_STEP 100 TE_smsprt TestEncodingDowngradedWith7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber162
END_TESTCASE SMS-SMSS-SMSPROT-0162

START_TESTCASE SMS-SMSS-SMSPROT-0163
//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0163
//! @SYMTestType                CT
//! @SYMTestPriority            High
//! @SYMTestCaseDesc            Test to ensure that the cheapest encoding is used when locking and shift characters are present in the message and ESmsEncodingPortugueseLockingAndSingleShift encoding is requested
//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
//!                           Version tb92 and later
//! @SYMTestExpectedResults     Pass
//! @SYMTestDesignTechnique     Error Guessing
//! @SYMCR                      CR2040
RUN_TEST_STEP 100 TE_smsprt TestOptimumEncodingWithLockingAndShift7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber163
END_TESTCASE SMS-SMSS-SMSPROT-0163

START_TESTCASE SMS-SMSS-SMSPROT-0164
//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0164
//! @SYMTestType                CT
//! @SYMTestPriority            High
//! @SYMTestCaseDesc            Test to ensure that the cheapest encoding is used when ESmsEncodingTurkishLockingAndSingleShift is requested but locking and shift characters are not present in the message.
//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
//!                           Version tb92 and later
//! @SYMTestExpectedResults     Pass
//! @SYMTestDesignTechnique     Error Guessing
//! @SYMCR                      CR2040
RUN_TEST_STEP 100 TE_smsprt TestOptimumEncodingWithLockingAndDowngrade7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber164
END_TESTCASE SMS-SMSS-SMSPROT-0164

START_TESTCASE SMS-SMSS-SMSPROT-0165
//! @SYMTestCaseID              SMS-SMSS-SMSPROT-0165
//! @SYMTestType                CT
//! @SYMTestPriority            High
//! @SYMTestCaseDesc            Test to ensure that the cheapest encoding is used when ESmsEncodingTurkishLockingAndSingleShift is requested but non- Turkish characters that would be downgraded are present
//!                           Only perform comprehensive tests on first 10 bytes, the last character and at least one character per PDU.
//!                           Version tb92 and later
//! @SYMTestExpectedResults     Pass
//! @SYMTestDesignTechnique     Error Guessing
//! @SYMCR                      CR2040
RUN_TEST_STEP 100 TE_smsprt TestOptimumEncodingWithLockingAndUnconvertible7bitNationalLanguages z:\testdata\configs\smsstacksimtsytestnumbers.ini TestNumber165
END_TESTCASE SMS-SMSS-SMSPROT-0165

RUN_SCRIPT  z:\testdata\scripts\smsstackcleanprivatedata.script
