summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-18 20:42:38 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-18 20:42:38 -0500
commit124e2bbc09da75bac047a95629b0ba290636fcbd (patch)
tree8ee3e5b5d9b3a23c9212f153b9bdd3db0f83d546 /unit
parent8eb847f267c50ebe996c9e97fda6e2edc64605e3 (diff)
downloadofono-124e2bbc09da75bac047a95629b0ba290636fcbd.tar.bz2
unit: Move GetInput 5.1-5.2 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h30
-rw-r--r--unit/test-stkutil.c48
2 files changed, 30 insertions, 48 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 7786ce19..68810f88 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -833,3 +833,33 @@ static const unsigned char get_input_response_421[] = {
0x04, 0x22, 0x04, 0x15, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
};
+
+static const unsigned char get_input_511[] = {
+ 0xD0, 0x23, 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, 0x17, 0x06, 0x04, 0x31, 0x32, 0x33, 0x34,
+ 0x35
+};
+
+#define get_input_response_511 get_input_response_111
+
+static const unsigned char get_input_521[] = {
+ 0xD0, 0x81, 0xBA, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82,
+ 0x8D, 0x07, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x3A, 0x91, 0x02, 0xA0,
+ 0xA0, 0x17, 0x81, 0xA1, 0x04, 0x2A, 0x2A, 0x2A, 0x31, 0x31, 0x31, 0x31,
+ 0x31, 0x31, 0x31, 0x31, 0x31, 0x31, 0x23, 0x23, 0x23, 0x2A, 0x2A, 0x2A,
+ 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x23, 0x23,
+ 0x23, 0x2A, 0x2A, 0x2A, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33,
+ 0x33, 0x33, 0x23, 0x23, 0x23, 0x2A, 0x2A, 0x2A, 0x34, 0x34, 0x34, 0x34,
+ 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x23, 0x23, 0x23, 0x2A, 0x2A, 0x2A,
+ 0x35, 0x35, 0x35, 0x35, 0x35, 0x35, 0x35, 0x35, 0x35, 0x35, 0x23, 0x23,
+ 0x23, 0x2A, 0x2A, 0x2A, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36,
+ 0x36, 0x36, 0x23, 0x23, 0x23, 0x2A, 0x2A, 0x2A, 0x37, 0x37, 0x37, 0x37,
+ 0x37, 0x37, 0x37, 0x37, 0x37, 0x37, 0x23, 0x23, 0x23, 0x2A, 0x2A, 0x2A,
+ 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x23, 0x23,
+ 0x23, 0x2A, 0x2A, 0x2A, 0x39, 0x39, 0x39, 0x39, 0x39, 0x39, 0x39, 0x39,
+ 0x39, 0x39, 0x23, 0x23, 0x23, 0x2A, 0x2A, 0x2A, 0x30, 0x30, 0x30, 0x30,
+ 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x23, 0x23, 0x23
+};
+
+#define get_input_response_521 get_input_response_181
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 76b9aba9..61b20752 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -1553,54 +1553,6 @@ struct get_input_test {
char *html;
};
-static unsigned char get_input_511[] = { 0xD0, 0x23, 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, 0x17, 0x06,
- 0x04, 0x31, 0x32, 0x33, 0x34,
- 0x35 };
-
-static unsigned char get_input_521[] = { 0xD0, 0x81, 0xBA, 0x81, 0x03, 0x01,
- 0x23, 0x00, 0x82, 0x02, 0x81,
- 0x82, 0x8D, 0x07, 0x04, 0x45,
- 0x6E, 0x74, 0x65, 0x72, 0x3A,
- 0x91, 0x02, 0xA0, 0xA0, 0x17,
- 0x81, 0xA1, 0x04, 0x2A, 0x2A,
- 0x2A, 0x31, 0x31, 0x31, 0x31,
- 0x31, 0x31, 0x31, 0x31, 0x31,
- 0x31, 0x23, 0x23, 0x23, 0x2A,
- 0x2A, 0x2A, 0x32, 0x32, 0x32,
- 0x32, 0x32, 0x32, 0x32, 0x32,
- 0x32, 0x32, 0x23, 0x23, 0x23,
- 0x2A, 0x2A, 0x2A, 0x33, 0x33,
- 0x33, 0x33, 0x33, 0x33, 0x33,
- 0x33, 0x33, 0x33, 0x23, 0x23,
- 0x23, 0x2A, 0x2A, 0x2A, 0x34,
- 0x34, 0x34, 0x34, 0x34, 0x34,
- 0x34, 0x34, 0x34, 0x34, 0x23,
- 0x23, 0x23, 0x2A, 0x2A, 0x2A,
- 0x35, 0x35, 0x35, 0x35, 0x35,
- 0x35, 0x35, 0x35, 0x35, 0x35,
- 0x23, 0x23, 0x23, 0x2A, 0x2A,
- 0x2A, 0x36, 0x36, 0x36, 0x36,
- 0x36, 0x36, 0x36, 0x36, 0x36,
- 0x36, 0x23, 0x23, 0x23, 0x2A,
- 0x2A, 0x2A, 0x37, 0x37, 0x37,
- 0x37, 0x37, 0x37, 0x37, 0x37,
- 0x37, 0x37, 0x23, 0x23, 0x23,
- 0x2A, 0x2A, 0x2A, 0x38, 0x38,
- 0x38, 0x38, 0x38, 0x38, 0x38,
- 0x38, 0x38, 0x38, 0x23, 0x23,
- 0x23, 0x2A, 0x2A, 0x2A, 0x39,
- 0x39, 0x39, 0x39, 0x39, 0x39,
- 0x39, 0x39, 0x39, 0x39, 0x23,
- 0x23, 0x23, 0x2A, 0x2A, 0x2A,
- 0x30, 0x30, 0x30, 0x30, 0x30,
- 0x30, 0x30, 0x30, 0x30, 0x30,
- 0x23, 0x23, 0x23 };
-
static unsigned char get_input_611[] = { 0xD0, 0x1D, 0x81, 0x03, 0x01, 0x23,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0A, 0x04, 0x3C, 0x4E,