Граф коммитов

464 Коммитов

Автор SHA1 Сообщение Дата
Joshua Cranmer 9605d1794a Bug 1018624, part 2: Use json storage database files instead of sqlite, r=Standard8. 2014-06-06 10:14:39 -05:00
Joshua Cranmer 46ec8c572e Bug 1018624 - Asynchronously load password storage in tests, r=Standard8, a=bustage-fix for CLOSED TREE.
--HG--
extra : rebase_source : e04c59e970ee122a47e5cf73cf263ccf1f040eff
2014-06-03 08:44:03 -05:00
Kent James 7ef50e8ffc Bug 1014350 - disable (reluctantly) failing on console errors in testing, r=jcranmer 2014-05-25 14:21:32 -07:00
Kent James 1b110a4870 Bug 1011597 - Use promise-based listener in test_imapPump, r=jcranmer 2014-05-19 13:21:36 -07:00
Joshua Cranmer a277df832e Bug 905910: Run comm-central xpcshell tests in parallel, r=Standard8, a=jcranmer 2014-04-28 10:30:57 -05:00
Magnus Melin 15079ea55f Backout 7342df10a60f due to OSX10.8 orange. Bug 904458. 2014-04-19 22:58:28 +03:00
Magnus Melin e608db4f3b Bug 904458 - Filters that "Reply with Template" must add an Auto-Submitted header and prefix subject Auto:. r=irving
Tests originally by Kent James
2014-04-19 13:00:32 +03:00
Joshua Cranmer 1bdab9b772 Bug 959309: Import JSMime 0.2 into comm-central, r=irving, sr=Standard8
--HG--
rename : mailnews/mime/jsmime/README => mailnews/mime/jsmime/README.md
rename : mailnews/mime/jsmime/mimeParserCore.js => mailnews/mime/jsmime/jsmime.js
rename : mailnews/test/data/base64-1 => mailnews/mime/jsmime/test/data/base64-1
rename : mailnews/test/data/base64-2 => mailnews/mime/jsmime/test/data/base64-2
rename : mailnews/test/data/basic1 => mailnews/mime/jsmime/test/data/basic1
rename : mailnews/test/data/bug505221 => mailnews/mime/jsmime/test/data/bug505221
rename : mailnews/test/data/bugmail11 => mailnews/mime/jsmime/test/data/bugmail11
rename : mailnews/test/data/mime-torture => mailnews/mime/jsmime/test/data/mime-torture
rename : mailnews/test/data/multipart-base64-1 => mailnews/mime/jsmime/test/data/multipart-base64-1
rename : mailnews/test/data/multipart-base64-2 => mailnews/mime/jsmime/test/data/multipart-base64-2
rename : mailnews/test/data/multipart-base64-3 => mailnews/mime/jsmime/test/data/multipart-base64-3
rename : mailnews/test/data/multipart-complex1 => mailnews/mime/jsmime/test/data/multipart-complex1
rename : mailnews/test/data/multipart-complex2 => mailnews/mime/jsmime/test/data/multipart-complex2
rename : mailnews/test/data/multipart1 => mailnews/mime/jsmime/test/data/multipart1
rename : mailnews/test/data/multipart2 => mailnews/mime/jsmime/test/data/multipart2
rename : mailnews/test/data/multipart3 => mailnews/mime/jsmime/test/data/multipart3
rename : mailnews/test/data/multipart4 => mailnews/mime/jsmime/test/data/multipart4
rename : mailnews/test/data/multipartmalt-detach => mailnews/mime/jsmime/test/data/multipartmalt-detach
rename : mailnews/mime/jsmime/mimeParser.jsm => mailnews/mime/src/mimeParser.jsm
2014-04-04 19:51:37 -05:00
Magnus Melin 924a608156 Bug 983086 - mailnews/resources/logHelper.js | Error console says [stackFrame mutating the [[Prototype]] of an object will cause your code to run very slowly; instead create the object with the correct initial [[Prototype]] value using Object.create] . r=standard8
Landing on CLOSED TREE - this bug is what's keeping it closed.
2014-03-17 21:50:45 +02:00
Jim Porter 26fc56885c [Bug 969903] Improve thread pane display name handling; r=jcranmer 2014-02-09 15:50:41 -06:00
Hiroyuki Ikezoe b5d2afc5d5 Bug 786936 - Use MockFactory.js to register/unregister mocks. r=Standard8 2014-01-06 09:31:04 -05:00
Hiroyuki Ikezoe 41317f1e99 Bug 786936 - Implement utility methods to register/unregister mock. r=Standard8 2014-01-06 09:30:52 -05:00
Mark Banner e98fe7540a Bug 955842 - Disable OS X Address Book testing in xpcshell-tests due to 10.8 and later issues. r=mconley,a=get-a-perma-orange-builder-green for CLOSED TREE 2013-12-31 22:08:53 +00:00
Jens Mueller fd152e8181 Bug 61491 - Autocomplete newsgroup names (based on a patch by Jim Porter). r=neil/mconley, moa=neil, sr=Standard8; small followup fix for test: r=jcranmer
CLOSED TREE
2013-11-13 08:16:42 -05:00
Ryan VanderMeulen ba289a6f43 Backed out changeset 5ac1dfd37ebf (bug 61491) due to xpcshell crashes.
CLOSED TREE
2013-10-26 23:19:28 -04:00
Jens Müller ee0cc3f6ef Bug 61491 - Autocomplete newsgroup names. r=mconley, r=Neil, r=mkmelin, sr=mbanner 2013-10-26 20:45:41 -04:00
Magnus Melin e8522edea6 Bug 925489 - Perma-fail: test_bug155172.js | test failed (with xpcshell return code: 0) and a bunch more. r=standard8,a=Standard8 for CLOSED TREE 2013-10-14 22:15:38 +03:00
Hiroyuki Ikezoe 164077bab3 Bug 904162 - Fix for test_partsOnDemand.js failure. r+a=Standard8 2013-08-27 18:16:44 +01:00
Hiroyuki Ikezoe ebe66be2b7 Bug 903946 - Avoid uncaught errors in nsIExternalProtocolService. r=Standard8 2013-08-12 13:32:20 +01:00
Mark Banner aecde390cd Bug 901678 Fix appending relative paths on Windows in pop3d.js. r=jcranmer,a=bustage fix for CLOSED TREE 2013-08-09 14:33:26 +01:00
Mark Banner 3c7ec657e5 Bug 902934 Create an nsIXULAppInfo to fix errors in test_attachment_size.js and replace existing instances with use of a generic test module. r=jcranmer,a=bustage fix for CLOSED TREE 2013-08-09 10:13:16 +01:00
Mark Banner b03dd89055 Bug 901544 Define a UMimTyp directory service provider so that the code activated by the tests can use it. r=jcranmer,a=bustage fix for CLOSED TREE 2013-08-08 15:18:24 +01:00
Mark Banner 29f37f862c Bug 901544 Remove unnecessary mailDirService.js since bug 459114 made it redundant. r=jcranmer 2013-08-08 15:15:37 +01:00
Mark Banner 405853922f Bug 901514 Stop the mailDirService being initialized twice, as is the case with some of the gloda tests. r=jcranmer,a=bustage-fix for CLOSED TREE 2013-08-06 16:46:04 +01:00
Mark Banner e3fdc75f20 Bug 901537 - In the fake mail server, correctly handle the socket being closed from outside when we're trying to write to it. r=jcranmer,a=bustage fix for CLOSED TREE 2013-08-05 20:50:34 +01:00
Joshua Cranmer 6f3883ca38 Part of bug 896738 - Fix various strict warnings and errors to fix test bustage. r=Standard8, a=bustage fix for a CLOSED TREE. 2013-08-02 16:08:08 -05:00
Joshua Cranmer 33e8d65577 Part of bug 896738 - Fix various strict warnings and errors to fix test bustage. r=Standard8. 2013-08-02 16:07:51 -05:00
Joshua Cranmer 4047b42c21 Bug 901048 - Move IMAPpump.js into a module, part 2: make it a module. r=Standard8. a=bustage fix for a CLOSED TREE. 2013-08-02 15:02:37 -05:00
Joshua Cranmer 13ac42f42f Bug 901048 - Move IMAPpump.js into a module, part 1: collect the variables. r=Standard8 2013-08-02 15:01:58 -05:00
Mark Banner 22a57144bb Part of bug 896738 - Fix various strict warnings and errors to fix test bustage. r=jcranmer. CLOSED TREE 2013-08-02 18:11:31 +01:00
Mark Banner 7a4d490a07 Bug 900881 Make localAccountUtils.js into a testing module - Part 4. Make it a real testing module. r=jcranmer 2013-08-02 18:11:30 +01:00
Mark Banner a9345761e8 Bug 900881 Make localAccountUtils.js into a testing module - Part 3. Move the last global into the object. r=jcranmer 2013-08-02 18:11:29 +01:00
Mark Banner 873f602759 Bug 900881 Make localAccountUtils.js into a testing module - Part 2. Move most of the globals into the object. r=jcranmer 2013-08-02 18:11:12 +01:00
Mark Banner 0f1a54ee96 Bug 900881 Make localAccountUtils.js into a testing module - Part 1. Move its functions into an object. r=jcranmer 2013-08-02 18:10:30 +01:00
Joshua Cranmer 6056dda51f Bug 900519, part 6 - Move IMAP to a module, r=Standard8. Bustage fixes for a CLOSED TREE.
--HG--
extra : rebase_source : 285fe5cb395135b3112b7ff53bc9b76db49974be
2013-08-01 16:33:21 -05:00
Joshua Cranmer 892df4553a Bug 900519, Part 5 - Move POP to a module, r=Standard8
--HG--
extra : rebase_source : 3efdc1f771f3639aa858d278a8d8afac3ba6b7d8
2013-08-01 16:20:47 -05:00
Joshua Cranmer 4d70b028cb Bug 900519, part 4: Move SMTP to a module, r=Standard8
--HG--
extra : rebase_source : 6773a8dddfaf205f6868f35e2e9a30f718efe704
2013-08-01 15:15:36 -05:00
Joshua Cranmer cbffcc990b Bug 900519 - Make fakeserver into JS modules - auth.js part. r=Standard8. Part bustage fix for CLOSED TREE 2013-08-02 09:16:04 +01:00
Joshua Cranmer 78cf6bd7e9 Bug 900519 - Make fakeserver into JS modules - nntpd.js part. r=Standard8 2013-08-01 09:44:37 -05:00
Joshua Cranmer 0ba2f554fd Bug 900519 - Make fakeserver into JS modules - maild.js part. r=Standard8 2013-08-01 09:44:36 -05:00
aceman c1ac4dfdd2 Part of Bug 896738 - fix strict JS problems in mailnews/test/fakeserver/*. r=jcranmer. Part bustage fix for CLOSED TREE 2013-08-01 21:19:01 +01:00
Mark Banner a9abfdd43a Part of bug 896738 Make mailTestUtils.js its own module, and move the local account functions to a separate file. r=jcranmer. Part bustage fix for CLOSED TREE 2013-08-01 21:19:00 +01:00
Mark Banner 620112b786 Part of bug 896738 Move other misc functions into the mailTestUtils object. r=jcranmer 2013-08-01 20:57:30 +01:00
Mark Banner 613bb7d1b3 Part of bug 896738 Move large file related functions into the mailTestUtils object. r=jcranmer 2013-08-01 20:56:42 +01:00
Mark Banner 74ee565f15 Part of bug 896738 Move firstMsgHdr function to the mailTestUtils object. r=jcranmer 2013-08-01 20:55:19 +01:00
Mark Banner fbe7181714 Part of bug 896738 Move Load*ToString functions to a new mailTestUtils object. r=jcranmer 2013-08-01 20:54:40 +01:00
Mark Banner 482d5a1002 Bug 900535 Remove mailnews bloat tests support. r=Callek,a=Standard8 for removing obsolete code on a CLOSED TREE so that we don't need to look at it for maintenance purposes 2013-08-01 20:53:54 +01:00
Mark Banner 6556e2fcb2 Part of bug 896738 - Switch mailDirService.js to be a testing js module, so that it is only included once. This fixes some of the strict warnings seen. r=mconley,a=part bustage fix for CLOSED TREE 2013-07-23 22:18:19 +01:00
Mark Banner fc28b6311b Part of bug 896738 - Fix various strict warnings to reduce failures in xpcshell tests due to warnings. r=jcranmer. Part bustage fix for CLOSED TREE 2013-07-23 15:31:19 +01:00
aceman 9190e3d5ef Bug 876185 - Fix undefined 'messageSet' in messageInjection.js. r=mconley 2013-07-11 16:16:51 -04:00
Masatoshi Kimura da53c0998a Bug 872357 - Use ctypes.winLastError. r=standard8 2013-06-13 20:49:06 +09:00
aceman f0f8b7da58 Bug 807848 - Use 'toolkit.telemetry.prompted' pref as Int - stage 1, cope with the pref being Bool or Int and save it as Int. r=standard8 2013-06-10 22:11:11 -04:00
Sebastian Hengst d260ea25c4 Bug 863617 - Fix leftovers from switch to Services.jsm and mailServices.js. r=mconley 2013-05-19 20:23:17 +02:00
sshagarwal 07eeddc890 Bug 870282 - Add "Isn't" operator for Searching by "Priority" + test. r=rkent 2013-05-14 08:34:05 -04:00
aceman 56293e0d9a Bug 640371 - Prevent POP3 inbox folder to grow past the mailstore limit when getting mail. r=irving 2013-05-13 17:51:10 +02:00
Joshua Cranmer 2b47d36ffa Bug 869425 - Move MODULE to moz.build in comm-central, r=Standard8. 2013-05-09 12:06:07 -05:00
aceman e6a6ac4a9a Bug 826732 - Fix some JavaScript strict warning seen during "make mozmill" - part 2. r=mconley, r=standard8 2013-04-16 10:55:45 -04:00
Sebastian Hengst 1a0d34f1db Bug 852690 - Remaining conversion to mailServices.js: /mailnews/test/. r=Standard8 2013-03-25 19:46:56 +01:00
Mark Banner 2f437b19c4 Port bug 827446 - update mochitest, reftest, xpcshell to use mozcrash - to Thunderbird's bloat test and mozmill tests to fix bustage. r=bustage-fix for CLOSED TREE 2013-03-22 10:03:44 +00:00
Hiroyuki Ikezoe 7c25dcde66 Bug 681219 - Make method names of nsISmtpService more decent. r=standard8, sr=bienvenu 2013-03-12 15:29:07 -04:00
Gregory Szorc 8453bf4697 Bug 845089 - Convert build system to moz.build files on a CLOSED TREE; r=Callek 2013-02-28 15:16:49 +01:00
Mark Banner 81fbc45c81 Backout bug 807848 due to backwards-compatibility issues. r=backout 2013-02-15 12:12:00 +00:00
Sebastian Hengst 9eb0ce9d14 Bug 824150 - Code cleanup in /mail/ and /mailnews/: Use new String methods like startsWith, endsWith, contains, remaining Services.jsm switches and querySelector use instead of NodeList calls: /mailnews/test/: performance and resources. r=mbanner 2013-02-09 19:57:36 +01:00
Sebastian Hengst 754821cbcd Bug 824150 - Code cleanup in /mail/ and /mailnews/: Use new String methods like startsWith, endsWith, contains, remaining Services.jsm switches and querySelector use instead of NodeList calls: fakeserver. r=mbanner 2013-02-09 20:01:21 +01:00
aceman 1ee1f44e86 Bug 834911 - Remove support of nsIEnumerator from mailnews/base/util/iteratorUtils.jsm - adapt /mailnews. r=asuth 2013-02-09 16:31:18 -05:00
aceman 90ef4ff54a Bug 807848 - Use 'toolkit.telemetry.prompted' pref as Int. r=mbanner 2013-02-07 21:04:23 -05:00
Sebastian Hengst 4360b7626b Bug 533314 - Tests: Use only invalid mail addresses like foo@foo.invalid instead of foo@invalid.com. r=mbanner 2012-12-28 10:32:53 +01:00
Joshua Cranmer 9c8c8ccfef Bug 746052 - Implement a JS-based MIME parser, part 3: use the parser in the fakeservers. r=irving 2013-01-25 10:50:24 -06:00
Joshua Cranmer 8e15443807 Bug 746052 - Implement a JS-based MIME parser, part 2: add parser tests. r=Standard8
--HG--
extra : rebase_source : 042352c40fd65dc6e78e2bbfec785b3d5ab38093
2012-06-02 19:19:29 -05:00
David Lechner 190f70f2a7 Bug 816028 - Workaround for zimbra server crash on LIST (SUBSCRIBED). r=irving 2012-12-20 21:11:08 -06:00
David Lechner a5636ecdf1 Bug 799821 - Add test. r=irving 2012-11-24 14:07:09 -06:00
David Lechner bfbc103ccb Bug 495318 - Implement LIST-EXTENDED (RFC 5258) in impad.js. r=irving 2012-10-09 10:37:11 -05:00
Mark Banner a63bd48816 Backout Bug 495318 due to perma-orange on Windows and frequent orange on Linux 2012-11-15 13:35:36 +00:00
David Lechner 363c2d30e2 Bug 495318 - Implement LIST-EXTENDED (RFC 5258) in impad.js. r=bienvenu 2012-10-09 10:37:11 -05:00
Kent James efd95bde01 Bug 678351 - dirSvc in mailShutdown.js should be an nsIDirectoryService, r=standard8 2012-10-10 07:16:27 -07:00
Atul Jangra 2cec8375b4 Bug 721316. Patch contains all the changes required to implement the new message storage scheme. Patch also contains three new tests and one modified test, to test the new message storage scheme. r=bienvenu,sr=Standard8 2012-09-27 21:41:16 +01:00
aceman 838cbc2046 Bug 787547 - profie-change-teardown should be profile-change-teardown in mailnews/test/resources/mailShutdown. r=mconley 2012-09-10 18:36:28 -04:00
SAKURAI Kenichi 8cb56cb6cf Bug 707789 - Use Services.prefs instead of preferences-service, in Mailnews Core test files. r=mconley 2012-08-27 12:59:30 -04:00
Mark Banner 388656230a Part of Bug 781446 - Port bug 774032 (bonus only), bug 763987, bug 742795 to comm-central. Port the bonus part of bug 774032 - Use @DEPTH@ and @relativesrcdir@ replacements in Makefile.in. r=KaiRo 2012-08-17 08:56:10 +01:00
David Lechner 4efac67c76 Bug 778246 - Test for bug 778246. r=bienvenu
Add Gmail specific code to imapd.js for handling STORE X-GM-LABELS command, new test for nsIImapFolder.issueCommandOnMsgs() that uses STORE X-GM-LABELS command as test case.
2012-07-27 13:33:11 -05:00
Mark Banner 6073567440 Bug 771277 - Fix XPCShell password authentication tests so that they don't pass around fake docShells. pending-r=mconley,sr=bienvenu. Landing early to fix permanent orange on the tree. 2012-07-06 08:03:45 +01:00
Hiroyuki Ikezoe 16a36588e8 Bug 766412 - Remove duplicate firstMsgHdr function in mailTestUtils.js. r=mconley 2012-07-03 18:48:45 -04:00
David Lechner 3afc5644f6 Bug 750012 - xpcshell test. r=dbienvenu 2012-06-18 11:25:20 -05:00
Irving Reid f3dc8a7767 Bug 92111 (and bug 390795, and many others) - correctly handle case where we're downloading IMAP body in chunks, and the server lies about RFC822.SIZE,r=bienvenu
* * *
Tweak the test cases in bug 92111
2012-06-19 08:55:19 -07:00
Hiroyuki Ikezoe 7484dfbfe3 Bug 761518 - Cleanup dummyMsgWindow in xpcshell tests. r=mconley 2012-06-09 10:15:06 -04:00
Gervase Markham d9160e1ab8 Bug 757018 - upgrade license to MPL 2. 2012-05-30 17:48:24 +01:00
Serge Gautherie d149b121fb Bug 718190. (Av3) 3 tests which use over 2 GiB files: Document them better, Improve code (order), Fix nits wrt their endTest(), Improve related utilities. r=mbanner. 2012-03-26 13:31:55 +02:00
aceman 9c4b4c1e6b Bug 726737 - Convert mailnews/addrbook/test to Services.jsm and MailServices.js. r=mconley 2012-03-19 18:29:36 -04:00
Andrew Sutherland 95c0acc2ae Bug 734507 - Provide gloda soft schema bump to recover DB badness from bug 723372 which manifested as a.contact is undefined in gloda.js. r=bienvenu, f=protz 2012-03-11 22:11:49 -07:00
Joshua Cranmer 036c73bfe9 Add test for Bug 437930 - NNTP forgets username/password after auth failure. r=Standard8
--HG--
extra : rebase_source : 96acdd6aebcc39189a62eb96c908f406c6ff4916
2012-02-24 11:17:53 -06:00
Magnus Melin aa9403111a Bug 397975: Identity incorrectly picked based on matching domain without matching username. r=bwinton, sr=bienvenu 2012-02-20 20:41:11 +02:00
Joshua Cranmer 547b2e0fa9 Bug 185427 - Test to ensure that per-group authentication works. r=bienvenu 2012-02-14 16:04:37 -06:00
Serge Gautherie 14bd4aa7f2 Bug 721357. (Cv1) Add support for SeaMonkey in MailNews Core 'mailbloat' preferences. r=mbanner. 2012-01-30 13:59:51 +01:00
David Bienvenu d290ceccc3 fix bug 719307, pop3 move filters can misfire, r=standard8 2012-01-19 07:40:12 -08:00
Joshua Cranmer d4c5f12f37 Bug 695309 - NNTP protocol objects can become doubly initialized if there are pending URIs, r=bienvenu 2011-12-13 10:29:43 -06:00
David Bienvenu 53068b8158 fix gug 704707, don't need event target when running imap urls, along with a bunch of fixes for issues with test that this change exposed r=neil, sr=standard8 2012-01-10 07:37:22 -08:00
David Bienvenu 2855cc79fe fix pop3 download of multiple msgs when quarantinging turned off and leave on server turned on, bug 713611, r=standard8 2012-01-04 13:30:29 -08:00
David Bienvenu 7c5080fb8e fix bug 402392, add support for pluggable stores, r=standard8, sr=neil 2011-12-24 16:17:33 -08:00
Mark Banner c6dc31df03 Bug 707792 - Port bug 549561 to Thunderbird to speed up mailbloat tests. r=jhopkins test-only patch 2011-12-06 18:55:30 +00:00
aceman 956de8ef49 Bug 376546 - Wishlist: Message Filters should have "Mark as unread" action r=bienvenu r=IanN 2011-11-23 15:44:00 +01:00
Mark Banner f39b15efc4 Bug 698447 - Remove binary name hack in mail bloat tests now that we have a Thunderbird executable on Mac. r=binenvenu 2011-11-01 09:28:00 +00:00
Mark Banner 2c2c6b7104 Bug 698374 - Port bug 476430 - Make third-party add-ons disabled on startup, and allow users to activate them. r=mconley 2011-10-31 16:17:48 +00:00
Jonathan Protzenko 0ac6641abb Bug 532522: don't index trash subfolders. r=asuth 2011-09-19 22:07:07 +02:00
Mike Conley 50cce009f6 Bug 694409 - Suppress Telemetry notification in Mozmill tests. r=Standard8. 2011-10-17 11:43:17 -04:00
Mark Banner 1fc7e06119 Bug 679218 - Update branding for Thunderbird's nightly equivalent channel: Daily - change the text names. r+ui-review=bwinton 2011-09-11 16:13:51 -07:00
Joshua Cranmer d4b376a09c Bug 656984 - Fakeserver fails to support multiple connections properly, r=Standard8.
--HG--
extra : rebase_source : 893fdbe3a5e3ea1c3b15ac5cb827fa32e418df79
2011-05-18 14:29:57 -04:00
Siddharth Agarwal 6d01dc6fb9 Bug 656736 - Upgrade to the latest version of MozMill. r=Standard8
This patch adds mozmill 1.5.4b4, mozrunner 2.5.5b4 and jsbridge 2.4.4b4 to the
tree. It also sets up a virtualenv to install mozmill and its dependencies
in. This patch means Thunderbird developers will no longer need to have MozMill
or its dependencies installed in order to run MozMill tests.
2011-08-18 14:40:55 +05:30
Siddharth Agarwal 2533080f6f Backout changeset 69050ad29af0 due to Mac/Linux test failures. CLOSED TREE 2011-08-16 03:16:59 +05:30
Siddharth Agarwal 4baf05cb9e Bug 656736 - Support upgrading to the latest version of MozMill. r=Standard8
This patch adds mozmill 1.5.4b4, mozrunner 2.5.5b4 and jsbridge 2.4.4b4 to the
tree. It also sets up a virtualenv to install mozmill and its dependencies
in. This patch means Thunderbird developers will no longer need to have MozMill
or its dependencies installed in order to run MozMill tests.
2011-08-16 00:35:27 +05:30
Jonathan Protzenko 04d3c9b920 Bug 655536: MsgHdrToMimeMessage could understand detached attachments and feed enclosures r=asuth 2011-08-09 09:50:05 -07:00
Jonathan Protzenko 199bda2200 Bug 527927: JS Mime Emitter drops parts for inconsistent MIME hierarchies (multipart/encrypted, uuencode) [parentPart is undefined; components/jsmimeemitter.js Line: 311] r=asuth 2011-08-09 09:49:32 -07:00
David Bienvenu 30dc77da38 add unit test for undoing delete of a local message, r=standard8, bug 669647 2011-07-27 11:52:25 -07:00
Neil Rashbrook 6699666126 Fix fallout from bug 670235 r=bustage 2011-07-15 15:22:54 +01:00
David Bienvenu a3afe56335 fix bug 668590, messageGenerator should use addMessage, r=sid0 2011-06-30 12:37:01 -07:00
David Bienvenu bbc9a6b016 fix bug 662792, imap marks messages read when falling back from partial download to full download when all parts inline, r=protz 2011-06-30 08:17:28 -07:00
David Bienvenu a749964b17 fix bug 664441, separate folder discovery addSubFolder from local folder creation, r=sid0, sr=neil 2011-06-22 15:14:15 -07:00
David Bienvenu a2c5c8ea64 fix bug 655578, some custom header filters not working r=rkent 2011-06-17 07:13:20 -07:00
Mike Conley 95fe987c15 Bug 555536 - alert on new message does not appear as specified in preferences; r=Standard8 sr=dbienvenu ui-r=bwinton 2011-05-10 12:53:08 +01:00
David Bienvenu f6e6fcb78b add support for IMAP ID command, rfc 2971, r=standard, sr=neil, bug 531158 2011-05-08 14:14:29 -07:00
Kent James 786ac11a7b bug 124641 - Filter or Search: does not handle multi-line (wrapped, folded) headers correctly when search term spans lines, r=bienvenu 2011-04-29 12:14:13 -07:00
Ben Bucksch 79877c2e22 Adapt comments in test to bug 428611 being fixed. Bug 599609, rs=standard8 2011-04-27 00:16:00 +02:00
David Bienvenu 5f3a063a49 make fake server handle BODY[HEADER] request correctly, r=protz, needed by bug 648972 2011-04-22 07:34:12 -07:00
Andrew Sutherland 38ced63232 Bug 640877 - Random orange: TEST-UNEXPECTED-FAIL | test-selection.js | test_selection_extension; Generate clicks in our mozmill tests rather than approximating the effect of clicks. r=Standard8 2011-04-14 14:06:34 +01:00
Mark Banner 05725a4e89 Bug 639474 - test_dod.js fails with latest tracemonkey tree (regex changes); Use .exec on a RegExp rather than trying to call the RegExp as a function which is no longer allowed. r=Unit test bustage fix for trunk builds to test-only code. 2011-04-13 11:52:41 +01:00
David Bienvenu a503505656 fix bug 588761 verifyLogon returns success if the server drops connection on auth failure, r=benb 2011-03-30 11:44:25 -07:00
Andrew Sutherland c959eb5a37 Backed out changeset 2ee7b4e1dc7b (bug 640877) 2011-03-24 18:05:19 -07:00
Andrew Sutherland e874d60f95 Bug 640877. Have select_click_row type things actually cause clicks. r=test-only 2011-03-24 17:01:45 -07:00
David Bienvenu 896cc70888 fix fake imap server uidplus responses, r=jcranmer, bug 644259 2011-03-21 12:34:48 -07:00
Andrew Sutherland f0b87fe619 focus/blur fancy logging for bug 640877. passed on try, rs=Standard8.
produces output like so (in logsploder at least):
* winhelp blur DomNode: tree#folderTree: null in DomWindow: mail:3pane: Big Meeting Today - TabsSimpleA - Shredder
* winhelp focus in DomWindow📫//.../Local%20Folders/TabsSimpleA?number=0 frame: DomNode: browser#messagepane: null in DomWindow: mail:3pane: Big Meeting Today - TabsSimpleA - Shredder
2011-03-20 15:03:01 -07:00
Andrew Sutherland 127ff63bec Bug 633498 - Provide structured context information about mozmill failures.
For the time being, browse to http://arbpl.visophyte.org/ to see the fruits of
the structured data.

The code that powers that site can be found at:
https://github.com/asutherland/arbitrarypushlog
2011-03-10 11:53:36 -08:00
David Bienvenu c70f824b30 Bug 636285 - add support for IMAP Move RFC; r=Standard8 2011-03-10 18:53:03 +00:00
Siddharth Agarwal 62d4c0393b Bustage fix: compare msg folder listener test elements non-strictly.
--HG--
extra : rebase_source : 39ef1351c5b682942ca8502fbb86237992aaf22a
2011-02-17 03:22:53 +05:30
Siddharth Agarwal a8e2ab870d Bug 628204 part 2 - add tests for getting account details and making sure they're displayed in order. r=bienvenu 2011-02-17 01:36:00 +05:30
Siddharth Agarwal 9a8bb7d653 Bug 633346 - Add an xpcshell test function to create an outgoing server. r=asuth 2011-02-11 23:45:58 +05:30
Siddharth Agarwal 19197f70c1 Bug 632494 - Unify xpcshell test code to create incoming servers. r=asuth 2011-02-09 18:33:02 +05:30
Joshua Cranmer 60de2ddd52 Bug 226890 - Thunderbird doesn't handle news URIs properly, part 2: Implement news URIs tests. r=Standard8
--HG--
extra : rebase_source : 1595a292621e12ddcf2664c82aa231888ba38a31
2010-11-15 18:43:43 -05:00
Andrew Sutherland 782f4b3cfa Bug 534449 - Gloda should index sent messages right away instead of waiting for me to open the sent folder. r=bienvenu 2011-01-19 16:49:12 -08:00
David Bienvenu 3f1275817a keep imap offline stores up to date when messages are moved/copied (including fcc/save as draft), r=asuth, sr=standard8 bug 574441 2011-01-19 12:32:50 -08:00
Siddharth Agarwal a0c3779dd4 Bug 625126 - Make logHelper's mark_failure work a little better. r=asuth
Three fixes:
1. Make _normalize_for_json recognize HTML elements.
2. For objects that aren't recognized, return an object instead of a string.
Bad things happen when strings are tested with the in operator, as happens in
mark_failure.
3. Use the JSON output in mark_failure to generate text rather than the
implicit call to obj.toString().
2011-01-13 13:49:16 +05:30
Simon Montagu b4fb77c6e1 Bug 587475 - Reimplement UTF-7 in mailnews - switch to using the internal decoder; r=Standard8 2011-01-04 13:39:21 +00:00
Joshua Cranmer c25981114c bug 609909 - crashes in nsNNTPProtocol during connection closure r=bienvenu 2010-11-05 19:42:50 -04:00
Austin King f8c4658e71 Bug 613224 - Bad link for atlbase.h. r=Callek
--HG--
extra : rebase_source : 5fb4495b459eb226a62faaaa850ac284cb6441d5
2010-11-22 11:38:00 -05:00
Edmund Wong 84f57eacb9 Bug 555557 - Update license blocks to use "Mozilla Foundation" instead of "Mozilla Messaging" (c-c); r=Standard8 2010-11-19 11:23:58 +00:00
Blake Winton 4cc2f43ece Bug 527550 - Fix the failing tests due to incorrect prefs. rs=Standard8. 2010-11-03 17:56:57 -04:00
Blake Winton ca34390c3e Add mozmill tests for message header pane. r=standard8. 2010-11-03 14:58:54 -04:00
David Bienvenu f45857e82f Unit test for Bug 351224 - Could not delete/detach attachments from multipart/related messages (not-used/not-shown part in multipart/related is deletable/detachable?); r=Standard8
--HG--
extra : rebase_source : d9320fa70ba0339d1b78a178bd0a96a782670882
2010-10-26 13:51:38 +01:00
Andrew Sutherland ecd56de9db Bug 588048 - test_viewWrapper_virtualFolder.js intermittently hangs on Linux; r=bienvenu a=Standard8 for landing into CLOSED TREE to test the effect on frequent-oranges to see if it helps stabilise the tree. 2010-10-18 09:51:30 +01:00
Siddharth Agarwal 987147c40d Bug 603192 - Replace hacks to detect whether an object is an array with Array.isArray. r=asuth 2010-10-12 19:36:39 +05:30
Andrew Sutherland 19dddd7f1c Bug 588048 intermittent orange diagnosis test-only change. Further reduce timeout interval to 240 seconds from 290 since 290 was still not short enough. r=Standard8 over irc. 2010-10-07 02:14:39 -07:00
Mark Banner 6cfc5f9484 Back out changeset 1328faef900b / bug 527550 due to test failures.
--HG--
extra : rebase_source : 2fbb45791c67a7345b38decb76d06f2962258757
2010-09-30 12:20:37 +01:00
Blake Winton f7227e3b4e Bug 527550 - mozmill tests for message header pane; r=Standard8 2010-09-30 09:16:14 +01:00
Mark Banner 85f2ad5c8c Change the max chrome script run times in tests to the magic '0' to let scripts run for a really long time. a=Windows bloat bustage fix for CLOSED TREE 2010-09-22 14:47:44 +01:00
David Bienvenu 2ce5207a70 fix test bustage, part of bug 564737 CLOSED TREE 2010-09-21 08:59:02 -07:00
Mark Banner acd0e06c5f Shorten the asyncTestUtils timeout to just under 300 seconds which is the timeout that tinderbox is currently using. This should mean we get logs rather than timeouts if tests get stuck. r=test-only correctness fix to aid debugging intermittent timeouts. a=Standard8 for checkin to CLOSED TREE 2010-09-20 07:17:57 +01:00
Justin Wood 5b641948aa Bug 593855 - Part 4, Fixups needed for path changes in c-c tests. r=KaiRo
(Port |Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE| to comm-central)
2010-09-06 20:58:22 -04:00
Justin Wood 5d05be9e49 Bug 593855 - Part 2 Do relpath in all Makefiles that need it. r=KaiRo
(Port |Bug 586754 Xpcshell tests should use relativesrcdir instead of $MODULE| to comm-central)
2010-09-06 20:56:52 -04:00
David Bienvenu b1a5b41e60 fix bug 531568, r=standard8, crash in [@nsImapMailCopyState::~nsImapMailCopyState()] 2010-08-20 14:55:14 -07:00
Siddharth Agarwal 2d45b28e87 Followup to bug 581838 - JS doesn't have Exception objects, it has Error objects. Rename all occurences of Exception to Error. rs=Neil over IRC.
--HG--
extra : rebase_source : 54a2037d970473881fba8d85080ba9ea1b059b6e
2010-08-19 04:25:32 +05:30
Siddharth Agarwal 319e273131 Bug 581838 - Make code to mark files as sparse use JS ctypes. Port the helper cpp/exe needed on Windows to JavaScript, and remove it. r=Standard8
Note that whatever's in subdirectories of mailnews/test gets installed by the
mailnews Makefile.
2010-08-18 15:10:27 +05:30
Mark Banner 3e9d4c1281 Bustage fix for builds following mail bloat changes (bug 585927), don't install the chrome files into the dist/bin/chrome directories as developers get upset. Fixing bustage in CLOSED TREE 2010-08-11 21:27:47 +01:00
Mark Banner bf6721e52a Bug 585927 Mail bloat tests need upgrading to account for manifest changes. r=bwinton over irc. a=Standard8 for bustage fix into CLOSED TREE
--HG--
rename : mailnews/test/performance/common/mailnewsTestPrefs.js => mailnews/test/performance/bloat/mailnewsTestPrefs.js
2010-08-11 20:35:11 +01:00
Mark Banner 659838447d Back out changeset 14503c828ee1 due to landing the wrong patch. 2010-08-10 20:56:48 +01:00
Mark Banner 817d50004c Bug 506202 Hook up mozmill tests to make package-tests and support running packaged test style. r=asuth,gozer. a=Standard8 for checkin to CLOSED TREE as this is build-config/test only and allows work on the new try server to get it nearer completion
--HG--
rename : mailnews/test/performance/common/mailnewsTestPrefs.js => mailnews/test/performance/bloat/mailnewsTestPrefs.js
2010-08-10 19:19:17 +01:00
Mark Banner 089bfe6140 Back out changeset 9d1f0b2cede7 / Bug 581838 due to test failures on the windows boxes
--HG--
extra : rebase_source : b512a11e0c9480b3dbfeaab458841b97e1fc5b10
2010-08-09 10:40:07 +01:00
Siddharth Agarwal 3daed6a68b Bug 581838 - Make code to mark files as sparse use JS ctypes. Port the helper cpp/exe needed on Windows to JavaScript, and remove it. r=Standard8
Note that whatever's in subdirectories of mailnews/test gets installed by the
mailnews Makefile.

--HG--
extra : rebase_source : 5b562e58185b24486a235208f9c0873add01e6b7
2010-08-07 22:49:24 +05:30
David Bienvenu 768f61dbe4 don't call test_finished when the server hasn't had a request for threee minutes, r=standard8, bug 580108 2010-08-03 07:45:49 -07:00
David Bienvenu 4dbf37708a fix handling of stat errors and don't stat noselect folders when checking individual folders for new messsages, r/sr=standard8 bug 581707 2010-08-02 11:24:11 -07:00
David Bienvenu ffaef314e9 fix bug 581330, unified folders broken after deleting account, r/sr=standard8 2010-07-30 15:58:47 -07:00
Robert Kaiser d6e7f5c780 Bug 541235 - mailnews xpcshell tests fail when running as packaged tests. r=Standard8
--HG--
extra : rebase_source : 55190b9b4a37caf605de9af519ba6e224ea4d1c9
2010-02-25 08:29:00 -05:00
David Bienvenu 7928c8d1bb bug 571800 add unit test for undo of imap delete alert problem 2010-06-22 06:54:46 -07:00
Karsten Düsterloh 85f49bb18c Bug 572890: remove deprecated octal literals and escape sequences; r=asuth, sr=bienvenu 2010-06-18 21:59:32 +02:00
Justin Wood 081b86d87f Main part of bug 570902 - Remove ifdefs relating to MOZILLA_1_9_2 from Thunderbird. r+sr=Standard8 2010-06-10 11:11:38 +01:00
Kent James cc200c3bce Bug 387361 - msg copy action to imap on incoming pop3 mail fails with quarantining turned on for antivirus, r/sr=bienvenu 2010-06-08 11:53:56 -07:00
Mark Banner d16adf85c2 Bug 553353 test_offlinePlayback.js intermittently failing - ensure the test handler gets reset if the connection is dropped. r=bienvenu 2010-06-05 15:53:57 +01:00
Andrew Sutherland 26777066c7 Bug 543737 - gloda needs to avoid indexing ridiculously large message bodies (especially from offline store corruption). v3 a body has limits. r=bienvenu, a=blocking-thunderbird3.1 2010-05-15 09:40:51 -07:00
David Bienvenu 8c9a17be80 don't retry imap move copies since that most likely will result in duplicates, add test for timeout of move/copies r/sr=standard8, bug 403603 2010-05-14 13:29:05 -07:00
Mark Banner a44ec32a85 Bug 518345 - "Selecting Option to Hide Message Pane (F8) Will Not Stick". v2 revised unit test, with testing contributions by asuth. r=Standard8, r=asuth, a=Standard8 2010-05-10 08:24:00 -07:00
Andrew Sutherland b0d5ad38de Bug 499069 - Clicking on an empty IMAP folder does not display it until headers have been downloaded (flicker, account central shown). v1 change the policy to enter empty folders immediately, test the end-to-end goal. note: new test may experience harmless leak occasionally which would appear to be a test framework/harness issue; we are aware but punting. r=bienvenu. a=blocking-thunderbird3.1 2010-05-11 00:44:08 -07:00
Andrew Sutherland d58818804f Bug 559022 - several mails I received are not found by Gloda search (index rebuild didn't help. =2C, ",", in RFC2047 encoded word of From: header). v1 fix and test; do not use the mime2Decoded sender/recipients and instead let the email address parser do the decoding. r=bienvenu, approval-thunderbird3.1=asuth. 2010-05-07 07:38:03 -07:00
Mark Banner d4a80271d7 Attempt a windows xpcshell-test bustage fix for bug 540385 - change line endings of the email test file to dos format. 2010-04-20 22:04:23 +01:00
Kent James 2f0caa369b Bug 540385 - Manually marking a message as NOT JUNK is insufficient; message gets refiled as junk, r/sr=bienvenu 2010-04-20 10:24:12 -07:00
Serge Gautherie 6891c4c198 Bug 559681 - [Windows, Packaged] xpcshell-tests: "Exception / NS_ERROR_FILE_NOT_FOUND / nsIProcess.init / test_largeOfflineStore.js :: run_test :: line 59". LargeOfflineStoreHelper.exe is not packaged; (Av2) Copy Windows helper executable to xpcshell(-tests) directory, Unify dump()/do_throw() calls.
r=standard8.
2010-04-20 12:20:52 +02:00
Phil Lacy c9087af3e7 Bug 540676 fake IMAP server doesn't support BODYSTRUCTURE. r=bienvenu 2010-04-19 11:37:42 +01:00
Andrew Sutherland 8d601e264f Bug 550648 - Gloda fulltext message search may have inefficient query structure when result set significantly exceeds LIMIT, resulting in slow faceted search response. r=bienvenu 2010-04-16 12:56:53 -07:00
Serge Gautherie 61c429ae8b Bug 556670 - Fix resource://gre/ abuses, in comm-central; (Cv1) MailNews part.
r=asutherland sr=standard8.
2010-04-12 21:31:47 +02:00
Andrew Sutherland a9698e3071 Bug 540110 - test-folder-display-helpers.js' waitForEval timeouts should be treated as failures, logHelper should be mozmill aware. r=sid0
--HG--
rename : mailnews/db/gloda/test/unit/resources/folderEventLogHelper.js => mailnews/test/resources/folderEventLogHelper.js
2010-04-09 00:16:04 -07:00
David Bienvenu 2c998f1328 fix bug 542259, handle smtp servers that drop connection on auth failure, and retry url r/sr=standard8 2010-04-08 15:29:24 -07:00
Mark Banner 3c65b00330 Backed out changeset 1664be66815d / Bug 540676 due to unit test failures. 2010-04-08 22:47:49 +01:00
Phil Lacy 13726f5dd2 Bug 540676 fake IMAP server doesn't support BODYSTRUCTURE. r=bienvenu 2010-04-08 21:35:46 +01:00
Kent James 9855a340c9 Bug 540385 - Manually marking a message as NOT JUNK is insufficient; message gets refiled as junk (imapPump test framework), r=bienvenu 2010-04-08 09:41:41 -07:00
David Bienvenu 79fa54793b fix rename of imap folder to non-ascii name, r/sr=neil, bug 549220 2010-04-01 12:44:54 -07:00
Robert Kaiser 27ba399ef9 bug 555715 - Replace resource://app/ with resource:///, r=Standard8 2010-04-01 21:26:53 +02:00
Siddharth Agarwal 9270259a88 Second bustage fix for bug 495020. Fix a couple of issues, one related to bug 495020 and one related to bug 545221.
1. In test-display-message-with-folder-modes.js, the change in behaviour in bug
495020 means that the message is in the view at the time it is attempted to be
displayed, thus the folder the message is in isn't expanded. Fix that by
selecting a different folder before changing modes.

2. In messageInjection.js, make sure we use createSubfolder for the inbox and
not addSubfolder. This causes an OnItemAdded notification, which the folder tree
view gets to know that it needs to update itself. Without the fix, the inbox
isn't displayed unless the folder mode is rebuilt. (This used to work earlier
because the default used to be smart folders, and we used to switch to all
folders after creating the inbox. Bug 545221 changed that.)

--HG--
extra : rebase_source : 65f614e2c80e65860ff43f625f9f6a275085becf
2010-04-01 20:06:51 +05:30
Kent James 2eab389c31 Bug 549336 - Custom filters generate an error in searchSpec, r=asuth 2010-03-30 11:20:14 -07:00
David Bienvenu 71f0c31d18 fix bug 549457, handle imap servers that drop the connection on starttls, r/sr=standard8 2010-03-25 09:13:13 -07:00
Andrew Sutherland c760858b02 Bug 551677 - Gloda could provide ability to force indexing of all messages in a folder, even non-dirty indexed ones. r=mixedpuppy. 2010-03-16 15:36:36 -07:00
David Bienvenu bd2ea793b5 fix offline playback of imap moves to multiple folders with flag changes, with unit test r/sr=standard8, bug 534143 2010-03-09 08:31:52 -08:00
Mark Banner 0f656c5d6e Fix mailbloat tests so that windows correctly detects failure of the run script, e.g. a crash, and doesn't continue trying to process the results. No bug, r=sid0 over irc. a=test-only change 2010-02-25 14:32:58 +00:00
Ben Bucksch e179bc049c Tests: Implement AUTH CRAM-MD5, PLAIN and LOGIN properly in fakeserver. Other test improvements. Bug 525238, r=bienvenu 2010-02-22 20:46:17 +01:00
David Bienvenu 9054bd6aeb attempt to fix test bustage from bug 533640 2010-02-09 17:02:08 -08:00