Tests: add session_bus_run() and use it where possible
authorXavier Claessens <xavier.claessens@collabora.co.uk>
Mon, 28 Oct 2013 21:18:54 +0000 (17:18 -0400)
committerXavier Claessens <xavier.claessens@collabora.co.uk>
Tue, 29 Oct 2013 17:30:22 +0000 (13:30 -0400)
commit940fa98290812789d095d93ff1c550cd86fb2428
tree6cbe0851762458179c03485a8d83c690af76a53b
parent5280c03368299bbb4f721f3e47213aa01d9d0142
Tests: add session_bus_run() and use it where possible

This is to avoid having again the subtil bug in dbus-appinfo.c:
session_bus_down() was called before g_test_run() so the test was
running on the user's dbus session.

https://bugzilla.gnome.org/show_bug.cgi?id=697348
gio/tests/dbus-appinfo.c
gio/tests/gdbus-export.c
gio/tests/gdbus-introspection.c
gio/tests/gdbus-proxy.c
gio/tests/gdbus-sessionbus.c
gio/tests/gdbus-sessionbus.h
gio/tests/gdbus-test-codegen.c