// 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-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
RUN_SCRIPT z:\testdata\scripts\smsstackcleanprivatedata.script