aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test818
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-11-03 21:34:38 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-11-03 21:36:46 +0000
commitaa61e14dc1b2b281a827dd0183a05b6166cb3427 (patch)
treed91af636e5c2cdfea0d866be51cd5cceebc51fa6 /tests/data/test818
parenta84a09ad0b558a04906900bf2e181ea37bb309dc (diff)
tests: Added test for IMAP NOOP command
Diffstat (limited to 'tests/data/test818')
-rw-r--r--tests/data/test81845
1 files changed, 45 insertions, 0 deletions
diff --git a/tests/data/test818 b/tests/data/test818
new file mode 100644
index 000000000..403313b15
--- /dev/null
+++ b/tests/data/test818
@@ -0,0 +1,45 @@
+<testcase>
+<info>
+<keywords>
+IMAP
+NOOP
+CUSTOMREQUEST
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data>
+* 22 EXPUNGE
+* 23 EXISTS
+* 3 RECENT
+* 14 FETCH (FLAGS (\Seen \Deleted))
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+imap
+</server>
+ <name>
+IMAP NOOP (CUSTOMREQUEST)
+ </name>
+ <command>
+imap://%HOSTIP:%IMAPPORT -X NOOP -u user:secret
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+A001 CAPABILITY
+A002 LOGIN user secret
+A003 NOOP
+A004 LOGOUT
+</protocol>
+</verify>
+</testcase>