mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-28 04:39:07 -10:00
This suite already had `add_task.skip(aTask)` and `add_task.only(aTask)` implemented, which required quite a bit more boilerplate code to get them right. I removed this API in favor of `add_task(aTask).skip()` and `add_task(aTask).only()` so that it's the same signature as Mochitest-browser and Mochitest-chrome. I also noticed that `add_task` was defined twice, right above the other, which was of course the latest version. I removed the latter. MozReview-Commit-ID: BSCCXorzSlC
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