You likely want: https://developer.mozilla.org/en-US/docs/Mochitest https://developer.mozilla.org/en-US/docs/Browser_chrome_tests
Cheers, Vivien. On 27/10/2013 08:57, Tim Chien wrote:
Hi, While working on DNT feature, I realized that our Gaia integration tests (Python and JS) can only assert the values of mozSettings database after the test programically select the setting ratio button in the Setting app. It is actually at [1] where we copy the value from mozSettings to Gecko pref(). While the code there are relatively small, I wonder if we could write any tests for them? Any pointer of documentation to write tests for this particular part of Gecko is greatly appreciated. Thanks. [1] http://dxr.mozilla.org/mozilla-central/source/b2g/chrome/content/settings.js#l434
_______________________________________________ dev-b2g mailing list [email protected] https://lists.mozilla.org/listinfo/dev-b2g
