diff --git a/tools/stktest.c b/tools/stktest.c index c7701afc..ee6571b1 100644 --- a/tools/stktest.c +++ b/tools/stktest.c @@ -922,6 +922,18 @@ static DBusMessage *test_display_text_11(DBusMessage *msg, return dbus_message_new_method_return(msg); } +static DBusMessage *test_display_text_12(DBusMessage *msg, + const char *text, + unsigned char icon_id, + gboolean urgent) +{ + STKTEST_AGENT_ASSERT(g_str_equal(text, "Toolkit Test 1")); + STKTEST_AGENT_ASSERT(icon_id == 0); + STKTEST_AGENT_ASSERT(urgent == FALSE); + + return stktest_error_busy(msg); +} + static void power_down_reply(DBusPendingCall *call, void *user_data) { __stktest_test_next(); @@ -980,6 +992,11 @@ static void __stktest_test_init(void) display_text_response_111, sizeof(display_text_response_111), test_display_text_11, expect_response); + stktest_add_test("Display Text 1.2", "DisplayText", + display_text_111, sizeof(display_text_111), + display_text_response_121, + sizeof(display_text_response_121), + test_display_text_12, expect_response); } static void test_destroy(gpointer user_data)