mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-07 19:35:50 +01:00
Improve the async result test coverage
This commit is contained in:
parent
7c129c9011
commit
584787f580
@ -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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user