summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-18 12:54:24 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-18 12:54:24 -0500
commit19a86cf7a88a276468e69b1db3d3e05ba4ea0a40 (patch)
tree1605547000efee3839d0d5da5c56357ba938837f /unit
parentc867a281849acc3ff3c041f9e1ccfbd3e36d9a69 (diff)
downloadofono-19a86cf7a88a276468e69b1db3d3e05ba4ea0a40.tar.bz2
unit: Move GetInput 1.8 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h36
-rw-r--r--unit/test-stkutil.c62
2 files changed, 36 insertions, 62 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 3704bd97..d1c838d1 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -704,3 +704,39 @@ static const unsigned char get_input_171[] = {
static const unsigned char get_input_response_171[] = {
0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x10,
};
+
+static const unsigned char get_input_181[] = {
+ 0xD0, 0x81, 0xB1, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82,
+ 0x8D, 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, 0x91, 0x02, 0xA0, 0xA0
+};
+
+static const unsigned char get_input_response_181[] = {
+ 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
+ 0x8d, 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,
+};
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 930e13db..e4f9b425 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -1553,43 +1553,6 @@ struct get_input_test {
char *html;
};
-static unsigned char get_input_181[] = { 0xD0, 0x81, 0xB1, 0x81, 0x03, 0x01,
- 0x23, 0x00, 0x82, 0x02, 0x81,
- 0x82, 0x8D, 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,
- 0x91, 0x02, 0xA0, 0xA0 };
-
static unsigned char get_input_191[] = { 0xD0, 0x16, 0x81, 0x03, 0x01, 0x23,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x07, 0x04, 0x3C, 0x53,
@@ -17706,31 +17669,6 @@ static const struct terminal_response_test get_input_response_data_171 = {
},
};
-static const unsigned char get_input_response_181[] = {
- 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82,
- 0x81, 0x83, 0x01, 0x00, 0x8d, 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 const struct terminal_response_test get_input_response_data_181 = {
.pdu = get_input_response_181,
.pdu_len = sizeof(get_input_response_181),