From 5fa1e0c1645ca709e51d593a2433cd670fc80f3d Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sat, 20 Oct 2012 19:39:53 -0500 Subject: unit: Move GetInput test data 8.1-8.10 --- unit/stk-test-data.h | 80 ++++++++++++++++++++++++++++++++++++++++++++++++++++ unit/test-stkutil.c | 80 ---------------------------------------------------- 2 files changed, 80 insertions(+), 80 deletions(-) (limited to 'unit') diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h index 5e447c92..1362ae71 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -898,3 +898,83 @@ static const unsigned char get_input_641[] = { }; #define get_input_response_641a get_input_response_611a + +static const unsigned char get_input_811[] = { + 0xD0, 0x21, 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, 0xD0, 0x04, 0x00, 0x0B, 0x00, 0xB4 +}; + +#define get_input_response_811 get_input_response_111 + +static const unsigned char get_input_821[] = { + 0xD0, 0x21, 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, 0xD0, 0x04, 0x00, 0x0B, 0x01, 0xB4 +}; + +#define get_input_response_821 get_input_response_111 + +static const unsigned char get_input_831[] = { + 0xD0, 0x21, 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, 0xD0, 0x04, 0x00, 0x0B, 0x02, 0xB4 +}; + +#define get_input_response_831 get_input_response_111 + +static const unsigned char get_input_841[] = { + 0xD0, 0x21, 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, 0xD0, 0x04, 0x00, 0x0B, 0x04, 0xB4 +}; + +#define get_input_response_841 get_input_response_111 + +static const unsigned char get_input_851[] = { + 0xD0, 0x21, 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, 0xD0, 0x04, 0x00, 0x0B, 0x08, 0xB4 +}; + +#define get_input_response_851 get_input_response_111 + +static const unsigned char get_input_861[] = { + 0xD0, 0x21, 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, 0xD0, 0x04, 0x00, 0x0B, 0x10, 0xB4 +}; + +#define get_input_response_861 get_input_response_111 + +static const unsigned char get_input_871[] = { + 0xD0, 0x21, 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, 0xD0, 0x04, 0x00, 0x0B, 0x20, 0xB4 +}; + +#define get_input_response_871 get_input_response_111 + +static const unsigned char get_input_881[] = { + 0xD0, 0x21, 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, 0xD0, 0x04, 0x00, 0x0B, 0x40, 0xB4 +}; + +#define get_input_response_881 get_input_response_111 + +static const unsigned char get_input_891[] = { + 0xD0, 0x21, 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, 0xD0, 0x04, 0x00, 0x0B, 0x80, 0xB4 +}; + +#define get_input_response_891 get_input_response_111 + +static const unsigned char get_input_8101[] = { + 0xD0, 0x21, 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, 0xD0, 0x04, 0x00, 0x0B, 0x00, 0xB4 +}; + +#define get_input_response_8101 get_input_response_111 diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index dc0b7f03..91b8fb0e 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -1560,14 +1560,6 @@ static unsigned char get_input_711[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x32, 0x33, 0x34, 0x35, 0x91, 0x02, 0x05, 0x05 }; -static unsigned char get_input_811[] = { 0xD0, 0x21, 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, 0xD0, 0x04, - 0x00, 0x0B, 0x00, 0xB4 }; - static unsigned char get_input_812[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0C, 0x04, 0x45, 0x6E, @@ -1575,14 +1567,6 @@ static unsigned char get_input_812[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x32, 0x32, 0x32, 0x32, 0x91, 0x02, 0x05, 0x05 }; -static unsigned char get_input_821[] = { 0xD0, 0x21, 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, 0xD0, 0x04, - 0x00, 0x0B, 0x01, 0xB4 }; - static unsigned char get_input_822[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0C, 0x04, 0x45, 0x6E, @@ -1590,14 +1574,6 @@ static unsigned char get_input_822[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x32, 0x32, 0x32, 0x32, 0x91, 0x02, 0x05, 0x05 }; -static unsigned char get_input_831[] = { 0xD0, 0x21, 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, 0xD0, 0x04, - 0x00, 0x0B, 0x02, 0xB4 }; - static unsigned char get_input_832[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0C, 0x04, 0x45, 0x6E, @@ -1605,14 +1581,6 @@ static unsigned char get_input_832[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x32, 0x32, 0x32, 0x32, 0x91, 0x02, 0x05, 0x05 }; -static unsigned char get_input_841[] = { 0xD0, 0x21, 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, 0xD0, 0x04, - 0x00, 0x0B, 0x04, 0xB4 }; - static unsigned char get_input_842[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0C, 0x04, 0x45, 0x6E, @@ -1628,14 +1596,6 @@ static unsigned char get_input_843[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x91, 0x02, 0x05, 0x05 }; -static unsigned char get_input_851[] = { 0xD0, 0x21, 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, 0xD0, 0x04, - 0x00, 0x0B, 0x08, 0xB4 }; - static unsigned char get_input_852[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0C, 0x04, 0x45, 0x6E, @@ -1651,14 +1611,6 @@ static unsigned char get_input_853[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x91, 0x02, 0x05, 0x05 }; -static unsigned char get_input_861[] = { 0xD0, 0x21, 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, 0xD0, 0x04, - 0x00, 0x0B, 0x10, 0xB4 }; - static unsigned char get_input_862[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0C, 0x04, 0x45, 0x6E, @@ -1674,14 +1626,6 @@ static unsigned char get_input_863[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x91, 0x02, 0x05, 0x05 }; -static unsigned char get_input_871[] = { 0xD0, 0x21, 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, 0xD0, 0x04, - 0x00, 0x0B, 0x20, 0xB4 }; - static unsigned char get_input_872[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0C, 0x04, 0x45, 0x6E, @@ -1697,14 +1641,6 @@ static unsigned char get_input_873[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x91, 0x02, 0x05, 0x05 }; -static unsigned char get_input_881[] = { 0xD0, 0x21, 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, 0xD0, 0x04, - 0x00, 0x0B, 0x40, 0xB4 }; - static unsigned char get_input_882[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0C, 0x04, 0x45, 0x6E, @@ -1720,14 +1656,6 @@ static unsigned char get_input_883[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x91, 0x02, 0x05, 0x05 }; -static unsigned char get_input_891[] = { 0xD0, 0x21, 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, 0xD0, 0x04, - 0x00, 0x0B, 0x80, 0xB4 }; - static unsigned char get_input_892[] = { 0xD0, 0x21, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0C, 0x04, 0x45, 0x6E, @@ -1743,14 +1671,6 @@ static unsigned char get_input_893[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x33, 0x33, 0x33, 0x33, 0x91, 0x02, 0x05, 0x05 }; -static unsigned char get_input_8101[] = { 0xD0, 0x21, 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, 0xD0, 0x04, - 0x00, 0x0B, 0x00, 0xB4 }; - static unsigned char get_input_8102[] = { 0xD0, 0x1B, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x0C, 0x04, 0x45, 0x6E, -- cgit v1.2.3