Improve the async result test coverage

This commit is contained in:
Matthias Clasen 2010-08-08 11:32:50 -04:00
parent 7c129c9011
commit 584787f580

View File

@ -68,6 +68,7 @@ test_simple_async_idle (gpointer user_data)
c = g_object_new (G_TYPE_OBJECT, NULL); c = g_object_new (G_TYPE_OBJECT, NULL);
result = g_simple_async_result_new (a, callback_func, b, test_simple_async_idle); 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); check (NULL, NULL, NULL);
g_simple_async_result_complete (result); g_simple_async_result_complete (result);
check (a, result, b); check (a, result, b);