summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-18 12:30:04 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-18 12:34:26 -0500
commit68adec9d8f5a918f8d86955e619eb0288c642b38 (patch)
treec0db6538dac88c94f4537474d03d1122e299b637 /unit
parentcb70584ce64e021e9a7716507abcadd1652ebc98 (diff)
downloadofono-68adec9d8f5a918f8d86955e619eb0288c642b38.tar.bz2
unit: Move GetInput 1.4 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h12
-rw-r--r--unit/test-stkutil.c15
2 files changed, 12 insertions, 15 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 84928400..c491d561 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -659,3 +659,15 @@ static const unsigned char get_input_response_131[] = {
0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
0x8d, 0x06, 0x04, 0x41, 0x62, 0x43, 0x64, 0x45,
};
+
+static const unsigned char get_input_141[] = {
+ 0xD0, 0x27, 0x81, 0x03, 0x01, 0x23, 0x04, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x18, 0x04, 0x50, 0x61, 0x73, 0x73, 0x77, 0x6F, 0x72, 0x64, 0x20, 0x31,
+ 0x3C, 0x53, 0x45, 0x4E, 0x44, 0x3E, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37,
+ 0x38, 0x91, 0x02, 0x04, 0x08
+};
+
+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,
+};
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 6f425a4a..286da146 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_141[] = { 0xD0, 0x27, 0x81, 0x03, 0x01, 0x23,
- 0x04, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x18, 0x04, 0x50, 0x61,
- 0x73, 0x73, 0x77, 0x6F, 0x72,
- 0x64, 0x20, 0x31, 0x3C, 0x53,
- 0x45, 0x4E, 0x44, 0x3E, 0x32,
- 0x33, 0x34, 0x35, 0x36, 0x37,
- 0x38, 0x91, 0x02, 0x04, 0x08 };
-
static unsigned char get_input_151[] = { 0xD0, 0x24, 0x81, 0x03, 0x01, 0x23,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x15, 0x04, 0x45, 0x6E,
@@ -17668,12 +17659,6 @@ static const struct terminal_response_test get_input_response_data_131 = {
},
};
-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 struct terminal_response_test get_input_response_data_141 = {
.pdu = get_input_response_141,
.pdu_len = sizeof(get_input_response_141),