mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2025-12-22 00:50:09 +01:00
* doc/dbus-specification.sgml: require that base service names start with ':' and that the base service is created/deleted as first and last things a connection does on the bus * bus/dispatch.c (check_existent_service_activation): lots more work on the activation test; it doesn't fully pass yet... * test/test-service.c (main): fix so we don't memleak the connection to the message bus (filter_func): accept a message asking us to exit
20 lines
748 B
C
20 lines
748 B
C
#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_shutdown (DBusLoop *loop,
|
|
DBusConnection *connection);
|
|
void test_connection_dispatch_all_messages (DBusConnection *connection);
|
|
dbus_bool_t test_connection_dispatch_one_message (DBusConnection *connection);
|
|
|
|
|
|
#endif
|