From f55e160f62335250516e41eb791caa154c6e3386 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 9 Oct 2012 14:26:11 -0500 Subject: unit: Move GetInkey test data 13.1 --- 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 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), -- cgit v1.2.3