smsprotocols/smsstack/smsprot/Test/TE_Smsprt/te_smsprt_prot.script
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Thu, 19 Aug 2010 11:03:36 +0300
branchRCL_3
changeset 18 17af172ffa5f
permissions -rw-r--r--
Revision: 201033 Kit: 201033

// Copyright (c) 2004-2010 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-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-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 500 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-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