1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/dom/icc/tests/marionette/test_stk_select_item.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,322 @@ 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 testSelectItem(command, expect) { 1.10 + log("STK CMD " + JSON.stringify(command)); 1.11 + is(command.typeOfCommand, iccManager.STK_CMD_SELECT_ITEM, expect.name); 1.12 + is(command.commandQualifier, expect.commandQualifier, expect.name); 1.13 + is(command.options.title, expect.title, expect.name); 1.14 + for (let index in command.options.items) { 1.15 + is(command.options.items[index].identifier, expect.items[index].identifier, expect.name); 1.16 + is(command.options.items[index].text, expect.items[index].text, expect.name); 1.17 + } 1.18 + let length = command.options.nextActionList ? command.options.nextActionList.length : 0; 1.19 + for (let i = 0; i < length; i++) { 1.20 + is(command.options.nextActionList[i], expect.nextActionList[i], expect.name); 1.21 + } 1.22 + 1.23 + runNextTest(); 1.24 +} 1.25 + 1.26 +let tests = [ 1.27 + {command: "d03d810301240082028182850e546f6f6c6b69742053656c6563748f07014974656d20318f07024974656d20328f07034974656d20338f07044974656d2034", 1.28 + func: testSelectItem, 1.29 + expect: {name: "select_item_cmd_1", 1.30 + commandQualifier: 0x00, 1.31 + title: "Toolkit Select", 1.32 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}, {identifier: 3, text: "Item 3"}, {identifier: 4, text: "Item 4"}]}}, 1.33 + {command: "d081fc810301240082028182850a4c617267654d656e75318f05505a65726f8f044f4f6e658f044e54776f8f064d54687265658f054c466f75728f054b466976658f044a5369788f0649536576656e8f064845696768748f05474e696e658f0646416c7068618f0645427261766f8f0844436861726c69658f064344656c74618f05424563686f8f0941466f782d74726f748f0640426c61636b8f063f42726f776e8f043e5265648f073d4f72616e67658f073c59656c6c6f778f063b477265656e8f053a426c75658f073956696f6c65748f0538477265798f063757686974658f06366d696c6c698f06356d6963726f8f05346e616e6f8f05337069636f", 1.34 + func: testSelectItem, 1.35 + expect: {name: "select_item_cmd_2", 1.36 + commandQualifier: 0x00, 1.37 + title: "LargeMenu1", 1.38 + items: [{identifier: 80, text: "Zero"}, {identifier: 79, text: "One"}, {identifier: 78, text: "Two"}, {identifier: 77, text: "Three"}, {identifier: 76, text: "Four"}, {identifier: 75, text: "Five"}, {identifier: 74, text: "Six"}, {identifier: 73, text: "Seven"}, {identifier: 72, text: "Eight"}, {identifier: 71, text: "Nine"}, {identifier: 70, text: "Alpha"}, {identifier: 69, text: "Bravo"}, {identifier: 68, text: "Charlie"}, {identifier: 67, text: "Delta"}, {identifier: 66, text: "Echo"}, {identifier: 65, text: "Fox-trot"}, {identifier: 64, text: "Black"}, {identifier: 63, text: "Brown"}, {identifier: 62, text: "Red"}, {identifier: 61, text: "Orange"}, {identifier: 60, text: "Yellow"}, {identifier: 59, text: "Green"}, {identifier: 58, text: "Blue"}, {identifier: 57, text: "Violet"}, {identifier: 56, text: "Grey"}, {identifier: 55, text: "White"}, {identifier: 54, text: "milli"}, {identifier: 53, text: "micro"}, {identifier: 52, text: "nano"}, {identifier: 51, text: "pico"}]}}, 1.39 + {command: "d081fb810301240082028182850a4c617267654d656e75328f1eff43616c6c20466f7277617264696e6720556e636f6e646974696f6e616c8f1dfe43616c6c20466f7277617264696e67204f6e205573657220427573798f1cfd43616c6c20466f7277617264696e67204f6e204e6f205265706c798f26fc43616c6c20466f7277617264696e67204f6e2055736572204e6f7420526561636861626c658f1efb42617272696e67204f6620416c6c204f7574676f696e672043616c6c738f2cfa42617272696e67204f6620416c6c204f7574676f696e6720496e7465726e6174696f6e616c2043616c6c738f11f9434c492050726573656e746174696f6e", 1.40 + func: testSelectItem, 1.41 + expect: {name: "select_item_cmd_3", 1.42 + commandQualifier: 0x00, 1.43 + title: "LargeMenu2", 1.44 + items: [{identifier: 255, text: "Call Forwarding Unconditional"}, {identifier: 254, text: "Call Forwarding On User Busy"}, {identifier: 253, text: "Call Forwarding On No Reply"}, {identifier: 252, text: "Call Forwarding On User Not Reachable"}, {identifier: 251, text: "Barring Of All Outgoing Calls"}, {identifier: 250, text: "Barring Of All Outgoing International Calls"}, {identifier: 249, text: "CLI Presentation"}]}}, 1.45 + {command: "d022810301240082028182850b53656c656374204974656d8f04114f6e658f041254776f", 1.46 + func: testSelectItem, 1.47 + expect: {name: "select_item_cmd_4", 1.48 + commandQualifier: 0x00, 1.49 + title: "Select Item", 1.50 + items: [{identifier: 17, text: "One"}, {identifier: 18, text: "Two"}]}}, 1.51 + {command: "d081fd8103012400820281828581ed5468652053494d207368616c6c20737570706c79206120736574206f66206974656d732066726f6d207768696368207468652075736572206d61792063686f6f7365206f6e652e2045616368206974656d20636f6d70726973657320612073686f7274206964656e74696669657220287573656420746f20696e646963617465207468652073656c656374696f6e2920616e642061207465787420737472696e672e204f7074696f6e616c6c79207468652053494d206d617920696e636c75646520616e20616c706861206964656e7469666965722e2054686520616c706861206964656e74696669657220698f020159", 1.52 + func: testSelectItem, 1.53 + expect: {name: "select_item_cmd_5", 1.54 + commandQualifier: 0x00, 1.55 + title: "The SIM shall supply a set of items from which the user may choose one. Each item comprises a short identifier (used to indicate the selection) and a text string. Optionally the SIM may include an alpha identifier. The alpha identifier i", 1.56 + items: [{identifier: 1, text: "Y"}]}}, 1.57 + {command: "d081f3810301240082028182850a304c617267654d656e758f1dff312043616c6c20466f727761726420556e636f6e646974696f6e616c8f1cfe322043616c6c20466f7277617264204f6e205573657220427573798f1bfd332043616c6c20466f7277617264204f6e204e6f205265706c798f25fc342043616c6c20466f7277617264204f6e2055736572204e6f7420526561636861626c658f20fb352042617272696e67204f6620416c6c204f7574676f696e672043616c6c738f24fa362042617272696e67204f6620416c6c204f7574676f696e6720496e742043616c6c738f13f93720434c492050726573656e746174696f6e", 1.58 + func: testSelectItem, 1.59 + expect: {name: "select_item_cmd_6", 1.60 + commandQualifier: 0x00, 1.61 + title: "0LargeMenu", 1.62 + items: [{identifier: 255, text: "1 Call Forward Unconditional"}, {identifier: 254, text: "2 Call Forward On User Busy"}, {identifier: 253, text: "3 Call Forward On No Reply"}, {identifier: 252, text: "4 Call Forward On User Not Reachable"}, {identifier: 251, text: "5 Barring Of All Outgoing Calls"}, {identifier: 250, text: "6 Barring Of All Outgoing Int Calls"}, {identifier: 249, text: "7 CLI Presentation"}]}}, 1.63 + {command: "d039810301240082028182850e546f6f6c6b69742053656c6563748f07014974656d20318f07024974656d20328f07034974656d20331803131026", 1.64 + func: testSelectItem, 1.65 + expect: {name: "select_item_cmd_7", 1.66 + commandQualifier: 0x00, 1.67 + title: "Toolkit Select", 1.68 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}, {identifier: 3, text: "Item 3"}], 1.69 + nextActionList: [iccManager.STK_CMD_SEND_SMS, iccManager.STK_CMD_SET_UP_CALL, iccManager.STK_CMD_PROVIDE_LOCAL_INFO]}}, 1.70 + {command: "d037810301240082028182850e546f6f6c6b69742053656c6563748f07014974656d20318f07024974656d20328f07034974656d2033900102", 1.71 + func: testSelectItem, 1.72 + expect: {name: "select_item_cmd_8", 1.73 + commandQualifier: 0x00, 1.74 + title: "Toolkit Select", 1.75 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}, {identifier: 3, text: "Item 3"}]}}, 1.76 + {command: "d034810301248082028182850e546f6f6c6b69742053656c6563748f07014974656d20318f07024974656d20328f07034974656d2033", 1.77 + func: testSelectItem, 1.78 + expect: {name: "select_item_cmd_9", 1.79 + commandQualifier: 0x80, 1.80 + title: "Toolkit Select", 1.81 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}, {identifier: 3, text: "Item 3"}]}}, 1.82 + {command: "d03e810301240082028182850e546f6f6c6b69742053656c6563748f07014974656d20318f07024974656d20328f07034974656d20339e0201019f0401050505", 1.83 + func: testSelectItem, 1.84 + expect: {name: "select_item_cmd_10", 1.85 + commandQualifier: 0x00, 1.86 + title: "Toolkit Select", 1.87 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}, {identifier: 3, text: "Item 3"}]}}, 1.88 + {command: "d03e810301240082028182850e546f6f6c6b69742053656c6563748f07014974656d20318f07024974656d20328f07034974656d20339e0200019f0400050505", 1.89 + func: testSelectItem, 1.90 + expect: {name: "select_item_cmd_11", 1.91 + commandQualifier: 0x00, 1.92 + title: "Toolkit Select", 1.93 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}, {identifier: 3, text: "Item 3"}]}}, 1.94 + {command: "d034810301240382028182850e546f6f6c6b69742053656c6563748f07014974656d20318f07024974656d20328f07034974656d2033", 1.95 + func: testSelectItem, 1.96 + expect: {name: "select_item_cmd_12", 1.97 + commandQualifier: 0x03, 1.98 + title: "Toolkit Select", 1.99 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}, {identifier: 3, text: "Item 3"}]}}, 1.100 + {command: "d034810301240182028182850e546f6f6c6b69742053656c6563748f07014974656d20318f07024974656d20328f07034974656d2033", 1.101 + func: testSelectItem, 1.102 + expect: {name: "select_item_cmd_13", 1.103 + commandQualifier: 0x01, 1.104 + title: "Toolkit Select", 1.105 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}, {identifier: 3, text: "Item 3"}]}}, 1.106 + {command: "d02b810301240482028182850e546f6f6c6b69742053656c6563748f07014974656d20318f07024974656d2032", 1.107 + func: testSelectItem, 1.108 + expect: {name: "select_item_cmd_14", 1.109 + commandQualifier: 0x04, 1.110 + title: "Toolkit Select", 1.111 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}]}}, 1.112 + {command: "d030810301240082028182850a3c54494d452d4f55543e8f07014974656d20318f07024974656d20328f07034974656d2033", 1.113 + func: testSelectItem, 1.114 + expect: {name: "select_item_cmd_15", 1.115 + commandQualifier: 0x00, 1.116 + title: "<TIME-OUT>", 1.117 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}, {identifier: 3, text: "Item 3"}]}}, 1.118 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420318f07014974656d20318f07024974656d2032d004001000b4d108000600b4000600b4", 1.119 + func: testSelectItem, 1.120 + expect: {name: "select_item_cmd_16", 1.121 + commandQualifier: 0x00, 1.122 + title: "Toolkit Select 1", 1.123 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}]}}, 1.124 + {command: "d02d8103012400820281828510546f6f6c6b69742053656c65637420328f07014974656d20338f07024974656d2034", 1.125 + func: testSelectItem, 1.126 + expect: {name: "select_item_cmd_17", 1.127 + commandQualifier: 0x00, 1.128 + title: "Toolkit Select 2", 1.129 + items: [{identifier: 1, text: "Item 3"}, {identifier: 2, text: "Item 4"}]}}, 1.130 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420318f07014974656d20318f07024974656d2032d004001001b4d108000601b4000601b4", 1.131 + func: testSelectItem, 1.132 + expect: {name: "select_item_cmd_18", 1.133 + commandQualifier: 0x00, 1.134 + title: "Toolkit Select 1", 1.135 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}]}}, 1.136 + {command: "d02d8103012400820281828510546f6f6c6b69742053656c65637420328f07014974656d20338f07024974656d2034", 1.137 + func: testSelectItem, 1.138 + expect: {name: "select_item_cmd_19", 1.139 + commandQualifier: 0x00, 1.140 + title: "Toolkit Select 2", 1.141 + items: [{identifier: 1, text: "Item 3"}, {identifier: 2, text: "Item 4"}]}}, 1.142 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420318f07014974656d20318f07024974656d2032d004001002b4d108000602b4000602b4", 1.143 + func: testSelectItem, 1.144 + expect: {name: "select_item_cmd_20", 1.145 + commandQualifier: 0x00, 1.146 + title: "Toolkit Select 1", 1.147 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}]}}, 1.148 + {command: "d02d8103012400820281828510546f6f6c6b69742053656c65637420328f07014974656d20338f07024974656d2034", 1.149 + func: testSelectItem, 1.150 + expect: {name: "select_item_cmd_21", 1.151 + commandQualifier: 0x00, 1.152 + title: "Toolkit Select 2", 1.153 + items: [{identifier: 1, text: "Item 3"}, {identifier: 2, text: "Item 4"}]}}, 1.154 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420318f07014974656d20318f07024974656d2032d004001004b4d108000604b4000604b4", 1.155 + func: testSelectItem, 1.156 + expect: {name: "select_item_cmd_22", 1.157 + commandQualifier: 0x00, 1.158 + title: "Toolkit Select 1", 1.159 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}]}}, 1.160 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420328f07014974656d20338f07024974656d2034d004001000b4d108000600b4000600b4", 1.161 + func: testSelectItem, 1.162 + expect: {name: "select_item_cmd_23", 1.163 + commandQualifier: 0x00, 1.164 + title: "Toolkit Select 2", 1.165 + items: [{identifier: 1, text: "Item 3"}, {identifier: 2, text: "Item 4"}]}}, 1.166 + {command: "d02d8103012400820281828510546f6f6c6b69742053656c65637420338f07014974656d20358f07024974656d2036", 1.167 + func: testSelectItem, 1.168 + expect: {name: "select_item_cmd_24", 1.169 + commandQualifier: 0x00, 1.170 + title: "Toolkit Select 3", 1.171 + items: [{identifier: 1, text: "Item 5"}, {identifier: 2, text: "Item 6"}]}}, 1.172 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420318f07014974656d20318f07024974656d2032d004001008b4d108000608b4000608b4", 1.173 + func: testSelectItem, 1.174 + expect: {name: "select_item_cmd_25", 1.175 + commandQualifier: 0x00, 1.176 + title: "Toolkit Select 1", 1.177 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}]}}, 1.178 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420328f07014974656d20338f07024974656d2034d004001000b4d108000600b4000600b4", 1.179 + func: testSelectItem, 1.180 + expect: {name: "select_item_cmd_26", 1.181 + commandQualifier: 0x00, 1.182 + title: "Toolkit Select 2", 1.183 + items: [{identifier: 1, text: "Item 3"}, {identifier: 2, text: "Item 4"}]}}, 1.184 + {command: "d02d8103012400820281828510546f6f6c6b69742053656c65637420338f07014974656d20358f07024974656d2036", 1.185 + func: testSelectItem, 1.186 + expect: {name: "select_item_cmd_27", 1.187 + commandQualifier: 0x00, 1.188 + title: "Toolkit Select 3", 1.189 + items: [{identifier: 1, text: "Item 5"}, {identifier: 2, text: "Item 6"}]}}, 1.190 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420318f07014974656d20318f07024974656d2032d004001010b4d108000610b4000610b4", 1.191 + func: testSelectItem, 1.192 + expect: {name: "select_item_cmd_28", 1.193 + commandQualifier: 0x00, 1.194 + title: "Toolkit Select 1", 1.195 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}]}}, 1.196 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420328f07014974656d20338f07024974656d2034d004001000b4d108000600b4000600b4", 1.197 + func: testSelectItem, 1.198 + expect: {name: "select_item_cmd_29", 1.199 + commandQualifier: 0x00, 1.200 + title: "Toolkit Select 2", 1.201 + items: [{identifier: 1, text: "Item 3"}, {identifier: 2, text: "Item 4"}]}}, 1.202 + {command: "d02d8103012400820281828510546f6f6c6b69742053656c65637420338f07014974656d20358f07024974656d2036", 1.203 + func: testSelectItem, 1.204 + expect: {name: "select_item_cmd_30", 1.205 + commandQualifier: 0x00, 1.206 + title: "Toolkit Select 3", 1.207 + items: [{identifier: 1, text: "Item 5"}, {identifier: 2, text: "Item 6"}]}}, 1.208 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420318f07014974656d20318f07024974656d2032d004001020b4d108000620b4000620b4", 1.209 + func: testSelectItem, 1.210 + expect: {name: "select_item_cmd_31", 1.211 + commandQualifier: 0x00, 1.212 + title: "Toolkit Select 1", 1.213 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}]}}, 1.214 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420328f07014974656d20338f07024974656d2034d004001000b4d108000600b4000600b4", 1.215 + func: testSelectItem, 1.216 + expect: {name: "select_item_cmd_32", 1.217 + commandQualifier: 0x00, 1.218 + title: "Toolkit Select 2", 1.219 + items: [{identifier: 1, text: "Item 3"}, {identifier: 2, text: "Item 4"}]}}, 1.220 + {command: "d02d8103012400820281828510546f6f6c6b69742053656c65637420338f07014974656d20358f07024974656d2036", 1.221 + func: testSelectItem, 1.222 + expect: {name: "select_item_cmd_33", 1.223 + commandQualifier: 0x00, 1.224 + title: "Toolkit Select 3", 1.225 + items: [{identifier: 1, text: "Item 5"}, {identifier: 2, text: "Item 6"}]}}, 1.226 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420318f07014974656d20318f07024974656d2032d004001040b4d108000640b4000640b4", 1.227 + func: testSelectItem, 1.228 + expect: {name: "select_item_cmd_34", 1.229 + commandQualifier: 0x00, 1.230 + title: "Toolkit Select 1", 1.231 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}]}}, 1.232 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420328f07014974656d20338f07024974656d2034d004001000b4d108000600b4000600b4", 1.233 + func: testSelectItem, 1.234 + expect: {name: "select_item_cmd_35", 1.235 + commandQualifier: 0x00, 1.236 + title: "Toolkit Select 2", 1.237 + items: [{identifier: 1, text: "Item 3"}, {identifier: 2, text: "Item 4"}]}}, 1.238 + {command: "d02d8103012400820281828510546f6f6c6b69742053656c65637420338f07014974656d20358f07024974656d2036", 1.239 + func: testSelectItem, 1.240 + expect: {name: "select_item_cmd_36", 1.241 + commandQualifier: 0x00, 1.242 + title: "Toolkit Select 3", 1.243 + items: [{identifier: 1, text: "Item 5"}, {identifier: 2, text: "Item 6"}]}}, 1.244 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420318f07014974656d20318f07024974656d2032d004001080b4d108000680b4000680b4", 1.245 + func: testSelectItem, 1.246 + expect: {name: "select_item_cmd_37", 1.247 + commandQualifier: 0x00, 1.248 + title: "Toolkit Select 1", 1.249 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}]}}, 1.250 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420328f07014974656d20338f07024974656d2034d004001000b4d108000600b4000600b4", 1.251 + func: testSelectItem, 1.252 + expect: {name: "select_item_cmd_38", 1.253 + commandQualifier: 0x00, 1.254 + title: "Toolkit Select 2", 1.255 + items: [{identifier: 1, text: "Item 3"}, {identifier: 2, text: "Item 4"}]}}, 1.256 + {command: "d02d8103012400820281828510546f6f6c6b69742053656c65637420338f07014974656d20358f07024974656d2036", 1.257 + func: testSelectItem, 1.258 + expect: {name: "select_item_cmd_39", 1.259 + commandQualifier: 0x00, 1.260 + title: "Toolkit Select 3", 1.261 + items: [{identifier: 1, text: "Item 5"}, {identifier: 2, text: "Item 6"}]}}, 1.262 + {command: "d03d8103012400820281828510546f6f6c6b69742053656c65637420318f07014974656d20318f07024974656d2032d004001000b4d108000600b4000600b4", 1.263 + func: testSelectItem, 1.264 + expect: {name: "select_item_cmd_40", 1.265 + commandQualifier: 0x00, 1.266 + title: "Toolkit Select 1", 1.267 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}]}}, 1.268 + {command: "d02d8103012400820281828510546f6f6c6b69742053656c65637420328f07014974656d20338f07024974656d2034", 1.269 + func: testSelectItem, 1.270 + expect: {name: "select_item_cmd_41", 1.271 + commandQualifier: 0x00, 1.272 + title: "Toolkit Select 2", 1.273 + items: [{identifier: 1, text: "Item 3"}, {identifier: 2, text: "Item 4"}]}}, 1.274 + {command: "d07e8103012400820281828519800417041404200410041204210422041204230419042204158f1c018004170414042004100412042104220412042304190422041500318f1c028004170414042004100412042104220412042304190422041500328f1c03800417041404200410041204210422041204230419042204150033", 1.275 + func: testSelectItem, 1.276 + expect: {name: "select_item_cmd_42", 1.277 + commandQualifier: 0x00, 1.278 + title: "ЗДРАВСТВУЙТЕ", 1.279 + items: [{identifier: 1, text: "ЗДРАВСТВУЙТЕ1"}, {identifier: 2, text: "ЗДРАВСТВУЙТЕ2"}, {identifier: 3, text: "ЗДРАВСТВУЙТЕ3"}]}}, 1.280 + {command: "d053810301240082028182850f810c089794a09092a1a292a399a2958f1101810d089794a09092a1a292a399a295318f1102810d089794a09092a1a292a399a295328f1103810d089794a09092a1a292a399a29533", 1.281 + func: testSelectItem, 1.282 + expect: {name: "select_item_cmd_43", 1.283 + commandQualifier: 0x00, 1.284 + title: "ЗДРАВСТВУЙТЕ", 1.285 + items: [{identifier: 1, text: "ЗДРАВСТВУЙТЕ1"}, {identifier: 2, text: "ЗДРАВСТВУЙТЕ2"}, {identifier: 3, text: "ЗДРАВСТВУЙТЕ3"}]}}, 1.286 + {command: "d0578103012400820281828510820c04108784908082919282938992858f1201820d0410878490808291928293899285318f1202820d0410878490808291928293899285328f1203820d041087849080829192829389928533", 1.287 + func: testSelectItem, 1.288 + expect: {name: "select_item_cmd_44", 1.289 + commandQualifier: 0x00, 1.290 + title: "ЗДРАВСТВУЙТЕ", 1.291 + items: [{identifier: 1, text: "ЗДРАВСТВУЙТЕ1"}, {identifier: 2, text: "ЗДРАВСТВУЙТЕ2"}, {identifier: 3, text: "ЗДРАВСТВУЙТЕ3"}]}}, 1.292 + {command: "d03e810301240082028182850b805de551777bb1900962e98f080180987976ee4e008f080280987976ee4e8c8f080380987976ee4e098f080480987976ee56db", 1.293 + func: testSelectItem, 1.294 + expect: {name: "select_item_cmd_45", 1.295 + commandQualifier: 0x00, 1.296 + title: "工具箱选择", 1.297 + items: [{identifier: 1, text: "项目一"}, {identifier: 2, text: "项目二"}, {identifier: 3, text: "项目三"}, {identifier: 4, text: "项目四"}]}}, 1.298 + {command: "d0388103012400820281828509800038003030eb00308f0a01800038003030eb00318f0a02800038003030eb00328f0a03800038003030eb0033", 1.299 + func: testSelectItem, 1.300 + expect: {name: "select_item_cmd_46", 1.301 + commandQualifier: 0x00, 1.302 + title: "80ル0", 1.303 + items: [{identifier: 1, text: "80ル1"}, {identifier: 2, text: "80ル2"}, {identifier: 3, text: "80ル3"}]}}, 1.304 + {command: "d03081030124008202818285078104613831eb308f08018104613831eb318f08028104613831eb328f08038104613831eb33", 1.305 + func: testSelectItem, 1.306 + expect: {name: "select_item_cmd_47", 1.307 + commandQualifier: 0x00, 1.308 + title: "81ル0", 1.309 + items: [{identifier: 1, text: "81ル1"}, {identifier: 2, text: "81ル2"}, {identifier: 3, text: "81ル3"}]}}, 1.310 + {command: "d0348103012400820281828508820430a03832cb308f0901820430a03832cb318f0902820430a03832cb328f0903820430a03832cb33", 1.311 + func: testSelectItem, 1.312 + expect: {name: "select_item_cmd_48", 1.313 + commandQualifier: 0x00, 1.314 + title: "82ル0", 1.315 + items: [{identifier: 1, text: "82ル1"}, {identifier: 2, text: "82ル2"}, {identifier: 3, text: "82ル3"}]}}, 1.316 + {command: "d039810301240082028182850e546f6f6c6b69742053656c6563748f07014974656d20318f07024974656d20328f07034974656d20331803000081", 1.317 + func: testSelectItem, 1.318 + expect: {name: "select_item_cmd_49", 1.319 + commandQualifier: 0x00, 1.320 + title: "Toolkit Select", 1.321 + items: [{identifier: 1, text: "Item 1"}, {identifier: 2, text: "Item 2"}, {identifier: 3, text: "Item 3"}], 1.322 + nextActionList: [iccManager.STK_NEXT_ACTION_NULL, iccManager.STK_NEXT_ACTION_NULL, iccManager.STK_NEXT_ACTION_END_PROACTIVE_SESSION]}}, 1.323 +]; 1.324 + 1.325 +runNextTest();