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:
243bec9
)
Improve GInitable test coverage
author
Matthias Clasen
<mclasen@redhat.com>
Mon, 23 Dec 2013 17:07:11 +0000
(12:07 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Wed, 1 Jan 2014 22:59:20 +0000
(17:59 -0500)
This just adds a bit more variety to the uses of GInitiable
in other tests.
gio/tests/network-monitor.c
patch
|
blob
|
history
diff --git
a/gio/tests/network-monitor.c
b/gio/tests/network-monitor.c
index
618b5e0
..
8901199
100644
(file)
--- a/
gio/tests/network-monitor.c
+++ b/
gio/tests/network-monitor.c
@@
-243,7
+243,7
@@
test_default (void)
m = g_network_monitor_get_default ();
g_assert (G_IS_NETWORK_MONITOR (m));
- monitor = g_initable_new
(G_TYPE_NETWORK_MONITOR_BASE, NULL, &error, NULL
);
+ monitor = g_initable_new
v (G_TYPE_NETWORK_MONITOR_BASE, 0, NULL, NULL, &error
);
g_assert_no_error (error);
/* In the default configuration, all addresses are reachable */