messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/14-SMTP_GetAttachmentInfo.INI
changeset 62 db3f5fa34ec7
parent 0 8e480a14352b
equal deleted inserted replaced
60:9f5ae1728557 62:db3f5fa34ec7
       
     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 [SmtpCountAttachments]
       
    32 actionParam	= thisSession messageId 3 attachmentCount
       
    33 
       
    34 [SmtpGetAttachmentInfoByIndex2]
       
    35 actionParam	= thisSession messageId 2 attachmentInfo2
       
    36 
       
    37 [SmtpGetAttachmentInfoByIndex1]
       
    38 actionParam	= thisSession messageId 1 attachmentInfo1
       
    39 
       
    40 [SmtpGetAttachmentInfoByIndex0]
       
    41 actionParam	= thisSession messageId 0 attachmentInfo0
       
    42 
       
    43 [VerifyAttachmentInfo0]
       
    44 actionParam	= attachmentInfo0 "testimage1.mbm" 10270 "image/x-epoc-mbm"
       
    45 
       
    46 [VerifyAttachmentInfo1]
       
    47 actionParam	= attachmentInfo1 "TestFile.txt" 4499 "text/plain"
       
    48 
       
    49 [VerifyAttachmentInfo2]
       
    50 actionParam	= attachmentInfo2 "testimage1.mbm" 10270 "image/x-epoc-mbm"