aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test807
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2014-02-09 21:01:37 +0000
committerSteve Holme <steve_holme@hotmail.com>2014-02-09 21:21:10 +0000
commitdaa182afa6748e2596a46388a652aed925b5947b (patch)
tree94ede48c35dbea48ff74ccf58a36bbd66228a709 /tests/data/test807
parent230e872dbdaa7f0a86382862375b47ff9f175fc3 (diff)
tests: Added test for IMAP LSUB command
Diffstat (limited to 'tests/data/test807')
-rw-r--r--tests/data/test80744
1 files changed, 44 insertions, 0 deletions
diff --git a/tests/data/test807 b/tests/data/test807
new file mode 100644
index 000000000..20e96d114
--- /dev/null
+++ b/tests/data/test807
@@ -0,0 +1,44 @@
+<testcase>
+<info>
+<keywords>
+IMAP
+LSUB
+CUSTOMREQUEST
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data>
+* LSUB () "/" /807/blurdybloop
+* LSUB (\Noselect) "/" /807/foo
+* LSUB () "/" /807/foo/bar
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+imap
+</server>
+ <name>
+IMAP LSUB mailbox
+ </name>
+ <command>
+imap://%HOSTIP:%IMAPPORT -u user:secret -X 'LSUB "807" *'
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+A001 CAPABILITY
+A002 LOGIN user secret
+A003 LSUB "807" *
+A004 LOGOUT
+</protocol>
+</verify>
+</testcase>