unit: Move GetInput 2.1 test data
authorDenis Kenzior <denkenz@gmail.com>
Thu, 18 Oct 2012 18:45:03 +0000 (13:45 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Thu, 18 Oct 2012 18:45:03 +0000 (13:45 -0500)
unit/stk-test-data.h
unit/test-stkutil.c

index 7293761..8e9bfa1 100644 (file)
@@ -757,3 +757,13 @@ static const unsigned char get_input_1101[] = {
 };
 
 #define get_input_response_1101 get_input_response_111
+
+static const unsigned char get_input_211[] = {
+       0xD0, 0x1A, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0B, 0x04, 0x3C, 0x54, 0x49, 0x4D, 0x45, 0x2D, 0x4F, 0x55, 0x54, 0x3E,
+       0x91, 0x02, 0x00, 0x0A
+};
+
+static const unsigned char get_input_response_211[] = {
+       0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x12,
+};
index edbc4fd..608fbad 100644 (file)
@@ -1553,13 +1553,6 @@ struct get_input_test {
        char *html;
 };
 
-static unsigned char get_input_211[] = { 0xD0, 0x1A, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0B, 0x04, 0x3C, 0x54,
-                                               0x49, 0x4D, 0x45, 0x2D, 0x4F,
-                                               0x55, 0x54, 0x3E, 0x91, 0x02,
-                                               0x00, 0x0A };
-
 static unsigned char get_input_311[] = { 0xD0, 0x28, 0x81, 0x03, 0x01, 0x23,
                                                0x01, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x19, 0x08, 0x04, 0x17,
@@ -17708,11 +17701,6 @@ static const struct terminal_response_test get_input_response_data_191 = {
        },
 };
 
-static const unsigned char get_input_response_211[] = {
-       0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82,
-       0x81, 0x83, 0x01, 0x12,
-};
-
 static const struct terminal_response_test get_input_response_data_211 = {
        .pdu = get_input_response_211,
        .pdu_len = sizeof(get_input_response_211),