diff options
| author | Marc Mutz <marc.mutz@qt.io> | 2023-03-22 08:53:05 +0100 |
|---|---|---|
| committer | Marc Mutz <marc.mutz@qt.io> | 2023-03-23 16:14:12 +0000 |
| commit | d0149e2404a84b3235ed8af117935d36d5084c5f (patch) | |
| tree | 7c2b566330db5e1b927746f33898ab905d11d3e9 /src/corelib/kernel/qtimer.cpp | |
| parent | f68b9e432ba979c0cd70cd3e738ce06ff224b9d2 (diff) | |
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
5d69aa3ee1214cf689e2357bff8688f2ff138471.
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>
Diffstat (limited to 'src/corelib/kernel/qtimer.cpp')
0 files changed, 0 insertions, 0 deletions
