From c3e2b9e4d1501d5da08b4bc19ee05f30aadf4f90 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Sat, 20 Oct 2012 21:08:48 -0500 Subject: [PATCH] stktest: Add GetInput test sequence 11.1-11.2 --- tools/stktest.c | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/tools/stktest.c b/tools/stktest.c index b3700ed0..d9a3e315 100644 --- a/tools/stktest.c +++ b/tools/stktest.c @@ -2832,6 +2832,12 @@ static DBusMessage *test_get_input_102(DBusMessage *msg, return reply; } +GET_INPUT_9X_11X_TEMPLATE(111,"ル") +GET_INPUT_9X_11X_TEMPLATE(112, "ルルルルルルルルルルルルルルルルルルルル" + "ルルルルルルルルルルルルルルルルルルルル" + "ルルルルルルルルルルルルルルルルルルルル" + "ルルルルルルルルルル") + static void power_down_reply(DBusPendingCall *call, void *user_data) { __stktest_test_next(); @@ -3487,6 +3493,18 @@ static void __stktest_test_init(void) sizeof(get_input_response_1021), test_get_input_102, expect_response_and_finish); + stktest_add_test("Get Input 11.1", "RequestInput", + get_input_1111, sizeof(get_input_1111), + get_input_response_1111, + sizeof(get_input_response_1111), + test_get_input_111, + expect_response_and_finish); + stktest_add_test("Get Input 11.2", "RequestInput", + get_input_1121, sizeof(get_input_1121), + get_input_response_1121, + sizeof(get_input_response_1121), + test_get_input_112, + expect_response_and_finish); } static void test_destroy(gpointer user_data)