qt5base-lts/tests/auto/corelib/tools/qhashfunctions
Marc Mutz 9c63667d01 tst_QHashFunctions: fix std::pair test to use QFETCH_GLOBAL seeds
Because the local `seed` variable shadowed the member one, this test
was run for each QFETCH_GLOBAL with the same data and seed. That
doesn't make sense, so make the test use the member variable `seed`,
as all other tests already do.

Since zero is one of the seeds coming from QFETCH_GLOBAL, drop the
seedless calls to qHash(), too.

Amends 64bfc927b0.

Pick-to: 6.6 6.5 6.2
Change-Id: I1e22ec0b38341264bcf2d5c26146cbbcab6e0749
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2023-09-08 11:32:44 +02:00
..
.gitignore tst_QHash: Factor qHash()-related test cases into a separate test 2015-01-05 20:18:51 +01:00
CMakeLists.txt CMake: Make corelib tests standalone projects 2023-07-05 15:09:32 +02:00
tst_qhashfunctions.cpp tst_QHashFunctions: fix std::pair test to use QFETCH_GLOBAL seeds 2023-09-08 11:32:44 +02:00