+1000 @ being able to instrument the apis at a higher level

On 23 April 2014 12:13, Vivien Nicolas <[email protected]> wrote:

> I would really like to not use any mock for integration tests. Mocks is
> fine for unit tests, but does not really makes sense for integration tests.
>
> If somone has the necessary cycles for that, I would like to push for bug
> 989926, so you can use mozMobileConnection (or any RIL interfaces),
> directly.
>
>
> On 22/04/2014 19:01, Dale Harvey wrote:
>
>> Hah cool thanks, good catch
>>
>> Same question applies :)
>>
>>
>> On 22 April 2014 17:02, Gabriele Svelto <[email protected]
>> <mailto:[email protected]>> wrote:
>>
>>     On 22/04/2014 17:08, Dale Harvey wrote:
>>      >
>>     https://github.com/mozilla-b2g/gaia/blob/master/apps/
>> system/test/marionette/sim_dialog_test.js
>>      > I would like to use one of the 3 mocks for mozMobileConnection
>>      >
>>     https://github.com/mozilla-b2g/gaia/blob/master/shared/
>> test/unit/mocks/mock_navigator_moz_mobile_connection.js
>>      > preferably
>>
>>     Actually that's deprecated since navigator.mozMobileConnection is
>> gone,
>>     replaced by the navigator.mozMobileConnections array when DSDS support
>>     was introduced. You should use
>>     https://github.com/mozilla-b2g/gaia/blob/master/shared/
>> test/unit/mocks/mock_navigator_moz_mobile_connections.js
>>     instead (note the final 's'). We're trying to get rid of the former
>> file
>>     but it's still used here and there.
>>
>>       Gabriele
>>
>>
>>
>>
>> _______________________________________________
>> 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
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to