diff options
Diffstat (limited to 'test/test-utils.h')
-rw-r--r-- | test/test-utils.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/test-utils.h b/test/test-utils.h new file mode 100644 index 00000000..2f115c7f --- /dev/null +++ b/test/test-utils.h @@ -0,0 +1,17 @@ +#ifndef TEST_UTILS_H +#define TEST_UTILS_H +#include <config.h> +#define DBUS_COMPILATION /* Cheat and use private stuff */ +#include <dbus/dbus.h> +#include <stdio.h> +#include <stdlib.h> +#include <dbus/dbus-mainloop.h> +#include <dbus/dbus-internals.h> +#undef DBUS_COMPILATION + +dbus_bool_t test_connection_setup (DBusLoop *loop, + DBusConnection *connection); +void test_connection_dispatch_all_messages (DBusConnection *connection); +dbus_bool_t test_connection_dispatch_one_message (DBusConnection *connection); + +#endif |