test-utils.h revision fe22b2194d53061fefe64d48ff6a53e6a762279d
1#ifndef TEST_UTILS_H 2#define TEST_UTILS_H 3#include <config.h> 4#define DBUS_COMPILATION /* Cheat and use private stuff */ 5#include <dbus/dbus.h> 6#include <stdio.h> 7#include <stdlib.h> 8#include <dbus/dbus-mainloop.h> 9#include <dbus/dbus-internals.h> 10#undef DBUS_COMPILATION 11 12dbus_bool_t test_connection_setup (DBusLoop *loop, 13 DBusConnection *connection); 14void test_connection_shutdown (DBusLoop *loop, 15 DBusConnection *connection); 16void test_connection_dispatch_all_messages (DBusConnection *connection); 17dbus_bool_t test_connection_dispatch_one_message (DBusConnection *connection); 18 19 20#endif 21