diff options
author | Denis Kenzior <denkenz@gmail.com> | 2012-10-09 11:00:09 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-10-09 11:26:59 -0500 |
commit | 4e125b2d1042c8cce7b21a8fcc0ec35ee9381ea8 (patch) | |
tree | 6ae11c2012dd213ca85320dec6f578dad4b04ce2 /unit | |
parent | 81b3ad1b98ca469f551d254035d4151b14f38cc6 (diff) | |
download | ofono-4e125b2d1042c8cce7b21a8fcc0ec35ee9381ea8.tar.bz2 |
unit: Move GetInkey 4.1 test data
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 c161f234..cd562a13 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -403,3 +403,13 @@ static const unsigned char get_inkey_321[] = { }; #define get_inkey_response_321 get_inkey_response_111 + +static const unsigned char get_inkey_411[] = { + 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_411[] = { + 0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00, + 0x8d, 0x03, 0x08, 0x04, 0x14, +}; diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index 48a88885..6e815ae4 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -891,11 +891,6 @@ struct get_inkey_test { char *html; }; -static unsigned char get_inkey_411[] = { 0xD0, 0x11, 0x81, 0x03, 0x01, 0x22, - 0x03, 0x82, 0x02, 0x81, 0x82, - 0x8D, 0x06, 0x04, 0x45, 0x6E, - 0x74, 0x65, 0x72 }; - static unsigned char get_inkey_511[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22, 0x04, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0A, 0x04, 0x45, 0x6E, @@ -17615,12 +17610,6 @@ static const struct terminal_response_test get_inkey_response_data_211 = { }, }; -static const unsigned char get_inkey_response_411[] = { - 0x81, 0x03, 0x01, 0x22, 0x03, 0x82, 0x02, 0x82, - 0x81, 0x83, 0x01, 0x00, 0x8d, 0x03, 0x08, 0x04, - 0x14, -}; - static const struct terminal_response_test get_inkey_response_data_411 = { .pdu = get_inkey_response_411, .pdu_len = sizeof(get_inkey_response_411), |