xf.li | 6c8fc1e | 2023-08-12 00:11:09 -0700 | [diff] [blame^] | 1 | <testcase> |
| 2 | <info> |
| 3 | <keywords> |
| 4 | IMAP |
| 5 | Clear Text |
| 6 | STATUS |
| 7 | CUSTOMREQUEST |
| 8 | </keywords> |
| 9 | </info> |
| 10 | |
| 11 | # |
| 12 | # Server-side |
| 13 | <reply> |
| 14 | <data> |
| 15 | * STATUS %TESTNUMBER (MESSAGES 231 UIDNEXT 44292)
|
| 16 | </data> |
| 17 | </reply> |
| 18 | |
| 19 | # |
| 20 | # Client-side |
| 21 | <client> |
| 22 | <server> |
| 23 | imap |
| 24 | </server> |
| 25 | <name> |
| 26 | IMAP mailbox STATUS (CUSTOMREQUEST) |
| 27 | </name> |
| 28 | <command> |
| 29 | imap://%HOSTIP:%IMAPPORT -u user:secret -X 'STATUS %TESTNUMBER (UIDNEXT MESSAGES)' |
| 30 | </command> |
| 31 | </client> |
| 32 | |
| 33 | # |
| 34 | # Verify data after the test has been "shot" |
| 35 | <verify> |
| 36 | <protocol> |
| 37 | A001 CAPABILITY
|
| 38 | A002 LOGIN user secret
|
| 39 | A003 STATUS %TESTNUMBER (UIDNEXT MESSAGES)
|
| 40 | A004 LOGOUT
|
| 41 | </protocol> |
| 42 | </verify> |
| 43 | </testcase> |