qt5base-lts/tests/auto/corelib/tools
Allan Sandfeld Jensen 5f198584e2 Define inverted QRects consistently
Changes the definition of invalid QRects to be more consistent.
This simplifies the logic, and makes it possible for us to fix
normalized() so dimensions don't change.

The actual API is not changed except for inverted rects.

Only one use-case for the old normalized() function existed,
and has been reimplemented as QRect::span().

Fixes: QTBUG-22934
Change-Id: I29dad2952dc6c8e84a6d931898dc7e43d66780f3
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
2020-09-21 15:04:51 +02:00
..
collections Long Live QMap as a refcounted std::map! 2020-08-06 19:15:39 +02:00
containerapisymmetry Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00
qalgorithms Purge qalgorithm.h of deprecated API 2020-08-28 21:22:32 +02:00
qarraydata Fix possible corner cases in qarraydataops.h 2020-09-10 14:21:47 +02:00
qbitarray CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qcache CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qcommandlineparser QCommandLineOption: purge deprecated API 2020-07-20 16:06:28 +02:00
qcontiguouscache CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qcryptographichash QCryptographicHash: Add BLAKE2b and BLAKE2s hashing algorithms 2020-07-31 15:05:18 +02:00
qeasingcurve Deprecate the static int based API in QMetaType 2020-08-24 00:19:05 +02:00
qexplicitlyshareddatapointer Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
qflatmap Use QList instead of QVector in corelib tests 2020-07-07 11:48:45 +02:00
qfreelist Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
qhash Disable warning about self-move and self-assign-overload 2020-07-26 18:06:34 +02:00
qhashfunctions Move QStringRef and remains to Qt5Compat 2020-08-20 00:58:13 +02:00
qline QLineF: Don't try calculating a unit vector when length is null 2020-08-25 17:59:10 +02:00
qlist Support GrowsBackwards prepend in QList 2020-08-27 18:58:20 +02:00
qmacautoreleasepool Port more tests from tests/auto/corelib/tools to CMake 2020-04-29 22:48:45 +02:00
qmakearray CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qmap QMultiMap: fix remove(Key, T) when key/value belong to the map 2020-08-19 01:45:19 +02:00
qmargins CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qmessageauthenticationcode CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qoffsetstringarray Port more tests from tests/auto/corelib/tools to CMake 2020-04-29 22:48:45 +02:00
qpair Cleanup QTypeInfo 2020-08-26 01:03:22 +02:00
qpoint Add qHash implementation for QPoint 2020-09-15 02:46:40 +02:00
qpointf Normalize rounding 2020-09-16 18:33:58 +02:00
qqueue CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qrect Define inverted QRects consistently 2020-09-21 15:04:51 +02:00
qringbuffer CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qscopedpointer Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
qscopedvaluerollback CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qscopeguard CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qset Deprecate the static int based API in QMetaType 2020-08-24 00:19:05 +02:00
qsharedpointer Rename QLibraryInfo::location() to path() 2020-09-12 23:35:56 +02:00
qsize CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qsizef CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qstl CMake: Regenerate tests with new qt_ prefixed APIs 2020-07-09 09:38:35 +02:00
qtaggedpointer Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
qtimeline Blacklist tst_QTimeLine::interpolation on Windows in general 2020-09-15 11:32:08 +02:00
qvarlengtharray Cleanup QTypeInfo 2020-08-26 01:03:22 +02:00
qversionnumber Tests: Use QVERIFY instead of QCOMPARE for empty lists 2020-07-10 14:30:58 +02:00
.prev_CMakeLists.txt CMake: Regenerate subdir test projects 2020-07-09 09:38:39 +02:00
CMakeLists.txt Move implementation of QVector/List back to qlist.h 2020-06-20 20:01:33 +02:00
tools.pro Move implementation of QVector/List back to qlist.h 2020-06-20 20:01:33 +02:00