summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qsharedpointer.cpp
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-11-29 19:34:32 +0100
committerIvan Solovev <ivan.solovev@qt.io>2023-12-05 23:04:30 +0100
commit6e411012173217762e140f619b7d01e812ff8eaa (patch)
treefdbffb948f75999ba68659a57f706f787f8500f2 /src/corelib/tools/qsharedpointer.cpp
parentddb646d17b19b91e92116b817a30cba4a51efcd1 (diff)
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 4b6f757020382ed157bf6beb572549f05e881359. Change-Id: I1938d09f696ed8d58143dbacccb72cfd54ca12dd Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
Diffstat (limited to 'src/corelib/tools/qsharedpointer.cpp')
0 files changed, 0 insertions, 0 deletions