unit: Move GetInkey 9.1-9.10 test data
authorDenis Kenzior <denkenz@gmail.com>
Tue, 9 Oct 2012 18:46:17 +0000 (13:46 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Tue, 9 Oct 2012 19:05:12 +0000 (14:05 -0500)
unit/stk-test-data.h
unit/test-stkutil.c

index fbc76b1..b0fc511 100644 (file)
@@ -476,3 +476,83 @@ static const unsigned char get_inkey_response_811[] = {
        0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x12,
        0x04, 0x02, 0x01, 0x0B,
 };
+
+static const unsigned char get_inkey_911[] = {
+       0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+       0x04, 0x00, 0x09, 0x00, 0xB4
+};
+
+#define get_inkey_response_911 get_inkey_response_111
+
+static const unsigned char get_inkey_921[] = {
+       0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+       0x04, 0x00, 0x09, 0x01, 0xB4
+};
+
+#define get_inkey_response_921 get_inkey_response_111
+
+static const unsigned char get_inkey_931[] = {
+       0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+       0x04, 0x00, 0x09, 0x02, 0xB4
+};
+
+#define get_inkey_response_931 get_inkey_response_111
+
+static const unsigned char get_inkey_941[] = {
+       0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+       0x04, 0x00, 0x09, 0x04, 0xB4
+};
+
+#define get_inkey_response_941 get_inkey_response_111
+
+static const unsigned char get_inkey_951[] = {
+       0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+       0x04, 0x00, 0x09, 0x08, 0xB4
+};
+
+#define get_inkey_response_951 get_inkey_response_111
+
+static const unsigned char get_inkey_961[] = {
+       0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+       0x04, 0x00, 0x09, 0x10, 0xB4
+};
+
+#define get_inkey_response_961 get_inkey_response_111
+
+static const unsigned char get_inkey_971[] = {
+       0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+       0x04, 0x00, 0x09, 0x20, 0xB4
+};
+
+#define get_inkey_response_971 get_inkey_response_111
+
+static const unsigned char get_inkey_981[] = {
+       0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+       0x04, 0x00, 0x09, 0x40, 0xB4
+};
+
+#define get_inkey_response_981 get_inkey_response_111
+
+static const unsigned char get_inkey_991[] = {
+       0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+       0x04, 0x00, 0x09, 0x80, 0xB4
+};
+
+#define get_inkey_response_991 get_inkey_response_111
+
+static const unsigned char get_inkey_9101[] = {
+       0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0xD0,
+       0x04, 0x00, 0x09, 0x00, 0xB4
+};
+
+#define get_inkey_response_9101 get_inkey_response_111
index 2033c31..14bd493 100644 (file)
@@ -903,52 +903,24 @@ static unsigned char get_inkey_712[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x74, 0x65, 0x72, 0x20, 0x22,
                                                0x2B, 0x22 };
 
-static unsigned char get_inkey_911[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0A, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x22,
-                                               0x2B, 0x22, 0xD0, 0x04, 0x00,
-                                               0x09, 0x00, 0xB4 };
-
 static unsigned char get_inkey_912[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0A, 0x04, 0x45, 0x6E,
                                                0x74, 0x65, 0x72, 0x20, 0x22,
                                                0x23, 0x22 };
 
-static unsigned char get_inkey_921[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0A, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x22,
-                                               0x2B, 0x22, 0xD0, 0x04, 0x00,
-                                               0x09, 0x01, 0xB4 };
-
 static unsigned char get_inkey_922[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0A, 0x04, 0x45, 0x6E,
                                                0x74, 0x65, 0x72, 0x20, 0x22,
                                                0x23, 0x22 };
 
-static unsigned char get_inkey_931[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0A, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x22,
-                                               0x2B, 0x22, 0xD0, 0x04, 0x00,
-                                               0x09, 0x02, 0xB4 };
-
 static unsigned char get_inkey_932[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0A, 0x04, 0x45, 0x6E,
                                                0x74, 0x65, 0x72, 0x20, 0x22,
                                                0x23, 0x22 };
 
-static unsigned char get_inkey_941[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0A, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x22,
-                                               0x2B, 0x22, 0xD0, 0x04, 0x00,
-                                               0x09, 0x04, 0xB4 };
-
 static unsigned char get_inkey_942[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -962,13 +934,6 @@ static unsigned char get_inkey_943[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x74, 0x65, 0x72, 0x20, 0x22,
                                                0x23, 0x22 };
 
-static unsigned char get_inkey_951[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0A, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x22,
-                                               0x2B, 0x22, 0xD0, 0x04, 0x00,
-                                               0x09, 0x08, 0xB4 };
-
 static unsigned char get_inkey_952[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -982,13 +947,6 @@ static unsigned char get_inkey_953[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x74, 0x65, 0x72, 0x20, 0x22,
                                                0x23, 0x22 };
 
-static unsigned char get_inkey_961[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0A, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x22,
-                                               0x2B, 0x22, 0xD0, 0x04, 0x00,
-                                               0x09, 0x10, 0xB4 };
-
 static unsigned char get_inkey_962[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -1002,13 +960,6 @@ static unsigned char get_inkey_963[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x74, 0x65, 0x72, 0x20, 0x22,
                                                0x23, 0x22 };
 
-static unsigned char get_inkey_971[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0A, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x22,
-                                               0x2B, 0x22, 0xD0, 0x04, 0x00,
-                                               0x09, 0x20, 0xB4 };
-
 static unsigned char get_inkey_972[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -1022,13 +973,6 @@ static unsigned char get_inkey_973[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x74, 0x65, 0x72, 0x20, 0x22,
                                                0x23, 0x22 };
 
-static unsigned char get_inkey_981[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0A, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x22,
-                                               0x2B, 0x22, 0xD0, 0x04, 0x00,
-                                               0x09, 0x40, 0xB4 };
-
 static unsigned char get_inkey_982[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -1042,13 +986,6 @@ static unsigned char get_inkey_983[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x74, 0x65, 0x72, 0x20, 0x22,
                                                0x23, 0x22 };
 
-static unsigned char get_inkey_991[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0A, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x22,
-                                               0x2B, 0x22, 0xD0, 0x04, 0x00,
-                                               0x09, 0x80, 0xB4 };
-
 static unsigned char get_inkey_992a[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0A, 0x04, 0x45, 0x6E,
@@ -1068,13 +1005,6 @@ static unsigned char get_inkey_993[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x74, 0x65, 0x72, 0x20, 0x22,
                                                0x23, 0x22 };
 
-static unsigned char get_inkey_9101[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0A, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x22,
-                                               0x2B, 0x22, 0xD0, 0x04, 0x00,
-                                               0x09, 0x00, 0xB4 };
-
 static unsigned char get_inkey_9102[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0A, 0x04, 0x45, 0x6E,