From: Matthias Clasen Date: Sun, 8 Aug 2010 15:32:50 +0000 (-0400) Subject: Improve the async result test coverage X-Git-Tag: 2.25.14~49 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=584787f580cf6e36c020b7d7ee0a01baea8896aa;p=platform%2Fupstream%2Fglib.git Improve the async result test coverage --- diff --git a/gio/tests/simple-async-result.c b/gio/tests/simple-async-result.c index 2b3f0a7..841da02 100644 --- a/gio/tests/simple-async-result.c +++ b/gio/tests/simple-async-result.c @@ -68,6 +68,7 @@ test_simple_async_idle (gpointer user_data) c = g_object_new (G_TYPE_OBJECT, NULL); result = g_simple_async_result_new (a, callback_func, b, test_simple_async_idle); + g_assert (g_async_result_get_user_data (G_ASYNC_RESULT (result)) == b); check (NULL, NULL, NULL); g_simple_async_result_complete (result); check (a, result, b);