head_imap_maildir.js |
import-globals-from head_server.js |
213 |
head_server.js |
@param {object} fromServer - Object got from server.playTransaction()
@param {string[]} fromServer.us - Commands from us.
@param {string[]} fromServer.them - Commands from them.
@param {string[]} expected - Expected commands like ["command", "command", ...]
@param {boolean} withParams - if false,
everything apart from the IMAP command will the stripped.
E.g. 'lsub "" "*"' will be compared as 'lsub'.
Exception is "authenticate", which also get its first parameter in upper case,
e.g. "authenticate CRAM-MD5".
|
6211 |
test_autosync_date_constraints.js |
Test autosync date constraints
|
3023 |
test_bccProperty.js |
Test to ensure that BCC gets added to message headers on IMAP download
adapted from test_downloadOffline.js
original author Kent James <kent@caspia.com>
|
1547 |
test_bug460636.js |
Test bug 460636 - nsMsgSaveAsListener sometimes inserts extra LF characters
|
2081 |
test_chunkLastLF.js |
Test content length for the IMAP protocol. This focuses on necko URLs
that are run externally.
|
4462 |
test_compactOfflineStore.js |
Test to ensure that compacting offline stores works correctly with imap folders
and returns success.
|
6778 |
test_converterImap.js |
|
3751 |
test_copyThenMove.js |
This file extends test_imapFolderCopy.js to test message
moves from a local folder to an IMAP folder.
Original Author: Kent James <kent@caspia.com>
|
5442 |
test_customCommandReturnsFetchResponse.js |
Test to ensure that imap customCommandResult function works properly
Bug 778246
|
4197 |
test_dontStatNoSelect.js |
|
5356 |
test_downloadOffline.js |
Test to ensure that downloadAllForOffline works correctly with imap folders
and returns success.
|
5132 |
test_fetchCustomAttribute.js |
Test to ensure that imap fetchCustomMsgAttribute function works properly
|
3308 |
test_fetchWhileLocked.js |
|
4165 |
test_filterCustomHeaders.js |
This file tests hdr parsing in the filter running context, specifically
filters on custom headers.
See https://bugzilla.mozilla.org/show_bug.cgi?id=655578
for more info.
Original author: David Bienvenu <bienvenu@mozilla.com>
|
2245 |
test_filterNeedsBody.js |
This file tests the needsBody attribute added to a
custom filter action in bug 555051.
Original author: Kent James <kent@caspia.com>
adapted from test_imapFilterActions.js
|
3030 |
test_folderOfflineFlags.js |
Test that the folders that should get flagged for offline use do, and that
those that shouldn't don't.
|
3511 |
test_gmailAttributes.js |
Test to ensure that, in case of GMail server, fetching of custom GMail
attributes works properly.
Bug 721316
See https://bugzilla.mozilla.org/show_bug.cgi?id=721316
for more info.
Original Author: Atul Jangra<atuljangra66@gmail.com>
|
2879 |
test_gmailOfflineMsgStore.js |
Test to ensure that, in case of GMail server, fetching of a message, which is
already present in offline store of some folder, from a folder doesn't make
us add it to the offline store twice(in this case, in general it can be any
number of times).
Bug 721316
See https://bugzilla.mozilla.org/show_bug.cgi?id=721316
for more info.
Original Author: Atul Jangra<atuljangra66@gmail.com>
|
7002 |
test_imapAttachmentSaves.js |
Tests imap save and detach attachments.
|
6066 |
test_imapAuthMethods.js |
Login tests for IMAP
Test code <copied from="test_mailboxes.js">
and <copied from="test_pop3AuthMethods.js">
BUGS:
- cleanup after each test doesn't seem to work correctly. Effects:
- one more "lsub" per test, e.g. "capability", "auth...", "lsub", "lsub", "lsub", "list" in the 3. test.,
- root folder check succeeds although login failed
- removeIncomingServer(..., true); (cleanup files) fails.
|
4545 |
test_imapAutoSync.js |
|
7871 |
test_imapChunks.js |
Test bug 92111 - imap download-by-chunks doesn't download complete file if the
server lies about rfc822.size (known to happen for Exchange and gmail)
|
3948 |
test_imapClientid.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
1621 |
test_imapContentLength.js |
Test content length for the IMAP protocol. This focuses on necko URLs
that are run externally.
|
3177 |
test_imapCopyTimeout.js |
import-globals-from ../../../test/resources/alertTestUtils.js |
4323 |
test_imapFilterActions.js |
This file tests imap filter actions, particularly as affected by the
addition of body searches in bug 127250. Actions that involves sending
mail are not tested. The tests check various counts, and the effects
on the message database of the filters. Effects on IMAP server
flags, if any, are not tested.
Original author: Kent James <kent@caspia.com>
adapted from test_localToImapFilter.js
|
19090 |
test_imapFilterActionsPostplugin.js |
This file tests imap filter actions post-plugin, which uses nsMsgFilterAfterTheFact
Original author: Kent James <kent@caspia.com>
adapted from test_imapFilterActions.js
|
13164 |
test_imapFlagChange.js |
Test to ensure that imap flag changes made from a different profile/machine
are stored in db.
|
7086 |
test_imapFolderCopy.js |
|
4427 |
test_imapHdrChunking.js |
Tests imap msg header download chunking
|
6114 |
test_imapHdrStreaming.js |
This test checks if the imap message service code streams headers correctly.
It checks that streaming headers for messages stored for offline use works.
It doesn't test streaming messages that haven't been stored for offline use
because that's not implemented yet, and it's unclear if anyone will want it.
|
2852 |
test_imapHighWater.js |
import-globals-from ../../../test/resources/alertTestUtils.js |
6848 |
test_imapID.js |
Test to ensure that we handle the RFC2197 ID command.
|
1373 |
test_imapMove.js |
import-globals-from ../../../test/resources/logHelper.js |
2724 |
test_imapPasswordFailure.js |
This test checks to see if the imap password failure is handled correctly.
The steps are:
- Have an invalid password in the password database.
- Check we get a prompt asking what to do.
- Check retry does what it should do.
- Check cancel does what it should do.
- Re-initiate connection, this time select enter new password, check that
we get a new password prompt and can enter the password.
|
4635 |
test_imapProtocols.js |
Test suite for IMAP nsIProtocolHandler implementations.
|
1805 |
test_imapProxy.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
2465 |
test_imapRename.js |
|
1528 |
test_ImapResponse.js |
Test CAPABILITY response can be correctly parsed.
|
7677 |
test_imapSearch.js |
Tests traditional (non-gloda) search on IMAP folders.
Derived from a combination of test_imapPump.js and test_search.js
Original author: Kent James <kent@caspia.com>
|
8011 |
test_imapStatusCloseDBs.js |
|
1688 |
test_imapStoreMsgOffline.js |
This test checks if the imap protocol code saves message to
offline stores correctly, when we fetch the message for display.
It checks:
- Normal messages, no attachments.
- Message with inline attachment (e.g., image)
- Message with non-inline attachment (e.g., .doc file)
- Message with mix of attachment types.
|
7502 |
test_imapUndo.js |
|
5206 |
test_imapUrls.js |
Test parsing of imap uri's with very large UID's.
|
758 |
test_largeOfflineStore.js |
Test to ensure that downloadAllForOffline works correctly for large imap
stores, i.e., over 4 GiB.
|
4915 |
test_listClosesDB.js |
|
1918 |
test_listSubscribed.js |
Test that listing subscribed mailboxes uses LIST (SUBSCRIBED) instead of LSUB
for servers that have LIST-EXTENDED capability
|
4402 |
test_localToImapFilter.js |
This file tests copies of multiple messages using filters
from incoming POP3, with filter actions copying and moving
messages to IMAP folders. This test is adapted from
test_imapFolderCopy.js
Original author: Kent James <kent@caspia.com>
|
5163 |
test_localToImapFilterQuarantine.js |
This file tests copies of multiple messages using filters
from incoming POP3, with filter actions copying and moving
messages to an IMAP folder, when the POP3 message uses
quarantining to help antivirus software. See bug 387361.
|
3832 |
test_lsub.js |
|
2558 |
test_mailboxes.js |
Tests basic mailbox handling of IMAP, like discovery, rename and empty folder.
|
2986 |
test_nsIMsgFolderListenerIMAP.js |
Test suite for nsIMsgFolderListener events due to IMAP operations
Currently tested
- Adding new folders
- Copying messages from files to mailboxes
- Adding new messages directly to mailboxes
NOTE (See Bug 1632022):
Running this test by itself...
$ ./mach xpcshell-test comm/mailnews/imap/test/unit/test_nsIMsgFolderListenerIMAP.js
...will fail.
This is because all the IMAP tests run twice - once with mbox storage and
once with maildir storage. For this test, the two parallel instances
interact badly.
|
11270 |
test_nstmpCleanup.js |
Test that nstmpCleanup() works. It's an idle task (see MailGlue.sys.mjs)
which removes nstmp (and nstmp-NNNN) files left over from old, failed
folder compaction operations.
|
4878 |
test_offlineCopy.js |
This test checks pseudo-offline message copies (which is triggered
by allowUndo == true in copyMessages).
|
7415 |
test_offlineDraftDataloss.js |
This file tests that a message saved as draft in an IMAP folder in offline
mode is not lost when going back online
See Bug 805626
|
4222 |
test_offlineMoveLocalToIMAP.js |
Test to check that offline IMAP operation for a local->IMAP message
move completes correctly once we go back online.
|
3720 |
test_offlinePlayback.js |
Test to ensure that changes made while offline are played back when we
go back online.
|
5981 |
test_offlineStoreLocking.js |
Test to ensure that code that writes to the imap offline store deals
with offline store locking correctly.
|
8005 |
test_preserveDataOnMove.js |
helper functions
|
3030 |
test_saveImapDraft.js |
This file tests that a message saved as draft in an IMAP folder is correctly
marked as unread.
|
3124 |
test_saveTemplate.js |
Tests imap save of message as a template, and test initial save right after
creation of folder.
|
3265 |
test_starttlsFailure.js |
This test checks that we handle the server dropping the connection
on starttls. Since fakeserver doesn't support STARTTLS, I've made
it drop the connection when it's attempted.
|
2826 |
test_stopMovingToLocalFolder.js |
Test that the message failed to move to a local folder remains on IMAP
server. |
2757 |
test_subfolderLocation.js |
Any copyright is dedicated to the Public Domain.
http://creativecommons.org/publicdomain/zero/1.0/ |
2662 |
test_syncChanges.js |
Test to ensure that changes made from a different profile/machine
are synced correctly. In particular, we're checking that emptying out
an imap folder on the server makes us delete all the headers from our db.
|
2803 |
test_trustSpamAssassin.js |
This file tests recognizing a message as junk due to
SpamAssassin headers, and marking that as good
without having the message return to the junk folder,
as discussed in bug 540385.
adapted from test_filterNeedsBody.js
|
4772 |
xpcshell-cpp.ini |
|
317 |
xpcshell-shared.ini |
|
1547 |
xpcshell.ini |
|
202 |
xpcshell_maildir-cpp.ini |
|
276 |
xpcshell_maildir.ini |
|
161 |