qt6-bb10/tests/auto/corelib
Marc Mutz 4b6f757020 Make Qt::partial_ordering binary-compatible to std::partial_ordering
In particular, match the value of ::unordered to each std library
implementation.

Legal disclaimer:

The values were provided to this author in a comment on QTBUG-118913.
This author hereby confirms he didn't look at any of the
implementations himself. The stdlib detection macros are taken from
existing code in qcompilerdetection.h. I didn't succeed in googling a
corresponding marker for MSSTL, and I didn't look at the
implementation or Boost.Config to find one, so this patch just assumes
MSSTL as a fall-back, which is probably wrong, since we may still have
Dinkumware and RougeWave STLs to deal with on embedded platforms.

Add tests to ensure the values are the same on all platforms.
To maximize coverage, rename qcompare.qdoc to qcompare.cpp and add a
bunch of compile-time tests there. These depend in part on bit_cast,
which we cannot depend on, so tst_qcompare contains the same tests
using memcpy.

Fixes: QTBUG-118913
Change-Id: I46c922c8e3ea37d7c01a71361c7a689340f9047d
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-11-27 18:34:10 +01:00
..
animation QSequentialAnimationGroup: extend bindable property unit tests 2023-09-03 18:20:21 +02:00
global Make Qt::partial_ordering binary-compatible to std::partial_ordering 2023-11-27 18:34:10 +01:00
io qDebug: add support for std::optional and std::nullopt_t 2023-11-22 05:56:25 +01:00
ipc QSharedMemory: fix attach() -> create() for non-legacy SystemV mode 2023-11-08 15:56:54 +01:00
itemmodels Q(Persistent)ModelIndex: use new test framework for op== 2023-11-13 17:35:54 +02:00
kernel QMetaEnum: let key(s)ToValue match fully-qualified unscoped enumerators 2023-11-26 22:51:49 +02:00
mimetypes QMimeDatabase: update freedesktop.org.xml to shared-mime-info 2.4 2023-11-20 17:21:20 +01:00
platform Blacklist tst_Android::orientationChange because it's flaky 2023-11-16 20:22:38 +01:00
plugin tst_QFactoryLoader: remove unused member variable 2023-11-13 19:42:00 +01:00
serialization QCborStreamReader: add UTF-8 reading API 2023-11-24 12:42:12 -08:00
text Improve tst_QStringConverter::encodingForName_data() 2023-11-13 19:42:01 +01:00
thread wasm: Fix test runner for asynchronous tests 2023-10-26 13:43:39 +02:00
time Rename Q*Ordering to Qt::*_ordering 2023-11-21 11:46:27 +01:00
tools Add QUniqueHandle - a general purpose RAII wrapper for non-memory types 2023-11-15 05:01:51 +01:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00