gecko-dev/testing/xpcshell
Andrew Halberstadt 88e52fc195 Bug 1460914 - [xpcshell] Define preferences in testing/profiles instead of testing/xpcshell/head.js, r=ted
This commit creates an empty 'base' profile because I wanted to preserve the
ability to apply a pref to all test harnesses on try. Since xpcshell doesn't
share many prefs with the other harnesses, it can't use the common profile.

So adding a pref to 'common' will apply it everywhere except xpcshell. Adding
a pref to 'base' will apply it everywhere including xpcshell. These profiles
are starting to get a bit messy, but I'd like to punt re-organizing them to a
follow-up bug.

Depends on D9716

Differential Revision: https://phabricator.services.mozilla.com/D9717

--HG--
extra : moz-landing-system : lando
2018-10-26 17:47:18 +00:00
..
example Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop 2018-10-19 12:55:39 +00:00
moz-http2 Bug 1473736 - Implement necko part of ESNI r=mak,kmag,mcmanus 2018-09-22 23:54:11 +03: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
README
dbg-actors.js Bug 1486741 - Enable ESLint rule comma-dangle for all of mozilla-central (automatic fixes). r=mossop 2018-10-19 12:55:39 +00:00
head.js Bug 1460914 - [xpcshell] Define preferences in testing/profiles instead of testing/xpcshell/head.js, r=ted 2018-10-26 17:47:18 +00:00
mach_commands.py Bug 1440714 - Convert Android mach commands to adb.py; r=bc 2018-04-05 12:50:29 -06:00
mach_test_package_commands.py
moz.build
python.ini Bug 1491766 - Enable selftest.py on Mac now that all our builds are later than 10.7. r=ahal 2018-09-17 14:05:39 +00:00
remotexpcshelltests.py Bug 1460914 - [xpcshell] Use nsIPrefService.readUserPrefsFromFile to set prefs, r=ted 2018-10-26 17:46:03 +00:00
runxpcshelltests.py Bug 1460914 - [xpcshell] Use nsIPrefService.readUserPrefsFromFile to set prefs, r=ted 2018-10-26 17:46:03 +00:00
selftest.py Bug 1455176: Follow-up: Fix build bustage from xpcshell self-test. r=bustage CLOSED TREE 2018-04-19 15:11:15 -07:00
xpcshellcommandline.py Bug 1454404 - Pass adb path from Android mach commands to test harnesses; r=jmaher 2018-04-16 14:05:32 -06:00

README

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