Bug 938466 - Part3: Modify xpcshell BIP test case. r=yoshi

This commit is contained in:
Georgia Wang 2013-11-14 11:31:50 +08:00
parent b69df0a580
commit 2ca800758f

View File

@ -817,7 +817,7 @@ add_test(function test_stk_proactive_command_open_channel() {
let open_channel = [
0xD0,
0x0F,
0x81, 0x03, 0x01, 0x16, 0x00,
0x81, 0x03, 0x01, 0x40, 0x00,
0x82, 0x02, 0x81, 0x82,
0x85, 0x04, 0x4F, 0x70, 0x65, 0x6E //alpha id: "Open"
];
@ -840,7 +840,7 @@ add_test(function test_stk_proactive_command_open_channel() {
let close_channel = [
0xD0,
0x10,
0x81, 0x03, 0x01, 0x17, 0x00,
0x81, 0x03, 0x01, 0x41, 0x00,
0x82, 0x02, 0x81, 0x82,
0x85, 0x05, 0x43, 0x6C, 0x6F, 0x73, 0x65 //alpha id: "Close"
];
@ -863,7 +863,7 @@ add_test(function test_stk_proactive_command_open_channel() {
let receive_data = [
0XD0,
0X12,
0x81, 0x03, 0x01, 0x18, 0x00,
0x81, 0x03, 0x01, 0x42, 0x00,
0x82, 0x02, 0x81, 0x82,
0x85, 0x07, 0x52, 0x65, 0x63, 0x65, 0x69, 0x76, 0x65 //alpha id: "Receive"
];
@ -886,7 +886,7 @@ add_test(function test_stk_proactive_command_open_channel() {
let send_data = [
0xD0,
0x0F,
0x81, 0x03, 0x01, 0x19, 0x00,
0x81, 0x03, 0x01, 0x43, 0x00,
0x82, 0x02, 0x81, 0x82,
0x85, 0x04, 0x53, 0x65, 0x6E, 0x64 //alpha id: "Send"
];