messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/14-BT_GetAttachmentInfo.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 [GetBtMTMUId]
       
     5 actionParam	= btUid
       
     6 
       
     7 [SessionId]
       
     8 actionParam	= thisSession
       
     9 
       
    10 [CreateBtService]
       
    11 actionParam	= thisSession btUid _ _ _ _ "BTService" btServiceId
       
    12 
       
    13 [CreateRegistry]
       
    14 actionParam	= thisSession clientMTMRegistry
       
    15 
       
    16 [CreateMessage]
       
    17 actionParam	= thisSession draftsId btUid btServiceId _ _ _ "BTMessage" "BTMessageDetails" messageId
       
    18 
       
    19 [AddFileAttachmentByHandleSync]
       
    20 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId0
       
    21 
       
    22 [AddFileAttachmentByPath]
       
    23 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId1
       
    24 
       
    25 [AddLinkedAttachment]
       
    26 actionParam	= thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\testimage1.mbm" "image/x-epoc-mbm" attachmentId2
       
    27 
       
    28 [CountAttachments]
       
    29 actionParam	= thisSession messageId 3 attachmentCount
       
    30 
       
    31 [GetAttachmentInfoByIndex2]
       
    32 actionParam	= thisSession messageId 2 attachmentInfo2
       
    33 
       
    34 [GetAttachmentInfoByIndex1]
       
    35 actionParam	= thisSession messageId 1 attachmentInfo1
       
    36 
       
    37 [GetAttachmentInfoByIndex0]
       
    38 actionParam	= thisSession messageId 0 attachmentInfo0
       
    39 
       
    40 [VerifyAttachmentInfo0]
       
    41 actionParam	= attachmentInfo0 "testimage1.mbm" 10270 "image/x-epoc-mbm"
       
    42 
       
    43 [VerifyAttachmentInfo1]
       
    44 actionParam	= attachmentInfo1 "TestFile.txt" 4499 "text/plain"
       
    45 
       
    46 [VerifyAttachmentInfo2]
       
    47 actionParam	= attachmentInfo2 "testimage1.mbm" 10270 "image/x-epoc-mbm"