qt5base-lts/tests/benchmarks/corelib
Marc Mutz d0149e2404 tst_bench_QCryptographicHash: use QMetaEnum trick
... conveniently wrapped in a generator, to not have to keep an
algoname() function in sync with QCryptographicHash::Algorithm.

The MaxCryptoAlgorithm constant was already stale following the
addition of BLAKE2b/s algorithms in
5d69aa3ee1.

Also make the data-driven tests have an actual Algorithm column
(was: int) to minimize casting.

Pick-to: 6.5 6.2 5.15
Change-Id: I89a6098e512a72f623fd50a6f88fc351c7bb1418
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2023-03-23 16:14:12 +00:00
..
io tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
itemmodels QSortFilterProxyModel: port to PMF connects for performance reasons 2023-02-02 20:43:59 +01:00
json tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
kernel Silence warnings from unused variables 2023-03-21 07:46:27 +01:00
mimetypes tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
plugin tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
text Fix parsing of numbers to cope with non-single-character tokens 2023-02-24 13:37:07 +01:00
thread Silence warnings from unused variables 2023-03-21 07:46:27 +01:00
time Silence warnings from unused variables 2023-03-21 07:46:27 +01:00
tools tst_bench_QCryptographicHash: use QMetaEnum trick 2023-03-23 16:14:12 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00