smsprotocols/smsstack/test/TE_R6SMS/TE_R6SMS.script
author Tom Pritchard <tomp@symbian.org>
Wed, 17 Feb 2010 18:40:26 +0000
branchAT_Test_LTSY
changeset 3 70f1e1f5dabe
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
permissions -rw-r--r--
Changes to the phonetsy name from commdb and the make voice dialing not require AT+WIND indications

// Copyright (c) 2005-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:
// !@file
// Synopsis:
// Provides a set of unit tests for SMS functionality introduced in PRE1121 SMS R6.
// The intent is to provide additional functional and conditional coverage for
// internal methods which cannot easily be exercised by the integration tests provided
// in te_smsprt.
// 
//

//Call the setup script to copy any necessary config
//files to the right places
RUN_SCRIPT z:\testdata\scripts\te_R6SMS_setup.script

LOAD_SUITE TE_R6SMS

START_TESTCASE SMS-SMSS-SMSR6-U-2500
//!@SYMTestCaseID SMS-SMSS-SMSR6-U-2500
//!@SYMREQ PREQ1121
//!@SYMTestCaseDesc Test class CSmsMessageAdditionalAttributes Scenario 1
//!@SYMTestPriority critical
//!@SYMTestActions Provides unit tests for the class CSmsMessageAdditionalAttributes (Non Exported) Class
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 TE_R6SMS CTestCSmsMessageAdditionalAttributes1

END_TESTCASE SMS-SMSS-SMSR6-U-2500

START_TESTCASE SMS-SMSS-SMSR6-U-2501
//!@SYMTestCaseID SMS-SMSS-SMSR6-U-2501
//!@SYMREQ PREQ1121
//!@SYMTestCaseDesc Test class CSmsMessageAdditionalAttributes Scenario 2
//!@SYMTestPriority critical
//!@SYMTestActions Provides unit tests for the class CSmsMessageAdditionalAttributes (Non Exported) Class
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 TE_R6SMS CTestCSmsMessageAdditionalAttributes2

END_TESTCASE SMS-SMSS-SMSR6-U-2501

START_TESTCASE SMS-SMSS-SMSR6-U-2502
//!@SYMTestCaseID SMS-SMSS-SMSR6-U-2502
//!@SYMREQ PREQ1121
//!@SYMTestCaseDesc Test class CSmsMessageAdditionalAttributes Scenario 3
//!@SYMTestPriority critical
//!@SYMTestActions Provides unit tests for the class CSmsMessageAdditionalAttributes (Non Exported) Class
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 TE_R6SMS CTestCSmsMessageAdditionalAttributes3

END_TESTCASE SMS-SMSS-SMSR6-U-2502

START_TESTCASE SMS-SMSS-SMSR6-U-2503
//!@SYMTestCaseID SMS-SMSS-SMSR6-U-2503
//!@SYMREQ REQ4924
//!@SYMTestCaseDesc Test the R6 CSmsMessage Methods
//!@SYMTestPriority critical
//!@SYMTestActions Creates the operations class supported by R6 SMS, tests the additional methods provided for R6 SMS.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 TE_R6SMS CTestR6CSmsMessage

END_TESTCASE SMS-SMSS-SMSR6-U-2503

START_TESTCASE SMS-SMSS-SMSR6-U-2504
//!@SYMTestCaseID SMS-SMSS-SMSR6-U-2504
//!@SYMREQ REQ4922
//!@SYMTestCaseDesc Unit Test the R6 IE Encoding and Decoding Algorithm
//!@SYMTestPriority critical
//!@SYMTestActions Tests encoding Special Message Waiting IE using new R6 and existing interfaces.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 TE_R6SMS CTestAddingIEsViaNewAndExistingInterfaces

END_TESTCASE SMS-SMSS-SMSR6-U-2504

START_TESTCASE SMS-SMSS-SMSR6-U-2505
//!@SYMTestCaseID SMS-SMSS-SMSR6-U-2505
//!@SYMREQ PREQ1121
//!@SYMTestCaseDesc Unit test the internal class which maps each IE to its category.
//!@SYMTestPriority critical
//!@SYMTestActions Unit test the internal class which maps each IE to its categories.
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 TE_R6SMS CTestIECategoryDefinitions

END_TESTCASE SMS-SMSS-SMSR6-U-2505

START_TESTCASE SMS-SMSS-SMSR6-U-2506
//!@SYMTestCaseID SMS-SMSS-SMSR6-U-2506
//!@SYMREQ REQ4924
//!@SYMTestCaseDesc Unit test configuring the DCS parameter when supporting auto delete.
//!@SYMTestPriority critical
//!@SYMTestActions Test that the following methods function correctly the DCS attribute is configured for auto deletion: SetTextCompressed(), SetClass(), SetAlphabet(), TextCompressed(), Class() and Alphabet().
//!@SYMTestExpectedResults Pass
//!@SYMTestType CT
RUN_TEST_STEP 100 TE_R6SMS CTestR6DCS
END_TESTCASE SMS-SMSS-SMSR6-U-2506