dbus/test
Simon McVittie cc9bc56aa3 monitor: use the addressed_recipient to select matches
This means we respect the destination keyword in arguments to
BecomeMonitor.

In bus_dispatch(), this means that we need to defer capturing until
we have decided whether there is an addressed recipient; so instead
of capturing once, we capture at each leaf of the decision tree.

Bug: https://bugs.freedesktop.org/show_bug.cgi?id=92074
Reviewed-by: Philip Withnall <philip.withnall@collabora.co.uk>
Reviewed-by: Lars Uebernickel <lars@uebernic.de>
(cherry picked from commit f3be583b40)
Signed-off-by: Simon McVittie <smcv@collabora.com>
2017-09-25 16:20:08 +01:00
..
data Test system bus config files on Unix only 2015-11-03 14:22:30 +01:00
internals refs test: reduce number of repeats under Wine 2015-10-29 06:35:44 +01:00
name-test test/name-test: Be compatible with Python 3 2017-07-07 13:14:38 +01:00
.gitignore Update .gitignore files 2015-02-03 15:40:01 +00:00
break-loader.c Remove DBUS_COMPILATION from test source code 2013-09-13 13:44:09 +01:00
corrupt.c test: Fix a couple of memory leaks in test-corrupt 2017-04-05 16:22:52 +01:00
dbus-daemon-eavesdrop.c Add a common test_init() for GLib tests which prevents hanging forever 2015-02-04 17:15:36 +00:00
dbus-daemon.c test/dbus-daemon: Unset DBUS_SESSION_BUS_ADDRESS 2017-07-07 10:54:01 +01:00
dbus-test-runner Add support for installing most of the modular tests 2011-06-10 18:32:35 +01:00
fdpass.c fdpass test: assert that TCP connections don't say they can pass fds 2015-11-17 14:48:23 +01:00
glib-tap-test.sh When running TAP tests, filter out trailing \r from Windows .exe 2015-10-29 05:50:27 +01:00
loopback.c tests: avoid noise on stdout when not --verbose 2015-04-16 13:05:37 +01:00
Makefile.am tests: Make tests fail if they try to connect to the real session bus 2017-07-07 10:54:14 +01:00
manual-authz.c tests: reassure clang that oom() does in fact not return 2015-02-24 11:14:02 +00:00
manual-dir-iter.c Add directory test application 'manual-dir-iter' to cmake and autotools build system. 2014-09-08 14:33:37 +00:00
manual-paths.c Fix assorted compiler warnings on Windows. 2015-03-24 08:27:09 +01:00
manual-tcp.c Add manual tcp test case. 2015-01-30 09:33:40 +01:00
marshal.c Add a common test_init() for GLib tests which prevents hanging forever 2015-02-04 17:15:36 +00:00
monitor.c monitor: use the addressed_recipient to select matches 2017-09-25 16:20:08 +01:00
relay.c tests: avoid noise on stdout when not --verbose 2015-04-16 13:05:37 +01:00
sd-activation.c test/sd-activation: Test UpdateActivationEnvironment forwarding 2015-11-17 18:21:26 +00:00
shell-test.c test_command_line_internal: Fix variable original_argv going out of scope leaks the storage it points to (CID 60588). 2015-05-01 23:05:14 +02:00
spawn-test.c Fix assert in test-spawn caused by missing initialization of DBusError instance on gcc builds. 2016-04-29 19:19:57 +02:00
syntax.c Add a common test_init() for GLib tests which prevents hanging forever 2015-02-04 17:15:36 +00:00
tap-test.sh.in Run most tests under the TAP driver, with a simple adaptor for non-TAP tests 2015-04-16 13:06:29 +01:00
test-dbus-daemon-fork.sh test-dbus-daemon-fork: exercise closed stdin, stdout, stderr 2016-08-12 18:21:36 +01:00
test-dbus-launch-eval.sh test: expand dbus-launch-eval test to cover stdin being closed 2016-08-12 18:21:36 +01:00
test-dbus-launch-x11.sh Add a regression test for dbus-launch in X11 2016-08-12 18:21:36 +01:00
test-exit.c Include config.h as the first thing in every .c file 2013-02-22 13:08:27 +00: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 test-segfault: add missing include of <stdio.h> on Windows 2016-05-18 18:13:48 +01:00
test-service.c Fix of 'warning: variable ‘..‘ set but not used [-Wunused-but-set-variable]'. 2015-03-17 16:52:51 +01:00
test-shell-service.c Revert all changes since a36d4918a6 2012-01-04 17:44:23 +00: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-glib.c When running dbus-daemon --session in tests, override listen address 2015-10-26 11:57:35 +00:00
test-utils-glib.h tests: provide g_test_skip() emulation for older GLib 2015-04-16 13:06:07 +01:00
test-utils.c tests: always use libdbus-internal for main loop, never dbus-glib 2015-02-20 20:49:32 +00:00
test-utils.h tests: always use libdbus-internal for main loop, never dbus-glib 2015-02-20 20:49:32 +00:00
uid-permissions.c uid-permissions test: don't assert that root can UpdateActivationEnvironment 2015-11-23 20:59:48 +00:00
unused-code-gc.py 2005-01-16 Havoc Pennington <hp@redhat.com> 2005-01-17 03:53:40 +00:00