mirror of
https://github.com/moparisthebest/davmail
synced 2024-12-13 11:12:22 -05:00
IMAP: new test case to show Thunderbird perf issue
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@1551 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
7e199b398a
commit
22532a2bc4
@ -349,4 +349,16 @@ public class TestImap extends AbstractDavMailTestCase {
|
||||
clientSocket.close();
|
||||
Thread.sleep(5000);
|
||||
}
|
||||
|
||||
public void testFetchRfc822Header() throws IOException {
|
||||
testSelectInbox();
|
||||
writeLine(". UID FETCH 1:* (UID RFC822.HEADER RFC822.SIZE FLAGS)");
|
||||
assertEquals(". OK UID FETCH completed", readFullAnswer("."));
|
||||
}
|
||||
|
||||
public void testThunderbirdHeaderFetch() throws IOException {
|
||||
testSelectInbox();
|
||||
writeLine(". UID FETCH 1:* (UID RFC822.SIZE FLAGS BODY.PEEK[HEADER.FIELDS (From To Cc Bcc Subject Date Message-ID Priority X-Priority References Newsgroups In-Reply-To Content-Type)])");
|
||||
assertEquals(". OK UID FETCH completed", readFullAnswer("."));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user