diff -r 000000000000 -r 8e480a14352b messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.script --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.script Mon Jan 18 20:36:02 2010 +0200 @@ -0,0 +1,50 @@ +// +// Copyright (c) 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 +//! @SYMTestCaseID CM-SENDAS-CIT-0016-HP +//! @SYMTestCaseDesc Add Recipient Address of type "Bcc" to SMS message, where message type does not support Bcc address +//! @SYMFssID +//! @SYMTestStatus Defined +//! @SYMTestPriority High +//! @SYMTestActions +//! @SYMTestExpectedResults Addition of Bcc type recipient address should fail with KErrNotSupported +//! @SYMTestType CIT + + +RUN_UTILS DeleteFile c:\messaging.db +LOAD_SUITE MessagingTestServer -SharedData + +PREFIX RUN_TEST_STEP 1000 MessagingTestServer +BEGIN_TEST_CASE +SETUP_TEST_CASE +GetBaseConstants c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini GetBaseConstants +CreateSession c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini CreateSession +ResetMessageStore c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini ResetMessageStore +CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini ChkChildrenCountDraft0 +CreateRegistry c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini CreateRegistry +CreateSmsService c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini CreateSmsService +EXECUTE_TEST_CASE +ConnectSendAsServer c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini ConnectSendAsServer +GetSmsConstants c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini GetSmsMtmUid +SendAsCreateMessageofType c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini CreateMessageofType +SendAsAddRecipient c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini SendAsAddRecipient +SendAsSaveMessageAndClose c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini SendAsSaveMessageAndClose +CloseSendAsServerConnection c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini CloseSvrConnection +CHECK_POSTCONDITIONS +CheckChildrenCount c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0016-Add'Bcc'RecipientAddr.ini ChkChildrenCountDraft1 +END_TEST_CASE