messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/11-IR_RemoveAllAttachmentsUsingIndex.INI
author Pat Downey <patd@symbian.org>
Fri, 04 Jun 2010 10:32:16 +0100
changeset 22 bde600d88860
parent 0 8e480a14352b
permissions -rw-r--r--
Revert last code drop.

[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

[RemoveFileAttachmentByIndex0]
actionParam	= thisSession messageId 3

[RemoveFileAttachmentByIndex1]
actionParam	= thisSession messageId 2

[RemoveFileAttachmentByIndex2]
actionParam	= thisSession messageId 1

[RemoveFileAttachmentByIndex3]
actionParam	= thisSession messageId 0

[CountAttachments1]
actionParam	= thisSession messageId 0 attachmentCount1