From a13ac83b6b1d4e1d683854dc0ddbf0e84489f115 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 18 Oct 2012 11:57:28 -0500 Subject: unit: Move GetInput 1.2 test data --- unit/stk-test-data.h | 11 +++++++++++ unit/test-stkutil.c | 13 ------------- 2 files changed, 11 insertions(+), 13 deletions(-) (limited to 'unit') diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h index 7d0cbd4d..e0189c1a 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -637,3 +637,14 @@ static const unsigned char get_input_response_111[] = { 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00, 0x8d, 0x06, 0x04, 0x31, 0x32, 0x33, 0x34, 0x35, }; + +static const unsigned char get_input_121[] = { + 0xD0, 0x1A, 0x81, 0x03, 0x01, 0x23, 0x08, 0x82, 0x02, 0x81, 0x82, 0x8D, + 0x0B, 0x00, 0x45, 0x37, 0xBD, 0x2C, 0x07, 0xD9, 0x6E, 0xAA, 0xD1, 0x0A, + 0x91, 0x02, 0x05, 0x05 +}; + +static const unsigned char get_input_response_121[] = { + 0x81, 0x03, 0x01, 0x23, 0x08, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00, + 0x8d, 0x06, 0x00, 0xb6, 0x9b, 0x6a, 0xb4, 0x02, +}; diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index f019ab75..fb2db430 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -1553,13 +1553,6 @@ struct get_input_test { char *html; }; -static unsigned char get_input_121[] = { 0xD0, 0x1A, 0x81, 0x03, 0x01, 0x23, - 0x08, 0x82, 0x02, 0x81, 0x82, - 0x8D, 0x0B, 0x00, 0x45, 0x37, - 0xBD, 0x2C, 0x07, 0xD9, 0x6E, - 0xAA, 0xD1, 0x0A, 0x91, 0x02, - 0x05, 0x05 }; - static unsigned char get_input_131[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0C, 0x04, 0x45, 0x6E, @@ -17641,12 +17634,6 @@ static const struct terminal_response_test get_input_response_data_111 = { }, }; -static const unsigned char get_input_response_121[] = { - 0x81, 0x03, 0x01, 0x23, 0x08, 0x82, 0x02, 0x82, - 0x81, 0x83, 0x01, 0x00, 0x8d, 0x06, 0x00, 0xb6, - 0x9b, 0x6a, 0xb4, 0x02, -}; - static const struct terminal_response_test get_input_response_data_121 = { .pdu = get_input_response_121, .pdu_len = sizeof(get_input_response_121), -- cgit v1.2.3