qt6-bb10/tests/auto/corelib
Mårten Nordheim 26267ef57e tst_QHash: Update the erase_edge_case test
By using the bucketForHash function we can loop through and find
some appropriate keys to test the edge-case. This will then
automatically keep the test working even if some internals
of QHash changes.

We do this because certain changes which change the bucket the
pre-selected keys would end up in could make the test a no-op,
without warning. And recent and upcoming changes have changed
both this and erase(). We limit the search-space to
the minimum numBuckets * 4, where minimum numBuckets is current
128.

Change-Id: I13b0bce15ee884144e3248846be34667fb5d35cc
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
2021-12-17 16:37:49 +00:00
..
animation tst_QPropertyAnimation: fix wrong comment 2021-12-17 17:24:36 +01:00
global Rewrite Q_{GLOBAL,APPLICATION}_STATIC with C++17 goodies 2021-12-12 14:25:42 -08:00
io tst_QIODevice: fix UB (precondition violation) in SequentialReadBuffer::readData() 2021-12-16 23:25:47 +01:00
itemmodels Use QAbstractItemModelTester in all QSortFilterProxyModel tests 2021-12-14 14:11:26 +01:00
kernel Fix autotest runtime failures on INTEGRITY 2021-12-16 19:45:08 +02: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 Fix autotest runtime failures on INTEGRITY 2021-12-16 19:45:08 +02:00
text tst_QByteArray: fix UB (signed overflow) 2021-12-16 23:25:47 +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 tst_QHash: Update the erase_edge_case test 2021-12-17 16:37:49 +00:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00