unit: Move GetInput 3.1-3.2 test data

This commit is contained in:
Denis Kenzior 2012-10-18 13:45:49 -05:00
parent 31eb35ea7e
commit 03a619d7ad
2 changed files with 31 additions and 49 deletions

View File

@ -767,3 +767,34 @@ static const unsigned char get_input_211[] = {
static const unsigned char get_input_response_211[] = {
0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x12,
};
static const unsigned char get_input_311[] = {
0xD0, 0x28, 0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x81, 0x82, 0x8D,
0x19, 0x08, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10, 0x04, 0x12,
0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19, 0x04, 0x22,
0x04, 0x15, 0x91, 0x02, 0x05, 0x05
};
static const unsigned char get_input_response_311[] = {
0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
0x8d, 0x06, 0x04, 0x48, 0x45, 0x4c, 0x4c, 0x4f,
};
static const unsigned char get_input_321[] = {
0xD0, 0x81, 0x9D, 0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x81, 0x8D, 0x08, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
0x04, 0x22, 0x04, 0x15, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
0x04, 0x22, 0x04, 0x15, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
0x04, 0x22, 0x04, 0x15, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
0x04, 0x22, 0x04, 0x15, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
0x04, 0x22, 0x04, 0x15, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
0x91, 0x02, 0x05, 0x05
};
#define get_input_response_321 get_input_response_311

View File

@ -1553,49 +1553,6 @@ struct get_input_test {
char *html;
};
static unsigned char get_input_311[] = { 0xD0, 0x28, 0x81, 0x03, 0x01, 0x23,
0x01, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x19, 0x08, 0x04, 0x17,
0x04, 0x14, 0x04, 0x20, 0x04,
0x10, 0x04, 0x12, 0x04, 0x21,
0x04, 0x22, 0x04, 0x12, 0x04,
0x23, 0x04, 0x19, 0x04, 0x22,
0x04, 0x15, 0x91, 0x02, 0x05,
0x05 };
static unsigned char get_input_321[] = { 0xD0, 0x81, 0x9D, 0x81, 0x03, 0x01,
0x23, 0x01, 0x82, 0x02, 0x81,
0x82, 0x8D, 0x81, 0x8D, 0x08,
0x04, 0x17, 0x04, 0x14, 0x04,
0x20, 0x04, 0x10, 0x04, 0x12,
0x04, 0x21, 0x04, 0x22, 0x04,
0x12, 0x04, 0x23, 0x04, 0x19,
0x04, 0x22, 0x04, 0x15, 0x04,
0x17, 0x04, 0x14, 0x04, 0x20,
0x04, 0x10, 0x04, 0x12, 0x04,
0x21, 0x04, 0x22, 0x04, 0x12,
0x04, 0x23, 0x04, 0x19, 0x04,
0x22, 0x04, 0x15, 0x04, 0x17,
0x04, 0x14, 0x04, 0x20, 0x04,
0x10, 0x04, 0x12, 0x04, 0x21,
0x04, 0x22, 0x04, 0x12, 0x04,
0x23, 0x04, 0x19, 0x04, 0x22,
0x04, 0x15, 0x04, 0x17, 0x04,
0x14, 0x04, 0x20, 0x04, 0x10,
0x04, 0x12, 0x04, 0x21, 0x04,
0x22, 0x04, 0x12, 0x04, 0x23,
0x04, 0x19, 0x04, 0x22, 0x04,
0x15, 0x04, 0x17, 0x04, 0x14,
0x04, 0x20, 0x04, 0x10, 0x04,
0x12, 0x04, 0x21, 0x04, 0x22,
0x04, 0x12, 0x04, 0x23, 0x04,
0x19, 0x04, 0x22, 0x04, 0x15,
0x04, 0x17, 0x04, 0x14, 0x04,
0x20, 0x04, 0x10, 0x04, 0x12,
0x04, 0x21, 0x04, 0x22, 0x04,
0x12, 0x04, 0x23, 0x04, 0x19,
0x91, 0x02, 0x05, 0x05 };
static unsigned char get_input_411[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
0x03, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0C, 0x04, 0x45, 0x6E,
@ -17716,12 +17673,6 @@ static const struct terminal_response_test get_input_response_data_211 = {
},
};
static const unsigned char get_input_response_311[] = {
0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x82,
0x81, 0x83, 0x01, 0x00, 0x8d, 0x06, 0x04, 0x48,
0x45, 0x4c, 0x4c, 0x4f,
};
static const struct terminal_response_test get_input_response_data_311 = {
.pdu = get_input_response_311,
.pdu_len = sizeof(get_input_response_311),