qt6-bb10/tests/auto/dbus/qdbusmarshall
Thiago Macieira ffd8d3e6b9 QtDBus: disallow sending method calls without destinations on a bus
QtDBus has allowed this because the bus would stop the message and
return it to us as an UnknownMethod. But it makes no sense to send it,
so let's block it early.

For practical purposes, this allows the tst_qdbusmarshall test to
continue working regardless of which daemon is running the bus. The
message it was checking against only came from dbus-daemon; for users of
systems now running dbus-broker (like my openSUSE Tumbleweed) the
message was different and the test was failing.

Change-Id: Ia134ca414080cf243974fffd913fdad09d80cc60
Reviewed-by: Ahmad Samir <a.samirh78@gmail.com>
(cherry picked from commit d19db44d3f8a0ca0c69c6861e2a871de5ae7d106)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-10-22 07:17:08 +00:00
..
qdbusmarshall tests/auto/: port Q_FOREACH to ranged-for, local const containers 2023-08-19 16:29:25 +03:00
qpong Change license for tests files 2024-02-04 09:56:42 +01:00
.gitignore
CMakeLists.txt CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
common.h QDBusArgument: disambiguate between QMap on std::pair and std::map 2024-03-18 14:43:13 -07:00
tst_qdbusmarshall.cpp QtDBus: disallow sending method calls without destinations on a bus 2024-10-22 07:17:08 +00:00