qt6-bb10/tests/auto/corelib
Tatiana Borisova e5ebb9022a QCborMap: use new comparison helper macros
Replace public operators operator==(), operator!=(), operator<() of
QCborMap to friend methods comparesEqual() / compareThreeWay().

Use QT_CORE_REMOVED_SINCE to get rid of current comparison methods
and replace them with a friend.

Delete #if 0 && __has_include(<compare>) blocks,
since they are not required anymore.

Add friend methods comparesEqual(QCborMap, QCborValue) and
compareThreeWay(QCborMap, QCborValue) to the QCborMap
class, to support comparison between QCborMap
and QCborValue elements, see test-case mapSelfAssign() ->
QT_TEST_EQUALITY_OPS(it.key(), QCborMap({{0, v}}), true);

Task-number: QTBUG-120300
Change-Id: I9e33df255d16484efd3124cf0632db859408fb5d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2024-03-20 15:21:00 +01:00
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global Fix build of tst_qoperatingsystemversion.cpp with C++20 2024-03-19 21:09:38 +01:00
io tst_qdir: don't use the source dir for testing 2024-03-19 15:52:48 +02:00
ipc Change license for tests files 2024-02-04 09:56:42 +01:00
itemmodels Change license for tests files 2024-02-04 09:56:42 +01:00
kernel QProperty: Destroy binding when refcount is 0 2024-03-18 17:42:19 +01:00
mimetypes Change license for tests files 2024-02-04 09:56:42 +01:00
platform Change license for tests files 2024-02-04 09:56:42 +01:00
plugin tst_QFactoryLoader: includemocs 2024-03-12 14:23:42 +01:00
serialization QCborMap: use new comparison helper macros 2024-03-20 15:21:00 +01:00
text Test that QBAV(QL1SV) and QBAV(QU8SV) constructors are constexpr 2024-03-18 17:42:18 +01:00
thread tst_qfuture: Update EXPECT_FAIL msvc condition 2024-03-18 14:59:26 +01:00
time QIcuTimeZonePrivate constructor: save iteration over all zone IDs 2024-02-08 15:40:03 +01:00
tools QCommandLineParser: remove redundant #ifdef from unittest 2024-03-16 16:41:03 +02:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00