diff -r 000000000000 -r 6474c204b198 dom/icc/tests/marionette/test_stk_poll_off.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dom/icc/tests/marionette/test_stk_poll_off.js Wed Dec 31 06:09:35 2014 +0100 @@ -0,0 +1,21 @@ +/* Any copyright is dedicated to the Public Domain. + http://creativecommons.org/publicdomain/zero/1.0/ */ + +MARIONETTE_HEAD_JS = "stk_helper.js"; + +function testPollOff(command, expect) { + log("STK CMD " + JSON.stringify(command)); + is(command.typeOfCommand, iccManager.STK_CMD_POLL_OFF, expect.name); + is(command.commandQualifier, expect.commandQualifier, expect.name); + + runNextTest(); +} + +let tests = [ + {command: "d009810301040082028182", + func: testPollOff, + expect: {name: "pull_off_cmd_1", + commandQualifier: 0x00}} +]; + +runNextTest();