qt5base-lts/tests/auto
Andreas Buhr f8474306e5 QPrinter: fix unit tests for special case when no printer is default
The unit tests of QPrinter assume that a printer which is default-
initialized is the same printer as the default printer. However, when
no printer is set to default, this is not the case. When no printer
is the default printer, a default-initialized QPrinter will be the
first printer found.
This patch adapts the unit tests to work also when no printer is the
default printer, even though printers are available.

Change-Id: I4967e5b1c4fb8a7c33c911184289ec5cd283fc58
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2020-09-29 09:59:02 +02:00
..
cmake CMake: Fix configuration of CMake tests in-build-tree 2020-07-20 18:12:23 +02:00
concurrent Fix QtConcurrent algorithms to work with temporary sequences 2020-09-28 15:48:17 +02:00
corelib Add checks for new QBitArray version 2020-09-29 08:53:04 +02:00
dbus Use QMetaType instead of integer based type ids 2020-09-23 19:30:28 +02:00
gui Fix compiler warnings from QKeyCombination 2020-09-28 17:23:20 +02:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake
network Blacklist QTcpSocket::connectToHostErrors in Windows 10 builds 2020-09-29 07:13:46 +00:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
printsupport QPrinter: fix unit tests for special case when no printer is default 2020-09-29 09:59:02 +02:00
shared Remove most compiler warnings about missing overrides 2020-09-11 00:20:47 +02:00
sql CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
testlib CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
tools Use QMetaType instead of integer based type ids 2020-09-23 19:30:28 +02:00
widgets tests/xcb: fix tst_QWidget::updateWhileMinimized() - again 2020-09-29 07:28:58 +00:00
xml CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +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