aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test806
diff options
context:
space:
mode:
authorJiri Hruska <jirka@fud.cz>2013-03-10 21:13:59 +0100
committerSteve Holme <steve_holme@hotmail.com>2013-03-10 20:20:10 +0000
commit245f522761b3703132aea2c7955359643372d605 (patch)
treef67fbad23cab5bda1fe9e493b31c99dfdbd3676a /tests/data/test806
parent90c83861875d4b8e07eea56206d26cb4fdabf653 (diff)
downloadgnurl-245f522761b3703132aea2c7955359643372d605.tar.gz
gnurl-245f522761b3703132aea2c7955359643372d605.tar.bz2
gnurl-245f522761b3703132aea2c7955359643372d605.zip
imap: Added test806 for IMAP (folder) LIST command
Diffstat (limited to 'tests/data/test806')
-rw-r--r--tests/data/test80643
1 files changed, 43 insertions, 0 deletions
diff --git a/tests/data/test806 b/tests/data/test806
new file mode 100644
index 000000000..904b5cf35
--- /dev/null
+++ b/tests/data/test806
@@ -0,0 +1,43 @@
+<testcase>
+<info>
+<keywords>
+IMAP
+LIST
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data>
+* LIST () "/" /806/blurdybloop
+* LIST (\Noselect) "/" /806/foo
+* LIST () "/" /806/foo/bar
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+imap
+</server>
+ <name>
+IMAP LIST
+ </name>
+ <command>
+-u user:secret 'imap://%HOSTIP:%IMAPPORT/806/'
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+A001 CAPABILITY
+A002 LOGIN user secret
+A003 LIST "806" *
+A004 LOGOUT
+</protocol>
+</verify>
+</testcase>