gecko/testing/xpcshell
Gregory Szorc 1290f96f1d Bug 972093 - Detect run_next_test() during add_task(); r=ted, rnewman
If an xpcshell test called run_next_test() from inside an add_task(),
bad things would happen. This patch detects that behavior and aborts the
test immediately with an actionable error message.

--HG--
extra : rebase_source : c5cf11070421b95a6fcf476d0a86289a3d0ba73a
extra : amend_source : cec6ad2a751bba01e7d4ecbff0735b39e3326efb
2014-02-12 16:47:29 -08:00
..
example Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
moz-http2 bug 950768 - http2 tests in node.js r=hurley r=mcmanus 2013-10-20 16:03:07 +02:00
moz-spdy bug 922109 - spdy/3 settings frame does not restart window starved streams r=hurley 2013-10-01 17:48:06 -04:00
node-http2 Bug 958992 - http2 draft09 test support. r=hurley 2014-01-13 17:16:28 -08:00
node-spdy bug 950768 - http2 tests in node.js r=hurley r=mcmanus 2013-10-20 16:03:07 +02:00
b2g_xpcshell_venv.sh
head.js Bug 972093 - Detect run_next_test() during add_task(); r=ted, rnewman 2014-02-12 16:47:29 -08:00
mach_commands.py Bug 970302 - Ensure a TestManifest is always used when running xpcshell tests; r=ted 2014-02-10 13:11:23 -08:00
Makefile.in Bug 964563 - Remove custom node binary. r=ted 2014-02-06 15:00:19 -08:00
moz.build Bug 939044 - Remove most definitions of MODULE. r=mshal 2013-11-19 11:47:39 +09:00
README
remotexpcshelltests.py Bug 875814: Fix timeout handling for remote xpcshell tests; r=jmaher 2014-02-08 09:19:20 -07:00
runtestsb2g.py Bug 912909 - Call setLD_LIBRARY_PATH in runtestsb2g. r=jgriffin 2013-09-05 17:58:54 -07:00
runxpcshelltests.py Bug 964379: make sure all keys of mozinfo.info are ASCII, for Python 2.6.(<5) compat. r=gps 2014-02-13 14:06:51 -05:00
selftest.py Bug 972093 - Detect run_next_test() during add_task(); r=ted, rnewman 2014-02-12 16:47:29 -08:00
xpcshell_android.ini Bug 938920 - Remove stale references from xpcshell_android.ini; r=jmaher 2013-11-17 10:23:21 -07:00
xpcshell_b2g.ini Part 6 - Bug 951662 - fix path to xpcshell.ini. r=bbondy 2014-01-12 13:45:56 -08: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