diff -r 000000000000 -r 8e480a14352b messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/22-IR_RemoveAttachmentUsingInvalidIndex.INI --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/messagingfw/msgtestfw/TestCases/ScriptedTestCases/AttachmentAPIScripts/22-IR_RemoveAttachmentUsingInvalidIndex.INI Mon Jan 18 20:36:02 2010 +0200 @@ -0,0 +1,32 @@ +[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 + +[AddFileAttachmentByPath] +actionParam = thisSession messageId "c:\msgtest\TestFramework\ScriptedTestCases\AttachmentAPIScripts\data\TestFile.txt" "text/plain" attachmentId + +[CountAttachments0] +actionParam = thisSession messageId 1 attachmentCount0 + +[RemoveFileAttachmentByIndex] +actionParam = thisSession messageId 1 errorCode + +[CountAttachments1] +actionParam = thisSession messageId 1 attachmentCount1 + +[CheckErrorCode] +actionParam = errorCode 130