qt5base-lts/tests/auto/network/ssl/qsslcertificate
Marc Mutz f2f8820073 tests: port assorted trivial uses of Q_FOREACH to ranged for loops
All of these fall into the trivial category: loops over (readily made)
const local containers. As such, they cannot possibly depend on the
safety copy that Q_FOREACH performs, so are safe to port as-is to
ranged for loops.

There may be more where these came from, but these were the ones that
stood out as immediately obvious when scanning the 100s of uses in
qtbase, so I preferred to directly fix them over white-listing their
files with QT_NO_FOREACH (which still may be necessary for some files,
as this patch may not port all uses in that file).

Pick-to: 6.6 6.5
Task-nubmber: QTBUG-115839
Change-Id: I7b7893bec8254f902660dac24167113aca855029
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
2023-08-14 23:11:54 +03:00
..
certificates Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
more-certificates QSslCertificate::toText(): add a file to compare against 2022-08-31 21:55:00 +02:00
pkcs12 Fix crash when reading a PKCS12 file with no private key 2017-08-17 06:43:49 +00:00
verify-certs tst_QSslCertificate::verify - remove QSKIP 2021-08-06 16:08:43 +02:00
.gitignore Moved network autotests into new directory structure 2011-09-09 09:32:17 +02:00
CMakeLists.txt CMake: Make network tests standalone projects 2023-07-05 15:09:32 +02:00
tst_qsslcertificate.cpp tests: port assorted trivial uses of Q_FOREACH to ranged for loops 2023-08-14 23:11:54 +03:00