messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/10-SMTP_RemoveAttachmentUsingIndex.INI
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 [GetConstants]
       
     2 actionParam	= inboxId outboxId draftsId sentId deletedId
       
     3 
       
     4 [SmtpMTMUId]
       
     5 actionParam	= smtpUid
       
     6 
       
     7 [SessionId]
       
     8 actionParam	= thisSession
       
     9 
       
    10 [CreateSmtpService]
       
    11 actionParam	= thisSession smtpUid _ _ _ _ "SmtpService" smtpServiceId
       
    12 
       
    13 [CreateRegistry]
       
    14 actionParam	= thisSession clientMTMRegistry
       
    15 
       
    16 [SetDefaultConfigurationEMailFile]
       
    17 actionParam   =  CMtfConfigurationType::TMtfConfigurationType::EMtfEmailFile "c:\msgtest\TestFramework\Configurations\EmailMessage\AttachmentAPI_SimpleEmail01.txt"
       
    18 
       
    19 [CreateSmtpMessageFromEmailFile]
       
    20 actionParam	= thisSession smtpServiceId outboxId 0 messageId
       
    21 
       
    22 [SmtpAddFileAttachmentByHandle]
       
    23 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId0
       
    24 
       
    25 [SmtpAddFileAttachmentByPath]
       
    26 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId1
       
    27 
       
    28 [SmtpAddLinkedAttachment]
       
    29 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId2
       
    30 
       
    31 [SmtpRemoveFileAttachmentByIndex]
       
    32 actionParam	= thisSession messageId 1
       
    33 
       
    34 [SmtpCountAttachments]
       
    35 actionParam	= thisSession messageId 2 attachmentCount
       
    36 
       
    37 [SmtpCompareAttachment0]
       
    38 actionParam	= thisSession messageId attachmentId0 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm"
       
    39 
       
    40 [SmtpCompareAttachment1]
       
    41 actionParam	= thisSession messageId attachmentId2 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm"
       
    42