|
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 inboxFolderId 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 |
|
30 [CreateImap4Mtm] |
|
31 actionParam = session imap4ServiceId clientMtmRegistry imap4Mtm |
|
32 |
|
33 [CreateSmtpMtm] |
|
34 actionParam = session smtpServiceId clientMtmRegistry smtpMtm |
|
35 |
|
36 |
|
37 [SetDefaultConfiguration0] |
|
38 actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfImap4Settings "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCImap4Settings.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 [SetDefaultConfiguration1] |
|
42 actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfSmtpSettings "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCSmtpSettings.txt" |
|
43 //???? Must be changed to own directory for this test otherwise changing other people changing (valid as is) will break this test. |
|
44 |
|
45 [SetDefaultConfiguration2] |
|
46 actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfEmailFile "c:\msgtest\TestFramework\Configurations\EmailMessage\test1.txt" |
|
47 //???? Must be changed to own directory for this test otherwise changing other people changing (valid as is) will break this test. |
|
48 |
|
49 [SetImap4ServiceParameters] |
|
50 actionParam = session imap4ServiceId _ |
|
51 |
|
52 [SetSmtpServiceParameters] |
|
53 actionParam = session smtpServiceId _ |
|
54 |
|
55 [CreateSmtpMessageFromEmailFile0] |
|
56 actionParam = session smtpServiceId inboxFolderId 0 smtpMessageId |
|
57 |
|
58 [SleepDelay] |
|
59 actionParam = 1 |
|
60 |
|
61 [SaveMsvIdParamToFile] |
|
62 actionParam = smtpMessageId "c:\msgtest\SaveIntParamToFile.txt" |
|
63 // "c:\msgtest\SaveIntParamToFile.txt" |
|
64 |
|
65 |
|
66 [CheckChildrenCount1] |
|
67 actionParam = session inboxFolderId 1 |
|
68 |
|
69 [LoadMsvIdParamToFile] |
|
70 actionParam = smtpMessageId "c:\msgtest\SaveIntParamToFile.txt" |
|
71 |
|
72 |
|
73 // Remove |
|
74 //[EMsvGetEntryParams0] |
|
75 //actionParam = smtpMessageId smtpServiceId 1 |
|
76 // id of the message that was created, ServiceId, State=Expected to Pass where Pass(=1)/Fail(=0). |
|
77 // Basically command, the arguments to send, and pass or fail. |
|
78 // SID should be the same as that process which added the entry. |
|
79 |
|
80 // Remove |
|
81 //[EMsvGetEntryParams1] |
|
82 //actionParam = smtpMessageId smtpServiceId 0 |
|
83 // id of the message that was created, ServiceId, State=Expected to Pass where Pass(=1)/Fail(=0). |
|
84 // Basically command, the arguments to send, and pass or fail. |
|
85 // SID should be different and not have caps as that process which added the entry. |