qt5base-lts/tests/auto
Ahmad Samir 1a98293200 QtNetwork auto tests: port Q_FOREACH to ranged-for [1]
The loops were iterating over a temporary, so use a local const auto
variable to hold it, and use ranged-for.

Drive-by, make the for-loop variable const& instead of copying it,
for any object that has a d-pointer (QNetworkAddressEntry, QHostAddress,
QNetworkInterface).

Task-number: QTBUG-115839
Change-Id: If96c0b2a6142fe2fa2ed45ed7e2435cc1f80e005
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2023-08-22 21:47:16 +03:00
..
bic/data Add binary compatibility file built against 6.5.0 2023-04-19 15:40:36 +00:00
cmake _qt_internal_create_moc_command: Fix genex parse 2023-08-17 13:09:46 +02:00
concurrent tst_QtConcurrentMedian: compile with QT_NO_FOREACH 2023-08-19 16:28:20 +03:00
corelib QFile: add decodeName() unittests 2023-08-22 21:45:12 +03:00
dbus tests/auto/: port Q_FOREACH to ranged-for, local const containers 2023-08-19 16:29:25 +03:00
gui tests/auto/*: port Q_FOREACH to ranged-for, make container const 2023-08-19 16:29:30 +03:00
guiapplauncher Move Weather Anchor Layout example to manual tests 2023-03-02 05:55:57 +01:00
network QtNetwork auto tests: port Q_FOREACH to ranged-for [1] 2023-08-22 21:47:16 +03:00
opengl tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00
other tst_gestures: clean-up the BLACKLIST 2023-08-22 15:19:50 +00:00
printsupport tst_QPrintDevice: compile with QT_NO_FOREACH 2023-08-19 19:17:18 +03:00
shared tests: remove PlatformInputContext::filterEvent() 2023-01-18 13:21:06 +01:00
sql tst_qvfssql: Don't use appless main 2023-08-11 15:45:36 +02:00
testlib tst_selftests: compile with QT_NO_FOREACH 2023-08-19 16:30:13 +03:00
tools tst_qmakelib: compile with QT_NO_FOREACH 2023-08-19 19:17:17 +03:00
wasm CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
widgets tst_QDockWidget: Fix compiler warning in non-development build 2023-08-22 15:37:46 +02:00
xml CMake: Make qtbase tests standalone projects 2023-07-05 15:09:32 +02:00
CMakeLists.txt tests/tools: only run qdbus{cpp2xml,xml2cpp} tests if D-Bus is available 2023-08-14 20:19:36 -07:00
network-settings.h