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

index 740795a..3deb1cb 100644 (file)
@@ -616,3 +616,13 @@ static const unsigned char get_inkey_1221[] = {
 };
 
 #define get_inkey_response_1221 get_inkey_response_111
+
+static const unsigned char get_inkey_1311[] = {
+       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_1311[] = {
+       0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
+       0x8d, 0x03, 0x08, 0x30, 0xeb,
+};
index 7bb333e..207a39e 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_1311[] = { 0xD0, 0x11, 0x81, 0x03, 0x01, 0x22,
-                                               0x03, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x06, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72 };
-
 static struct get_inkey_test get_inkey_data_111 = {
        .pdu = get_inkey_111,
        .pdu_len = sizeof(get_inkey_111),
@@ -17613,12 +17608,6 @@ static const struct terminal_response_test get_inkey_response_data_1111 = {
        },
 };
 
-static const unsigned char get_inkey_response_1311[] = {
-       0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x82,
-       0x81, 0x83, 0x01, 0x00, 0x8d, 0x03, 0x08, 0x30,
-       0xeb,
-};
-
 static const struct terminal_response_test get_inkey_response_data_1311 = {
        .pdu = get_inkey_response_1311,
        .pdu_len = sizeof(get_inkey_response_1311),