ha!
Ok well it has given us the impetus to upgrade some other tests that were previously only checking the settings to now check the prefs, too.



On 28/11/13 14:43, Tim Chien wrote:
Thanks! Don't worry about that. I was using that as an example to
point out a gap in our test coverage!

On Thu, Nov 28, 2013 at 9:19 PM, Zac Campbell <[email protected]> wrote:
Hey Tim, we just finished updating the code for the UI test that switches
DNT settings in Settings app. Now it checks the Gaia setting and Gecko pref.

Apologies it took a bit longer than expected!


Zac


On 27/10/13 07: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



_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to