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