qt6-bb10/tests/auto/dbus/qdbusmarshall
Thiago Macieira ed6d1fa71a QDBusSignature: accept empty strings as valid
QDBusSignature holds a D-Bus value of type SIGNATURE, which is zero or
more signatures, not one or more. This changes the default constructor
to create a valid signature, which we denote by not being a null
QString. That means we need to use something other than the default
constructor in our tests for attempting to pass invalid signatures.

[ChangeLog][QtDBus][QDBusSignature] Fixed a bug that caused the class
not to accept an empty string as a valid D-Bus SIGNATURE value.

Fixes: QTBUG-124919
Pick-to: 6.5 6.7
Change-Id: I262c3499666e4f4fbcfbfffd17cb3793dcf2eae3
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-05-10 13:17:20 -07: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
common.h QDBusArgument: disambiguate between QMap on std::pair and std::map 2024-03-18 14:43:13 -07:00
tst_qdbusmarshall.cpp QDBusSignature: accept empty strings as valid 2024-05-10 13:17:20 -07:00