messagingfw/msgtestfw/TestCases/ScriptedTestCases/SendAs/MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.script
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     1 //
       
     2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
       
     3 // All rights reserved.
       
     4 // This component and the accompanying materials are made available
       
     5 // under the terms of "Eclipse Public License v1.0"
       
     6 // which accompanies this distribution, and is available
       
     7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 //
       
     9 // Initial Contributors:
       
    10 // Nokia Corporation - initial contribution.
       
    11 //
       
    12 // Contributors:
       
    13 //
       
    14 // Description:
       
    15 //
       
    16 
       
    17 
       
    18 //! @file
       
    19 //! @SYMTestCaseID 		CM-SENDAS-CIT-0010-HP
       
    20 //! @SYMTestCaseDesc 		Check SendAs API to set the subject field for SMS, where the subject field is not supported by the message type
       
    21 //! @SYMFssID
       
    22 //! @SYMTestStatus 		Defined
       
    23 //! @SYMTestPriority 		High
       
    24 //! @SYMTestActions 
       
    25 //! @SYMTestExpectedResults 	An SMS message is created in the Drafts folder.  Setting of subject field fails with KErrNotSupported
       
    26 //! @SYMTestType 		CIT
       
    27 
       
    28 RUN_UTILS DeleteFile c:\messaging.db
       
    29 LOAD_SUITE MessagingTestServer -SharedData
       
    30 
       
    31 PREFIX RUN_TEST_STEP 1000 MessagingTestServer
       
    32 BEGIN_TEST_CASE
       
    33 SETUP_TEST_CASE
       
    34 GetBaseConstants		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.ini	GetBaseConstants
       
    35 CreateSession			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.ini	CreateSession
       
    36 ResetMessageStore		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.ini	ResetMessageStore
       
    37 CreateRegistry			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.ini	CreateRegistry
       
    38 CreateSmsService		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.ini	CreateSmsService
       
    39 CheckChildrenCount		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.ini	ChkChildrenCountDraft0
       
    40 EXECUTE_TEST_CASE
       
    41 ConnectSendAsServer		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.ini	ConnectSendAsServer
       
    42 GetSmsConstants			c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.ini	GetSmsConstants
       
    43 SendAsCreateMessageofType	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.ini	CreateMessageofType
       
    44 SendAsSetSubject		c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.ini	SendAsSetSubject
       
    45 SendAsSaveMessageAndClose	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.ini	SendAsSaveMessageAndClose
       
    46 CloseSendAsServerConnection	c:\msgtest\TestFramework\ScriptedTestCases\SendAs\MSG-SENDAS-SMS-CIT-0010-SetSubjectNotSupported.ini	CloseSvrConnection
       
    47 CHECK_POSTCONDITIONS
       
    48 END_TEST_CASE