Le 07/10/2015 10:32, Gabriele Svelto a écrit :
> On 07/10/2015 08:49, Julien Wajsberg wrote:
>> In SMS, to be able to run some automated tests, we're currently
>> emulating these APIs from Gaia. This means we don't test the Gecko code
>> at all. This is better than having no test, but this is not good enough IMO.
> In the emulator you can send real SMS messages that will go through the
> RIL, gecko & all. See the documentation here on how to do it:
>
> http://developer.android.com/tools/devices/emulator.html#sms
>
> BTW since this accepts arbitrary PDUs it's also possible to deliver WAP
> Push messages, class 0 messages, etc... You have to first encode your
> payload though as the emulator interface doesn't do that for you.
>
> If you need help in setting up the emulator or using it ping me, I'm
> using it everyday to emulate calls in the callscreen & dialer.
>

Just to be clear, in this thread we're talking about automated testing :)
And I was also talking about accessing this functionality in an easy way
from the testing code.

As part of this we'll also need a way to push some existing data to the
API -- for SMS I guess this can be done with some Chrome-level code that
runs an indexedDB code before the test starts, and then clears it up
after the tests finishes.

-- 
Julien

Attachment: signature.asc
Description: OpenPGP digital signature

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

Reply via email to