From ae4022effaa471447892886b6358f39a2969f3a5 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 18 Oct 2012 13:45:03 -0500 Subject: unit: Move GetInput 2.1 test data --- unit/stk-test-data.h | 10 ++++++++++ unit/test-stkutil.c | 12 ------------ 2 files changed, 10 insertions(+), 12 deletions(-) (limited to 'unit') diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h index 72937612..8e9bfa13 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -757,3 +757,13 @@ static const unsigned char get_input_1101[] = { }; #define get_input_response_1101 get_input_response_111 + +static const unsigned char get_input_211[] = { + 0xD0, 0x1A, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, + 0x0B, 0x04, 0x3C, 0x54, 0x49, 0x4D, 0x45, 0x2D, 0x4F, 0x55, 0x54, 0x3E, + 0x91, 0x02, 0x00, 0x0A +}; + +static const unsigned char get_input_response_211[] = { + 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x12, +}; diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index edbc4fd7..608fbad4 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_211[] = { 0xD0, 0x1A, 0x81, 0x03, 0x01, 0x23, - 0x00, 0x82, 0x02, 0x81, 0x82, - 0x8D, 0x0B, 0x04, 0x3C, 0x54, - 0x49, 0x4D, 0x45, 0x2D, 0x4F, - 0x55, 0x54, 0x3E, 0x91, 0x02, - 0x00, 0x0A }; - static unsigned char get_input_311[] = { 0xD0, 0x28, 0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x19, 0x08, 0x04, 0x17, @@ -17708,11 +17701,6 @@ static const struct terminal_response_test get_input_response_data_191 = { }, }; -static const unsigned char get_input_response_211[] = { - 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, - 0x81, 0x83, 0x01, 0x12, -}; - static const struct terminal_response_test get_input_response_data_211 = { .pdu = get_input_response_211, .pdu_len = sizeof(get_input_response_211), -- cgit v1.2.3