projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c129c9
)
Improve the async result test coverage
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 8 Aug 2010 15:32:50 +0000
(11:32 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Mon, 9 Aug 2010 01:32:03 +0000
(21:32 -0400)
gio/tests/simple-async-result.c
patch
|
blob
|
history
diff --git
a/gio/tests/simple-async-result.c
b/gio/tests/simple-async-result.c
index
2b3f0a7
..
841da02
100644
(file)
--- 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);