unit: Move GetInput test data 8.1-8.10
authorDenis Kenzior <denkenz@gmail.com>
Sun, 21 Oct 2012 00:39:53 +0000 (19:39 -0500)
committerDenis Kenzior <denkenz@gmail.com>
Sun, 21 Oct 2012 00:39:53 +0000 (19:39 -0500)
unit/stk-test-data.h
unit/test-stkutil.c

index 5e447c9..1362ae7 100644 (file)
@@ -898,3 +898,83 @@ static const unsigned char get_input_641[] = {
 };
 
 #define get_input_response_641a get_input_response_611a
+
+static const unsigned char get_input_811[] = {
+       0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x32, 0x33, 0x34,
+       0x35, 0x91, 0x02, 0x05, 0x05, 0xD0, 0x04, 0x00, 0x0B, 0x00, 0xB4
+};
+
+#define get_input_response_811 get_input_response_111
+
+static const unsigned char get_input_821[] = {
+       0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x32, 0x33, 0x34,
+       0x35, 0x91, 0x02, 0x05, 0x05, 0xD0, 0x04, 0x00, 0x0B, 0x01, 0xB4
+};
+
+#define get_input_response_821 get_input_response_111
+
+static const unsigned char get_input_831[] = {
+       0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x32, 0x33, 0x34,
+       0x35, 0x91, 0x02, 0x05, 0x05, 0xD0, 0x04, 0x00, 0x0B, 0x02, 0xB4
+};
+
+#define get_input_response_831 get_input_response_111
+
+static const unsigned char get_input_841[] = {
+       0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x32, 0x33, 0x34,
+       0x35, 0x91, 0x02, 0x05, 0x05, 0xD0, 0x04, 0x00, 0x0B, 0x04, 0xB4
+};
+
+#define get_input_response_841 get_input_response_111
+
+static const unsigned char get_input_851[] = {
+       0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x32, 0x33, 0x34,
+       0x35, 0x91, 0x02, 0x05, 0x05, 0xD0, 0x04, 0x00, 0x0B, 0x08, 0xB4
+};
+
+#define get_input_response_851 get_input_response_111
+
+static const unsigned char get_input_861[] = {
+       0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x32, 0x33, 0x34,
+       0x35, 0x91, 0x02, 0x05, 0x05, 0xD0, 0x04, 0x00, 0x0B, 0x10, 0xB4
+};
+
+#define get_input_response_861 get_input_response_111
+
+static const unsigned char get_input_871[] = {
+       0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x32, 0x33, 0x34,
+       0x35, 0x91, 0x02, 0x05, 0x05, 0xD0, 0x04, 0x00, 0x0B, 0x20, 0xB4
+};
+
+#define get_input_response_871 get_input_response_111
+
+static const unsigned char get_input_881[] = {
+       0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x32, 0x33, 0x34,
+       0x35, 0x91, 0x02, 0x05, 0x05, 0xD0, 0x04, 0x00, 0x0B, 0x40, 0xB4
+};
+
+#define get_input_response_881 get_input_response_111
+
+static const unsigned char get_input_891[] = {
+       0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x32, 0x33, 0x34,
+       0x35, 0x91, 0x02, 0x05, 0x05, 0xD0, 0x04, 0x00, 0x0B, 0x80, 0xB4
+};
+
+#define get_input_response_891 get_input_response_111
+
+static const unsigned char get_input_8101[] = {
+       0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+       0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x32, 0x33, 0x34,
+       0x35, 0x91, 0x02, 0x05, 0x05, 0xD0, 0x04, 0x00, 0x0B, 0x00, 0xB4
+};
+
+#define get_input_response_8101 get_input_response_111
index dc0b7f0..91b8fb0 100644 (file)
@@ -1560,14 +1560,6 @@ static unsigned char get_input_711[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x32, 0x33, 0x34, 0x35, 0x91,
                                                0x02, 0x05, 0x05 };
 
