qt6-bb10/tests/auto/corelib
Marc Mutz 6e41101217 tst_QCompare: restore some test coverage to QPartialOrdering
When I split Qt::partial_ordering off of QPartialOrdering, O
duplicated the partialOrdering() test, but lost the conversion() part
of the tests.

This patch brings them back.

Because we maintained the test coverage for Qt::partial_ordering, it
suffices to check that QPartialOrdering::X correctly maps to
std::partial_ordering::x. The rest follows from transtivity of
equality.

We're still lacking conversions of QPartialOrdering to Qt::_ordering
types. That will be the subject of a follow-up patch.

Amends 4b6f757020.

Change-Id: I1938d09f696ed8d58143dbacccb72cfd54ca12dd
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-12-05 23:04:30 +01:00
..
animation QSequentialAnimationGroup: extend bindable property unit tests 2023-09-03 18:20:21 +02:00
global tst_QCompare: restore some test coverage to QPartialOrdering 2023-12-05 23:04:30 +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 Android: fix and simplify the orientation change logic 2023-12-05 16:28:12 +00:00
plugin QFactoryLoader: add metaDataKeys() to return just the "Keys" entry 2023-11-28 03:14:03 -08: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 QTimeZone: use new comparison helper macros 2023-11-28 21:30:58 +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