diff options
author | Denis Kenzior <denkenz@gmail.com> | 2012-10-09 12:09:33 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-10-09 12:09:33 -0500 |
commit | c4345c165113bcfe5d0f9f8def2fe8585e28c84a (patch) | |
tree | f091d49a9dd26d6dc038e912da10d92bbd3fe330 /unit | |
parent | d4e0350d321774be6293eddef093a41c8644eff5 (diff) | |
download | ofono-c4345c165113bcfe5d0f9f8def2fe8585e28c84a.tar.bz2 |
unit: Move GetInkey 8.1 test data
Diffstat (limited to 'unit')
-rw-r--r-- | unit/stk-test-data.h | 11 | ||||
-rw-r--r-- | unit/test-stkutil.c | 12 |
2 files changed, 11 insertions, 12 deletions
diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h index 85cf4557..323b6f36 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -465,3 +465,14 @@ static const unsigned char get_inkey_641[] = { }; #define get_inkey_response_641 get_inkey_response_111 + +static const unsigned char get_inkey_811[] = { + 0xD0, 0x19, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, + 0x0A, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22, 0x84, + 0x02, 0x01, 0x0A +}; + +static const unsigned char get_inkey_response_811[] = { + 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x12, + 0x04, 0x02, 0x01, 0x11, +}; diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index ed768d79..6407fb62 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -903,13 +903,6 @@ static unsigned char get_inkey_712[] = { 0xD0, 0x15, 0x81, 0x03, 0x01, 0x22, 0x74, 0x65, 0x72, 0x20, 0x22, 0x2B, 0x22 }; -static unsigned char get_inkey_811[] = { 0xD0, 0x19, 0x81, 0x03, 0x01, 0x22, - 0x00, 0x82, 0x02, 0x81, 0x82, - 0x8D, 0x0A, 0x04, 0x45, 0x6E, - 0x74, 0x65, 0x72, 0x20, 0x22, - 0x2B, 0x22, 0x84, 0x02, 0x01, - 0x0A }; - static unsigned char get_inkey_911[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0A, 0x04, 0x45, 0x6E, @@ -17702,11 +17695,6 @@ static const struct terminal_response_test get_inkey_response_data_712 = { }, }; -static const unsigned char get_inkey_response_811[] = { - 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82, - 0x81, 0x83, 0x01, 0x12, 0x04, 0x02, 0x01, 0x11, -}; - static const struct terminal_response_test get_inkey_response_data_811 = { .pdu = get_inkey_response_811, .pdu_len = sizeof(get_inkey_response_811), |