-static unsigned char get_input_811[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0C, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x31,
-                                               0x32, 0x33, 0x34, 0x35, 0x91,
-                                               0x02, 0x05, 0x05, 0xD0, 0x04,
-                                               0x00, 0x0B, 0x00, 0xB4 };
-
 static unsigned char get_input_812[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0C, 0x04, 0x45, 0x6E,
@@ -1575,14 +1567,6 @@ static unsigned char get_input_812[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x32, 0x32, 0x32, 0x32, 0x91,
                                                0x02, 0x05, 0x05 };
 
-static unsigned char get_input_821[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0C, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x31,
-                                               0x32, 0x33, 0x34, 0x35, 0x91,
-                                               0x02, 0x05, 0x05, 0xD0, 0x04,
-                                               0x00, 0x0B, 0x01, 0xB4 };
-
 static unsigned char get_input_822[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0C, 0x04, 0x45, 0x6E,
@@ -1590,14 +1574,6 @@ static unsigned char get_input_822[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x32, 0x32, 0x32, 0x32, 0x91,
                                                0x02, 0x05, 0x05 };
 
-static unsigned char get_input_831[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0C, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x31,
-                                               0x32, 0x33, 0x34, 0x35, 0x91,
-                                               0x02, 0x05, 0x05, 0xD0, 0x04,
-                                               0x00, 0x0B, 0x02, 0xB4 };
-
 static unsigned char get_input_832[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0C, 0x04, 0x45, 0x6E,
@@ -1605,14 +1581,6 @@ static unsigned char get_input_832[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x32, 0x32, 0x32, 0x32, 0x91,
                                                0x02, 0x05, 0x05 };
 
-static unsigned char get_input_841[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0C, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x31,
-                                               0x32, 0x33, 0x34, 0x35, 0x91,
-                                               0x02, 0x05, 0x05, 0xD0, 0x04,
-                                               0x00, 0x0B, 0x04, 0xB4 };
-
 static unsigned char get_input_842[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0C, 0x04, 0x45, 0x6E,
@@ -1628,14 +1596,6 @@ static unsigned char get_input_843[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x33, 0x33, 0x33, 0x33, 0x91,
                                                0x02, 0x05, 0x05 };
 
-static unsigned char get_input_851[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0C, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x31,
-                                               0x32, 0x33, 0x34, 0x35, 0x91,
-                                               0x02, 0x05, 0x05, 0xD0, 0x04,
-                                               0x00, 0x0B, 0x08, 0xB4 };
-
 static unsigned char get_input_852[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0C, 0x04, 0x45, 0x6E,
@@ -1651,14 +1611,6 @@ static unsigned char get_input_853[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x33, 0x33, 0x33, 0x33, 0x91,
                                                0x02, 0x05, 0x05 };
 
-static unsigned char get_input_861[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0C, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x31,
-                                               0x32, 0x33, 0x34, 0x35, 0x91,
-                                               0x02, 0x05, 0x05, 0xD0, 0x04,
-                                               0x00, 0x0B, 0x10, 0xB4 };
-
 static unsigned char get_input_862[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0C, 0x04, 0x45, 0x6E,
@@ -1674,14 +1626,6 @@ static unsigned char get_input_863[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x33, 0x33, 0x33, 0x33, 0x91,
                                                0x02, 0x05, 0x05 };
 
-static unsigned char get_input_871[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0C, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x31,
-                                               0x32, 0x33, 0x34, 0x35, 0x91,
-                                               0x02, 0x05, 0x05, 0xD0, 0x04,
-                                               0x00, 0x0B, 0x20, 0xB4 };
-
 static unsigned char get_input_872[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0C, 0x04, 0x45, 0x6E,
@@ -1697,14 +1641,6 @@ static unsigned char get_input_873[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x33, 0x33, 0x33, 0x33, 0x91,
                                                0x02, 0x05, 0x05 };
 
-static unsigned char get_input_881[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0C, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x31,
-                                               0x32, 0x33, 0x34, 0x35, 0x91,
-                                               0x02, 0x05, 0x05, 0xD0, 0x04,
-                                               0x00, 0x0B, 0x40, 0xB4 };
-
 static unsigned char get_input_882[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0C, 0x04, 0x45, 0x6E,
@@ -1720,14 +1656,6 @@ static unsigned char get_input_883[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x33, 0x33, 0x33, 0x33, 0x91,
                                                0x02, 0x05, 0x05 };
 
-static unsigned char get_input_891[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0C, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x31,
-                                               0x32, 0x33, 0x34, 0x35, 0x91,
-                                               0x02, 0x05, 0x05, 0xD0, 0x04,
-                                               0x00, 0x0B, 0x80, 0xB4 };
-
 static unsigned char get_input_892[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0C, 0x04, 0x45, 0x6E,
@@ -1743,14 +1671,6 @@ static unsigned char get_input_893[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x33, 0x33, 0x33, 0x33, 0x91,
                                                0x02, 0x05, 0x05 };
 
-static unsigned char get_input_8101[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23,
-                                               0x00, 0x82, 0x02, 0x81, 0x82,
-                                               0x8D, 0x0C, 0x04, 0x45, 0x6E,
-                                               0x74, 0x65, 0x72, 0x20, 0x31,
-                                               0x32, 0x33, 0x34, 0x35, 0x91,
-                                               0x02, 0x05, 0x05, 0xD0, 0x04,
-                                               0x00, 0x0B, 0x00, 0xB4 };
-
 static unsigned char get_input_8102[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
                                                0x00, 0x82, 0x02, 0x81, 0x82,
                                                0x8D, 0x0C, 0x04, 0x45, 0x6E,