messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/12-IR_RemoveAllAttachmentsUsingAttachmentId.INI
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/12-IR_RemoveAllAttachmentsUsingAttachmentId.INI Fri Jun 04 10:32:16 2010 +0100
@@ -0,0 +1,47 @@
+[GetConstants]
+actionParam = inboxId outboxId draftsId sentId deletedId
+
+[GetIrMTMUId]
+actionParam = irUid
+
+[SessionId]
+actionParam = thisSession
+
+[CreateIrService]
+actionParam = thisSession irUid _ _ _ _ "IRService" irServiceId
+
+[CreateRegistry]
+actionParam = thisSession clientMTMRegistry
+
+[CreateMessage]
+actionParam = thisSession draftsId irUid irServiceId _ _ _ "IRMessage" "IRMessageDetails" 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
+
+[AddFileAttachmentByPath0]
+actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId2
+
+[AddFileAttachmentByPath1]
+actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId3
+
+[CountAttachments0]
+actionParam = thisSession messageId 4 attachmentCount0
+
+[RemoveFileAttachmentById0]
+actionParam = thisSession messageId attachmentId0
+
+[RemoveFileAttachmentById1]
+actionParam = thisSession messageId attachmentId1
+
+[RemoveFileAttachmentById2]
+actionParam = thisSession messageId attachmentId2
+
+[RemoveFileAttachmentById3]
+actionParam = thisSession messageId attachmentId3
+
+[CountAttachments1]
+actionParam = thisSession messageId 0 attachmentCount1
\ No newline at end of file