summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-30 16:59:25 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-31 16:14:26 -0500
commit67560b5919468d9eb2ea715c70ec9d9b9f4fc834 (patch)
tree7d9fbd6aabb6133d8d73560599ee27328dadf430 /unit
parentacd6987a7f11381ceb414ef09435dba222432b13 (diff)
downloadofono-67560b5919468d9eb2ea715c70ec9d9b9f4fc834.tar.bz2
unit: Move More Time test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h8
-rw-r--r--unit/test-stkutil.c8
2 files changed, 8 insertions, 8 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 0256f194..7a417b86 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -1095,3 +1095,11 @@ static const unsigned char get_input_response_1221[] = {
0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb,
0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb, 0x30, 0xeb,
};
+
+static const unsigned char more_time_111[] = {
+ 0xD0, 0x09, 0x81, 0x03, 0x01, 0x02, 0x00, 0x82, 0x02, 0x81, 0x82
+};
+
+static const unsigned char more_time_response_111[] = {
+ 0x81, 0x03, 0x01, 0x02, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
+};
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index a63c3f77..2f4560ff 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -2469,9 +2469,6 @@ struct more_time_test {
unsigned char qualifier;
};
-static unsigned char more_time_111[] = { 0xD0, 0x09, 0x81, 0x03, 0x01, 0x02,
- 0x00, 0x82, 0x02, 0x81, 0x82 };
-
static struct more_time_test more_time_data_111 = {
.pdu = more_time_111,
.pdu_len = sizeof(more_time_111),
@@ -17665,11 +17662,6 @@ static const struct terminal_response_test get_input_response_data_1221 = {
},
};
-static const unsigned char more_time_response_111[] = {
- 0x81, 0x03, 0x01, 0x02, 0x00, 0x82, 0x02, 0x82,
- 0x81, 0x83, 0x01, 0x00,
-};
-
static const struct terminal_response_test more_time_response_data_111 = {
.pdu = more_time_response_111,
.pdu_len = sizeof(more_time_response_111),