Name Description Size
data
head_maillocal.js @implements {nsIMsgCopyServiceListener} 5847
test_bug457168.js Protocol tests for POP3. 3982
test_duplicateKey.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2469
test_fileName.js Test handling of special chars in folder names 4441
test_folderLoaded.js The intent of this file is to show a folder loaded event after a load with a null database. 2529
test_folderParse.js Tests to check local folder parsing. 2494
test_localFolder.js nsIMsgFolder.subFolders tests These tests intend to test pluggableStore.discoverSubFolders and nsIMsgFolder.hasSubFolders. 4333
test_mailboxContentLength.js Test content length for the mailbox protocol. This focuses on necko URLs that are run externally. 3507
test_mailboxProtocol.js Test suite for getting mailbox urls via the protocol handler. 1560
test_mailboxURL.js Tests for mailbox: URLs. 2596
test_mailStoreCompact.js Tests for nsIMsgPluggableStore compaction support. Tests _only_ the mailstore side - no folder/db involvement! 8776
test_mailStoreEnvData.js Test that messages without a "Date:" header are assigned a sensible default, and that it is preserved by folder repair. 3020
test_mboxMalformed.js Tests to check our mbox reading is forgiving enough to be tolerant of malformed mboxes in unambiguous cases. 5537
test_msgCopy.js 807
test_msgIDParsing.js Test bug 676916 - nsParseMailbox parses multi-line message-id header incorrectly 688
test_noTop.js A handler with no TOP support. 1576
test_noUidl.js A handler with no UIDL support. 2299
test_nsIMsgLocalMailFolder.js Test suite for local folder functions. 10036
test_nsIMsgParseMailMsgState.js 1463
test_nsIMsgPluggableStore.js nsIMsgPluggableStore interface tests 2366
test_over2GBMailboxes.js Test of accessing over 2 GiB local folder. 4019
test_over4GBMailboxes.js Test to ensure that operations around the 4GiB folder size boundary work correctly. This test only works for mbox format mail folders. Some of the tests will be removed when support for over 4GiB folders is enabled by default. The test functions are executed in this order: - run_test - ParseListener_run_test - downloadUnder4GiB - downloadOver4GiB_fail - downloadOver4GiB_success - downloadOver4GiB_success_check - copyIntoOver4GiB_fail - copyIntoOver4GiB_fail_check - copyIntoOver4GiB_success - copyIntoOver4GiB_success_check1 - copyIntoOver4GiB_success_check2 - compactOver4GiB - CompactListener_compactOver4GiB - compactUnder4GiB - CompactListener_compactUnder4GiB 21011
test_pop3AuthMethods.js Login tests for POP3 Test code <copied from="test_pop3GetNewMail.js"> 5472
test_Pop3Channel.js Test Pop3Channel can download a partial message correctly. 2383
test_pop3Client.js Test when alwaysSTARTTLS is set, but the server doesn't support STARTTLS, should abort after CAPA response. 3600
test_pop3Download.js Test that pop3 download code and message storage works correctly. 4976
test_pop3DownloadTempFileHandling.js The intent of this file is to test temp file handling when downloading multiple pop3 messages with quarantining turned on. Original author: David Bienvenu <dbienvenu@mozilla.com> 1761
test_pop3Duplicates.js The intent of this file is to test duplicate handling options in the pop3 download code. 1066
test_pop3FilterActions.js This file tests that a pop3 add tag filter writes the new tag into the message keywords header. It also tests marking read, and flagging messages. Original author: David Bienvenu <dbienvenu@mozilla.com> 5032
test_pop3Filters.js Inject a message to the server and do a GetNewMail for the incomingServer. 3449
test_pop3GetNewMail.js Protocol tests for POP3. 3294
test_pop3GSSAPIFail.js A server offers GSSAPI (Kerberos), but auth fails, due to client or server. This mainly tests whether we use the correct login mode. Whether it fails due to - client not set up - client ticket expired / not logged in - server not being set up properly makes no difference to Thunderbird, as that's all hidden in the gssapi-Library from the OS. So, the server here just returning err is a good approximation of reality of the above cases. Actually, we (more precisely the OS GSSAPI lib) fail out of band in the Kerberos protocol, before the AUTH GSSAPI command is even issued. @author Ben Bucksch 5775
test_pop3MoveFilter.js This file tests that a pop3 move filter doesn't leave the original message in the inbox. Original author: David Bienvenu <dbienvenu@mozilla.com> 4588
test_pop3MoveFilter2.js This file tests that a pop3 move filter doesn't reuse msg hdr info from previous moves. Original author: David Bienvenu <dbienvenu@mozilla.com> 3745
test_pop3MultiCopy.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 2936
test_pop3MultiCopy2.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 5599
test_pop3Password.js Authentication tests for POP3. 3912
test_pop3Password3.js Extra tests for POP3 passwords (forgetPassword) 2481
test_pop3PasswordFailure_rfc1939.js Tests password failure with RFC1939. This test checks to see if the pop3 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. 5892
test_pop3PasswordFailure_rfc2449.js Tests password failure with RFC2449 auth. This test checks to see if the pop3 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. 5848
test_pop3PasswordFailure_rfc5034.js Tests password failure with RFC5034 auth. This test checks to see if the pop3 password failure is handled correctly in the case of the server dropping the connection during auth login. We use POP3_RFC5034_handler so auth=login will be supported. 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. 6032
test_pop3Proxy.js Any copyright is dedicated to the Public Domain. http://creativecommons.org/publicdomain/zero/1.0/ 1826
test_pop3Pump.js The intent of this file is to demonstrate a minimal POP3 unit test using the testing file POP3Pump.js 1025
test_pop3ServerBrokenCRAMDisconnect.js Server which advertises CRAM-MD5, but is impolite enough to just disconnect (close the TCP connection) when we try it. This is a tough one, because we may lose state on which auth schemes are allowed and which ones failed and may restart from scratch, and retry, never skipping the failed scheme. Dear server implementors, NEVER DO THAT! Be polite, give an error with explanation and by all means keep the connection open. I don't know if real servers do that, but bienvenu says they exist. TODO: This test shows that the current situation is not good. Problems: - We should reopen the connection, remember which auth scheme failed and start with the next in list, not trying the broken one again. We currently neither retry nor remember. - incomingServer thinks it is still running/busy although the connection is clearly done and over. @author Ben Bucksch 3876
test_pop3ServerBrokenCRAMFail.js Server which advertises CRAM-MD5, but fails when it's tried. This reportedly happens for some misconfigured servers. 3112
test_preview.js 1534
test_saveMessage.js Test bug 460636 - Saving message in local folder as .EML removes starting dot in all lines, and ignores line if single dot only line. 2559
test_streamHeaders.js This mainly tests that streamHeaders does not result in the crash of bug 752768 adapted from test_pop3Pump.js by Kent James <kent@caspia.com> 2781
test_undoDelete.js 2497
test_verifyLogon.js This test checks to see if the pop3 verify logon handles password failure correctly. The steps are: - Set an invalid password on the server object. - Check that verifyLogon fails 2715
xpcshell.ini 1523