From c4345c165113bcfe5d0f9f8def2fe8585e28c84a Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 9 Oct 2012 12:09:33 -0500 Subject: unit: Move GetInkey 8.1 test data --- unit/stk-test-data.h | 11 +++++++++++ unit/test-stkutil.c | 12 ------------ 2 files changed, 11 insertions(+), 12 deletions(-) (limited to 'unit') 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), -- cgit v1.2.3