messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/09-BT_RemoveAttachmentUsingAttachmentId.INI
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/09-BT_RemoveAttachmentUsingAttachmentId.INI Mon Jan 18 20:36:02 2010 +0200
@@ -0,0 +1,38 @@
+[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
+
+[CreateAttachment]
+actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" attachmentId0
+
+[AddFileAttachmentByHandleSync]
+actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId1
+
+[AddFileAttachmentByPath]
+actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId2
+
+[RemoveFileAttachmentById]
+actionParam = thisSession messageId attachmentId0
+
+[CountAttachments]
+actionParam = thisSession messageId 2 attachmentCount
+
+[CompareAttachment0]
+actionParam = thisSession messageId attachmentId2 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt"
+
+[CompareAttachment1]
+actionParam = thisSession messageId attachmentId1 "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm"