зеркало из https://github.com/mozilla/gecko-dev.git
Bug 931722 - Part 3: Add test cases for call mute test. r=hsinyi
This commit is contained in:
Родитель
0154de919d
Коммит
0e9b563298
|
@ -44,3 +44,4 @@ disabled = Bug 821958
|
|||
[test_emergency_label.js]
|
||||
[test_conference.js]
|
||||
[test_dsds_default_service_id.js]
|
||||
[test_call_mute.js]
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
/* Any copyright is dedicated to the Public Domain.
|
||||
* http://creativecommons.org/publicdomain/zero/1.0/ */
|
||||
|
||||
MARIONETTE_TIMEOUT = 60000;
|
||||
MARIONETTE_HEAD_JS = 'head.js';
|
||||
|
||||
function test_call_mute() {
|
||||
telephony.muted = true;
|
||||
is(telephony.muted, true);
|
||||
telephony.muted = false;
|
||||
is(telephony.muted, false);
|
||||
cleanUp();
|
||||
}
|
||||
|
||||
function cleanUp() {
|
||||
finish();
|
||||
}
|
||||
|
||||
startTest(function() {
|
||||
test_call_mute();
|
||||
});
|
Загрузка…
Ссылка в новой задаче