summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-18 12:46:13 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-18 12:46:13 -0500
commit95556706df707aa918a4c91d9a8ebe4b738b502b (patch)
tree41810bcc60cb5d322049b95177b9a4b70f70cc66 /unit
parentd58570fdaede7e9d248734022a6e7da268645981 (diff)
downloadofono-95556706df707aa918a4c91d9a8ebe4b738b502b.tar.bz2
unit: Move GetInput 1.7 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h10
-rw-r--r--unit/test-stkutil.c11
2 files changed, 10 insertions, 11 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 1600ba69..3704bd97 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -694,3 +694,13 @@ static const unsigned char get_input_161[] = {
static const unsigned char get_input_response_161[] = {
0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x11,
};
+
+static const unsigned char get_input_171[] = {
+ 0xD0, 0x17, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x08, 0x04, 0x3C, 0x41, 0x42, 0x4F, 0x52, 0x54, 0x3E, 0x91, 0x02, 0x00,
+ 0x08
+};
+
+static const unsigned char get_input_response_171[] = {
+ 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x10,
+};
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 9a522cdb..930e13db 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -1553,12 +1553,6 @@ struct get_input_test {
char *html;
};
-static unsigned char get_input_171[] = { 0xD0, 0x17, 0x81, 0x03, 0x01, 0x23,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x08, 0x04, 0x3C, 0x41,
- 0x42, 0x4F, 0x52, 0x54, 0x3E,
- 0x91, 0x02, 0x00, 0x08 };
-
static unsigned char get_input_181[] = { 0xD0, 0x81, 0xB1, 0x81, 0x03, 0x01,
0x23, 0x00, 0x82, 0x02, 0x81,
0x82, 0x8D, 0x81, 0xA1, 0x04,
@@ -17697,11 +17691,6 @@ static const struct terminal_response_test get_input_response_data_161 = {
},
};
-static const unsigned char get_input_response_171[] = {
- 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82,
- 0x81, 0x83, 0x01, 0x10,
-};
-
static const struct terminal_response_test get_input_response_data_171 = {
.pdu = get_input_response_171,
.pdu_len = sizeof(get_input_response_171),