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