qt6-bb10/tests/auto/corelib
Lars Knoll d1626ca6b0 Fix hash lookup using the value of a key iterator
QHash::operator[] could grow the hash even if the key being
looked up already existed. This in turn invalidated all iterators.
Avoid this by refactoring findOrInsert() to not grow if the key
already exists.

Added advantage is that this should make lookups of existing keys
slightly faster.

Fixes: QTBUG-97752
Pick-to: 6.3 6.2
Change-Id: I9df30459797b42c434ba0ee299fd1d55af8d2313
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2021-12-16 18:44:01 +01:00
..
animation Include qproperty.h where needed 2021-11-04 21:45:02 +01:00
global Rewrite Q_{GLOBAL,APPLICATION}_STATIC with C++17 goodies 2021-12-12 14:25:42 -08:00
io QNX: Cannot handle threads in given time 2021-12-12 13:12:39 +02:00
itemmodels Use QAbstractItemModelTester in all QSortFilterProxyModel tests 2021-12-14 14:11:26 +01:00
kernel tst_qmetatype: remove the previous MingW workaround 2021-12-16 12:47:39 +01:00
mimetypes Compile autotests for Integrity 2021-09-20 17:29:04 +03:00
platform Android: Add runOnMainAndroidThread() under QNativeInterface 2021-05-26 23:24:11 +00:00
plugin QNX: check and use elf.h from alternative location 2021-11-30 14:37:52 +02:00
serialization QNX: Remove expected fail 2021-12-12 13:11:52 +02:00
text QLocale: Extend support for language codes 2021-12-09 03:45:08 +01:00
thread QtFuture::connect: exclude QPrivateSignal from the resulting future type 2021-12-11 21:47:17 +00:00
time Skip QTimeZone::checkOffset() if there are no valid zones to test 2021-11-26 02:14:52 +01:00
tools Fix hash lookup using the value of a key iterator 2021-12-16 18:44:01 +01:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00