qt6-bb10/tests/auto/testlib
Marc Mutz d2dbe2d7f7 QSignalSpy: separate messages for invalid and non-signal meta-methods
If a signal was invalid, the code still called messageSignature(),
which returns a null QByteArray, and passed its constData() to
qWarning("%s"). That probably worked in our implementation, because it
falls back to QString::asprintf(), but it raised eyebrows, so avoid
calling messageSignature() on invalid QMetaMethod.

This changes the warning output, so adjust the test.

Task-number: QTBUG-123544
Change-Id: I41bc6650de091f61354ff91ee45659668f0e0223
Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2024-03-22 15:31:39 +01:00
..
initmain Change license for tests files 2024-02-04 09:56:42 +01:00
outformat Change license for tests files 2024-02-04 09:56:42 +01:00
qabstractitemmodeltester Change license for tests files 2024-02-04 09:56:42 +01:00
qsignalspy QSignalSpy: separate messages for invalid and non-signal meta-methods 2024-03-22 15:31:39 +01:00
selftests Port two tests' QAbstractEventDispatcher overrides to V2 2024-03-13 17:29:13 -08:00
tostring Change license for tests files 2024-02-04 09:56:42 +01:00
CMakeLists.txt Move the formatting of <chrono> durations to QDebug & QtTest 2023-05-06 17:54:23 +00:00