stktest: Add GetInput test sequence 11.1-11.2

This commit is contained in:
Denis Kenzior 2012-10-20 21:08:48 -05:00
parent 92320c2a5c
commit c3e2b9e4d1
1 changed files with 18 additions and 0 deletions

View File

@ -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)