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

65 Коммитов

Автор SHA1 Сообщение Дата
Jim Blandy 5371b82be9 Bug 808791: Add some xpcshell testing functions handy for matching JSON packets. r=jmaher 2013-01-14 16:15:58 -08:00
Mounir Lamouri 34cfc76054 Bug 827050 - Ignore do_get_profile() calls when made from a content process in xpcshell tests. r=jmaher 2013-01-08 15:13:44 +00:00
Josh Matthews 8658387d97 Bug 815523. patches stolen from 782542 Parts 1,2,3: Necko IPC security pref, and disable for xpcshell tests, r=ted,jdm 2012-12-07 17:12:02 -05:00
Ed Morley f41c087da9 Backout 3e4e600adc3b (bug 782542) for crashtest-ipc timeouts 2012-12-16 18:09:39 +00:00
Josh Matthews 4d20bfdcc1 Bug 782542 - Secure necko IPDL usage. r=ted,jduell
* * *
Bug 782542 - Disable network.ipc security for certain mochitests r=ted
* * *
Bug 782542.  Disable some more tests that use mozbrowser w/o app r?ted
* * *
Bug 782542 : yet another test needs tweaking. r?ted
2012-12-12 10:40:33 -05:00
Gregory Szorc c773cbcbec Bug 819033 - Part 1: Add add_task() to xpcshell runner; r=ted
You can now register generator functions containing Task.spawn friendly
tests. This makes writing unit tests for promise-based APIs much easier.
2012-12-11 10:53:43 -08:00
David Rajchenbach-Teller f0a0fc99a0 Bug 810543 - Testing the behavior of OS.Constants.Path.profileDir;r=froydnj 2012-12-11 15:12:59 -08:00
Ed Morley 7e37f21a17 Backout fac650c31656 & 907a846d368f (bug 819033) for xpcshell failures 2012-12-11 20:29:18 +00:00
Ehsan Akhgari 367b53417c Backed out changeset 34c9ccee8058 (bug 782542) for mochitest failures 2012-12-11 15:04:11 -05:00
Gregory Szorc 5fe455e8e0 Bug 819033 - Part 1: Add add_task() to xpcshell runner; r=ted
You can now register generator functions containing Task.spawn friendly
tests. This makes writing unit tests for promise-based APIs much easier.
2012-12-11 10:53:43 -08:00
Josh Matthews 4e012f139b Bug 782542 - Secure necko IPDL usage. r=ted,jduell 2012-12-07 17:12:02 -05:00
Mark Capella daef2756b5 Bug 772272 - Remove do_load_httpd_js from xpcshell tests, Final, r=ted
Remove last three references, final cleanup
2012-08-23 08:16:44 -04:00
Gregory Szorc 0bd4aaec66 Bug 762837 - Try to find modules directory if not defined; r=ted
This is a workaround to enable modules to be found on the buildbot test
runners.
2012-06-29 13:27:11 -07:00
Gregory Szorc 320b9ff14e Bug 760576 - Define do_check_null test helper for xpcshell tests; r=ted
--HG--
extra : rebase_source : 533f5e85bf6d1f9f074fee227b60dde08a7baf17
2012-06-01 19:23:31 +02:00
Gervase Markham 82ff7027aa Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Gregory Szorc ed07fb4037 Bug 754436 - Move xpcshell protocol handler registration into standalone function; r=ted 2012-05-15 09:53:28 -07:00
Gregory Szorc cef8c5bb2e Bug 748490 - Part 3: Followups to part 2; r=ted
Previous patch was submitted prematurely by accident. This addresses
nits from review.
2012-05-10 10:19:16 -07:00
Gregory Szorc f8c002b1a2 Bug 748490 - Part 2: Register testing modules with xpcshell test runner; r=ted 2012-05-10 10:10:14 -07:00
Luke Wagner e4bac68539 Bug 732308 - fix potential leak in xpcshell/head.js (r=jmaher) 2012-03-02 09:36:53 -08:00
Jason Duell dfe336e780 Bug 732657: runxpcshell.py doesn't fail e10s tests if child process aborts/crashes. r=jmaher 2012-03-08 15:00:05 -08:00
Justin Dolske 621a59dc0d Bug 731093 - Make head.js code should just look for just |e.filename| so that a non-object exception is logged when thrown from a test. r=jmaher 2012-03-03 22:19:04 -05:00
Josh Matthews 0de1d98af2 Bug 463122 - Improve xpcshell error reporting for generic exceptions caught at the top level. r=ted 2011-12-28 11:57:28 -05:00
Blair McBride 149e812ab5 Bug 683124 - Add function to xpcshell-test harness to output info text. r=ted.mielczarek 2011-09-07 16:26:20 +12:00
Siddharth Agarwal cd564334db Bug 648127 - xpcshell: add a newline before every TEST- line. r=ted
runxpcshelltests.py looks for TEST-UNEXPECTED-FAIL only at the beginning of lines, so if a failure happens right after a dump() call without a trailing newline, it isn't able to detect it.
2011-05-10 23:34:15 +05:30
Philipp von Weitershausen 1d43d57f19 Bug 648367 - Add run_next_test to head.js. r=ted 2011-04-18 13:31:20 -07:00
Kyle Huey 322217b08a Bug 629734: Add todo functionality to xpcshell. r=ted 2011-02-20 19:54:14 -05:00
Ehsan Akhgari 98183dee59 Backout bug 629734 because it breaks the build on Windows 2011-03-27 13:53:09 -04:00
Kyle Huey 070613529d Bug 629734: Add todo functionality to xpcshell; r=ted 2011-02-20 19:54:14 -05:00
Jim Mathies 0889fbe446 Bug 617503 - Disable IPv6 lookups for host 'localhost' for xpecshell tests on Windows. r=ted, a=tests. 2010-12-10 19:17:25 -06:00
Chris Leary c1c51f2643 Bug 596580: Fix mozJSSubScriptLoader's version finding. (r=brendan) 2010-11-03 12:09:24 -07:00
Robert O'Callahan 9837d8160a Bug 508128 - Additional diagnostics to report more data about test exceptions. r=waldo a=test-only
--HG--
extra : rebase_source : ececb0215cac3139336a67f429320ea4106e391f
2009-11-05 15:06:00 -05:00
Marco Bonardo f438830678 Bug 602871 - XPCShell test harness should ignore system idle time while running tests, r=ted a=tests-only 2010-10-19 11:18:40 +02:00
Brian Crowder 370cf86776 Bug 567267 - move management of ExternalHelperApp protocols to PContent, r=dwitte, blocking-fennec2.0b1=mfinkle 2010-09-15 15:55:08 -07:00
Jason Duell ebb9dfe335 Bug 581750 - runxpcshell.py --verbose breaks success/fail detection. a=NPOTB
Also includes printf formatting fix for head.js
2010-09-10 10:20:38 -07:00
Dan Witte e74e1c6bb6 Fix comment in head.js, and use do_execute_soon in mozapps/update/test/unit/test_bug497578.js. 2010-08-13 23:03:36 -07:00
Dan Witte 6f2a31c22a Bug 586692 - xpcshell: do_timeout does not guarantee desired timeout interval. r=jduell 2010-08-13 13:28:14 -07:00
Dan Witte 66378f8796 Bug 586238 - Don't instantiate the crashreporter component in the child process. r=ted 2010-08-12 01:55:28 -07:00
Benjamin Smedberg 4b29191430 Bug 576206 - hangs in necko unit tests on Windows because the content process is crashing, bandaid patch r=Mossop for landing into a CLOSED TREE
--HG--
extra : rebase_source : 7ee40a702c86acc3cc3872954a989b935cd0bec4
2010-07-01 16:03:42 -04:00
Benjamin Smedberg a677e5bf91 Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg 5f7a36ec28 Testing fixes for bug 568691 - change xpcshell do_load_module to do_load_manifest, and switch the relevant tests to use manifests and the new function. 2010-06-25 10:43:25 -04:00
Oleg Romashin 8cafa44858 Merged with mozilla-central 2010-04-07 06:59:04 -04:00
Doug Turner 02a7000526 Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js. 2010-03-10 19:13:35 -08:00
Doug Turner c741a38e65 Merge 2010-03-01 15:36:51 -08:00
Dave Townsend 8bf7ebf228 Bug 550481: Exceptions from the do_execute_soon callback should be logged and fail the test. r=ted 2010-03-08 10:26:54 -08:00
Marco Bonardo 15950e5378 Bug 544241 - xpcshell-tests head.js should always remap resource://test to the current test dir, r=ted 2010-02-23 14:11:37 +01:00
Marco Bonardo 9d61d8ef06 Bug 529823 - ensure that xpcshell tests using do_get_profile will fire profile shutdown notifications. r=ted 2010-04-02 00:42:22 +02:00
Marco Bonardo 75db30109e Bug 556231 - Tests are trying to QI to nsIDirectoryProvider, that does not exist. r=ted 2010-04-01 13:29:13 +02:00
Jason Duell 03c74db413 Print "child|parent" for dumps in xpcshell tests to disambiguate process output. r=jwalden 2009-11-11 23:01:04 -08:00
Jason Duell b2c871b279 Add run_test_in_child() and do_load_child_test_harness() xpcshell functions (bug 521922). r=bent sr=ted
Add necko 'unit_ipc' test directory under e10s, plus simple HTTP test.
2009-10-17 00:05:27 -07:00
Jeff Walden 74589e4b7c Bug 525819 - Make do_timeout take a callback function, not a string to eval. Do the final conversion from accepting either string or function to accepting only function, in sync with updating comm-central for the change. r=waylon 2009-12-28 11:31:00 -06:00