tests: Added tests for IMAP CREATE, DELETE and RENAME commands

This commit is contained in:
Steve Holme 2013-08-30 18:56:56 +01:00
parent 221825aebf
commit 75b52f9dcc
4 changed files with 118 additions and 1 deletions

39
tests/data/test813 Normal file
View file

@ -0,0 +1,39 @@
<testcase>
<info>
<keywords>
IMAP
RENAME
CUSTOMREQUEST
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
imap
</server>
<name>
IMAP RENAME Mailbox (CUSTOMREQUEST)
</name>
<command>
imap://%HOSTIP:%IMAPPORT -u user:secret -X 'RENAME 666 813'
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
A001 CAPABILITY
A002 LOGIN user secret
A003 RENAME 666 813
A004 LOGOUT
</protocol>
</verify>
</testcase>