Bug 931722 - Part 3: Add test cases for call mute test. r=hsinyi

This commit is contained in:
Shawn Ku 2013-11-27 15:47:29 +08:00
Родитель 0154de919d
Коммит 0e9b563298
2 изменённых файлов: 22 добавлений и 0 удалений

Просмотреть файл

@ -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();
});