messagingfw/msgtestfw/TestCases/ScriptedTestCases/Capabilities/Cap_CreateSingleEntryInInbox.ini
// Clean down the message store.
[GetBaseConstants]
actionParam = inboxFolderId outboxFolderId draftsFolderId sentFolderId deletedFolderId
[CreateSession]
actionParam = session
[ResetMessageStore]
actionParam = session
[CheckChildrenCount0]
actionParam = session inboxFolderId 0
// Now put a single email in the inbox.
[CreateImap4Service]
actionParam = session _ _ _ _ "Imap4Service" "MyAccount" "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCImap4Settings.txt" imap4ServiceId
[CreateSmtpService]
actionParam = session _ _ _ _ "SmtpService" smtpServiceId
[CreateRegistry]
actionParam = session clientMtmRegistry
[CreateImap4Mtm]
actionParam = session imap4ServiceId clientMtmRegistry imap4Mtm
[CreateSmtpMtm]
actionParam = session smtpServiceId clientMtmRegistry smtpMtm
[SetDefaultConfiguration0]
actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfImap4Settings "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCImap4Settings.txt"
//???? Must be changed to own directory for this test otherwise changing other people changing (valid as is) will break this test.
[SetDefaultConfiguration1]
actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfSmtpSettings "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCSmtpSettings.txt"
//???? Must be changed to own directory for this test otherwise changing other people changing (valid as is) will break this test.
[SetDefaultConfiguration2]
actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfEmailFile "c:\msgtest\TestFramework\Configurations\EmailMessage\test1.txt"
//???? Must be changed to own directory for this test otherwise changing other people changing (valid as is) will break this test.
[SetImap4ServiceParameters]
actionParam = session imap4ServiceId _
[SetSmtpServiceParameters]
actionParam = session smtpServiceId _
[CreateSmtpMessageFromEmailFile0]
actionParam = session smtpServiceId inboxFolderId 0 smtpMessageId
[SleepDelay]
actionParam = 1
[SaveMsvIdParamToFile]
actionParam = smtpMessageId "c:\msgtest\SaveIntParamToFile.txt"
// "c:\msgtest\SaveIntParamToFile.txt"
[CheckChildrenCount1]
actionParam = session inboxFolderId 1
[LoadMsvIdParamToFile]
actionParam = smtpMessageId "c:\msgtest\SaveIntParamToFile.txt"
// Remove
//[EMsvGetEntryParams0]
//actionParam = smtpMessageId smtpServiceId 1
// id of the message that was created, ServiceId, State=Expected to Pass where Pass(=1)/Fail(=0).
// Basically command, the arguments to send, and pass or fail.
// SID should be the same as that process which added the entry.
// Remove
//[EMsvGetEntryParams1]
//actionParam = smtpMessageId smtpServiceId 0
// id of the message that was created, ServiceId, State=Expected to Pass where Pass(=1)/Fail(=0).
// Basically command, the arguments to send, and pass or fail.
// SID should be different and not have caps as that process which added the entry.