summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-09 00:35:51 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-09 11:26:59 -0500
commit5154459856ede8b20307a02e34a58c6c46518d4d (patch)
tree3fcd95974f70c36f2bf8f3dee05469cf4f6c6e2b /unit
parent7888e168d415980b2460b2645309ecfbc81ac10c (diff)
downloadofono-5154459856ede8b20307a02e34a58c6c46518d4d.tar.bz2
unit: Move Get Inkey 3.1-3.2 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h27
-rw-r--r--unit/test-stkutil.c41
2 files changed, 27 insertions, 41 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 318708d9..c161f234 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -376,3 +376,30 @@ static const unsigned char get_inkey_211[] = {
static const unsigned char get_inkey_response_211[] = {
0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x12,
};
+
+static const unsigned char get_inkey_311[] = {
+ 0xD0, 0x24, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x19, 0x08, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10, 0x04, 0x12,
+ 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19, 0x04, 0x22,
+ 0x04, 0x15
+};
+
+#define get_inkey_response_311 get_inkey_response_111
+
+static const unsigned char get_inkey_321[] = {
+ 0xD0, 0x81, 0x99, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82,
+ 0x8D, 0x81, 0x8D, 0x08, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
+ 0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
+ 0x04, 0x22, 0x04, 0x15, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
+ 0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
+ 0x04, 0x22, 0x04, 0x15, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
+ 0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
+ 0x04, 0x22, 0x04, 0x15, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
+ 0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
+ 0x04, 0x22, 0x04, 0x15, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
+ 0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
+ 0x04, 0x22, 0x04, 0x15, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10,
+ 0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19,
+};
+
+#define get_inkey_response_321 get_inkey_response_111
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 9e91b12f..48a88885 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -891,47 +891,6 @@ struct get_inkey_test {
char *html;
};
-static unsigned char get_inkey_311[] = { 0xD0, 0x24, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x19, 0x08, 0x04, 0x17,
- 0x04, 0x14, 0x04, 0x20, 0x04,
- 0x10, 0x04, 0x12, 0x04, 0x21,
- 0x04, 0x22, 0x04, 0x12, 0x04,
- 0x23, 0x04, 0x19, 0x04, 0x22,
- 0x04, 0x15 };
-
-static unsigned char get_inkey_321[] = { 0xD0, 0x81, 0x99, 0x81, 0x03, 0x01,
- 0x22, 0x00, 0x82, 0x02, 0x81,
- 0x82, 0x8D, 0x81, 0x8D, 0x08,
- 0x04, 0x17, 0x04, 0x14, 0x04,
- 0x20, 0x04, 0x10, 0x04, 0x12,
- 0x04, 0x21, 0x04, 0x22, 0x04,
- 0x12, 0x04, 0x23, 0x04, 0x19,
- 0x04, 0x22, 0x04, 0x15, 0x04,
- 0x17, 0x04, 0x14, 0x04, 0x20,
- 0x04, 0x10, 0x04, 0x12, 0x04,
- 0x21, 0x04, 0x22, 0x04, 0x12,
- 0x04, 0x23, 0x04, 0x19, 0x04,
- 0x22, 0x04, 0x15, 0x04, 0x17,
- 0x04, 0x14, 0x04, 0x20, 0x04,
- 0x10, 0x04, 0x12, 0x04, 0x21,
- 0x04, 0x22, 0x04, 0x12, 0x04,
- 0x23, 0x04, 0x19, 0x04, 0x22,
- 0x04, 0x15, 0x04, 0x17, 0x04,
- 0x14, 0x04, 0x20, 0x04, 0x10,
- 0x04, 0x12, 0x04, 0x21, 0x04,
- 0x22, 0x04, 0x12, 0x04, 0x23,
- 0x04, 0x19, 0x04, 0x22, 0x04,
- 0x15, 0x04, 0x17, 0x04, 0x14,
- 0x04, 0x20, 0x04, 0x10, 0x04,
- 0x12, 0x04, 0x21, 0x04, 0x22,
- 0x04, 0x12, 0x04, 0x23, 0x04,
- 0x19, 0x04, 0x22, 0x04, 0x15,
- 0x04, 0x17, 0x04, 0x14, 0x04,
- 0x20, 0x04, 0x10, 0x04, 0x12,
- 0x04, 0x21, 0x04, 0x22, 0x04,
- 0x12, 0x04, 0x23, 0x04, 0x19 };
-
static unsigned char get_inkey_411[] = { 0xD0, 0x11, 0x81, 0x03, 0x01, 0x22,
0x03, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x06, 0x04, 0x45, 0x6E,