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

index 1600ba6..3704bd9 100644 (file)
@@ -694,3 +694,13 @@ static const unsigned char get_input_161[] = {
 static const unsigned char get_input_response_161[] = {
        0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x11,
 };
+
+static const unsigned char get_input_171[] = {
+       0xD0, 0x17, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x08, 0x04, 0x3C, 0x41, 0x42, 0x4F, 0x52, 0x54, 0x3E, 0x91, 0x02, 0x00,
+       0x08
+};
+
+static const unsigned char get_input_response_171[] = {
+       0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x10,
+};
index 9a522cd..930e13d 100644 (file)
@@ -1553,12 +1553,6 @@ struct get_input_test {
        char *html;
 };
 
-static unsigned char get_input_171[] = { 0xD0, 0x17, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x08, 0x04, 0x3C, 0x41,
-                                               0x42, 0x4F, 0x52, 0x54, 0x3E,
-                                               0x91, 0x02, 0x00, 0x08 };
-
 static unsigned char get_input_181[] = { 0xD0, 0x81, 0xB1, 0x81, 0x03, 0x01,
                                                0x23, 0x00, 0x82, 0x02, 0x81,
                                                0x82, 0x8D, 0x81, 0xA1, 0x04,
@@ -17697,11 +17691,6 @@ static const struct terminal_response_test get_input_response_data_161 = {
        },
 };
 
-static const unsigned char get_input_response_171[] = {
-       0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82,
-       0x81, 0x83, 0x01, 0x10,
-};
-
 static const struct terminal_response_test get_input_response_data_171 = {
        .pdu = get_input_response_171,
        .pdu_len = sizeof(get_input_response_171),