unit: Move test data for GetInkey 2.1
authorDenis Kenzior <denkenz@gmail.com>
Tue, 9 Oct 2012 05:24:27 +0000 (00:24 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 9 Oct 2012 16:26:59 +0000 (11:26 -0500)
unit/stk-test-data.h
unit/test-stkutil.c

index 41a336c..318708d 100644 (file)
@@ -367,3 +367,12 @@ static const unsigned char get_inkey_response_161[] = {
        0x81, 0x03, 0x01, 0x22, 0x01, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
        0x8d, 0x02, 0x04, 0x78,
 };
        0x81, 0x03, 0x01, 0x22, 0x01, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
        0x8d, 0x02, 0x04, 0x78,
 };
+
+static const unsigned char get_inkey_211[] = {
+       0xD0, 0x16, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0B, 0x04, 0x3C, 0x54, 0x49, 0x4D, 0x45, 0x2D, 0x4F, 0x55, 0x54, 0x3E,
+};
+
+static const unsigned char get_inkey_response_211[] = {
+       0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x12,
+};
index 9564a35..9e91b12 100644 (file)
@@ -891,12 +891,6 @@ struct get_inkey_test {
        char *html;
 };
 
        char *html;
 };
 
-static unsigned char get_inkey_211[] = { 0xD0, 0x16, 0x81, 0x03, 0x01, 0x22,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0B, 0x04, 0x3C, 0x54,
-                                               0x49, 0x4D, 0x45, 0x2D, 0x4F,
-                                               0x55, 0x54, 0x3E };
-
 static unsigned char get_inkey_311[] = { 0xD0, 0x24, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x19, 0x08, 0x04, 0x17,
 static unsigned char get_inkey_311[] = { 0xD0, 0x24, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x19, 0x08, 0x04, 0x17,
@@ -17647,11 +17641,6 @@ static const struct terminal_response_test get_inkey_response_data_161 = {
        },
 };
 
        },
 };
 
-static const unsigned char get_inkey_response_211[] = {
-       0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82,
-       0x81, 0x83, 0x01, 0x12,
-};
-
 static const struct terminal_response_test get_inkey_response_data_211 = {
        .pdu = get_inkey_response_211,
        .pdu_len = sizeof(get_inkey_response_211),
 static const struct terminal_response_test get_inkey_response_data_211 = {
        .pdu = get_inkey_response_211,
        .pdu_len = sizeof(get_inkey_response_211),