Skip to content
Snippets Groups Projects
Commit 75b52f9d authored by Steve Holme's avatar Steve Holme
Browse files

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

parent 221825ae
No related branches found
No related tags found
No related merge requests found
......@@ -64,7 +64,7 @@ test700 test701 test702 test703 test704 test705 test706 test707 test708 \
test709 test710 test711 test712 \
\
test800 test801 test802 test803 test804 test805 test806 test807 test808 \
test809 test810 \
test809 test810 test811 test812 test813 \
\
test850 test851 test852 test853 test854 test855 test856 test857 \
\
......
<testcase>
<info>
<keywords>
IMAP
CREATE
CUSTOMREQUEST
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
imap
</server>
<name>
IMAP CREATE Mailbox (CUSTOMREQUEST)
</name>
<command>
imap://%HOSTIP:%IMAPPORT -u user:secret -X 'CREATE 811'
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
A001 CAPABILITY
A002 LOGIN user secret
A003 CREATE 811
A004 LOGOUT
</protocol>
</verify>
</testcase>
<testcase>
<info>
<keywords>
IMAP
DELETE
CUSTOMREQUEST
</keywords>
</info>
#
# Server-side
<reply>
</reply>
#
# Client-side
<client>
<server>
imap
</server>
<name>
IMAP DELETE Mailbox (CUSTOMREQUEST)
</name>
<command>
imap://%HOSTIP:%IMAPPORT -u user:secret -X 'DELETE 812'
</command>
</client>
#
# Verify data after the test has been "shot"
<verify>
<protocol>
A001 CAPABILITY
A002 LOGIN user secret
A003 DELETE 812
A004 LOGOUT
</protocol>
</verify>
</testcase>
<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>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment