Closed
Bug 1087968
Opened 9 years ago
Closed 9 years ago
Rewrite icc marionette tests with Promise
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
2.2 S5 (6feb)
People
(Reporter: edgar, Assigned: edgar)
References
Details
Attachments
(4 files, 3 obsolete files)
28.28 KB,
patch
|
hsinyi
:
review+
|
Details | Diff | Splinter Review |
6.71 KB,
patch
|
hsinyi
:
review+
|
Details | Diff | Splinter Review |
10.34 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
267.70 KB,
patch
|
edgar
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Updated•9 years ago
|
OS: Linux → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Assignee | ||
Comment 1•9 years ago
|
||
We could reuse the head.js introduced in bug 1084233.
Depends on: 1084233
Assignee | ||
Comment 2•9 years ago
|
||
Assignee | ||
Comment 3•9 years ago
|
||
Assignee | ||
Comment 4•9 years ago
|
||
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8552910 -
Attachment is obsolete: true
Assignee | ||
Comment 6•9 years ago
|
||
Assignee | ||
Comment 7•9 years ago
|
||
Comment on attachment 8551817 [details] [diff] [review] Part 1: Split test_stk_proactive_command.js into localInfo and timerManagement, v1 Review of attachment 8551817 [details] [diff] [review]: ----------------------------------------------------------------- Split test_stk_proactive_command.js into two tests, test_stk_local_info.js and test_stk_timer_management.js. And also rewrite them with Promise. Hi Hsinyi, would you mind reviewing this? Thank you.
Attachment #8551817 -
Flags: review?(htsai)
Assignee | ||
Updated•9 years ago
|
Attachment #8552182 -
Flags: review?(htsai)
Assignee | ||
Updated•9 years ago
|
Attachment #8552917 -
Flags: review?(htsai)
Assignee | ||
Comment 8•9 years ago
|
||
Comment on attachment 8552926 [details] [diff] [review] Part 4: Deferred object is obsoleted since Gecko 30, use new Promise instead, v1 Review of attachment 8552926 [details] [diff] [review]: ----------------------------------------------------------------- Deferred in Promise.jsm is obsoleted since Gecko 30 [1], we should use new Promise instead. Although we don't use Promise.jsm in icc marionette tests, but I would still like to remove faked Deferred and follow the standard way to create a new promise. Hi Hsinyi, may I have your review? Thank you. [1] https://developer.mozilla.org/en-US/docs/Mozilla/JavaScript_code_modules/Promise.jsm/Deferred
Attachment #8552926 -
Flags: review?(htsai)
Comment 9•9 years ago
|
||
Comment on attachment 8551817 [details] [diff] [review] Part 1: Split test_stk_proactive_command.js into localInfo and timerManagement, v1 Review of attachment 8551817 [details] [diff] [review]: ----------------------------------------------------------------- Looks good thought it would be more perfect that |sendEmulatorStkPdu| is added in part 1 instead of part 2 ;)
Attachment #8551817 -
Flags: review?(htsai) → review+
Assignee | ||
Comment 10•9 years ago
|
||
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #9) > Comment on attachment 8551817 [details] [diff] [review] > Part 1: Split test_stk_proactive_command.js into localInfo and > timerManagement, v1 > > Review of attachment 8551817 [details] [diff] [review]: > ----------------------------------------------------------------- > > Looks good thought it would be more perfect that |sendEmulatorStkPdu| is > added in part 1 instead of part 2 ;) Oops!! Will move |sendEmulatorStkPdu| to part 1, thanks for catching this.
Updated•9 years ago
|
Attachment #8552182 -
Flags: review?(htsai) → review+
Comment 11•9 years ago
|
||
Comment on attachment 8552917 [details] [diff] [review] Part 3: Rewrite test_icc_* with Promise, v2 Review of attachment 8552917 [details] [diff] [review]: ----------------------------------------------------------------- Looks good!
Attachment #8552917 -
Flags: review?(htsai) → review+
Updated•9 years ago
|
Attachment #8552926 -
Flags: review?(htsai) → review+
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → echen
Assignee | ||
Comment 12•9 years ago
|
||
Address review comment #9 - Moving |sendEmulatorStkPdu| to part 1
Attachment #8551817 -
Attachment is obsolete: true
Attachment #8554349 -
Flags: review+
Assignee | ||
Comment 13•9 years ago
|
||
Address review comment #9 - Moving |sendEmulatorStkPdu| to part 1
Attachment #8552182 -
Attachment is obsolete: true
Assignee | ||
Updated•9 years ago
|
Attachment #8554350 -
Flags: review+
Assignee | ||
Comment 14•9 years ago
|
||
Try result: https://treeherder.mozilla.org/#/jobs?repo=try&revision=2112e1026924
Assignee | ||
Comment 15•9 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/f972d9f7d3a1 https://hg.mozilla.org/integration/b2g-inbound/rev/28ed9a100130 https://hg.mozilla.org/integration/b2g-inbound/rev/3cf44a08328a https://hg.mozilla.org/integration/b2g-inbound/rev/0e4c49b5337a
Comment 16•9 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/f972d9f7d3a1 https://hg.mozilla.org/mozilla-central/rev/28ed9a100130 https://hg.mozilla.org/mozilla-central/rev/3cf44a08328a https://hg.mozilla.org/mozilla-central/rev/0e4c49b5337a
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: in-testsuite+
Resolution: --- → FIXED
Target Milestone: --- → 2.2 S5 (6feb)
You need to log in
before you can comment on or make changes to this bug.
Description
•