From: Denis Kenzior Date: Thu, 18 Oct 2012 17:54:24 +0000 (-0500) Subject: unit: Move GetInput 1.8 test data X-Git-Tag: 1.12~203 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=19a86cf7a88a276468e69b1db3d3e05ba4ea0a40;p=platform%2Fupstream%2Fofono.git unit: Move GetInput 1.8 test data --- diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h index 3704bd9..d1c838d 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -704,3 +704,39 @@ static const unsigned char get_input_171[] = { static const unsigned char get_input_response_171[] = { 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x10, }; + +static const unsigned char get_input_181[] = { + 0xD0, 0x81, 0xB1, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, + 0x8D, 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, 0x91, 0x02, 0xA0, 0xA0 +}; + +static const unsigned char get_input_response_181[] = { + 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00, + 0x8d, 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, +}; diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index 930e13d..e4f9b42 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -1553,43 +1553,6 @@ struct get_input_test { char *html; }; -static unsigned char get_input_181[] = { 0xD0, 0x81, 0xB1, 0x81, 0x03, 0x01, - 0x23, 0x00, 0x82, 0x02, 0x81, - 0x82, 0x8D, 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, - 0x91, 0x02, 0xA0, 0xA0 }; - static unsigned char get_input_191[] = { 0xD0, 0x16, 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x07, 0x04, 0x3C, 0x53, @@ -17706,31 +17669,6 @@ static const struct terminal_response_test get_input_response_data_171 = { }, }; -static const unsigned char get_input_response_181[] = { - 0x81, 0x03, 0x01, 0x23, 0x00, 0x82, 0x02, 0x82, - 0x81, 0x83, 0x01, 0x00, 0x8d, 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 const struct terminal_response_test get_input_response_data_181 = { .pdu = get_input_response_181, .pdu_len = sizeof(get_input_response_181),