1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/icc/tests/marionette/test_stk_refresh.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,25 @@ 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 testRefresh(command, expect) { 1.10 + log("STK CMD " + JSON.stringify(command)); 1.11 + is(command.typeOfCommand, iccManager.STK_CMD_REFRESH, 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: "d0108103010101820281829205013f002fe2", 1.19 + func: testRefresh, 1.20 + expect: {name: "refresh_cmd_1", 1.21 + commandQualifier: 0x01}}, 1.22 + {command: "d009810301010482028182", 1.23 + func: testRefresh, 1.24 + expect: {name: "refresh_cmd_2", 1.25 + commandQualifier: 0x04}} 1.26 +]; 1.27 + 1.28 +runNextTest();