From 95556706df707aa918a4c91d9a8ebe4b738b502b Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 18 Oct 2012 12:46:13 -0500 Subject: unit: Move GetInput 1.7 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 1600ba69..3704bd97 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -694,3 +694,13 @@ static const unsigned char get_input_161[] = { static const unsigned char get_input_response_161[] = { 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x11, }; + +static const unsigned char get_input_171[] = { + 0xD0, 0x17, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, + 0x08, 0x04, 0x3C, 0x41, 0x42, 0x4F, 0x52, 0x54, 0x3E, 0x91, 0x02, 0x00, + 0x08 +}; + +static const unsigned char get_input_response_171[] = { + 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x10, +}; diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index 9a522cdb..930e13db 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -1553,12 +1553,6 @@ struct get_input_test { char *html; }; -static unsigned char get_input_171[] = { 0xD0, 0x17, 0x81, 0x03, 0x01, 0x23, - 0x00, 0x82, 0x02, 0x81, 0x82, - 0x8D, 0x08, 0x04, 0x3C, 0x41, - 0x42, 0x4F, 0x52, 0x54, 0x3E, - 0x91, 0x02, 0x00, 0x08 }; - static unsigned char get_input_181[] = { 0xD0, 0x81, 0xB1, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x81, 0xA1, 0x04, @@ -17697,11 +17691,6 @@ static const struct terminal_response_test get_input_response_data_161 = { }, }; -static const unsigned char get_input_response_171[] = { - 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, - 0x81, 0x83, 0x01, 0x10, -}; - static const struct terminal_response_test get_input_response_data_171 = { .pdu = get_input_response_171, .pdu_len = sizeof(get_input_response_171), -- cgit v1.2.3