2014-02-10 01:01:37 +04:00
|
|
|
<testcase>
|
|
|
|
<info>
|
|
|
|
<keywords>
|
|
|
|
IMAP
|
2014-03-30 14:40:50 +04:00
|
|
|
Clear Text
|
2014-02-10 01:01:37 +04:00
|
|
|
LSUB
|
2014-03-30 19:05:22 +04:00
|
|
|
CUSTOMREQUEST
|
2014-02-10 01:01:37 +04:00
|
|
|
</keywords>
|
|
|
|
</info>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Server-side
|
|
|
|
<reply>
|
|
|
|
<data>
|
2021-03-12 19:38:26 +03:00
|
|
|
* LSUB () "/" /%TESTNUMBER/blurdybloop
|
|
|
|
* LSUB (\Noselect) "/" /%TESTNUMBER/foo
|
|
|
|
* LSUB () "/" /%TESTNUMBER/foo/bar
|
2014-02-10 01:01:37 +04:00
|
|
|
</data>
|
|
|
|
</reply>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Client-side
|
|
|
|
<client>
|
|
|
|
<server>
|
|
|
|
imap
|
|
|
|
</server>
|
|
|
|
<name>
|
|
|
|
IMAP LSUB mailbox
|
|
|
|
</name>
|
|
|
|
<command>
|
2021-03-12 19:38:26 +03:00
|
|
|
imap://%HOSTIP:%IMAPPORT -u user:secret -X 'LSUB "%TESTNUMBER" *'
|
2014-02-10 01:01:37 +04:00
|
|
|
</command>
|
|
|
|
</client>
|
|
|
|
|
|
|
|
#
|
|
|
|
# Verify data after the test has been "shot"
|
|
|
|
<verify>
|
|
|
|
<protocol>
|
|
|
|
A001 CAPABILITY
|
|
|
|
A002 LOGIN user secret
|
2021-03-12 19:38:26 +03:00
|
|
|
A003 LSUB "%TESTNUMBER" *
|
2014-02-10 01:01:37 +04:00
|
|
|
A004 LOGOUT
|
|
|
|
</protocol>
|
|
|
|
</verify>
|
|
|
|
</testcase>
|