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
This commit is contained in:
Xavier Claessens
2012-04-18 08:50:07 +02:00
committed by David Zeuthen
parent f8a8e90398
commit 1b5f70b5b0
30 changed files with 838 additions and 469 deletions

View File

@@ -465,6 +465,8 @@ typedef GType (*GDBusProxyTypeFunc) (GDBusObjectManagerClient *manager,
const gchar *interface_name,
gpointer user_data);
typedef struct _GTestDBus GTestDBus;
G_END_DECLS
#endif /* __GIO_TYPES_H__ */