Add GTestDBus object
authorXavier Claessens <xavier.claessens@collabora.co.uk>
Wed, 18 Apr 2012 06:50:07 +0000 (08:50 +0200)
committerDavid Zeuthen <davidz@redhat.com>
Wed, 18 Apr 2012 15:19:13 +0000 (11:19 -0400)
commit1b5f70b5b035019ba28da6a5db6eff8122e17ae7
treec258551532e3f830e2d658a2c091212f907992c7
parentf8a8e9039889c090fb3323e195730b9e460396e4
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
30 files changed:
docs/reference/gio/gio-docs.xml
docs/reference/gio/gio-sections.txt
docs/reference/gio/gio.types
gio/Makefile.am
gio/gio.h
gio/gio.symbols
gio/gioenums.h
gio/giotypes.h
gio/gtestdbus.c [new file with mode: 0644]
gio/gtestdbus.h [new file with mode: 0644]
gio/tests/actions.c
gio/tests/gapplication.c
gio/tests/gdbus-auth.c
gio/tests/gdbus-bz627724.c
gio/tests/gdbus-connection-loss.c
gio/tests/gdbus-connection-slow.c
gio/tests/gdbus-connection.c
gio/tests/gdbus-exit-on-close.c
gio/tests/gdbus-export.c
gio/tests/gdbus-introspection.c
gio/tests/gdbus-names.c
gio/tests/gdbus-peer.c
gio/tests/gdbus-proxy-threads.c
gio/tests/gdbus-proxy-well-known-name.c
gio/tests/gdbus-proxy.c
gio/tests/gdbus-sessionbus.c
gio/tests/gdbus-sessionbus.h
gio/tests/gdbus-test-codegen.c
gio/tests/gdbus-threading.c
gio/tests/gmenumodel.c