summaryrefslogtreecommitdiffstats
path: root/unit
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2012-10-09 14:15:20 -0500
committerDenis Kenzior <denkenz@gmail.com>2012-10-09 14:15:20 -0500
commitf38abc1907d2811c3e3129990df41a8b3ddbdcae (patch)
tree00fc7d1807ad624dbf7177ae581e4e8e3fad6338 /unit
parent039047a9ba845b1a4bc501ad24d387ad45b5af70 (diff)
downloadofono-f38abc1907d2811c3e3129990df41a8b3ddbdcae.tar.bz2
unit: Move GetInkey 11.1 test data
Diffstat (limited to 'unit')
-rw-r--r--unit/stk-test-data.h10
-rw-r--r--unit/test-stkutil.c11
2 files changed, 10 insertions, 11 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h
index 1d961331..f840585b 100644
--- a/unit/stk-test-data.h
+++ b/unit/stk-test-data.h
@@ -581,3 +581,13 @@ static const unsigned char get_inkey_1021[] = {
};
#define get_inkey_response_1021 get_inkey_response_111
+
+static const unsigned char get_inkey_1111[] = {
+ 0xD0, 0x11, 0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x81, 0x82, 0x8D,
+ 0x06, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72
+};
+
+static const unsigned char get_inkey_response_1111[] = {
+ 0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00,
+ 0x8d, 0x03, 0x08, 0x59, 0x7d,
+};
diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c
index d91b2aa4..92d58710 100644
--- a/unit/test-stkutil.c
+++ b/unit/test-stkutil.c
@@ -1011,11 +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_1111[] = { 0xD0, 0x11, 0x81, 0x03, 0x01, 0x22,
- 0x03, 0x82, 0x02, 0x81, 0x82,
- 0x8D, 0x06, 0x04, 0x45, 0x6E,
- 0x74, 0x65, 0x72 };
-
static unsigned char get_inkey_1211[] = { 0xD0, 0x0E, 0x81, 0x03, 0x01, 0x22,
0x00, 0x82, 0x02, 0x81, 0x82,
0x8D, 0x03, 0x08, 0x30, 0xEB };
@@ -17634,12 +17629,6 @@ static const struct terminal_response_test get_inkey_response_data_912 = {
},
};
-static const unsigned char get_inkey_response_1111[] = {
- 0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x82,
- 0x81, 0x83, 0x01, 0x00, 0x8d, 0x03, 0x08, 0x59,
- 0x7d,
-};
-
static const struct terminal_response_test get_inkey_response_data_1111 = {
.pdu = get_inkey_response_1111,
.pdu_len = sizeof(get_inkey_response_1111),