summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-18 13:45:03 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-18 13:45:03 -0500
commitae4022effaa471447892886b6358f39a2969f3a5 (patch)
treea2e2aa7c1a8273bfbd8a3975b97e1fe5060c3b6f /unit
parent6229f263104035ab0b5616966a1fc1aa548fc359 (diff)
downloadofono-ae4022effaa471447892886b6358f39a2969f3a5.tar.bz2
unit: Move GetInput 2.1 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h10
-rw-r--r--unit/test-stkutil.c12
2 files changed, 10 insertions, 12 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 72937612..8e9bfa13 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -757,3 +757,13 @@ static const unsigned char get_input_1101[] = {
};
#define get_input_response_1101 get_input_response_111
+
+static const unsigned char get_input_211[] = {
+ 0xD0, 0x1A, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0B, 0x04, 0x3C, 0x54, 0x49, 0x4D, 0x45, 0x2D, 0x4F, 0x55, 0x54, 0x3E,
+ 0x91, 0x02, 0x00, 0x0A
+};
+
+static const unsigned char get_input_response_211[] = {
+ 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x12,
+};
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index edbc4fd7..608fbad4 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_211[] = { 0xD0, 0x1A, 0x81, 0x03, 0x01, 0x23,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0B, 0x04, 0x3C, 0x54,
- 0x49, 0x4D, 0x45, 0x2D, 0x4F,
- 0x55, 0x54, 0x3E, 0x91, 0x02,
- 0x00, 0x0A };
-
static unsigned char get_input_311[] = { 0xD0, 0x28, 0x81, 0x03, 0x01, 0x23,
0x01, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x19, 0x08, 0x04, 0x17,
@@ -17708,11 +17701,6 @@ static const struct terminal_response_test get_input_response_data_191 = {
},
};
-static const unsigned char get_input_response_211[] = {
- 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82,
- 0x81, 0x83, 0x01, 0x12,
-};
-
static const struct terminal_response_test get_input_response_data_211 = {
.pdu = get_input_response_211,
.pdu_len = sizeof(get_input_response_211),