Closed
Bug 862704
Opened 12 years ago
Closed 12 years ago
Fix failing MobileOperaror unit tests
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: julienw, Assigned: julienw)
References
Details
Attachments
(1 file)
3.74 KB,
patch
|
alive
:
review+
|
Details | Diff | Splinter Review |
The errors really come from a bad status bar test teardown.
patch is coming
Assignee | ||
Comment 1•12 years ago
|
||
The errors really come from a bad status bar test teardown. So this patch is
adding a teardown operation to the mock for MobileOperator, and is fixing the
teardown of the tests for status bar.
Sadly, we were really testing the mock for MobileOperator because of that.
This is also reverting part of Bug 844738.
---
apps/system/test/unit/mock_mobile_operator.js | 6 +++++-
apps/system/test/unit/statusbar_test.js | 10 +---------
2 files changed, 6 insertions(+), 10 deletions(-)
see also PR https://github.com/mozilla-b2g/gaia/pull/9226
Attachment #738382 -
Flags: review?(alive)
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → felash
Comment 2•12 years ago
|
||
Comment on attachment 738382 [details] [diff] [review]
patch v1
The reason sounds sane.
(But I am still questioning a unit test shouldn't affect other unit test..sigh.)
Attachment #738382 -
Flags: review?(alive) → review+
Assignee | ||
Comment 3•12 years ago
|
||
master: 77c105c7b5eb9e23fd40382ecda5b434aa1d11a4
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•