summaryrefslogtreecommitdiff
path: root/test/test-utils.h
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2008-05-30 10:33:18 -0400
committerColin Walters <walters@verbum.org>2008-05-30 16:19:40 -0400
commit9d8989cfec02e6ca41f8ffa0ccda16c93ddcb23c (patch)
treef8ea94872fb93c2fd86194e27278afd06c0f3d2f /test/test-utils.h
parent80306140b9c91bce319f50a55694f205a9a4392f (diff)
downloaddbus-9d8989cfec02e6ca41f8ffa0ccda16c93ddcb23c.tar.gz
Add test library functions for using DBusServer
* test/test-utils.h, test/test-utils.c: Add functions which hook up a DBusServer to a DBusLoop, useful for test cases.
Diffstat (limited to 'test/test-utils.h')
-rw-r--r--test/test-utils.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/test-utils.h b/test/test-utils.h
index f00a7181..ec8246a1 100644
--- a/test/test-utils.h
+++ b/test/test-utils.h
@@ -16,5 +16,9 @@ void test_connection_shutdown (DBusLoop *loop,
void test_connection_dispatch_all_messages (DBusConnection *connection);
dbus_bool_t test_connection_dispatch_one_message (DBusConnection *connection);
+dbus_bool_t test_server_setup (DBusLoop *loop,
+ DBusServer *server);
+void test_server_shutdown (DBusLoop *loop,
+ DBusServer *server);
#endif