diff options
author | Denis Kenzior <denkenz@gmail.com> | 2012-10-09 14:26:11 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-10-09 14:26:11 -0500 |
commit | f55e160f62335250516e41eb791caa154c6e3386 (patch) | |
tree | 18609525ae2ae6c35d719de35dbe8966e4cf6664 /unit | |
parent | 1f732bcab3b8c2dc9e4e1379332789c4043d705e (diff) | |
download | ofono-f55e160f62335250516e41eb791caa154c6e3386.tar.bz2 |
unit: Move GetInkey test data 13.1
Diffstat (limited to 'unit')
-rw-r--r-- | unit/stk-test-data.h | 10 | ||||
-rw-r--r-- | unit/test-stkutil.c | 11 |
2 files changed, 10 insertions, 11 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h index 740795ae..3deb1cb3 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -616,3 +616,13 @@ static const unsigned char get_inkey_1221[] = { }; #define get_inkey_response_1221 get_inkey_response_111 + +static const unsigned char get_inkey_1311[] = { + 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_1311[] = { + 0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00, + 0x8d, 0x03, 0x08, 0x30, 0xeb, +}; diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index 7bb333e2..207a39ec 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_1311[] = { 0xD0, 0x11, 0x81, 0x03, 0x01, 0x22, - 0x03, 0x82, 0x02, 0x81, 0x82, - 0x8D, 0x06, 0x04, 0x45, 0x6E, - 0x74, 0x65, 0x72 }; - static struct get_inkey_test get_inkey_data_111 = { .pdu = get_inkey_111, .pdu_len = sizeof(get_inkey_111), @@ -17613,12 +17608,6 @@ static const struct terminal_response_test get_inkey_response_data_1111 = { }, }; -static const unsigned char get_inkey_response_1311[] = { - 0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x82, - 0x81, 0x83, 0x01, 0x00, 0x8d, 0x03, 0x08, 0x30, - 0xeb, -}; - static const struct terminal_response_test get_inkey_response_data_1311 = { .pdu = get_inkey_response_1311, .pdu_len = sizeof(get_inkey_response_1311), |