diff options
author | Steve Holme <steve_holme@hotmail.com> | 2013-04-29 12:43:18 +0100 |
---|---|---|
committer | Steve Holme <steve_holme@hotmail.com> | 2013-04-29 12:53:09 +0100 |
commit | b56e3d43e5de43121779dfbbe0f7d1a19bef8c7b (patch) | |
tree | c14f8702dd8e6cf26b4d932bedb957d81c33d2b6 /tests/data/test809 | |
parent | f317ffb7bbd18428ab3275ac47bf82f146f6c066 (diff) |
tests: Added imap STATUS command test
Diffstat (limited to 'tests/data/test809')
-rw-r--r-- | tests/data/test809 | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/tests/data/test809 b/tests/data/test809 new file mode 100644 index 000000000..099dd3322 --- /dev/null +++ b/tests/data/test809 @@ -0,0 +1,42 @@ +<testcase> +<info> +<keywords> +IMAP +STATUS +CUSTOMREQUEST +</keywords> +</info> + +# +# Server-side +<reply> +<data> +* STATUS 809 (MESSAGES 231 UIDNEXT 44292)
+</data> +</reply> + +# +# Client-side +<client> +<server> +imap +</server> + <name> +IMAP STATUS (CUSTOMREQUEST) + </name> + <command> +imap://%HOSTIP:%IMAPPORT -u user:secret -X 'STATUS 809 (UIDNEXT MESSAGES)' +</command> +</client> + +# +# Verify data after the test has been "shot" +<verify> +<protocol> +A001 CAPABILITY
+A002 LOGIN user secret
+A003 STATUS 809 (UIDNEXT MESSAGES)
+A004 LOGOUT
+</protocol> +</verify> +</testcase> |