|
1 |
|
2 // Clean down the message store. |
|
3 |
|
4 [GetBaseConstants] |
|
5 actionParam = inboxFolderId outboxFolderId draftsFolderId sentFolderId deletedFolderId |
|
6 |
|
7 [CreateSession] |
|
8 actionParam = session |
|
9 |
|
10 [ResetMessageStore] |
|
11 actionParam = session |
|
12 |
|
13 [CheckChildrenCount0] |
|
14 actionParam = session outboxFolderId 0 |
|
15 |
|
16 |
|
17 // Now put a single email in the inbox. |
|
18 |
|
19 [CreateImap4Service] |
|
20 actionParam = session _ _ _ _ "Imap4Service" "MyAccount" "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCImap4Settings.txt" imap4ServiceId |
|
21 |
|
22 [CreateSmtpService] |
|
23 actionParam = session _ _ _ _ "SmtpService" smtpServiceId |
|
24 |
|
25 |
|
26 [CreateRegistry] |
|
27 actionParam = session clientMtmRegistry |
|
28 |
|
29 [SetDefaultConfiguration0] |
|
30 actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfImap4Settings "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCImap4Settings.txt" |
|
31 //???? Must be changed to own directory for this test otherwise changing other people changing (valid as is) will break this test. |
|
32 |
|
33 [SetDefaultConfiguration1] |
|
34 actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfSmtpSettings "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCSmtpSettings.txt" |
|
35 //???? Must be changed to own directory for this test otherwise changing other people changing (valid as is) will break this test. |
|
36 |
|
37 [SetDefaultConfiguration2] |
|
38 actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfEmailFile "c:\msgtest\TestFramework\Configurations\EmailMessage\test1.txt" |
|
39 //???? Must be changed to own directory for this test otherwise changing other people changing (valid as is) will break this test. |
|
40 |
|
41 [SetImap4ServiceParameters] |
|
42 actionParam = session imap4ServiceId _ |
|
43 |
|
44 [SetSmtpServiceParameters] |
|
45 actionParam = session smtpServiceId _ |
|
46 |
|
47 [CreateSmtpMessageFromEmailFile0] |
|
48 actionParam = session smtpServiceId outboxFolderId 0 smtpMessageId |
|
49 |
|
50 [SleepDelay] |
|
51 actionParam = 1 |
|
52 |
|
53 [SaveMsvIdParamToFile] |
|
54 actionParam = smtpMessageId "c:\msgtest\SaveIntParamToFile.txt" |
|
55 // "c:\msgtest\SaveIntParamToFile.txt" |
|
56 |
|
57 [CheckChildrenCount1] |
|
58 actionParam = session outboxFolderId 1 |