messagingfw/msgtestfw/TestCases/ScriptedTestCases/ScheduleSendScripts/pigeonmtmtest.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 //! @SYMTestCaseID PREQ694-Int-1
       
    17 //! @SYMTestCaseDesc Sending an SMS message when sending conditions are met.
       
    18 //! It first sets the schedule send settings from the configuration file, and sets the sending conditions as met.  
       
    19 //! It then creates an SMS message and schedules it for sending.  Finally, it waits for the message to be marked as "sent".
       
    20 
       
    21 RUN_UTILS DeleteFile c:\messaging.db
       
    22 LOAD_SUITE MessagingTestServer -SharedData
       
    23 
       
    24 
       
    25 PREFIX RUN_TEST_STEP 10000 MessagingTestServer
       
    26 BEGIN_TEST_CASE
       
    27 SETUP_TEST_CASE
       
    28 	GetBaseConstants 	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini GetBaseConstants
       
    29 	GetPigeonMtmConstant	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini GetPigeonMtmConstant
       
    30 	SetDefaultSmsSettings 	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini SetSettingsFile
       
    31 	CreateSession 		c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini CreateSession
       
    32 	DeleteExistingService 	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini DeleteExistingService
       
    33 	CreateService		c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini CreateService
       
    34 	SetSchSendSettings 	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini SetSchSendSettings
       
    35 EXECUTE_TEST_CASE
       
    36 	DeleteChildren 		c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini EmptyOutbox
       
    37 	DeleteChildren 		c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini EmptySent
       
    38 	CreatePigeonMessage	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini CreatePigeonMessage
       
    39 	SchedulePigeonMessage	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini SchedulePigeonMessage
       
    40 	Sleep 			c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini Sleep
       
    41 CHECK_POSTCONDITIONS
       
    42 	CheckChildrenCount	c:\msgtest\TestFramework\ScriptedTestCases\ScheduleSendScripts\pigeonmtmtest.ini CheckChildrenCount
       
    43 END_TEST_CASE