dbus/test
Simon McVittie 93385b7339 DBusLoop: remove a layer of pointless abstraction around timeouts
Instead of supplying 8 tiny wrapper functions around dbus_timeout_handle,
each with a user_data parameter that's a potentially unsafe borrowed
pointer but isn't actually used, we can call dbus_timeout_handle directly
and save a lot of trouble.

One of the wrappers previously called dbus_timeout_handle repeatedly
if it returned FALSE to indicate OOM, but that timeout's handler never
actually returned FALSE, so there was no practical effect. The rest just
ignore the return, which is documented as OK to do.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=33342
Reviewed-by: Thiago Macieira <thiago@kde.org>
2011-06-13 16:07:17 +01:00
..
data policy tests: Use bin rather than nogroup, wheel, or root 2010-12-17 18:42:13 +00:00
name-test Check for X even if X11 autolaunching is disabled 2011-05-25 17:38:44 +01:00
.gitignore Add a test for marshalling and endian-swapping 2011-06-10 18:32:43 +01:00
break-loader.c Revert merge of master (dbus-1.5) into dbus-1.4 2011-03-14 11:53:09 +00:00
corrupt.c Test that a message with the byte order mangled causes disconnection but no crash 2011-06-10 18:32:58 +01:00
dbus-daemon.c Fix copyright dates 2011-06-10 18:33:22 +01:00
dbus-test-runner Add support for installing most of the modular tests 2011-06-10 18:32:35 +01:00
loopback.c Fix copyright dates 2011-06-10 18:33:22 +01:00
Makefile.am fix installable tests to not install if unwanted 2011-06-10 21:52:39 +01:00
marshal.c marshal test: test dbus_message_demarshal_bytes_needed 2011-06-10 18:32:49 +01:00
relay.c Fix copyright dates 2011-06-10 18:33:22 +01:00
shell-test.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
spawn-test.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-exit.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-names.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-segfault.c Make more signal and locale interface use conditional. 2010-03-22 17:28:55 +01:00
test-service.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-shell-service.c Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
test-sleep-forever.c fix warning, use Sleep, not _sleep on windows (cherry picked from commit ea36c743ad60a2dd5c6286571d1a475903519809) 2009-11-30 12:00:14 +01:00
test-utils.c DBusLoop: remove a layer of pointless abstraction around timeouts 2011-06-13 16:07:17 +01:00
test-utils.h Consistently include <config.h> in all C source files and never in header files. 2010-03-19 20:11:48 +01:00
unused-code-gc.py 2005-01-16 Havoc Pennington <hp@redhat.com> 2005-01-17 03:53:40 +00:00