unit: Move GetInkey 8.1 test data
authorDenis Kenzior <denkenz@gmail.com>
Tue, 9 Oct 2012 17:09:33 +0000 (12:09 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 9 Oct 2012 17:09:33 +0000 (12:09 -0500)
unit/stk-test-data.h
unit/test-stkutil.c

index 85cf455..323b6f3 100644 (file)
@@ -465,3 +465,14 @@ static const unsigned char get_inkey_641[] = {
 };
 
 #define get_inkey_response_641 get_inkey_response_111
+
+static const unsigned char get_inkey_811[] = {
+       0xD0, 0x19, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0x84,
+       0x02, 0x01, 0x0A
+};
+
+static const unsigned char get_inkey_response_811[] = {
+       0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x12,
+       0x04, 0x02, 0x01, 0x11,
+};
index ed768d7..6407fb6 100644 (file)
@@ -903,13 +903,6 @@ static unsigned char get_inkey_712[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x74, 0x65, 0x72, 0x20, 0x22,
                                                0x2B, 0x22 };
 
-static unsigned char get_inkey_811[] = { 0xD0, 0x19, 0x81, 0x03, 0x01, 0x22,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0A, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x22,
-                                               0x2B, 0x22, 0x84, 0x02, 0x01,
-                                               0x0A };
-
 static unsigned char get_inkey_911[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -17702,11 +17695,6 @@ static const struct terminal_response_test get_inkey_response_data_712 = {
        },
 };
 
-static const unsigned char get_inkey_response_811[] = {
-       0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82,
-       0x81, 0x83, 0x01, 0x12, 0x04, 0x02, 0x01, 0x11,
-};
-
 static const struct terminal_response_test get_inkey_response_data_811 = {
        .pdu = get_inkey_response_811,
        .pdu_len = sizeof(get_inkey_response_811),