[glib] Improve the async result test coverage



commit 584787f580cf6e36c020b7d7ee0a01baea8896aa
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Aug 8 11:32:50 2010 -0400

    Improve the async result test coverage

 gio/tests/simple-async-result.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]