diff -r 9f5ae1728557 -r db3f5fa34ec7 messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/10-SMTP_RemoveAttachmentUsingIndex.INI --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/10-SMTP_RemoveAttachmentUsingIndex.INI Wed Nov 03 22:41:46 2010 +0530 @@ -0,0 +1,42 @@ +[GetConstants] +actionParam = inboxId outboxId draftsId sentId deletedId + +[SmtpMTMUId] +actionParam = smtpUid + +[SessionId] +actionParam = thisSession + +[CreateSmtpService] +actionParam = thisSession smtpUid _ _ _ _ "SmtpService" smtpServiceId + +[CreateRegistry] +actionParam = thisSession clientMTMRegistry + +[SetDefaultConfigurationEMailFile] +actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfEmailFile "c:\msgtest\TestFramework\Configurations\EmailMessage\AttachmentAPI_SimpleEmail01.txt" + +[CreateSmtpMessageFromEmailFile] +actionParam = thisSession smtpServiceId outboxId 0 messageId + +[SmtpAddFileAttachmentByHandle] +actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId0 + +[SmtpAddFileAttachmentByPath] +actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId1 + +[SmtpAddLinkedAttachment] +actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId2 + +[SmtpRemoveFileAttachmentByIndex] +actionParam = thisSession messageId 1 + +[SmtpCountAttachments] +actionParam = thisSession messageId 2 attachmentCount + +[SmtpCompareAttachment0] +actionParam = thisSession messageId attachmentId0 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" + +[SmtpCompareAttachment1] +actionParam = thisSession messageId attachmentId2 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" +