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