Bug 866619 - Part 2: Fix marionette tests for voice registration state. r=allstars.chh

This commit is contained in:
Edgar Chen 2013-07-19 15:51:54 +08:00
parent 547f37bb12
commit 204fd81eaa
2 changed files with 2 additions and 12 deletions

View File

@ -84,13 +84,8 @@ function testOff() {
function testSearching() {
log("Test 4: Searching.");
// Set emulator data state to 'searching' and verify
// Bug 819533: WebMobileConnection data/voice state incorrect when emulator
// data state is 'searching'. So until fixed, expect 'registered'.
// changeDataStateAndVerify("searching", "searching", testDenied);
log("* When Bug 819533 is fixed, change this test to expect 'searching' *");
changeDataStateAndVerify("searching", "registered", testDenied);
// Expect mobileConnection.data.state to be 'searching'
changeDataStateAndVerify("searching", "searching", testDenied);
}
function testDenied() {

View File

@ -84,11 +84,6 @@ function testUnregistered() {
}
function testSearching() {
// For some reason, requesting the "searching" state puts the fake modem
// into "registered"... Skipping this test for now.
testDenied();
return;
setEmulatorVoiceState("searching");
connection.addEventListener("voicechange", function onvoicechange() {