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:
5ec36cd
)
Improve GIOChannel test coverage
author
Matthias Clasen
<mclasen@redhat.com>
Tue, 31 Dec 2013 14:19:50 +0000
(09:19 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 1 Jan 2014 22:59:22 +0000
(17:59 -0500)
glib/tests/protocol.c
patch
|
blob
|
history
diff --git
a/glib/tests/protocol.c
b/glib/tests/protocol.c
index
cf5e9fd
..
d6286ff
100644
(file)
--- a/
glib/tests/protocol.c
+++ b/
glib/tests/protocol.c
@@
-172,6
+172,10
@@
test_message (void)
g_assert_cmpint (*line_term, ==, '\n');
g_assert_cmpint (line_term_len, ==, 1);
+ g_assert (g_io_channel_get_close_on_unref (channel));
+ g_assert (g_io_channel_get_encoding (channel) == NULL);
+ g_assert (!g_io_channel_get_buffered (channel));
+
io_source = g_io_add_watch (channel, G_IO_IN, test_message_cb1, tlb);
child_source = g_child_watch_add (pid, test_message_cb2, loop);