Closed
Bug 870654
Opened 11 years ago
Closed 6 years ago
[System][Test] Unit test for sound manager.
Categories
(Firefox OS Graveyard :: Gaia::System, defect)
Tracking
(Not tracked)
RESOLVED
WONTFIX
People
(Reporter: alive, Unassigned)
References
Details
Sound manager is getting complex now, unit test needed before refactor it.
Reporter | ||
Comment 1•11 years ago
|
||
The basic tests I could figure out now: (A) Hardware button/Virtual button input test: 1. test window.dispatchEvent(new Event('volumeup')) 2. test window.dispatchEvent(new Event('volumedown')) 3. test window.dispatchEvent(new Event('mute')) introduced in bug 867912 4. test window.dispatchEvent(new Event('unmute')) introduced in bug 867912 (B) Fake mozChromeEvent test 5. Test with active channel = notification 6. Test with active channel = bt_sco 7. Test with fake bt earphone is asking to adjust volume 8. Test with active channel = telephony 9. Test with active channel = content 10. Test with active channel = alarm 11. Earphone in/out (C) CE certification test introduced in bug 855792 (D) TBD.
Updated•11 years ago
|
Assignee: alive → yurenju.mozilla
Updated•10 years ago
|
Assignee: yurenju.mozilla → nobody
Comment 2•6 years ago
|
||
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•