summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-18 12:43:10 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-18 12:43:10 -0500
commit7cbeebc6ab56296bd75026c72e437e3e3d320ef6 (patch)
tree2581945be9230399137d433c0def3dcc1969060d /unit
parent71d581d1fe0db620895b61ec1b93b4adfbd2ce82 (diff)
downloadofono-7cbeebc6ab56296bd75026c72e437e3e3d320ef6.tar.bz2
unit: Move GetInput 1.6 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h10
-rw-r--r--unit/test-stkutil.c13
2 files changed, 10 insertions, 13 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 7d2a92e2..1600ba69 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -684,3 +684,13 @@ static const unsigned char get_input_response_151[] = {
0x8d, 0x15, 0x04, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39,
0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, 0x38, 0x39, 0x30,
};
+
+static const unsigned char get_input_161[] = {
+ 0xD0, 0x1E, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0F, 0x04, 0x3C, 0x47, 0x4F, 0x2D, 0x42, 0x41, 0x43, 0x4B, 0x57, 0x41,
+ 0x52, 0x44, 0x53, 0x3E, 0x91, 0x02, 0x00, 0x08
+};
+
+static const unsigned char get_input_response_161[] = {
+ 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x11,
+};
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 31133df8..9a522cdb 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -1553,14 +1553,6 @@ struct get_input_test {
char *html;
};
-static unsigned char get_input_161[] = { 0xD0, 0x1E, 0x81, 0x03, 0x01, 0x23,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0F, 0x04, 0x3C, 0x47,
- 0x4F, 0x2D, 0x42, 0x41, 0x43,
- 0x4B, 0x57, 0x41, 0x52, 0x44,
- 0x53, 0x3E, 0x91, 0x02, 0x00,
- 0x08 };
-
static unsigned char get_input_171[] = { 0xD0, 0x17, 0x81, 0x03, 0x01, 0x23,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x08, 0x04, 0x3C, 0x41,
@@ -17690,11 +17682,6 @@ static const struct terminal_response_test get_input_response_data_151 = {
},
};
-static const unsigned char get_input_response_161[] = {
- 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82,
- 0x81, 0x83, 0x01, 0x11,
-};
-
static const struct terminal_response_test get_input_response_data_161 = {
.pdu = get_input_response_161,
.pdu_len = sizeof(get_input_response_161),