Improve the async result test coverage
authorMatthias Clasen <mclasen@redhat.com>
Sun, 8 Aug 2010 15:32:50 +0000 (11:32 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 9 Aug 2010 01:32:03 +0000 (21:32 -0400)
gio/tests/simple-async-result.c

index 2b3f0a7..841da02 100644 (file)
@@ -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);