qt5base-lts/tests/baseline/shared
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
..
baselineprotocol.cpp QThread: add sleep(std::chrono::nanoseconds) overload 2023-03-13 23:26:28 +02:00
baselineprotocol.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
baselineprotocol.pri
lookup3.cpp Fix typos in docs and comments 2022-06-15 21:31:02 +02:00
paintcommands.cpp tests: port assorted trivial uses of Q_FOREACH to ranged for loops 2023-08-14 23:11:54 +03:00
paintcommands.h Lancelot: add drawPixmapFragment test 2023-03-02 12:51:14 +01:00
qbaselinetest.cpp Port from container.count()/length() to size() 2022-10-04 07:40:08 +02:00
qbaselinetest.h Use SPDX license identifiers 2022-05-16 16:37:38 +02:00
qbaselinetest.pri Share common code for baseline-testing widget UIs 2021-11-26 22:40:54 +01:00
qwidgetbaselinetest.cpp Baseline tests: wait longer before taking a screen snapshot 2023-04-20 15:17:25 +02:00
qwidgetbaselinetest.h Update base line test case for widgets 2023-01-06 14:51:29 +01:00