summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-09 14:12:57 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-09 14:12:57 -0500
commit3f7736c9673a9f007a1424ab9748232d97119c31 (patch)
tree485802d02f578da151169007331271d089945b3e /unit
parent11aaefdca697c606d299f764fe334648618ed677 (diff)
downloadofono-3f7736c9673a9f007a1424ab9748232d97119c31.tar.bz2
unit: Move GetInkey 10.1-10.2 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h25
-rw-r--r--unit/test-stkutil.c37
2 files changed, 25 insertions, 37 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index b0fc5112..1d961331 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -556,3 +556,28 @@ static const unsigned char get_inkey_9101[] = {
};
#define get_inkey_response_9101 get_inkey_response_111
+
+static const unsigned char get_inkey_1011[] = {
+ 0xD0, 0x10, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x05, 0x08, 0x4F, 0x60, 0x59, 0x7D
+};
+
+#define get_inkey_response_1011 get_inkey_response_111
+
+static const unsigned char get_inkey_1021[] = {
+ 0xD0, 0x81, 0x99, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82,
+ 0x8D, 0x81, 0x8D, 0x08, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D,
+ 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D,
+ 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D,
+ 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D,
+ 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D,
+ 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D,
+ 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D,
+ 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D,
+ 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D,
+ 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D,
+ 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D,
+ 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D,
+};
+
+#define get_inkey_response_1021 get_inkey_response_111
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 14bd493e..d91b2aa4 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -1011,43 +1011,6 @@ static unsigned char get_inkey_9102[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22,
0x74, 0x65, 0x72, 0x20, 0x22,
0x23, 0x22 };
-static unsigned char get_inkey_1011[] = { 0xD0, 0x10, 0x81, 0x03, 0x01, 0x22,
- 0x00, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x05, 0x08, 0x4F, 0x60,
- 0x59, 0x7D };
-
-static unsigned char get_inkey_1021[] = { 0xD0, 0x81, 0x99, 0x81, 0x03, 0x01,
- 0x22, 0x00, 0x82, 0x02, 0x81,
- 0x82, 0x8D, 0x81, 0x8D, 0x08,
- 0x4F, 0x60, 0x59, 0x7D, 0x4F,
- 0x60, 0x59, 0x7D, 0x4F, 0x60,
- 0x59, 0x7D, 0x4F, 0x60, 0x59,
- 0x7D, 0x4F, 0x60, 0x59, 0x7D,
- 0x4F, 0x60, 0x59, 0x7D, 0x4F,
- 0x60, 0x59, 0x7D, 0x4F, 0x60,
- 0x59, 0x7D, 0x4F, 0x60, 0x59,
- 0x7D, 0x4F, 0x60, 0x59, 0x7D,
- 0x4F, 0x60, 0x59, 0x7D, 0x4F,
- 0x60, 0x59, 0x7D, 0x4F, 0x60,
- 0x59, 0x7D, 0x4F, 0x60, 0x59,
- 0x7D, 0x4F, 0x60, 0x59, 0x7D,
- 0x4F, 0x60, 0x59, 0x7D, 0x4F,
- 0x60, 0x59, 0x7D, 0x4F, 0x60,
- 0x59, 0x7D, 0x4F, 0x60, 0x59,
- 0x7D, 0x4F, 0x60, 0x59, 0x7D,
- 0x4F, 0x60, 0x59, 0x7D, 0x4F,
- 0x60, 0x59, 0x7D, 0x4F, 0x60,
- 0x59, 0x7D, 0x4F, 0x60, 0x59,
- 0x7D, 0x4F, 0x60, 0x59, 0x7D,
- 0x4F, 0x60, 0x59, 0x7D, 0x4F,
- 0x60, 0x59, 0x7D, 0x4F, 0x60,
- 0x59, 0x7D, 0x4F, 0x60, 0x59,
- 0x7D, 0x4F, 0x60, 0x59, 0x7D,
- 0x4F, 0x60, 0x59, 0x7D, 0x4F,
- 0x60, 0x59, 0x7D, 0x4F, 0x60,
- 0x59, 0x7D, 0x4F, 0x60, 0x59,
- 0x7D, 0x4F, 0x60, 0x59, 0x7D };
-
static unsigned char get_inkey_1111[] = { 0xD0, 0x11, 0x81, 0x03, 0x01, 0x22,
0x03, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x06, 0x04, 0x45, 0x6E,