qt5base-lts/tests/auto
Ivan Solovev 3d780c0d70 QtConcurrent: filter/map reduction without default ctor
Previously a default constructor was required for the result type
of mappedReduced() and filteredReduced(), even if a default value
was provided.

This patch fixes the problem.

The issue was in the ResultReporter type, that was calling
QList::resize() to adjust the size of expected reported results.
A default-value parameter was added to the class, so that
a corresponding overload of QList::resize could be invoked.

Task-number: QTBUG-88452
Change-Id: I51113753e314d76aa74d201b5a7e327a6ca75f47
Reviewed-by: Sona Kurazyan <sona.kurazyan@qt.io>
2020-12-04 15:36:50 +01:00
..
cmake CMake: Change generated resources naming 2020-11-24 21:51:29 +01:00
concurrent QtConcurrent: filter/map reduction without default ctor 2020-12-04 15:36:50 +01:00
corelib QBindable: Disallow mutation if read-only 2020-12-04 11:22:37 +01:00
dbus QChar: make construction from integral explicit 2020-11-15 14:41:05 +01:00
gui Fix QImage::setPixelColor on RGBA64_Premultiplied 2020-12-04 15:09:47 +01:00
guiapplauncher Move QStateMachine from QtCore to QtScxml 2020-08-24 20:10:25 +02:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network tst_qnetworkreply: stabilize and unblacklist getFromHttpIntoBuffer2 2020-12-04 00:17:46 +01:00
opengl Remove tst_QGL 2020-08-28 11:43:11 +02:00
other Inline access to the QBindingStorage 2020-11-30 23:02:27 +00:00
printsupport Fit tst_qprinterinfo in case there are printers in local network 2020-11-21 06:11:37 +01: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 Android: exclude faulty tst_selftests 2020-11-25 23:08:09 +02:00
tools tst_qmakelib: link to QtCore's private API 2020-12-04 11:22:38 +01:00
widgets Fix hashing of QPersistentModelIndex 2020-12-04 06:00:38 +00:00
xml QChar: make construction from integral explicit 2020-11-15 14:41:05 +01: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 Network self-test: make it work with docker/containers 2020-11-17 19:56:06 +01:00