dom/icc/tests/marionette/test_stk_poll_off.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/dom/icc/tests/marionette/test_stk_poll_off.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,21 @@
     1.4 +/* Any copyright is dedicated to the Public Domain.
     1.5 +   http://creativecommons.org/publicdomain/zero/1.0/ */
     1.6 +
     1.7 +MARIONETTE_HEAD_JS = "stk_helper.js";
     1.8 +
     1.9 +function testPollOff(command, expect) {
    1.10 +  log("STK CMD " + JSON.stringify(command));
    1.11 +  is(command.typeOfCommand, iccManager.STK_CMD_POLL_OFF, expect.name);
    1.12 +  is(command.commandQualifier, expect.commandQualifier, expect.name);
    1.13 +
    1.14 +  runNextTest();
    1.15 +}
    1.16 +
    1.17 +let tests = [
    1.18 +  {command: "d009810301040082028182",
    1.19 +   func: testPollOff,
    1.20 +   expect: {name: "pull_off_cmd_1",
    1.21 +            commandQualifier: 0x00}}
    1.22 +];
    1.23 +
    1.24 +runNextTest();

mercurial