Name Description Size Coverage
data -
test_accountConfig.js 5423 -
test_accountCreationUtils.js 8104 -
test_autoconfigUtils.js Tests for GuessConfig.sys.mjs Currently tested: - getHostEntry function. - getIncomingTryOrder function. - getOutgoingTryOrder function. TODO: - Test the returned CMDS. - Figure out what else to test. 9836 -
test_autoconfigXML.js Tests accountcreation/readFromXML.js , reading the XML files containing a mail configuration. To allow forwards-compatibility (add new stuff in the future without breaking old clients on the new files), we are now fairly tolerant when reading and allow fallback mechanisms. This test checks whether that works, and of course also whether we can read a normal config and get the proper values. 29759 -
test_fetchConfig.js Tests the FetchConfig module, getting a configuration file from the local `isp` directory, the ISP's server, or the autoconfig service server, and reading that file. 15327 -
test_fetchHTTP.js Initialize the mock server, including a HTTP server at http://test.test and a HTTPS variant at https://test.test. 17550 -
test_findConfig.js Tests the Find Config module functions. test_fetchConfig tests the network calls already, so just testing the config result. 15488 -
test_guessConfig.js Tests the GuessConfig module, starting with the basic function for checking a server's response, then adding more layers until finally doing a full configuration guess. This test uses mock servers, behind a SOCKS proxy pretending they exist with known hostnames and standard ports. It also creates exceptions for TLS connections using a test certificate. 26073 -
test_ldapDirectoryUtils.js Returns fresh credentials, using optional override properties as a param. @param {object?} newValues - Properties to override in the credentials. @returns {object} 5876 -
test_remoteAddressBookUtils.js Check a found book against the expected values for it. @param {foundBook} book - The found book object. @param {number} index - The index of the expected book. 15546 -
test_sanitizer.js Array of test value for each of the sanitizers. The value key hold the input to the sanitizer. The key with the name of the sanitizer function holds the expected result. If the result value is an object with a "throws" key, the sanitizer is instead expected to throw a MalformedException with the given string from the stringbundle as message. Generally this covers all the sanitizer methods taking a single argument, the others have custom tests to account for the extra arguments explicitly. @type {object[]} 28094 -
xpcshell.toml 574 -