qt6-bb10/tests/auto
Marc Mutz 3a57885c37 tst_tostring: support computed expected values
We need an owning container to keep the data alive when the _data
function computes the expected value instead of passing it as a
literal string, so replace the QByteArrayView we used so far with a
const QByteArray.

If a test failed, print the tail ends of the failing strings. This
is useful when toString() implementations printing the operands of
the failed toString()-under-test result comparison decide to
truncate the output. It works around the fact that we both test
toString() and use toString() to report any failure.

As a drive-by, add a missing blank line between function definitions.

Amends a2551c45d4.

Pick-to: 6.6
Change-Id: I0b217aeb1a6d475df8e8b9fb821046f1cceb1a3e
Reviewed-by: Jason McDonald <macadder1@gmail.com>
2023-12-06 09:46:55 +00:00
..
bic/data Add binary compatibility file for 6.6.0 2023-10-17 22:23:42 +03:00
cmake do not override initial AUTOMOC_MACRO_NAMES value 2023-11-28 19:59:49 +01:00
concurrent QtConcurrent::run() test: Add tests taking static function 2023-11-09 16:52:44 +00:00
corelib tst_QCompare: restore some test coverage to QPartialOrdering 2023-12-05 23:04:30 +01:00
dbus tst_qdbusabstractadapter: Don't skip tests 2023-12-04 20:44:36 +01:00
gui Skip test cases that resizes window on eglfs_viv on VxWorks 2023-12-05 16:46:45 +00:00
guiapplauncher Move Weather Anchor Layout example to manual tests 2023-03-02 05:55:57 +01:00
network Blacklist tst_Http2::duplicateRequestsWithAborts on QNX 2023-12-04 16:04:18 +01:00
opengl tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
other a11y: Fix bug where some characters were not spoken while moving cursor 2023-11-23 13:25:41 +01:00
printsupport Dialogs: clean up native dialogs when object gets destroyed 2023-09-06 23:12:33 +02:00
shared coretext: Support variable application fonts 2023-10-03 19:25:46 +02:00
sql SQLite: Handle identifiers correctly 2023-09-28 20:51:33 +08:00
testlib tst_tostring: support computed expected values 2023-12-06 09:46:55 +00:00
tools qdbuscpp2xml: Register QtDBus metatypes 2023-11-28 13:37:56 +01:00
wasm CMake: Remove deprecated PUBLIC_LIBRARIES option in wasm tests 2023-11-29 15:00:57 +00:00
widgets Skip test cases that resizes window on eglfs_viv on VxWorks 2023-12-05 16:46:45 +00:00
xml CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt CI: Enable some tests under corelib/thread for Wasm platform 2023-09-14 11:58:48 +02:00
network-settings.h QtNetworkSettings: narrow down hasIPv6 to specific OSes 2023-08-29 07:20:51 -07:00