qt6-bb10/tests/auto/corelib/tools
Thiago Macieira 4f30a4426c QTypeRevision: fix support for 8-bit signed segments
The logic in the isValidSegment() function was failing for 8-bit signed
because for them Integer(SegmentUnknown) is -1, so
  (std::numeric_limits<Integer>::max)() < Integer(SegmentUnknown)
was always false (127 < -1) and the function would only return true on
the impossible condition of
  segment >= 0 && segment < -1

Fixes: QTBUG-128848
Pick-to: 6.7 6.5
Change-Id: I8d17b93afd6c2982a099fffdcaeccf126b7a9d02
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
(cherry picked from commit ddfcc0734875cdee2c169bf2ecb1546bddba6e98)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
2024-09-14 16:38:08 +00:00
..
collections Remove extra semi-colons 2024-02-06 20:17:18 +09:00
containerapisymmetry QHash: adapt to C++20 ranges not offering operator->() 2024-08-20 01:28:02 +00:00
qalgorithms Change license for tests files 2024-02-04 09:56:42 +01:00
qarraydata Change license for tests files 2024-02-04 09:56:42 +01:00
qatomicscopedvaluerollback Change license for tests files 2024-02-04 09:56:42 +01:00
qbitarray Tests: disable various compiler warnings 2024-07-12 00:48:40 +00:00
qcache Change license for tests files 2024-02-04 09:56:42 +01:00
qcommandlineparser QCommandLineParser: remove redundant #ifdef from unittest 2024-03-16 16:41:03 +02:00
qcontiguouscache Change license for tests files 2024-02-04 09:56:42 +01:00
qcryptographichash Long live QCryptographicHash::hashInto()! 2024-05-29 14:24:29 +02:00
qduplicatetracker Change license for tests files 2024-02-04 09:56:42 +01:00
qeasingcurve QEasingCurve: use comparison helper macros 2024-05-10 16:31:28 +02:00
qexplicitlyshareddatapointer Change license for tests files 2024-02-04 09:56:42 +01:00
qexplicitlyshareddatapointerv2 QExplicitlySharedDataPointerV2: Add unit-tests 2024-07-16 15:37:55 +00:00
qflatmap Change license for tests files 2024-02-04 09:56:42 +01:00
qfreelist Change license for tests files 2024-02-04 09:56:42 +01:00
qhash QHash: Unconceptify heterogeneous search code 2024-09-06 15:55:07 +00:00
qhashfunctions Fix QT_SUPPORTS_INT128 checks 2024-08-07 19:57:04 +00:00
qhashseed Fix test compilation issues with QtLite configuration 2024-05-06 14:29:02 +00:00
qline Tests: suppress has_denorm deprecation 2024-09-06 14:38:21 +00:00
qlist tst_QList: port away from qsnprintf() 2024-07-22 21:00:13 +00:00
qmacautoreleasepool Change license for tests files 2024-02-04 09:56:42 +01:00
qmakearray Change license for tests files 2024-02-04 09:56:42 +01:00
qmap QMap: add missing qHash() overload 2024-02-09 20:33:05 +00:00
qmargins QMarginsF: add qFuzzyCompare and qFuzzyIsNull overloads 2024-05-10 15:33:40 +02:00
qmessageauthenticationcode Change license for tests files 2024-02-04 09:56:42 +01:00
qoffsetstringarray QOffsetStringArray: fix off-by-one error for the past-the-end elements 2024-07-25 20:06:41 +00:00
qpair Change license for tests files 2024-02-04 09:56:42 +01:00
qpoint QPoint(F): use comparison helper macros 2024-05-10 15:33:39 +02:00
qpointf Add qFuzzyCompare() and qFuzzyIsNull() overloads for QPointF 2024-05-10 15:33:39 +02:00
qqueue Change license for tests files 2024-02-04 09:56:42 +01:00
qrect QRectF: add qFuzzyCompare and qFuzzyIsNull overloads 2024-05-10 15:33:40 +02:00
qringbuffer Change license for tests files 2024-02-04 09:56:42 +01:00
qscopedpointer Change license for tests files 2024-02-04 09:56:42 +01:00
qscopedvaluerollback Change license for tests files 2024-02-04 09:56:42 +01:00
qscopeguard Change license for tests files 2024-02-04 09:56:42 +01:00
qset Change license for tests files 2024-02-04 09:56:42 +01:00
qsharedpointer Don't increase the refcount if qobject_cast failed 2024-09-05 12:29:51 +00:00
qsize QSize(F): use comparison helper macros 2024-05-14 14:33:21 +02:00
qsizef QSizeF: add qFuzzyCompare and qFuzzyIsNull overloads 2024-05-14 14:33:21 +02:00
qspan tst_QSpan: port to QTEST_THROW_ON_FAIL 2024-06-20 01:55:26 +00:00
qstl Change license for tests files 2024-02-04 09:56:42 +01:00
qtaggedpointer Change license for tests files 2024-02-04 09:56:42 +01:00
qtimeline Change license for tests files 2024-02-04 09:56:42 +01:00
qtyperevision QTypeRevision: fix support for 8-bit signed segments 2024-09-14 16:38:08 +00:00
quniquehandle Fix warning: remove unused parameter 2024-04-04 00:51:46 +00:00
qvarlengtharray QVarLengthArray: re-publish Prealloc as a nested PreallocatedSize 2024-02-15 17:44:36 +00:00
qversionnumber QVersionNumber: use new comparison helper macros 2024-05-06 22:47:55 +02:00
CMakeLists.txt QExplicitlySharedDataPointerV2: Add unit-tests 2024-07-16 15:37:55 +00:00