Bug 881142 - Part 5: Modify test_outgoing_busy for removing call state busy. r=hsinyi

This commit is contained in:
Szu-Yu Chen [:aknow] 2013-07-15 08:54:38 -04:00
parent 44e81e91c7
commit dc2066bfec

View File

@ -92,10 +92,10 @@ function dial() {
function busy() {
log("The receiver is busy.");
outgoing.onbusy = function onbusy(event) {
log("Received 'busy' call event.");
outgoing.onerror = function onerror(event) {
log("Received 'error' call event.");
is(outgoing, event.call);
is(outgoing.state, "busy");
is(event.call.error.name, "BusyError");
runEmulatorCmd("gsm list", function(result) {
log("Call list is now: " + result);
@ -103,6 +103,7 @@ function busy() {
cleanUp();
});
};
runEmulatorCmd("gsm busy " + number);
};