summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-18 12:00:58 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-18 12:00:58 -0500
commit68dad51106e24cdb9e67d87aabdbe56419ed7ebb (patch)
tree0f5c09e6e5e72fdef158649895f94e0a7c569bde /unit
parent193619036aa8dba72402cf2428bf3ee496e85e60 (diff)
downloadofono-68dad51106e24cdb9e67d87aabdbe56419ed7ebb.tar.bz2
unit: Move GetInput 1.3 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h11
-rw-r--r--unit/test-stkutil.c13
2 files changed, 11 insertions, 13 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index e0189c1a..84928400 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -648,3 +648,14 @@ static const unsigned char get_input_response_121[] = {
0x81, 0x03, 0x01, 0x23, 0x08, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
0x8d, 0x06, 0x00, 0xb6, 0x9b, 0x6a, 0xb4, 0x02,
};
+
+static const unsigned char get_input_131[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x41, 0x62, 0x43, 0x64,
+ 0x45, 0x91, 0x02, 0x05, 0x05
+};
+
+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,
+};
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index fb2db430..6f425a4a 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -1553,13 +1553,6 @@ struct get_input_test {
char *html;
};
-static unsigned char get_input_131[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
- 0x01, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0C, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x41,
- 0x62, 0x43, 0x64, 0x45, 0x91,
- 0x02, 0x05, 0x05 };
-
static unsigned char get_input_141[] = { 0xD0, 0x27, 0x81, 0x03, 0x01, 0x23,
0x04, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x18, 0x04, 0x50, 0x61,
@@ -17655,12 +17648,6 @@ static const struct terminal_response_test get_input_response_data_121 = {
},
};
-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 struct terminal_response_test get_input_response_data_131 = {
.pdu = get_input_response_131,
.pdu_len = sizeof(get_input_response_131),