summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-20 20:57:53 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-20 20:57:53 -0500
commiteb4fc4c6524969084a1331803e723bc63f1918cb (patch)
treed26d546772e2a756651e0c6b12569c4385d84623 /unit
parentd0347b7f4c83f99630c5027ca000194a29e568d0 (diff)
downloadofono-eb4fc4c6524969084a1331803e723bc63f1918cb.tar.bz2
unit: Move GetInput 10.1-10.2 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h33
-rw-r--r--unit/test-stkutil.c43
2 files changed, 33 insertions, 43 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 17b40074..2e9414fd 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -1004,3 +1004,36 @@ static const unsigned char get_input_921[] = {
};
#define get_input_response_921 get_input_response_311
+
+static const unsigned char get_input_1011[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x03, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x48, 0x65, 0x6C, 0x6C,
+ 0x6F, 0x91, 0x02, 0x02, 0x02
+};
+
+static const unsigned char get_input_response_1011[] = {
+ 0x81, 0x03, 0x01, 0x23, 0x03, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
+ 0x8d, 0x05, 0x08, 0x4f, 0x60, 0x59, 0x7d,
+};
+
+static const unsigned char get_input_1021[] = {
+ 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x03, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x48, 0x65, 0x6C, 0x6C,
+ 0x6F, 0x91, 0x02, 0x05, 0xFF
+};
+
+static const unsigned char get_input_response_1021[] = {
+ 0x81, 0x03, 0x01, 0x23, 0x03, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
+ 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,
+};
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index eb074699..30aed4bd 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -1678,20 +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_1011[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
- 0x03, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0C, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x48,
- 0x65, 0x6C, 0x6C, 0x6F, 0x91,
- 0x02, 0x02, 0x02 };
-
-static unsigned char get_input_1021[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23,
- 0x03, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x0C, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72, 0x20, 0x48,
- 0x65, 0x6C, 0x6C, 0x6F, 0x91,
- 0x02, 0x05, 0xFF };
-
static unsigned char get_input_1111[] = { 0xD0, 0x12, 0x81, 0x03, 0x01, 0x23,
0x01, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x03, 0x08, 0x30, 0xEB,
@@ -17641,12 +17627,6 @@ static const struct terminal_response_test get_input_response_data_843 = {
},
};
-static const unsigned char get_input_response_1011[] = {
- 0x81, 0x03, 0x01, 0x23, 0x03, 0x82, 0x02, 0x82,
- 0x81, 0x83, 0x01, 0x00, 0x8d, 0x05, 0x08, 0x4f,
- 0x60, 0x59, 0x7d,
-};
-
static const struct terminal_response_test get_input_response_data_1011 = {
.pdu = get_input_response_1011,
.pdu_len = sizeof(get_input_response_1011),
@@ -17667,29 +17647,6 @@ static const struct terminal_response_test get_input_response_data_1011 = {
},
};
-static const unsigned char get_input_response_1021[] = {
- 0x81, 0x03, 0x01, 0x23, 0x03, 0x82, 0x02, 0x82,
- 0x81, 0x83, 0x01, 0x00, 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 const struct terminal_response_test get_input_response_data_1021 = {
.pdu = get_input_response_1021,
.pdu_len = sizeof(get_input_response_1021),