From: Denis Kenzior Date: Tue, 9 Oct 2012 05:24:27 +0000 (-0500) Subject: unit: Move test data for GetInkey 2.1 X-Git-Tag: 1.12~246 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b759fb1a4a4bda5a28d83d97d4d3aee6f373056a;p=platform%2Fupstream%2Fofono.git unit: Move test data for GetInkey 2.1 --- diff --git a/unit/stk-test-data.h b/unit/stk-test-data.h index 41a336c..318708d 100644 --- a/unit/stk-test-data.h +++ b/unit/stk-test-data.h @@ -367,3 +367,12 @@ static const unsigned char get_inkey_response_161[] = { 0x81, 0x03, 0x01, 0x22, 0x01, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x00, 0x8d, 0x02, 0x04, 0x78, }; + +static const unsigned char get_inkey_211[] = { + 0xD0, 0x16, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, + 0x0B, 0x04, 0x3C, 0x54, 0x49, 0x4D, 0x45, 0x2D, 0x4F, 0x55, 0x54, 0x3E, +}; + +static const unsigned char get_inkey_response_211[] = { + 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82, 0x81, 0x83, 0x01, 0x12, +}; diff --git a/unit/test-stkutil.c b/unit/test-stkutil.c index 9564a35..9e91b12 100644 --- a/unit/test-stkutil.c +++ b/unit/test-stkutil.c @@ -891,12 +891,6 @@ struct get_inkey_test { char *html; }; -static unsigned char get_inkey_211[] = { 0xD0, 0x16, 0x81, 0x03, 0x01, 0x22, - 0x00, 0x82, 0x02, 0x81, 0x82, - 0x8D, 0x0B, 0x04, 0x3C, 0x54, - 0x49, 0x4D, 0x45, 0x2D, 0x4F, - 0x55, 0x54, 0x3E }; - static unsigned char get_inkey_311[] = { 0xD0, 0x24, 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x81, 0x82, 0x8D, 0x19, 0x08, 0x04, 0x17, @@ -17647,11 +17641,6 @@ static const struct terminal_response_test get_inkey_response_data_161 = { }, }; -static const unsigned char get_inkey_response_211[] = { - 0x81, 0x03, 0x01, 0x22, 0x00, 0x82, 0x02, 0x82, - 0x81, 0x83, 0x01, 0x12, -}; - static const struct terminal_response_test get_inkey_response_data_211 = { .pdu = get_inkey_response_211, .pdu_len = sizeof(get_inkey_response_211),