Closed
Bug 949849
Opened 12 years ago
Closed 10 years ago
B2G RIL: update the marionette test script for icc.updateContact
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(tracking-b2g:backlog, firefox40 fixed)
Tracking | Status | |
---|---|---|
firefox40 | --- | fixed |
People
(Reporter: allstars.chh, Assigned: jdai)
References
Details
(Whiteboard: [grooming])
Attachments
(1 file, 2 obsolete files)
In Bug 943234 there is a marionette test for icc.updateContact, but it didn't cover what Jose Manual met in https://bugzilla.mozilla.org/show_bug.cgi?id=943234#c29
So this bug is filed to fix that problem.
Updated•11 years ago
|
Whiteboard: [grooming]
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → jdai
Assignee | ||
Comment 2•10 years ago
|
||
This bug has been already resolved as Bug 943234[1].
[1]:https://bugzilla.mozilla.org/attachment.cgi?id=8339869&action=diff
Assignee | ||
Comment 3•10 years ago
|
||
Previous comment is wrong ticket. This patch make sure we won't return null in contact id. i.e. 8934071100275319295null.
Attachment #8584347 -
Flags: review?(echen)
Comment 4•10 years ago
|
||
Comment on attachment 8584347 [details] [diff] [review]
Modify marionette test script for icc.updateContact.
Review of attachment 8584347 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you for working on this. But this bug is filed for adding test for icc.updateContact, we should also test the result of icc.updateContact, too.
::: dom/icc/tests/marionette/test_icc_contact.js
@@ +48,5 @@
> is(aResult.length, 5);
>
> is(aResult[4].name[0], "add");
> is(aResult[4].tel[0].value, "0912345678");
> + ok(!isNaN(parseInt(aResult[4].id)), "Should be a number " + aResult[4].id);
I think we should know the expected id of a new contact, e.g. iccid + number. Couldn't we just test aResult[4].id with it?
Attachment #8584347 -
Flags: review?(echen)
Assignee | ||
Comment 5•10 years ago
|
||
This patch addresses comment 4.
Attachment #8584347 -
Attachment is obsolete: true
Attachment #8585848 -
Flags: review?(echen)
Assignee | ||
Updated•10 years ago
|
Attachment #8585848 -
Flags: review?(echen)
Assignee | ||
Updated•10 years ago
|
Attachment #8585848 -
Flags: review?(echen)
Comment 6•10 years ago
|
||
Comment on attachment 8585848 [details] [diff] [review]
Modify marionette test script for icc.updateContact. (V2)
Review of attachment 8585848 [details] [diff] [review]:
-----------------------------------------------------------------
Thank you.
Attachment #8585848 -
Flags: review?(echen) → review+
Assignee | ||
Comment 7•10 years ago
|
||
Add reviewer r=echen.
Attachment #8585848 -
Attachment is obsolete: true
Assignee | ||
Comment 8•10 years ago
|
||
TryServer result:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=6612b41a360d
Keywords: checkin-needed
Comment 9•10 years ago
|
||
Flags: in-testsuite+
Keywords: checkin-needed
Comment 10•10 years ago
|
||
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox40:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S10 (17apr)
You need to log in
before you can comment on or make changes to this bug.
Description
•