Name Description Size
data
head_mailbase.js 660
nodelist_test.xml 128
test_accountMgr.js This tests that we cleanup the account prefs when the account manager is loaded. This entails removing duplicate accounts from mail.accountmanager.accounts list, and removing duplicate accounts with the same server. 4349
test_accountMgr2.js This tests various methods and attributes on nsIMsgAccountManager. 10416
test_accountMgrCustomTypes.js This tests that accounts with invalid types, such as could be created from an extension, do not disappear immediately when the extension is unloaded. Adapted from test_AccountMgr.js by Kent James <kent@caspia.com> 3723
test_accountMgrMovedLocalFolders.js 2010
test_accountMgrRemoveDefault.js This tests that if the default account is removed, the default becomes another account or null. The removed account must not remain the default. 2379
test_accountMgrUniqueServerKey.js Tests that the account manager does not reuse server keys within a session. If the pref `mail.server.serverX.type` exists for a value of X, or it did exist at some point since the start of the session, `serverX` must not be returned by `getUniqueServerKey`. 2652
test_acctRepair.js This tests that we recover from having a local folders server without having an account that points at it. 2183
test_bccInDatabase.js Testing of bcc in message summary file added in bug 481667 1358
test_bug428427.js @implements {nsIMsgCopyServiceListener} 7014
test_bug434810.js 1012
test_bug471682.js Test of message database validity on local copy from bug 471682. What we want to do here is to copy a couple of message to a new folder, and then compare the date and filesize of the folder file with the stored result in dbfolderinfo. If they don't match, that's bad. 3201
test_bug514945.js Testing of GetAvailable crashes in bug 514945 1346
test_closedDB.js Tests that an nsMsgDBFolder's database connection and listeners are restored when called by certain functions. 3610
test_compactColumnSave.js Test for https://bugzilla.mozilla.org/show_bug.cgi?id=710056 custom column header settings lost after folder compact adapted from test_folderCompact.js Basic test procedure: Open mail account create sub-folder named "folder2" Set custom column headings on folder2 Copy in two messages Remove one message Compact folder2 Close folder2 Reopen folder2 Check whether custom column headings are still there 6266
test_converterDeferredAccount.js @implements {nsIMsgCopyServiceListener} 6402
test_copyChaining.js @implements {nsIMsgCopyServiceListener} 2727
test_copyToInvalidDB.js Simple tests for copying local messages to a folder whose db is missing or invalid 3551
test_detachToFile.js Tests nsIMessenger's detachAttachmentsWOPrompts 4378
test_emptyTrash.js Test suite for empty trash Currently tested: - Empty local trash TODO - Empty imap trash 5106
test_fix_deferred_accounts.js This tests that we cleanup the account prefs when a pop3 account has been deferred to a hidden account. 2719
test_folderCompact.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 10457
test_folderCompact2.js A few more specific mbox compaction tests for local folders: - mbox file contains exactly what we expect after compaction? test_folderCompact.js tends to rely on checking values in the msgDB. - works with messages larger than compaction code internal buffer? - X-Mozilla-Status/Status2/Keys headers handled as expected? Note: all these tests perform a seemingly-arbitrary delete. This is to trigger the folder compactor to actually do work. Without that delete it tends to think that compaction isn't required and does nothing. 11823
test_folderLookupService.js This tests that nsIFolderLookupService works according to specification. 2781
test_folderStringProperties.js Test the nsIMsgFolder .(get|set)StringProperty methods. 1474
test_formatFileSize.js Tests for the formatFileSize method. 4013
test_getMsgTextFromStream.js Test suite for GetMsgTextFromStream. Currently tests: text/plain, text/html -- with tags stripped and without, base64, multipart. Does not currently test: quoted-printable, stripping quotes, UTF-8, small values of bytesToRead. 3594
test_headerFoldingInDatabase.js Testing header folding in nsParseMailMessageState::ParseHeaders(), see bug 1454257 and bug 1456001. 1428
test_hostnameUtils.js Tests for hostnameUtils.sys.mjs. 8701
test_identity.js Tests the UID attribute of identities. 2191
test_imapPump.js Simple demonstration of the imap pump test method. 2360
test_incomingServer.js Tests the UID attribute of IMAP servers. 2540
test_inheritedFolderProperties.js Testing of inherited folder properties 4062
test_junkingWhenDisabled.js Test that junk actions work even when the bayes filtering of incoming messages is disabled, as fixed in bug 487610. Test developed by Kent James using test_nsMsgDBView.js as a base. 5962
test_loadVirtualFolders.js 2230
test_mailServices.js Tests for the MailServices module. 2420
test_mailstoreConverter.js Helper to create a server, account and inbox, and install an mbox file. @param {string} srvName - A unique server name to use for the test. @param {string} mboxFilename - mbox file to install and convert. @returns {nsIMsgIncomingServer} a server. 13288
test_mimemaltdetach.js Tests nsIMessenger's detachAttachmentsWOPrompts of Mime multi-part alternative messages. 4565
test_msgHdrProperties.js 3752
test_MsgIncomingServer.js Test password is migrated when changing hostname/username. 7803
test_MsgKeySet.js Test MsgKeySet.addRange works correctly. 2338
test_newMailNotification.js Tests for platform-independent code to count new and unread messages and pass the information to platform-specific notification modules 6106
test_nsIFolderListener.js Test that adding nsIFolderListener in js does not cause any crash. 1378
test_nsIMsgContentPolicy.js Test suite for nsIMsgContentPolicy to check we could add/remove customized protocol to nsMsgContentPolicy. 1990
test_nsIMsgFolder.js Test suite for nsIMsgFolder functions. 3438
test_nsIMsgFolderCache.js Sanity checks for nsIMsgFolderCache/nsIMsgFolderCacheElement. 9584
test_nsIMsgFolderListener.js Test suite for basic functionality with nsIMsgFolderListeners. 6494
test_nsIMsgFolderListenerLocal.js Test suite for nsIMsgFolderListener events due to local mail folder operations. Currently tested: - Adding new folders - Copy messages from files into the db - Moving and copying one or more messages from one local folder to another - Moving folders, with and without subfolders - Renaming folders - Deleting messages and folders, to trash and from trash (permanently) 12492
test_nsIMsgTagService.js Tests of nsIMsgTagService. Specifically tests changes implemented in bug 217034 Does not do comprehensive testing. 3716
test_nsMailDirProvider.js Test suite for nsMailDirProvider to check we get the right directories and files. 709
test_nsMsgDBView.js Attempt to test nsMsgDBView and descendants. Right now this means we: - Ensure sorting and grouping sorta works, including using custom columns. Things we really should do: - Test that secondary sorting works, especially when the primary column is a custom column. You may also want to look into the test_viewWrapper_*.js tests as well. 37188
test_nsMsgDBView_headerValues.js Test that nsMsgDBView properly reports the values of messages in the display. 3808
test_nsMsgMailSession_Alerts.js Test suite for nsMsgMailSession functions relating to alerts and their listeners. 5086
test_nsMsgMailSession_Listeners.js Test suite for nsMsgMailSession functions relating to listeners. 4717
test_nsMsgTraitService.js 3857
test_oAuth2Module.js Tests that refresh tokens are correctly retrieved from the login manager. 14263
test_postPluginFilters.js tests post-plugin message filters as implemented in bug 198100 5687
test_retention.js Simple tests for retention settings. In particular, we'd like to make sure that applying retention settings works with the new code that avoids opening db's to apply retention settings if the folder doesn't override the server defaults. 2808
test_saveAs.js Invokes nsMessenger::saveAs with the bypass of the File Picker to check if the saved file as .eml .html or .txt contains certain strings (header, body, ...). See `checkedContent` for the compared strings. 5169
test_testsuite_base64.js Tests functions atob() and btoa() in mailnews/test/resources/MailTestUtils.sys.mjs. Note: btoa() = base64 encode atob() = base64 decode (i.e. "binary" = plain, and "ascii" = encoded) 562
test_testsuite_fakeserver_imapd_gmail.js 3185
test_testsuite_fakeserver_imapd_list-extended.js 5877
test_testsuite_fakeserverAuth.js Tests functions in mailnews/test/fakeserver/Auth.sys.mjs which are responsible for the authentication in the fakeserver. Do NOT essentially re-code the auth schemes here, just check roundtrips, against static values etc.. 1648
test_threadMsgCounts.js Tests the values of totalCol, unreadCol, and newCol for threads in various views. 15171
test_viewSortByAddresses.js Attempt to test nsMsgDBView's handling of sorting by sender/recipients when using a display name from the address book. 4248
test_virtualFolders1.js Tests that subfolders added to searched folders are also searched. 5692
test_virtualFolders2.js Tests problems emptying a Trash folder that is searched by a virtual folder. 2875
test_virtualFolders3.js Tests that subfolders added to searched folders are also searched. 7228
test_virtualFolders4.js Tests that sizeOnDisk succeeds returning 0 for virtual folders in both message storage formats. 1620
xpcshell-imap.ini 121
xpcshell.ini 2248