dom/icc/tests/marionette/test_stk_poll_off.js

branch
TOR_BUG_9701
changeset 15
b8a032363ba2
equal deleted inserted replaced
-1:000000000000 0:225f5cc669f5
1 /* Any copyright is dedicated to the Public Domain.
2 http://creativecommons.org/publicdomain/zero/1.0/ */
3
4 MARIONETTE_HEAD_JS = "stk_helper.js";
5
6 function testPollOff(command, expect) {
7 log("STK CMD " + JSON.stringify(command));
8 is(command.typeOfCommand, iccManager.STK_CMD_POLL_OFF, expect.name);
9 is(command.commandQualifier, expect.commandQualifier, expect.name);
10
11 runNextTest();
12 }
13
14 let tests = [
15 {command: "d009810301040082028182",
16 func: testPollOff,
17 expect: {name: "pull_off_cmd_1",
18 commandQualifier: 0x00}}
19 ];
20
21 runNextTest();

mercurial