summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-09 00:24:27 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-09 11:26:59 -0500
commitb759fb1a4a4bda5a28d83d97d4d3aee6f373056a (patch)
tree18aa3baf34e9b29a3b9304e431c8aeff4d9605b8 /unit
parent2072a10754eaa9b56d92812645f5c5b96ae399ed (diff)
downloadofono-b759fb1a4a4bda5a28d83d97d4d3aee6f373056a.tar.bz2
unit: Move test data for GetInkey 2.1
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h9
-rw-r--r--unit/test-stkutil.c11
2 files changed, 9 insertions, 11 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 41a336ce..318708d9 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -367,3 +367,12 @@ static const unsigned char get_inkey_response_161[] = {
0x81, 0x03, 0x01, 0x22, 0x01, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
0x8d, 0x02, 0x04, 0x78,
};
+
+static const unsigned char get_inkey_211[] = {
+ 0xD0, 0x16, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0B, 0x04, 0x3C, 0x54, 0x49, 0x4D, 0x45, 0x2D, 0x4F, 0x55, 0x54, 0x3E,
+};
+
+static const unsigned char get_inkey_response_211[] = {
+ 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x12,
+};
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 9564a356..9e91b12f 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -891,12 +891,6 @@ struct get_inkey_test {
char *html;
};
-static unsigned char get_inkey_211[] = { 0xD0, 0x16, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0B, 0x04, 0x3C, 0x54,
- 0x49, 0x4D, 0x45, 0x2D, 0x4F,
- 0x55, 0x54, 0x3E };
-
static unsigned char get_inkey_311[] = { 0xD0, 0x24, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x19, 0x08, 0x04, 0x17,
@@ -17647,11 +17641,6 @@ static const struct terminal_response_test get_inkey_response_data_161 = {
},
};
-static const unsigned char get_inkey_response_211[] = {
- 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82,
- 0x81, 0x83, 0x01, 0x12,
-};
-
static const struct terminal_response_test get_inkey_response_data_211 = {
.pdu = get_inkey_response_211,
.pdu_len = sizeof(get_inkey_response_211),