summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-20 21:08:17 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-20 21:17:18 -0500
commit92320c2a5c84b3abbe2b449bd5be090479f2fe9a (patch)
tree3a9c3f94fec112ee9a8d5a20002504c892fba4cf /unit
parentbe28342c18bc8888fecbb23f1ae0b380e167a392 (diff)
downloadofono-92320c2a5c84b3abbe2b449bd5be090479f2fe9a.tar.bz2
unit: Move GetInput 11.1-11.2 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h25
-rw-r--r--unit/test-stkutil.c38
2 files changed, 25 insertions, 38 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 2e9414fd..2fed85bf 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -1037,3 +1037,28 @@ static const unsigned char get_input_response_1021[] = {
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 const unsigned char get_input_1111[] = {
+ 0xD0, 0x12, 0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x03, 0x08, 0x30, 0xEB, 0x91, 0x02, 0x05, 0x05
+};
+
+#define get_input_response_1111 get_input_response_311
+
+static const unsigned char get_input_1121[] = {
+ 0xD0, 0x81, 0x9D, 0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x81, 0x82,
+ 0x8D, 0x81, 0x8D, 0x08, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB,
+ 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB,
+ 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB,
+ 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB,
+ 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB,
+ 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB,
+ 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB,
+ 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB,
+ 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB,
+ 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB,
+ 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB,
+ 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB, 0x30, 0xEB,
+ 0x91, 0x02, 0x05, 0x05 };
+
+#define get_input_response_1121 get_input_response_311
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index 30aed4bd..3afea11a 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -1678,44 +1678,6 @@ static unsigned char get_input_8102[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
0x32, 0x32, 0x32, 0x32, 0x91,
0x02, 0x05, 0x05 };
-static unsigned char get_input_1111[] = { 0xD0, 0x12, 0x81, 0x03, 0x01, 0x23,
- 0x01, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x03, 0x08, 0x30, 0xEB,
- 0x91, 0x02, 0x05, 0x05 };
-
-static unsigned char get_input_1121[] = { 0xD0, 0x81, 0x9D, 0x81, 0x03, 0x01,
- 0x23, 0x01, 0x82, 0x02, 0x81,
- 0x82, 0x8D, 0x81, 0x8D, 0x08,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x30, 0xEB, 0x30, 0xEB, 0x30,
- 0xEB, 0x30, 0xEB, 0x30, 0xEB,
- 0x91, 0x02, 0x05, 0x05 };
-
static unsigned char get_input_1211[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
0x03, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x0C, 0x04, 0x45, 0x6E,