summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-18 12:37:42 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-18 12:37:42 -0500
commit8bc7270203d3acbd5e27b57171ea1f8d6f8cd0af (patch)
tree0111b25e7f0ad907ea660cf99e7d01addeb0cb25 /unit
parent2454c0be292305fbd29b2c2762e8938bf851106a (diff)
downloadofono-8bc7270203d3acbd5e27b57171ea1f8d6f8cd0af.tar.bz2
unit: Move GetInput 1.5 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h13
-rw-r--r--unit/test-stkutil.c17
2 files changed, 13 insertions, 17 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index c491d561..7d2a92e2 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -671,3 +671,16 @@ static const unsigned char get_input_response_141[] = {
0x81, 0x03, 0x01, 0x23, 0x04, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
0x8d, 0x08, 0x04, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38,
};
+
+static const unsigned char get_input_151[] = {
+ 0xD0, 0x24, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x15, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x2E, 0x2E, 0x39,
+ 0x2C, 0x30, 0x2E, 0x2E, 0x39, 0x2C, 0x30, 0x28, 0x31, 0x29, 0x91, 0x02,
+ 0x01, 0x14,
+};
+
+static const unsigned char get_input_response_151[] = {
+ 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
+ 0x8d, 0x15, 0x04, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
+ 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x30,
+};
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 286da146..31133df8 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -1553,15 +1553,6 @@ struct get_input_test {
char *html;
};
-static unsigned char get_input_151[] = { 0xD0, 0x24, 0x81, 0x03, 0x01, 0x23,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x15, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x31,
- 0x2E, 0x2E, 0x39, 0x2C, 0x30,
- 0x2E, 0x2E, 0x39, 0x2C, 0x30,
- 0x28, 0x31, 0x29, 0x91, 0x02,
- 0x01, 0x14 };
-
static unsigned char get_input_161[] = { 0xD0, 0x1E, 0x81, 0x03, 0x01, 0x23,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0F, 0x04, 0x3C, 0x47,
@@ -17679,14 +17670,6 @@ static const struct terminal_response_test get_input_response_data_141 = {
},
};
-static const unsigned char get_input_response_151[] = {
- 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82,
- 0x81, 0x83, 0x01, 0x00, 0x8d, 0x15, 0x04, 0x31,
- 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
- 0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
- 0x38, 0x39, 0x30,
-};
-
static const struct terminal_response_test get_input_response_data_151 = {
.pdu = get_input_response_151,
.pdu_len = sizeof(get_input_response_151),