Thanks for the prompt reply!

While bug 931758 indeed cover the example given, we probably need
tests for code that is a bit more complex, say, the code that launches
System app in shell.js. Also, does it make sense to test Gecko code
with Gaia UI tests (apparently there aren't any problem since it's on
TPBL)?


On Mon, Oct 28, 2013 at 8:53 PM, Zac Campbell <[email protected]> wrote:
> Thanks for the tip-off Timmy C,
>
> I've put a task in for the test to be upgraded. It's a good one for a
> contributor so it might take a few days to get done, but it will be.
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=931758
>
> 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



-- 
Tim Guan-tin Chien, Engineering Manager and Front-end Lead, Firefox
OS, Mozilla Corp. (Taiwan)
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to