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:
9794a64
)
Improve coverage of converter stream tests
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 29 Jul 2010 06:20:15 +0000
(
02:20
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 30 Jul 2010 23:51:21 +0000
(19:51 -0400)
gio/tests/converter-stream.c
patch
|
blob
|
history
diff --git
a/gio/tests/converter-stream.c
b/gio/tests/converter-stream.c
index f8f2d5b73d713879c367438ba3102e718c118715..14225c5d9c359bded32631541c874a5b4505b534 100644
(file)
--- a/
gio/tests/converter-stream.c
+++ b/
gio/tests/converter-stream.c
@@
-354,6
+354,10
@@
test_expander (void)
mem_out = g_memory_output_stream_new (NULL, 0, g_realloc, g_free);
cstream_out = g_converter_output_stream_new (mem_out, expander);
+ g_assert (g_converter_output_stream_get_converter (G_CONVERTER_OUTPUT_STREAM (cstream_out)) == expander);
+ g_object_get (cstream_out, "converter", &converter, NULL);
+ g_assert (converter == expander);
+ g_object_unref (converter);
g_object_unref (mem_out);
for (i = 0; i < sizeof(unexpanded_data); i++)