gecko-dev/testing/xpcshell
Kris Maglione ad43cab9bd Bug 1446833: Part 4 - Make sure directory service overrides actually take effect. r=rhelmer
The directory service caches certain directory entries, or has them set by
other callers using `.set()`. When we try to override those directories with
custom providers, the cached value still takes precedence.

It might make more sense to just store the directory entry values directly in
the directory service's hash, but this patch just takes the less obtrusive
path of clearing cached values for keys that we override.

This patch also fixes the few instances where add-on manager tests leave files
in the global temporary directory which are now caught by the shutdown
assertions.

MozReview-Commit-ID: Jq92TngLO1L

--HG--
extra : rebase_source : 76eb1f02882bd10151115bf1e934a38d313d0cb2
extra : histedit_source : df0293e06e4357080318beb92c7a1e00766a8799
2018-03-18 15:55:08 -07:00
..
example Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +01:00
moz-http2 bug 1440563 - set the RD bit in DOH requests r=valentin 2018-03-05 08:47:52 +01:00
node-http2 Bug 1429973 part 0 - Update node-http2 to v3.3.8 for required bugfix. r=bagder 2018-02-15 10:12:38 -08:00
dbg-actors.js Bug 1433175 - enable the use-cc-etc eslint rule, r=Standard8. 2018-02-28 18:51:35 +01:00
head.js Bug 1446833: Part 4 - Make sure directory service overrides actually take effect. r=rhelmer 2018-03-18 15:55:08 -07:00
mach_commands.py Bug 1440714 - Convert Android xpcshell test harness to adb.py; r=bc 2018-03-17 09:28:23 -06:00
mach_test_package_commands.py Bug 1397855 - Enable py2 and py3 linter on testing/xpcshell. r=ahal 2017-09-07 21:15:35 -04:00
moz.build Bug 1403222 - Add test suite families to SCHEDULES.exclusive r=dustin 2017-09-26 10:47:22 -04:00
python.ini
README
remotexpcshelltests.py Bug 1440714 - Convert Android xpcshell test harness to adb.py; r=bc 2018-03-17 09:28:23 -06:00
runxpcshelltests.py Bug 1438583 - Shutdown test node server during --verify at the right time, r=gbrown 2018-02-15 09:40:00 +02:00
selftest.py Bug 1446833: Part 2 - Stop using Task.jsm in xpcshell/head.js. r=florian 2018-03-18 15:27:04 -07:00
xpcshellcommandline.py Bug 1440714 - Convert Android xpcshell test harness to adb.py; r=bc 2018-03-17 09:28:23 -06:00

Simple xpcshell-based test harness

converted from netwerk/test/unit

Some documentation at http://developer.mozilla.org/en/docs/Writing_xpcshell-based_unit_tests
See also http://wiki.mozilla.org/SoftwareTesting:Tools:Simple_xpcshell_test_harness