Gregory Szorc
f2c0bc7eeb
Bug 760576 - Define do_check_null test helper for xpcshell tests; r=ted
2012-06-01 19:23:31 +02:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Gregory Szorc
204d5da04e
Bug 754436 - Move xpcshell protocol handler registration into standalone function; r=ted
2012-05-15 09:53:28 -07:00
Gregory Szorc
ad1c8f8549
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
d1e47e3825
Bug 748490 - Part 2: Register testing modules with xpcshell test runner; r=ted
2012-05-10 10:10:14 -07:00
Luke Wagner
b62f28676b
Bug 732308 - fix potential leak in xpcshell/head.js (r=jmaher)
2012-03-02 09:36:53 -08:00
Jason Duell
f2007f93e0
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
ab7fee8df4
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
4da814b556
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
1020ab7842
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
a9bd7a205b
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
f5ebbb4020
Bug 648367 - Add run_next_test to head.js. r=ted
2011-04-18 13:31:20 -07:00
Kyle Huey
ce489acef9
Bug 629734: Add todo functionality to xpcshell. r=ted
2011-02-20 19:54:14 -05:00
Ehsan Akhgari
5ee7f7df10
Backout bug 629734 because it breaks the build on Windows
2011-03-27 13:53:09 -04:00
Kyle Huey
4d72d1d99e
Bug 629734: Add todo functionality to xpcshell; r=ted
2011-02-20 19:54:14 -05:00
Jim Mathies
7676913ed8
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
67d224ddd3
Bug 596580: Fix mozJSSubScriptLoader's version finding. (r=brendan)
2010-11-03 12:09:24 -07:00
Robert O'Callahan
381cd5f61f
Bug 508128 - Additional diagnostics to report more data about test exceptions. r=waldo a=test-only
2009-11-05 15:06:00 -05:00
Marco Bonardo
f920734ad6
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
5e22e49eaf
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
86e9c52cb3
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
86f1514c1f
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
18dd62858e
Bug 586692 - xpcshell: do_timeout does not guarantee desired timeout interval. r=jduell
2010-08-13 13:28:14 -07:00
Dan Witte
74a7bff4da
Bug 586238 - Don't instantiate the crashreporter component in the child process. r=ted
2010-08-12 01:55:28 -07:00
Benjamin Smedberg
aa6ed9b84c
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
2010-07-01 16:03:42 -04:00
Benjamin Smedberg
c0b20a13c4
Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691.
2010-07-01 11:55:57 -04:00
Benjamin Smedberg
408a530076
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
93e412b1c9
Merged with mozilla-central
2010-04-07 06:59:04 -04:00
Doug Turner
9c299ae63a
Merge. manually merged. modules/plugin/test/testplugin/nptest.cpp, testing/xpcshell/head.js.
2010-03-10 19:13:35 -08:00
Doug Turner
d9d6fc223c
Merge
2010-03-01 15:36:51 -08:00
Dave Townsend
3ff971529b
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
d96b854d39
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
99941c26f0
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
15a3f30705
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
a5afa1065c
Print "child|parent" for dumps in xpcshell tests to disambiguate process output. r=jwalden
2009-11-11 23:01:04 -08:00
Jason Duell
eed2108652
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
56805fc57c
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
Jeff Walden
07011315f9
Bug 525819 - Followup to readd the removed functionality -- forgot about comm-central, won't be able to fix all its tests immediately so will make both functions and strings acceptable arguments to do_timeout, for the moment. r=bustage
2009-11-24 16:14:26 -08:00
John Daniels
b11db71e70
Bug 525819 - Make do_timeout take a callback function, not a string to eval. r=jwalden
2009-11-24 11:58:42 -08:00
Robert O'Callahan
1b91fe00da
Bug 508128. Fix do_timeout to hold references to pending timers so that they don't get GCed and automatically cancelled. r=jwalden
2009-11-04 07:39:40 +13:00
Ted Mielczarek
886f30a24c
bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
2009-05-14 07:37:40 -04:00
Dave Townsend
6c76b741bf
Bug 504060: Add executeSoon equivalent to xpcshell tests. r=ted
2009-08-06 15:25:16 +01:00
Ted Mielczarek
114d157d21
Backed out changeset 9ddc25fb2246 - bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh - for test failures
2009-08-05 15:36:20 -04:00
Ted Mielczarek
d1eb2fade9
bug 459114 - helper function to provide a clean profile directory for xpcshell tests. r=sdwilsh
2009-05-14 07:37:40 -04:00
Shawn Wilsher
5b9e5c2f4a
Bug 502907 - Allow for the registration of cleanup functions that run when the harness is done
...
Consumers can now call do_register_cleanup with a function that will run when
the harness is done running the tests.
r=ted
2009-07-10 16:42:59 -07:00
Serge Gautherie
d91b4e2036
Bug 495730 - xpcshell-tests: each test leaks 3 nsStringBuffer, after (harness) bug 483062 landing; (Bv2a) Fix and extend test_crashreporter.js; r=ted.mielczarek
2009-06-22 23:43:19 +02:00
Serge Gautherie
275b95155d
Bug 384339 - The check-interactive code executes head, tail scripts before the user runs; (Dv1c) Load head, test and tail files from _execute_test(); r=jwalden+bmo
2009-06-13 15:11:00 +02:00
Serge Gautherie
083c34aa7b
Bug 362433 - xpcshell-tests: add dump() to each do_check_*(), at least; (Av1a) Log check results; r=(ccooper + rcampbell)
2009-06-05 00:05:22 +02:00
Ted Mielczarek
0f291c273a
bug 483062 - figure out how to get crash stacks from xpcshell tests. r=bsmedberg
2009-05-11 15:54:39 -04:00
Ted Mielczarek
31c7dc8591
bug 482085 - fix all xpcshell tests to not reference files from the srcdir. r=bsmedberg,waldo
2009-03-21 11:20:00 -04:00