mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
bf13167dea
Four new test cases have been added to testing/xpcshell/selftest.py. These new tests check that tests where run_test() is not defined work properly. The test cases check the following cases: 1. when only add_test() is used. 2. when only add_task() is used. 3. when both add_task() and add_test() is used. 4. when a test file is empty, i.e. contains no add_test(), add_task() or run_test(). Test bodies only consist of do_check_true(true) calls to make up a minimal test without run_test() in the same vein as the other simple tests defined previously. Also, broke a comment up that was too long. --HG-- extra : rebase_source : 48d055680ba8108816ecbe07008496c5281f46cc |
||
---|---|---|
.. | ||
example | ||
moz-http2 | ||
moz-spdy | ||
node-http2 | ||
node-spdy | ||
b2g_xpcshell_venv.sh | ||
dbg-actors.js | ||
head.js | ||
mach_commands.py | ||
Makefile.in | ||
moz.build | ||
README | ||
remotexpcshelltests.py | ||
runtestsb2g.py | ||
runxpcshelltests.py | ||
selftest.py |
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