Closed
Bug 784509
Opened 13 years ago
Closed 13 years ago
[WebAPI] WebTelephony: Develop automated tests to verify the various call state transitions
Categories
(Core :: DOM: Device Interfaces, defect)
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: rwood, Assigned: rwood)
Details
Attachments
(10 files, 2 obsolete files)
6.71 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
3.44 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
3.89 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
3.13 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
4.43 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
2.59 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
4.24 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
7.25 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
3.43 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
4.86 KB,
patch
|
jgriffin
:
review+
|
Details | Diff | Splinter Review |
Develop more B2G WebTelephony WebAPI tests, to verify the various call state transitions. Refer to the telephony call state transitions diagram found on the WebTelephony API wiki page: https://wiki.mozilla.org/WebAPI/WebTelephony
Assignee | ||
Comment 1•13 years ago
|
||
Attachment #654319 -
Flags: review?(jgriffin)
Assignee | ||
Comment 2•13 years ago
|
||
Adding 10 new B2G WebTelephony tests - each test as its own patch. The last patch will include the changes to the manifest.ini.
Assignee | ||
Comment 3•13 years ago
|
||
Attachment #654321 -
Flags: review?(jgriffin)
Assignee | ||
Comment 4•13 years ago
|
||
Attachment #654322 -
Flags: review?(jgriffin)
Assignee | ||
Comment 5•13 years ago
|
||
Attachment #654323 -
Flags: review?(jgriffin)
Assignee | ||
Comment 6•13 years ago
|
||
Attachment #654325 -
Flags: review?(jgriffin)
Assignee | ||
Comment 7•13 years ago
|
||
Attachment #654326 -
Flags: review?(jgriffin)
Assignee | ||
Comment 8•13 years ago
|
||
Attachment #654327 -
Flags: review?(jgriffin)
Assignee | ||
Comment 9•13 years ago
|
||
Attachment #654328 -
Flags: review?(jgriffin)
Assignee | ||
Comment 10•13 years ago
|
||
Attachment #654329 -
Flags: review?(jgriffin)
Assignee | ||
Comment 11•13 years ago
|
||
Attachment #654330 -
Flags: review?(jgriffin)
Updated•13 years ago
|
Attachment #654319 -
Flags: review?(jgriffin) → review+
Updated•13 years ago
|
Attachment #654321 -
Flags: review?(jgriffin) → review+
Updated•13 years ago
|
Attachment #654322 -
Flags: review?(jgriffin) → review+
Updated•13 years ago
|
Attachment #654323 -
Flags: review?(jgriffin) → review+
Updated•13 years ago
|
Attachment #654325 -
Flags: review?(jgriffin) → review+
Updated•13 years ago
|
Attachment #654326 -
Flags: review?(jgriffin) → review+
Updated•13 years ago
|
Attachment #654327 -
Flags: review?(jgriffin) → review+
Updated•13 years ago
|
Attachment #654328 -
Flags: review?(jgriffin) → review+
Updated•13 years ago
|
Attachment #654329 -
Flags: review?(jgriffin) → review+
Comment 12•13 years ago
|
||
Comment on attachment 654330 [details] [diff] [review]
Patch 10 of 10
Review of attachment 654330 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/telephony/test/marionette/test_outgoing_remote_hangup_held.js
@@ +38,5 @@
> + runEmulatorCmd("gsm list", function(result) {
> + log("Call list is now: " + result);
> + is(result[0], "outbound to " + outNumber + " : unknown");
> + is(result[1], "OK");
> + verifyAlerting();
Does this work reliably? This sets up the onalerting event handler after the dial command has had a chance to do its thing. I would imagine there is a chance that the alerting event could happen before the event handler is set up, since waiting for the runEmulatorCmd callback gives it a window in which events can be processed. It's probably better to structure this part something like https://mxr.mozilla.org/mozilla-central/source/dom/telephony/test/marionette/test_outgoing_hangup_alerting.js#28. This applies to the other tests that use onalerting as well.
Attachment #654330 -
Flags: review?(jgriffin) → review-
Assignee | ||
Comment 13•13 years ago
|
||
Oh, good point - I will make the changes, thanks Jonathan!
Assignee | ||
Comment 14•13 years ago
|
||
Fixed the test in patch 9, attached new / replacement patch 9.
Attachment #654329 -
Attachment is obsolete: true
Attachment #655135 -
Flags: review?(jgriffin)
Assignee | ||
Comment 15•13 years ago
|
||
Fixed test in patch 10, attached replacement patch 10.
Attachment #654330 -
Attachment is obsolete: true
Attachment #655136 -
Flags: review?(jgriffin)
Updated•13 years ago
|
Attachment #655135 -
Flags: review?(jgriffin) → review+
Comment 16•13 years ago
|
||
Comment on attachment 655136 [details] [diff] [review]
Patch 10 of 10 VER2
Review of attachment 655136 [details] [diff] [review]:
-----------------------------------------------------------------
Looks much better, thanks! I'll land this shortly.
Attachment #655136 -
Flags: review?(jgriffin) → review+
Comment 17•13 years ago
|
||
Target Milestone: --- → mozilla17
Comment 18•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•