imap: Added test801 for UID and SECTION URL parameters

This commit is contained in:
Jiri Hruska
2013-03-10 20:37:41 +01:00
committed by Steve Holme
parent b12ddc4eed
commit 0d49f92872
2 changed files with 46 additions and 1 deletions

45
tests/data/test801 Normal file
View File

@@ -0,0 +1,45 @@
<testcase>
<info>
<keywords>
IMAP
FETCH
</keywords>
</info>
#
# Server-side
<reply>
<data>
body
--
yours sincerely
</data>
</reply>
#
# Client-side
<client>
<server>
imap
</server>
<name>
IMAP FETCH by UID and SECTION
</name>
<command>
'imap://%HOSTIP:%IMAPPORT/801/;UID=123/;SECTION=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 123 BODY[1]
A005 LOGOUT
</protocol>
</verify>
</testcase>