From 40a50af2d02922b0d8d6973a67f8ed483f0d9c2c Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sat, 20 Oct 2012 19:50:40 -0500 Subject: [PATCH] unit: Move GetInput 9.1-9.2 test data --- unit/stk-test-data.h | 26 ++++++++++++++++++++++++++ unit/test-stkutil.c | 39 --------------------------------------- 2 files changed, 26 insertions(+), 39 deletions(-) diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h index 1362ae7..17b4007 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -978,3 +978,29 @@ static const unsigned char get_input_8101[] = { }; #define get_input_response_8101 get_input_response_111 + +static const unsigned char get_input_911[] = { + 0xD0, 0x14, 0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x81, 0x82, 0x8D, + 0x05, 0x08, 0x4F, 0x60, 0x59, 0x7D, 0x91, 0x02, 0x05, 0x05 +}; + +#define get_input_response_911 get_input_response_311 + +static const unsigned char get_input_921[] = { + 0xD0, 0x81, 0x9D, 0x81, 0x03, 0x01, 0x23, 0x01, 0x82, 0x02, 0x81, 0x82, + 0x8D, 0x81, 0x8D, 0x08, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, + 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, + 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, + 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, + 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, + 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, + 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, + 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, + 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, + 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, + 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, + 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, 0x4F, 0x60, 0x59, 0x7D, + 0x91, 0x02, 0x05, 0x05 +}; + +#define get_input_response_921 get_input_response_311 diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index 91b8fb0..eb07469 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -1678,45 +1678,6 @@ static unsigned char get_input_8102[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x32, 0x32, 0x32, 0x32, 0x91, 0x02, 0x05, 0x05 }; -static unsigned char get_input_911[] = { 0xD0, 0x14, 0x81, 0x03, 0x01, 0x23, - 0x01, 0x82, 0x02, 0x81, 0x82, - 0x8D, 0x05, 0x08, 0x4F, 0x60, - 0x59, 0x7D, 0x91, 0x02, 0x05, - 0x05 }; - -static unsigned char get_input_921[] = { 0xD0, 0x81, 0x9D, 0x81, 0x03, 0x01, - 0x23, 0x01, 0x82, 0x02, 0x81, - 0x82, 0x8D, 0x81, 0x8D, 0x08, - 0x4F, 0x60, 0x59, 0x7D, 0x4F, - 0x60, 0x59, 0x7D, 0x4F, 0x60, - 0x59, 0x7D, 0x4F, 0x60, 0x59, - 0x7D, 0x4F, 0x60, 0x59, 0x7D, - 0x4F, 0x60, 0x59, 0x7D, 0x4F, - 0x60, 0x59, 0x7D, 0x4F, 0x60, - 0x59, 0x7D, 0x4F, 0x60, 0x59, - 0x7D, 0x4F, 0x60, 0x59, 0x7D, - 0x4F, 0x60, 0x59, 0x7D, 0x4F, - 0x60, 0x59, 0x7D, 0x4F, 0x60, - 0x59, 0x7D, 0x4F, 0x60, 0x59, - 0x7D, 0x4F, 0x60, 0x59, 0x7D, - 0x4F, 0x60, 0x59, 0x7D, 0x4F, - 0x60, 0x59, 0x7D, 0x4F, 0x60, - 0x59, 0x7D, 0x4F, 0x60, 0x59, - 0x7D, 0x4F, 0x60, 0x59, 0x7D, - 0x4F, 0x60, 0x59, 0x7D, 0x4F, - 0x60, 0x59, 0x7D, 0x4F, 0x60, - 0x59, 0x7D, 0x4F, 0x60, 0x59, - 0x7D, 0x4F, 0x60, 0x59, 0x7D, - 0x4F, 0x60, 0x59, 0x7D, 0x4F, - 0x60, 0x59, 0x7D, 0x4F, 0x60, - 0x59, 0x7D, 0x4F, 0x60, 0x59, - 0x7D, 0x4F, 0x60, 0x59, 0x7D, - 0x4F, 0x60, 0x59, 0x7D, 0x4F, - 0x60, 0x59, 0x7D, 0x4F, 0x60, - 0x59, 0x7D, 0x4F, 0x60, 0x59, - 0x7D, 0x4F, 0x60, 0x59, 0x7D, - 0x91, 0x02, 0x05, 0x05 }; - static unsigned char get_input_1011[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x03, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0C, 0x04, 0x45, 0x6E, -- 2.7.4