summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-18 11:53:05 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-18 11:53:05 -0500
commit35eb3a5e3d5261adab86cf412c504fa4ee9a19e4 (patch)
tree949cd37b930f0312b973ebb7d45d209f18b0daf1 /unit
parent15fbd24ce6cec77c4bfbefafb2f645a2378f8b0f (diff)
downloadofono-35eb3a5e3d5261adab86cf412c504fa4ee9a19e4.tar.bz2
unit: Move GetInput 1.1 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 3deb1cb3..7d0cbd4d 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -626,3 +626,14 @@ static const unsigned char get_inkey_response_1311[] = {
0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
0x8d, 0x03, 0x08, 0x30, 0xeb,
};
+
+static const unsigned char get_input_111[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x32, 0x33, 0x34,
+ 0x35, 0x91, 0x02, 0x05, 0x05
+};
+
+static const unsigned char get_input_response_111[] = {
+ 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
+ 0x8d, 0x06, 0x04, 0x31, 0x32, 0x33, 0x34, 0x35,
+};
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 207a39ec..f019ab75 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_111[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0C, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x31,
- 0x32, 0x33, 0x34, 0x35, 0x91,
- 0x02, 0x05, 0x05 };
-
static unsigned char get_input_121[] = { 0xD0, 0x1A, 0x81, 0x03, 0x01, 0x23,
0x08, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0B, 0x00, 0x45, 0x37,
@@ -17628,12 +17621,6 @@ static const struct terminal_response_test get_inkey_response_data_1311 = {
},
};
-static const unsigned char get_input_response_111[] = {
- 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82,
- 0x81, 0x83, 0x01, 0x00, 0x8d, 0x06, 0x04, 0x31,
- 0x32, 0x33, 0x34, 0x35,
-};
-
static const struct terminal_response_test get_input_response_data_111 = {
.pdu = get_input_response_111,
.pdu_len = sizeof(get_input_response_111),