From 124e2bbc09da75bac047a95629b0ba290636fcbd Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Thu, 18 Oct 2012 20:42:38 -0500 Subject: unit: Move GetInput 5.1-5.2 test data --- unit/stk-test-data.h | 30 ++++++++++++++++++++++++++++++ unit/test-stkutil.c | 48 ------------------------------------------------ 2 files changed, 30 insertions(+), 48 deletions(-) (limited to 'unit') diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h index 7786ce19..68810f88 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -833,3 +833,33 @@ static const unsigned char get_input_response_421[] = { 0x04, 0x22, 0x04, 0x15, 0x04, 0x17, 0x04, 0x14, 0x04, 0x20, 0x04, 0x10, 0x04, 0x12, 0x04, 0x21, 0x04, 0x22, 0x04, 0x12, 0x04, 0x23, 0x04, 0x19, }; + +static const unsigned char get_input_511[] = { + 0xD0, 0x23, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, + 0x0C, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x20, 0x31, 0x32, 0x33, 0x34, + 0x35, 0x91, 0x02, 0x05, 0x05, 0x17, 0x06, 0x04, 0x31, 0x32, 0x33, 0x34, + 0x35 +}; + +#define get_input_response_511 get_input_response_111 + +static const unsigned char get_input_521[] = { + 0xD0, 0x81, 0xBA, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, + 0x8D, 0x07, 0x04, 0x45, 0x6E, 0x74, 0x65, 0x72, 0x3A, 0x91, 0x02, 0xA0, + 0xA0, 0x17, 0x81, 0xA1, 0x04, 0x2A, 0x2A, 0x2A, 0x31, 0x31, 0x31, 0x31, + 0x31, 0x31, 0x31, 0x31, 0x31, 0x31, 0x23, 0x23, 0x23, 0x2A, 0x2A, 0x2A, + 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x32, 0x23, 0x23, + 0x23, 0x2A, 0x2A, 0x2A, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, 0x33, + 0x33, 0x33, 0x23, 0x23, 0x23, 0x2A, 0x2A, 0x2A, 0x34, 0x34, 0x34, 0x34, + 0x34, 0x34, 0x34, 0x34, 0x34, 0x34, 0x23, 0x23, 0x23, 0x2A, 0x2A, 0x2A, + 0x35, 0x35, 0x35, 0x35, 0x35, 0x35, 0x35, 0x35, 0x35, 0x35, 0x23, 0x23, + 0x23, 0x2A, 0x2A, 0x2A, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, 0x36, + 0x36, 0x36, 0x23, 0x23, 0x23, 0x2A, 0x2A, 0x2A, 0x37, 0x37, 0x37, 0x37, + 0x37, 0x37, 0x37, 0x37, 0x37, 0x37, 0x23, 0x23, 0x23, 0x2A, 0x2A, 0x2A, + 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x38, 0x23, 0x23, + 0x23, 0x2A, 0x2A, 0x2A, 0x39, 0x39, 0x39, 0x39, 0x39, 0x39, 0x39, 0x39, + 0x39, 0x39, 0x23, 0x23, 0x23, 0x2A, 0x2A, 0x2A, 0x30, 0x30, 0x30, 0x30, + 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x23, 0x23, 0x23 +}; + +#define get_input_response_521 get_input_response_181 diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index 76b9aba9..61b20752 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -1553,54 +1553,6 @@ struct get_input_test { char *html; }; -static unsigned char get_input_511[] = { 0xD0, 0x23, 0x81, 0x03, 0x01, 0x23, - 0x00, 0x82, 0x02, 0x81, 0x82, - 0x8D, 0x0C, 0x04, 0x45, 0x6E, - 0x74, 0x65, 0x72, 0x20, 0x31, - 0x32, 0x33, 0x34, 0x35, 0x91, - 0x02, 0x05, 0x05, 0x17, 0x06, - 0x04, 0x31, 0x32, 0x33, 0x34, - 0x35 }; - -static unsigned char get_input_521[] = { 0xD0, 0x81, 0xBA, 0x81, 0x03, 0x01, - 0x23, 0x00, 0x82, 0x02, 0x81, - 0x82, 0x8D, 0x07, 0x04, 0x45, - 0x6E, 0x74, 0x65, 0x72, 0x3A, - 0x91, 0x02, 0xA0, 0xA0, 0x17, - 0x81, 0xA1, 0x04, 0x2A, 0x2A, - 0x2A, 0x31, 0x31, 0x31, 0x31, - 0x31, 0x31, 0x31, 0x31, 0x31, - 0x31, 0x23, 0x23, 0x23, 0x2A, - 0x2A, 0x2A, 0x32, 0x32, 0x32, - 0x32, 0x32, 0x32, 0x32, 0x32, - 0x32, 0x32, 0x23, 0x23, 0x23, - 0x2A, 0x2A, 0x2A, 0x33, 0x33, - 0x33, 0x33, 0x33, 0x33, 0x33, - 0x33, 0x33, 0x33, 0x23, 0x23, - 0x23, 0x2A, 0x2A, 0x2A, 0x34, - 0x34, 0x34, 0x34, 0x34, 0x34, - 0x34, 0x34, 0x34, 0x34, 0x23, - 0x23, 0x23, 0x2A, 0x2A, 0x2A, - 0x35, 0x35, 0x35, 0x35, 0x35, - 0x35, 0x35, 0x35, 0x35, 0x35, - 0x23, 0x23, 0x23, 0x2A, 0x2A, - 0x2A, 0x36, 0x36, 0x36, 0x36, - 0x36, 0x36, 0x36, 0x36, 0x36, - 0x36, 0x23, 0x23, 0x23, 0x2A, - 0x2A, 0x2A, 0x37, 0x37, 0x37, - 0x37, 0x37, 0x37, 0x37, 0x37, - 0x37, 0x37, 0x23, 0x23, 0x23, - 0x2A, 0x2A, 0x2A, 0x38, 0x38, - 0x38, 0x38, 0x38, 0x38, 0x38, - 0x38, 0x38, 0x38, 0x23, 0x23, - 0x23, 0x2A, 0x2A, 0x2A, 0x39, - 0x39, 0x39, 0x39, 0x39, 0x39, - 0x39, 0x39, 0x39, 0x39, 0x23, - 0x23, 0x23, 0x2A, 0x2A, 0x2A, - 0x30, 0x30, 0x30, 0x30, 0x30, - 0x30, 0x30, 0x30, 0x30, 0x30, - 0x23, 0x23, 0x23 }; - static unsigned char get_input_611[] = { 0xD0, 0x1D, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0A, 0x04, 0x3C, 0x4E, -- cgit v1.2.3