messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/14-BT_GetAttachmentInfo.INI
changeset 0 8e480a14352b
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/14-BT_GetAttachmentInfo.INI	Mon Jan 18 20:36:02 2010 +0200
@@ -0,0 +1,47 @@
+[GetConstants]
+actionParam	= inboxId outboxId draftsId sentId deletedId
+
+[GetBtMTMUId]
+actionParam	= btUid
+
+[SessionId]
+actionParam	= thisSession
+
+[CreateBtService]
+actionParam	= thisSession btUid _ _ _ _ "BTService" btServiceId
+
+[CreateRegistry]
+actionParam	= thisSession clientMTMRegistry
+
+[CreateMessage]
+actionParam	= thisSession draftsId btUid btServiceId _ _ _ "BTMessage" "BTMessageDetails" messageId
+
+[AddFileAttachmentByHandleSync]
+actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId0
+
+[AddFileAttachmentByPath]
+actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId1
+
+[AddLinkedAttachment]
+actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId2
+
+[CountAttachments]
+actionParam	= thisSession messageId 3 attachmentCount
+
+[GetAttachmentInfoByIndex2]
+actionParam	= thisSession messageId 2 attachmentInfo2
+
+[GetAttachmentInfoByIndex1]
+actionParam	= thisSession messageId 1 attachmentInfo1
+
+[GetAttachmentInfoByIndex0]
+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"