messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/14-SMTP_GetAttachmentInfo.INI
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/14-SMTP_GetAttachmentInfo.INI Fri Jun 04 10:32:16 2010 +0100
@@ -0,0 +1,50 @@
+[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
+
+[SmtpCountAttachments]
+actionParam = thisSession messageId 3 attachmentCount
+
+[SmtpGetAttachmentInfoByIndex2]
+actionParam = thisSession messageId 2 attachmentInfo2
+
+[SmtpGetAttachmentInfoByIndex1]
+actionParam = thisSession messageId 1 attachmentInfo1
+
+[SmtpGetAttachmentInfoByIndex0]
+actionParam = thisSession messageId 0 attachmentInfo0
+
+[VerifyAttachmentInfo0]
+actionParam = attachmentInfo0 "testimage1.mbm" 10270 "image/x-epoc-mbm"
+
+[VerifyAttachmentInfo1]
+actionParam = attachmentInfo1 "TestFile.txt" 4499 "text/plain"
+
+[VerifyAttachmentInfo2]
+actionParam = attachmentInfo2 "testimage1.mbm" 10270 "image/x-epoc-mbm"