Intent to remove: do_check_*, do_print, do_execute_soon, do_register_cleanup
Michael de Boer
mdeboer at mozilla.com
Thu Dec 21 13:15:03 UTC 2017
<3 Thanks so much for taking this, Florian!
> On 19 Dec 2017, at 20:14, Florian Quèze <florian at queze.net> wrote:
> In order to reduce the confusion for people writing tests using both
> xpcshell and mochitests, I'm currently working on removing the old
> do_* helpers that have an obvious nicer equivalent.
> This is happening in https://bugzilla.mozilla.org/show_bug.cgi?id=1421992
> I'm removing the following do_check_* functions and replacing them
> with equivalent Assert.* calls in the existing xpcshell tests:
> do_check_true, do_check_false, do_check_eq, do_check_neq,
> do_check_null, do_check_matches.
> Additionally, I'm renaming do_print to info, do_register_cleanup to
> registerCleanupFunction and do_execute_soon to executeSoon.
> The patches are large (about 2000 files and 25000 lines touched) so
> I'm giving a heads up that I'm expecting to land this in a few days. I
> anybody has xpcshell tests that are ready to land, I would suggest
> landing them sooner than later.
> Florian Quèze
> firefox-dev mailing list
> firefox-dev at mozilla.org
More information about the firefox-dev