qt6-bb10/tests/auto/corelib
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
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global Tests: suppress has_denorm deprecation 2024-09-06 14:38:21 +00:00
io QFileSystemEngine/Win: only .lnk files that exist can be symlinks 2024-09-14 16:37:55 +00:00
ipc ipctestcommon.h: port away from qsnprintf() 2024-07-30 16:47:32 +00:00
itemmodels QConcatenateTablesProxyModel: react to row and column moves 2024-09-13 17:44:05 +00:00
kernel JNI: Add test coverage for a jobjectArray in a native function 2024-09-02 18:10:38 +00:00
mimetypes Update tika-mimetypes.xml from upstream 2024-08-29 04:16:36 +00:00
platform Android: Add Java QtAbstractItemModel auto test 2024-08-20 01:28:03 +00:00
plugin tst_QPluginLoader: use qCpuHasFeature instead of __builtin_cpu_supports 2024-09-05 12:29:51 +00:00
serialization Tests: suppress has_denorm deprecation 2024-09-06 14:38:21 +00:00
text Tests: suppress has_denorm deprecation 2024-09-06 14:38:21 +00:00
thread QThread/Unix: fix normal exit/terminate() race 2024-07-11 08:27:17 +00:00
time Rename new QTZ::aliasMatches to hasAlternativeName 2024-08-27 16:38:19 +00:00
tools QTypeRevision: fix support for 8-bit signed segments 2024-09-14 16:38:08 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00