Bug 827831 - Part 3: [B2G STK]: Marionette test case. r=allstars.chh

This commit is contained in:
Yoshi Huang 2013-01-24 19:13:08 +08:00
parent fde629bf3a
commit ac262b794f

View File

@ -130,6 +130,15 @@ function testTimerManagementGetCurrentValue(cmd) {
runNextTest();
}
function testGetInKeyVariableTimeout(cmd) {
log("STK CMD " + JSON.stringify(cmd));
is(cmd.typeOfCommand, icc.STK_CMD_GET_INKEY);
is(cmd.options.duration.timeUnit, 0x01);
is(cmd.options.duration.timeInterval, 0x0A);
runNextTest();
}
function testSetupCall(cmd) {
log("STK CMD " + JSON.stringify(cmd));
is(cmd.typeOfCommand, icc.STK_CMD_SET_UP_CALL);
@ -169,6 +178,8 @@ let tests = [
func: testTimerManagementGetCurrentValue},
{command: "d029810301100482028182050a446973636f6e6e6563748609811032042143651c2c05074d657373616765",
func: testSetupCall},
{command: "D0198103012200820281828D0A04456E74657220222B228402010A",
func: testGetInKeyVariableTimeout},
];
let pendingEmulatorCmdCount = 0;