mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 11:12:22 -05:00
IMAP: test custom header search
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1698 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
448c2f5f7a
commit
48761a6619
@ -308,6 +308,14 @@ public class TestImap extends AbstractImapTestCase {
|
||||
assertEquals(". OK UID FETCH completed", readFullAnswer("."));
|
||||
}
|
||||
|
||||
public void testSearchHeader() throws IOException {
|
||||
testSelectInbox();
|
||||
writeLine(". UID SEARCH HEADER X-TUID testvalue");
|
||||
assertEquals(". OK SEARCH completed", readFullAnswer("."));
|
||||
writeLine(". UID SEARCH HEADER X-OfflineIMAP \"testvalue\"");
|
||||
assertEquals(". OK SEARCH completed", readFullAnswer("."));
|
||||
}
|
||||
|
||||
public void testBrokenPipe() throws IOException, InterruptedException {
|
||||
testSelectInbox();
|
||||
writeLine(". UID FETCH 1:* (RFC822.SIZE BODY.TEXT)");
|
||||
|
Loading…
Reference in New Issue
Block a user