B2G/QA/WebAPI Test Plan/WebSMS: Difference between revisions
< B2G | QA | WebAPI Test Plan
Jump to navigation
Jump to search
(→API) |
(→API) |
||
| Line 42: | Line 42: | ||
* dom.sms.whitelist | * dom.sms.whitelist | ||
=== [http://mxr.mozilla.org/mozilla-central/source/dom/sms/interfaces/nsIDOMNavigatorSms.idl | === [http://mxr.mozilla.org/mozilla-central/source/dom/sms/interfaces/nsIDOMNavigatorSms.idl nsIDomNavigatorSms] === | ||
==== Attributes ==== | ==== Attributes ==== | ||
* ''readonly'' <tt>nsIDOMMozSmsManager mozSms</tt> | * ''readonly'' <tt>nsIDOMMozSmsManager mozSms</tt> | ||
=== [http://mxr.mozilla.org/mozilla-central/source/dom/sms/interfaces/nsIDOMSmsCursor.idl nsIDOMSmsCursor] === | |||
==== Attributes ==== | |||
* ''readonly'' <tt>nsIDOMMozSmsMessage message</tt> | |||
==== Methods ==== | |||
* <tt>void continue()</tt> | |||
=== [http://mxr.mozilla.org/mozilla-central/source/dom/sms/interfaces/nsIDOMSmsEvent.idl nsIDOMSmsEvent] === | |||
==== Attributes ==== | |||
* ''readonly'' <ttnsIDOMMozSmsMessage message</tt> | |||
=== [http://mxr.mozilla.org/mozilla-central/source/dom/sms/interfaces/nsIDOMSmsFilter.idl nsIDOMSmsFilter] === | |||
==== Attributes ==== | |||
* <tt>jsval startDate</tt> (Date, can return null) | |||
* <tt>jsval endDate</tt> (Date, can return null) | |||
* <tt>jsval numbers</tt> (Array of DOMString, can return null) | |||
* <tt>DOMString delivery</tt> ("sent", "received", or null) | |||
* <tt>jsval read</tt> (Boolean or undefined) | |||
=== [http://mxr.mozilla.org/mozilla-central/source/nsISomeInterface.idl#1 nsISomeInterface] === | === [http://mxr.mozilla.org/mozilla-central/source/nsISomeInterface.idl#1 nsISomeInterface] === | ||
==== Attributes ==== | ==== Attributes ==== | ||
* '' | * ''readonly'' <tt>DOMString someAttribute</tt> (values can be foo, bar, baz, bam) | ||
==== Methods ==== | ==== Methods ==== | ||
Revision as of 00:22, 27 June 2012
B2G WebSMS API Test Plan
Summary
| Lead | Geo Mealer (irc: geo) |
| Contributors | TBD |
| API Description | Send/receive SMS messages as well as manage messages stored on device. |
| API Developer | Mounir Lamouri |
| API Project Page | WebSMS |
| API Tracking Bugs | bug 674725 |
| API Status | Mostly done for B2G. |
Scope
A short section should be added here that describes the testing scope of this plan: both what is and is not included, broadly.
Strategy
Explain here how to test the API in question (emulator, device-agnostic CI tests, on-device applications, or a combination).
In the likely case of a combination, discuss how tests will be split between options.
API
Describe the API here. Give a short summary, what the API does, and any considerations or preconditions for using it.
Related Prefs
- dom.sms.enabled
- dom.sms.whitelist
Attributes
- readonly nsIDOMMozSmsManager mozSms
nsIDOMSmsCursor
Attributes
- readonly nsIDOMMozSmsMessage message
Methods
- void continue()
nsIDOMSmsEvent
Attributes
- readonly <ttnsIDOMMozSmsMessage message
nsIDOMSmsFilter
Attributes
- jsval startDate (Date, can return null)
- jsval endDate (Date, can return null)
- jsval numbers (Array of DOMString, can return null)
- DOMString delivery ("sent", "received", or null)
- jsval read (Boolean or undefined)
nsISomeInterface
Attributes
- readonly DOMString someAttribute (values can be foo, bar, baz, bam)
Methods
- boolean someMethod(in DOMString param)
- void anotherMethod()
Events
- onsomevent
Tests
Marionette/JS
Test Type 1
- Test 1
- Test 2
Test Type 2
- Test 1
- Test 2
mochitest-plain
Test Type 1
- Test 1
- Test 2
Test Type 2
- Test 1
- Test 2
Test App Design
Describe application functionality here
This page is based on the WebAPI Test Plan Template