dbus/test/internals
Ralf Habacker 21a6441f33 _dbus_string_test(): Fix fatal build error caused by "-Wstrict-aliasing"
To fix this problem, the problematic code was replaced by a new function
_dbus_string_get_allocated_size(), which uses the existing macro
DBUS_CONST_STRING_PREAMBLE for these purposes.

Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
Part-of: https://gitlab.freedesktop.org/dbus/dbus/-/merge_requests/275
Reviewed-by: Simon McVittie <smcv@collabora.com>
2022-04-21 13:55:38 +01:00
..
address.c tests: Move address test out of libdbus 2019-07-03 11:19:19 +01:00
assertions.c Move _dbus_disable_crash_handling() back into test/ directory 2018-12-11 12:47:22 +00:00
atomic.c Add a trivial sanity-check for the atomic primitives 2019-12-13 16:13:53 +01:00
dbus-auth-script.c test: Add basic test coverage for DBUS_COOKIE_SHA1 2019-06-09 13:08:53 +01:00
dbus-auth-script.h test: Move auth, credentials tests from libdbus-internal into test/ 2019-01-21 15:20:22 +00:00
dbus-auth-util.c test: Move auth, credentials tests from libdbus-internal into test/ 2019-01-21 15:20:22 +00:00
dbus-credentials-util.c test: Move auth, credentials tests from libdbus-internal into test/ 2019-01-21 15:20:22 +00:00
dbus-marshal-byteswap-util.c test: Move marshalling tests into test/ 2019-01-21 15:21:16 +00:00
dbus-marshal-recursive-util.c build: Define DBUS_INT64_MODIFIER, analogous to G_GINT64_MODIFIER 2022-04-19 18:27:47 +00:00
dbus-marshal-recursive-util.h test: Move marshalling tests into test/ 2019-01-21 15:21:16 +00:00
dbus-marshal-validate-util.c test: Move marshalling tests into test/ 2019-01-21 15:21:16 +00:00
dbus-message-factory.c test: Move marshalling tests into test/ 2019-01-21 15:21:16 +00:00
dbus-message-factory.h test: Move dbus-message-factory and most of dbus-message-util into test/ 2019-01-21 15:20:39 +00:00
dbus-message-util.c tests: Improve messages when fd leaks are diagnosed 2019-07-02 20:44:33 +01:00
dbus-message-util.h test: Move dbus-message-factory and most of dbus-message-util into test/ 2019-01-21 15:20:39 +00:00
dbus-string-util.c _dbus_string_test(): Fix fatal build error caused by "-Wstrict-aliasing" 2022-04-21 13:55:38 +01:00
dbus-sysdeps-util.c test: Move sysdeps tests here 2019-01-21 15:22:05 +00:00
desktop-file.c desktop-file test: Free result on all code paths 2020-04-27 12:39:35 +00:00
hash.c test: Replace some _dbus_assert() with _dbus_test_check() 2020-04-20 10:13:07 +01:00
marshal-recursive.c test: Move marshalling tests into test/ 2019-01-21 15:21:16 +00:00
mempool.c tests: Move mempool test out of libdbus 2019-07-03 11:19:47 +01:00
message-internals.c test: Move dbus-message-factory and most of dbus-message-util into test/ 2019-01-21 15:20:39 +00:00
misc-internals.c test: Replace some _dbus_assert() with _dbus_test_check() 2020-04-20 10:13:07 +01:00
misc-internals.h tests: Move mempool test out of libdbus 2019-07-03 11:19:47 +01:00
printf.c build: Define DBUS_INT64_MODIFIER, analogous to G_GINT64_MODIFIER 2022-04-19 18:27:47 +00:00
refs.c Increase the number of references/threads to be tested under Windows by default to detect errors 2018-12-14 11:04:21 +01:00
server-oom.c Skip server oom wildcard test on Windows to avoid firewall exception request 2018-12-06 17:08:29 +01:00
sha.c test: Enable more tests when embedded tests are disabled 2020-04-20 10:13:07 +01:00
spawn-oom.c test-spawn-oom: Separate single spawn tests from oom related 2019-03-15 17:06:01 +00:00
sysdeps.c test: Add basic test coverage for _dbus_close_all and friends 2022-04-21 11:02:44 +01:00
syslog.c syslog test: Don't assert that we see plain LF newlines 2018-12-05 15:27:43 +01:00
variant.c tests: Call dbus_shutdown() 2018-08-02 17:14:39 +01:00