messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/12-IR_RemoveAllAttachmentsUsingAttachmentId.INI
changeset 22 bde600d88860
parent 0 8e480a14352b
equal deleted inserted replaced
21:08008ce8a6df 22:bde600d88860
       
     1 [GetConstants]
       
     2 actionParam	= inboxId outboxId draftsId sentId deletedId
       
     3 
       
     4 [GetIrMTMUId]
       
     5 actionParam	= irUid
       
     6 
       
     7 [SessionId]
       
     8 actionParam	= thisSession
       
     9 
       
    10 [CreateIrService]
       
    11 actionParam	= thisSession irUid _ _ _ _ "IRService" irServiceId
       
    12 
       
    13 [CreateRegistry]
       
    14 actionParam	= thisSession clientMTMRegistry
       
    15 
       
    16 [CreateMessage]
       
    17 actionParam	= thisSession draftsId irUid irServiceId _ _ _ "IRMessage" "IRMessageDetails" messageId
       
    18 
       
    19 [CreateAttachment]
       
    20 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" attachmentId0
       
    21 
       
    22 [AddFileAttachmentByHandleSync]
       
    23 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId1
       
    24 
       
    25 [AddFileAttachmentByPath0]
       
    26 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId2
       
    27 
       
    28 [AddFileAttachmentByPath1]
       
    29 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId3
       
    30 
       
    31 [CountAttachments0]
       
    32 actionParam	= thisSession messageId 4 attachmentCount0
       
    33 
       
    34 [RemoveFileAttachmentById0]
       
    35 actionParam	= thisSession messageId attachmentId0
       
    36 
       
    37 [RemoveFileAttachmentById1]
       
    38 actionParam	= thisSession messageId attachmentId1
       
    39 
       
    40 [RemoveFileAttachmentById2]
       
    41 actionParam	= thisSession messageId attachmentId2
       
    42 
       
    43 [RemoveFileAttachmentById3]
       
    44 actionParam	= thisSession messageId attachmentId3
       
    45 
       
    46 [CountAttachments1]
       
    47 actionParam	= thisSession messageId 0 attachmentCount1