From 670528c187b0ae59a8fca1b6921722461992a9fb Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 29 Jul 2010 02:20:15 -0400 Subject: [PATCH] Improve coverage of converter stream tests --- gio/tests/converter-stream.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gio/tests/converter-stream.c b/gio/tests/converter-stream.c index f8f2d5b73..14225c5d9 100644 --- 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++)