qt5base-lts/tests/auto
Volker Hilsheimer b14b1c99f8 Rename QRangeCollection to QPageRanges, make it a proper value type
The type is specific about printing, so give it a name in line with
QPageLayout and QPageSize.

As per API review comment, it's not clear why this type should not be a
regular, copyable and movable value type. It stores a list of intervals.
Give it value-type semantics, as an implicitly shared class.

Convert the parse method into a static factory function.

Add a Range type and use it instead of the semantic-free QPair.
Move QPrinter getter into QPagedPainteDevice, make it return a copy
rather than a pointer, and add a setter.

Extend test case to cover all members and more merge cases. Fix bugs
found that way.

Fixes: QTBUG-88113
Change-Id: If17ea4d410d49f16b097e88b7979db5d72add820
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-11-08 11:49:54 +01:00
..
cmake Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
concurrent Improve QtConcurrent::blockingMapped tests 2020-11-04 09:40:12 +01:00
corelib QSharedMemory: do not abuse QChar in a test 2020-11-08 02:13:22 +00:00
dbus Adjust tst_qdbusmarshall to QVariant changes 2020-10-30 13:27:14 +01:00
gui Rename QRangeCollection to QPageRanges, make it a proper value type 2020-11-08 11:49:54 +01:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake
network Use built-in C++ foreach iteration in tests 2020-11-06 10:16:31 +01:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
printsupport Another round of replacing 0 with nullptr 2020-10-07 23:02:47 +02:00
shared Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
sql Cleanup remaining QVariant::Type uses in Qt Sql 2020-10-17 12:01:54 +02:00
testlib Selftest - copy XAUTHORITY environment variable 2020-10-28 14:27:37 +00:00
tools qmakelib test: build with qmake 2020-11-06 10:16:31 +01:00
widgets Fix a mistake when using QLatin1String::arg 2020-11-07 06:25:36 +01:00
xml Android: blacklist a list of failing tests for android 2020-11-04 12:27:49 +02:00
.prev_CMakeLists.txt CMake: Regenerate projects 2020-09-22 19:08:53 +02:00
auto.pro Don't error out when configuring Qt on a headless system 2020-09-26 14:36:13 +02:00
CMakeLists.txt CMake: Fix building with -DQT_FEATURE_gui=OFF 2020-09-15 20:05:32 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00