зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1222935 - Support REQUEST_SEND_USSD command. r=hsinyi
This commit is contained in:
Родитель
55af4f89c3
Коммит
622194555c
|
@ -48,6 +48,7 @@ disabled = Bug 1214537
|
||||||
[test_mmi_unlock_puk.js]
|
[test_mmi_unlock_puk.js]
|
||||||
[test_mmi_unlock_puk2.js]
|
[test_mmi_unlock_puk2.js]
|
||||||
[test_mmi_ussd.js]
|
[test_mmi_ussd.js]
|
||||||
|
skip-if = android_version < '19'
|
||||||
[test_modem_switch_tech.js]
|
[test_modem_switch_tech.js]
|
||||||
[test_multiple_hold.js]
|
[test_multiple_hold.js]
|
||||||
[test_outgoing_already_held.js]
|
[test_outgoing_already_held.js]
|
||||||
|
|
|
@ -8,11 +8,9 @@ function testUSSD() {
|
||||||
log("Test *#1234# ...");
|
log("Test *#1234# ...");
|
||||||
|
|
||||||
return gSendMMI("*#1234#").then(aResult => {
|
return gSendMMI("*#1234#").then(aResult => {
|
||||||
// Since emulator doesn't support sending USSD, so we expect the result is
|
ok(aResult.success, "Check success");
|
||||||
// always failed.
|
|
||||||
ok(!aResult.success, "Check success");
|
|
||||||
is(aResult.serviceCode, "scUssd", "Check serviceCode");
|
is(aResult.serviceCode, "scUssd", "Check serviceCode");
|
||||||
is(aResult.statusMessage, "RequestNotSupported", "Check statusMessage");
|
is(aResult.statusMessage, "", "Check statusMessage");
|
||||||
is(aResult.additionalInformation, undefined, "No additional information");
|
is(aResult.additionalInformation, undefined, "No additional information");
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче