xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
2 | <info> | ||||
3 | <keywords> | ||||
4 | IMAP | ||||
5 | Clear Text | ||||
6 | SELECT | ||||
7 | UIDVALIDITY | ||||
8 | </keywords> | ||||
9 | </info> | ||||
10 | |||||
11 | # | ||||
12 | # Server-side | ||||
13 | <reply> | ||||
14 | <data> | ||||
15 | body | ||||
16 | |||||
17 | -- | ||||
18 | yours sincerely | ||||
19 | </data> | ||||
20 | </reply> | ||||
21 | |||||
22 | # | ||||
23 | # Client-side | ||||
24 | <client> | ||||
25 | <server> | ||||
26 | imap | ||||
27 | </server> | ||||
28 | <name> | ||||
29 | IMAP SELECT UIDVALIDITY Success | ||||
30 | </name> | ||||
31 | <command> | ||||
32 | 'imap://%HOSTIP:%IMAPPORT/%TESTNUMBER;UIDVALIDITY=3857529045/;MAILINDEX=123/;SECTION=TEXT' -u user:secret | ||||
33 | </command> | ||||
34 | </client> | ||||
35 | |||||
36 | # | ||||
37 | # Verify data after the test has been "shot" | ||||
38 | <verify> | ||||
39 | <protocol> | ||||
40 | A001 CAPABILITY | ||||
41 | A002 LOGIN user secret | ||||
42 | A003 SELECT %TESTNUMBER | ||||
43 | A004 FETCH 123 BODY[TEXT] | ||||
44 | A005 LOGOUT | ||||
45 | </protocol> | ||||
46 | </verify> | ||||
47 | </testcase> |