|
1 |
|
2 // Clean down the message store. |
|
3 |
|
4 |
|
5 [CreateSession] |
|
6 actionParam = session |
|
7 |
|
8 |
|
9 [CheckChildrenCount0] |
|
10 actionParam = session draftsFolderId 0 |
|
11 |
|
12 |
|
13 // Now put a single email in the folder. |
|
14 |
|
15 [CreateImap4Service] |
|
16 actionParam = session _ _ _ _ "Imap4Service" "MyAccount" "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCImap4Settings.txt" imap4ServiceId |
|
17 |
|
18 [CreateSmtpService] |
|
19 actionParam = session _ _ _ _ "SmtpService" smtpServiceId |
|
20 |
|
21 |
|
22 [CreateRegistry] |
|
23 actionParam = session clientMtmRegistry |
|
24 |
|
25 |
|
26 [CreateImap4Mtm] |
|
27 actionParam = session imap4ServiceId clientMtmRegistry imap4Mtm |
|
28 |
|
29 [CreateSmtpMtm] |
|
30 actionParam = session smtpServiceId clientMtmRegistry smtpMtm |
|
31 |
|
32 |
|
33 [SetDefaultConfiguration0] |
|
34 actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfImap4Settings "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCImap4Settings.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 [SetDefaultConfiguration1] |
|
38 actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfSmtpSettings "c:\msgtest\TestFramework\Configurations\EmailSettings\ODCSmtpSettings.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 [SetDefaultConfiguration2] |
|
42 actionParam = CMtfConfigurationType::TMtfConfigurationType::EMtfEmailFile "c:\msgtest\TestFramework\Configurations\EmailMessage\test1.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 [SetImap4ServiceParameters] |
|
46 actionParam = session imap4ServiceId _ |
|
47 |
|
48 [SetSmtpServiceParameters] |
|
49 actionParam = session smtpServiceId _ |
|
50 |
|
51 |
|
52 [SaveMsvIdFromParamToFile] |
|
53 actionParam = parentFromId "c:\msgtest\SaveIntFromParamToFile.txt" |
|
54 // contains the parent which we created earlier in a different process.. |
|
55 |
|
56 [CreateSmtpMessageFromEmailFile0] |
|
57 actionParam = session smtpServiceId parentFromId 0 smtpMessageId |
|
58 |
|
59 [SleepDelay] |
|
60 actionParam = 1 |
|
61 |
|
62 [SaveMsvIdParamToFile] |
|
63 actionParam = smtpMessageId "c:\msgtest\SaveIntParamToFile.txt" |
|
64 //Save the id of the message. |
|
65 |
|
66 |
|
67 [CheckChildrenCount1] |
|
68 actionParam = session parentFromId 1 |
|
69 |
|
70 |