Closed
Bug 1027514
Opened 11 years ago
Closed 11 years ago
[B2G][RIL][MMI] Add marionette test cases for callforwarding MMI code
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.0 S5 (4july)
People
(Reporter: edgar, Assigned: edgar)
References
Details
(Whiteboard: [p=1])
Attachments
(1 file, 3 obsolete files)
|
6.53 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
Now emulator supports setting/getting callforwarding, we could write some test cases for callforwarding MMI code.
| Assignee | ||
Updated•11 years ago
|
Assignee: nobody → echen
| Assignee | ||
Comment 1•11 years ago
|
||
| Assignee | ||
Updated•11 years ago
|
Whiteboard: [p=1]
Target Milestone: --- → 2.0 S5 (4july)
| Assignee | ||
Comment 2•11 years ago
|
||
Attachment #8444385 -
Attachment is obsolete: true
| Assignee | ||
Comment 3•11 years ago
|
||
Attachment #8445669 -
Attachment is obsolete: true
| Assignee | ||
Updated•11 years ago
|
Attachment #8445677 -
Flags: review?(htsai)
Comment 4•11 years ago
|
||
Comment on attachment 8445677 [details] [diff] [review]
Patch, v3
Review of attachment 8445677 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you.
::: dom/mobileconnection/tests/marionette/test_mobile_mmi_call_forwarding.js
@@ +123,5 @@
> + reason: reason,
> + action: MozMobileConnection.CALL_FORWARD_ACTION_ERASURE
> + };
> + promise =
> + promise.then(() => setCallForwardingOption(options).then(null, () => {}));
I am not sure I got the point of having "then(null, () => {})" appended.
Attachment #8445677 -
Flags: review?(htsai) → review+
| Assignee | ||
Comment 5•11 years ago
|
||
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #4)
> Comment on attachment 8445677 [details] [diff] [review]
> Patch, v3
>
> Review of attachment 8445677 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Thank you.
>
> ::: dom/mobileconnection/tests/marionette/test_mobile_mmi_call_forwarding.js
> @@ +123,5 @@
> > + reason: reason,
> > + action: MozMobileConnection.CALL_FORWARD_ACTION_ERASURE
> > + };
> > + promise =
> > + promise.then(() => setCallForwardingOption(options).then(null, () => {}));
>
> I am not sure I got the point of having "then(null, () => {})" appended.
It is because emulator doesn't support CALL_FORWARD_REASON_ALL_* yet [1], we catch the reject here in order to avoid impact the test result. I guess I can add some comments here to make things clearer.
Thank you.
[1] https://github.com/mozilla-b2g/platform_external_qemu/blob/3326b51017252e09ccdd715dec6c5e12a7d1ecfe/telephony/android_modem.c#L2629-L2635
| Assignee | ||
Comment 6•11 years ago
|
||
Add some comments for comment #5.
Attachment #8445677 -
Attachment is obsolete: true
Attachment #8447825 -
Flags: review+
| Assignee | ||
Comment 7•11 years ago
|
||
| Assignee | ||
Comment 8•11 years ago
|
||
| Assignee | ||
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Comment 10•11 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•