unit: Move test data for Get Inkey 1.5-1.6

This commit is contained in:
Denis Kenzior 2012-10-09 00:16:32 -05:00
parent d7d3f86ff7
commit bc796810c8
2 changed files with 33 additions and 52 deletions

View File

@ -334,3 +334,36 @@ static const unsigned char get_inkey_141[] = {
static const unsigned char get_inkey_response_141[] = {
0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x10,
};
static const unsigned char get_inkey_151[] = {
0xD0, 0x15, 0x81, 0x03, 0x01, 0x22, 0x01, 0x82, 0x02, 0x81, 0x82, 0x8D,
0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x71, 0x22,
};
static const unsigned char get_inkey_response_151[] = {
0x81, 0x03, 0x01, 0x22, 0x01, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
0x8d, 0x02, 0x04, 0x71,
};
static const unsigned char get_inkey_161[] = {
0xD0, 0x81, 0xAD, 0x81, 0x03, 0x01, 0x22, 0x01, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x81, 0xA1, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x78,
0x22, 0x2E, 0x20, 0x54, 0x68, 0x69, 0x73, 0x20, 0x63, 0x6F, 0x6D, 0x6D,
0x61, 0x6E, 0x64, 0x20, 0x69, 0x6E, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74,
0x73, 0x20, 0x74, 0x68, 0x65, 0x20, 0x4D, 0x45, 0x20, 0x74, 0x6F, 0x20,
0x64, 0x69, 0x73, 0x70, 0x6C, 0x61, 0x79, 0x20, 0x74, 0x65, 0x78, 0x74,
0x2C, 0x20, 0x61, 0x6E, 0x64, 0x20, 0x74, 0x6F, 0x20, 0x65, 0x78, 0x70,
0x65, 0x63, 0x74, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73, 0x65, 0x72,
0x20, 0x74, 0x6F, 0x20, 0x65, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x61, 0x20,
0x73, 0x69, 0x6E, 0x67, 0x6C, 0x65, 0x20, 0x63, 0x68, 0x61, 0x72, 0x61,
0x63, 0x74, 0x65, 0x72, 0x2E, 0x20, 0x41, 0x6E, 0x79, 0x20, 0x72, 0x65,
0x73, 0x70, 0x6F, 0x6E, 0x73, 0x65, 0x20, 0x65, 0x6E, 0x74, 0x65, 0x72,
0x65, 0x64, 0x20, 0x62, 0x79, 0x20, 0x74, 0x68, 0x65, 0x20, 0x75, 0x73,
0x65, 0x72, 0x20, 0x73, 0x68, 0x61, 0x6C, 0x6C, 0x20, 0x62, 0x65, 0x20,
0x70, 0x61, 0x73, 0x73, 0x65, 0x64, 0x20, 0x74,
};
static const unsigned char get_inkey_response_161[] = {
0x81, 0x03, 0x01, 0x22, 0x01, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
0x8d, 0x02, 0x04, 0x78,
};

View File

@ -891,48 +891,6 @@ struct get_inkey_test {
char *html;
};
static unsigned char get_inkey_151[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x01, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0A, 0x04, 0x45, 0x6E,
0x74, 0x65, 0x72, 0x20, 0x22,
0x71, 0x22 };
static unsigned char get_inkey_161[] = { 0xD0, 0x81, 0xAD, 0x81, 0x03, 0x01,
0x22, 0x01, 0x82, 0x02, 0x81,
0x82, 0x8D, 0x81, 0xA1, 0x04,
0x45, 0x6E, 0x74, 0x65, 0x72,
0x20, 0x22, 0x78, 0x22, 0x2E,
0x20, 0x54, 0x68, 0x69, 0x73,
0x20, 0x63, 0x6F, 0x6D, 0x6D,
0x61, 0x6E, 0x64, 0x20, 0x69,
0x6E, 0x73, 0x74, 0x72, 0x75,
0x63, 0x74, 0x73, 0x20, 0x74,
0x68, 0x65, 0x20, 0x4D, 0x45,
0x20, 0x74, 0x6F, 0x20, 0x64,
0x69, 0x73, 0x70, 0x6C, 0x61,
0x79, 0x20, 0x74, 0x65, 0x78,
0x74, 0x2C, 0x20, 0x61, 0x6E,
0x64, 0x20, 0x74, 0x6F, 0x20,
0x65, 0x78, 0x70, 0x65, 0x63,
0x74, 0x20, 0x74, 0x68, 0x65,
0x20, 0x75, 0x73, 0x65, 0x72,
0x20, 0x74, 0x6F, 0x20, 0x65,
0x6E, 0x74, 0x65, 0x72, 0x20,
0x61, 0x20, 0x73, 0x69, 0x6E,
0x67, 0x6C, 0x65, 0x20, 0x63,
0x68, 0x61, 0x72, 0x61, 0x63,
0x74, 0x65, 0x72, 0x2E, 0x20,
0x41, 0x6E, 0x79, 0x20, 0x72,
0x65, 0x73, 0x70, 0x6F, 0x6E,
0x73, 0x65, 0x20, 0x65, 0x6E,
0x74, 0x65, 0x72, 0x65, 0x64,
0x20, 0x62, 0x79, 0x20, 0x74,
0x68, 0x65, 0x20, 0x75, 0x73,
0x65, 0x72, 0x20, 0x73, 0x68,
0x61, 0x6C, 0x6C, 0x20, 0x62,
0x65, 0x20, 0x70, 0x61, 0x73,
0x73, 0x65, 0x64, 0x20, 0x74 };
static unsigned char get_inkey_211[] = { 0xD0, 0x16, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0B, 0x04, 0x3C, 0x54,
@ -17649,11 +17607,6 @@ static const struct terminal_response_test get_inkey_response_data_141 = {
},
};
static const unsigned char get_inkey_response_151[] = {
0x81, 0x03, 0x01, 0x22, 0x01, 0x82, 0x02, 0x82,
0x81, 0x83, 0x01, 0x00, 0x8d, 0x02, 0x04, 0x71,
};
static const struct terminal_response_test get_inkey_response_data_151 = {
.pdu = get_inkey_response_151,
.pdu_len = sizeof(get_inkey_response_151),
@ -17674,11 +17627,6 @@ static const struct terminal_response_test get_inkey_response_data_151 = {
},
};
static const unsigned char get_inkey_response_161[] = {
0x81, 0x03, 0x01, 0x22, 0x01, 0x82, 0x02, 0x82,
0x81, 0x83, 0x01, 0x00, 0x8d, 0x02, 0x04, 0x78,
};
static const struct terminal_response_test get_inkey_response_data_161 = {
.pdu = get_inkey_response_161,
.pdu_len = sizeof(get_inkey_response_161),