aboutsummaryrefslogtreecommitdiff
path: root/tests/data/test800
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2013-03-10 18:50:43 +0000
committerSteve Holme <steve_holme@hotmail.com>2013-03-10 19:02:37 +0000
commit5a6464ae094688c6eecfc84178bf12eb6f21cfbe (patch)
treee0ff45b89509065563cd3a3e89a1e062d34c6627 /tests/data/test800
parentfb327e42c676e2757d50b56486fbdbdef589b2ef (diff)
email-tests: Renamed the IMAP test to be 800
Continued segregating the email protocol tests, into their own protocol based ranges, in preparation of adding more e-mail related tests to the test suite.
Diffstat (limited to 'tests/data/test800')
-rw-r--r--tests/data/test80048
1 files changed, 48 insertions, 0 deletions
diff --git a/tests/data/test800 b/tests/data/test800
new file mode 100644
index 000000000..d52829272
--- /dev/null
+++ b/tests/data/test800
@@ -0,0 +1,48 @@
+<testcase>
+<info>
+<keywords>
+IMAP
+FETCH
+</keywords>
+</info>
+
+#
+# Server-side
+<reply>
+<data>
+From: me@somewhere
+To: fake@nowhere
+
+body
+
+--
+ yours sincerely
+</data>
+</reply>
+
+#
+# Client-side
+<client>
+<server>
+imap
+</server>
+ <name>
+IMAP FETCH
+ </name>
+ <command>
+'imap://%HOSTIP:%IMAPPORT/801/;UID=1' -u user:secret
+</command>
+</client>
+
+#
+# Verify data after the test has been "shot"
+<verify>
+<protocol>
+A001 CAPABILITY
+A002 LOGIN user secret
+A003 SELECT 801
+A004 FETCH 1 BODY[]
+A005 LOGOUT
+</protocol>
+</verify>
+</testcase>