summaryrefslogtreecommitdiff
path: root/gio/tests/gdbus-peer.c
diff options
context:
space:
mode:
authorXavier Claessens <xavier.claessens@collabora.co.uk>2012-04-18 08:50:07 +0200
committerDavid Zeuthen <davidz@redhat.com>2012-04-18 11:19:13 -0400
commit1b5f70b5b035019ba28da6a5db6eff8122e17ae7 (patch)
treec258551532e3f830e2d658a2c091212f907992c7 /gio/tests/gdbus-peer.c
parentf8a8e9039889c090fb3323e195730b9e460396e4 (diff)
downloadglib-1b5f70b5b035019ba28da6a5db6eff8122e17ae7.tar.gz
glib-1b5f70b5b035019ba28da6a5db6eff8122e17ae7.tar.bz2
glib-1b5f70b5b035019ba28da6a5db6eff8122e17ae7.zip
Add GTestDBus object
This is a helper to write unit tests using a private dbus-daemon. session_bus_up/down() are now just wrappers around a GTestDBus singleton. https://bugzilla.gnome.org/show_bug.cgi?id=672985
Diffstat (limited to 'gio/tests/gdbus-peer.c')
-rw-r--r--gio/tests/gdbus-peer.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gio/tests/gdbus-peer.c b/gio/tests/gdbus-peer.c
index 926010ab7..934ebda32 100644
--- a/gio/tests/gdbus-peer.c
+++ b/gio/tests/gdbus-peer.c
@@ -1804,8 +1804,6 @@ main (int argc,
g_type_init ();
g_test_init (&argc, &argv, NULL);
- g_unsetenv ("DBUS_SESSION_BUS_ADDRESS");
-
introspection_data = g_dbus_node_info_new_for_xml (test_interface_introspection_xml, NULL);
g_assert (introspection_data != NULL);
test_interface_introspection_data = introspection_data->interfaces[0];