unit: Move GetInkey 11.1 test data
authorDenis Kenzior <denkenz@gmail.com>
Tue, 9 Oct 2012 19:15:20 +0000 (14:15 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 9 Oct 2012 19:15:20 +0000 (14:15 -0500)
unit/stk-test-data.h
unit/test-stkutil.c

index 1d96133..f840585 100644 (file)
@@ -581,3 +581,13 @@ static const unsigned char get_inkey_1021[] = {
 };
 
 #define get_inkey_response_1021 get_inkey_response_111
+
+static const unsigned char get_inkey_1111[] = {
+       0xD0, 0x11, 0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x06, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72
+};
+
+static const unsigned char get_inkey_response_1111[] = {
+       0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
+       0x8d, 0x03, 0x08, 0x59, 0x7d,
+};
index d91b2aa..92d5871 100644 (file)
@@ -1011,11 +1011,6 @@ static unsigned char get_inkey_9102[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x74, 0x65, 0x72, 0x20, 0x22,
                                                0x23, 0x22 };
 
-static unsigned char get_inkey_1111[] = { 0xD0, 0x11, 0x81, 0x03, 0x01, 0x22,
-                                               0x03, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x06, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72 };
-
 static unsigned char get_inkey_1211[] = { 0xD0, 0x0E, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x03, 0x08, 0x30, 0xEB };
@@ -17634,12 +17629,6 @@ static const struct terminal_response_test get_inkey_response_data_912 = {
        },
 };
 
-static const unsigned char get_inkey_response_1111[] = {
-       0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x82,
-       0x81, 0x83, 0x01, 0x00, 0x8d, 0x03, 0x08, 0x59,
-       0x7d,
-};
-
 static const struct terminal_response_test get_inkey_response_data_1111 = {
        .pdu = get_inkey_response_1111,
        .pdu_len = sizeof(get_inkey_response_1111),