qt6-bb10/tests/auto/corelib
Ahmad Samir ba33345d71 QDir: refactor PathNormalization enum
AllowUncPaths (and the whole enum) is private API that is always enabled
only on Windows (build-time decision). So, remove it and change the
unittests to match reality. Now DefaultNormalization on Windows implies
handling UNC paths.

This was suggested in code review by Thiago; since this is a hot code
path, the goal is letting the compiler keep the flags parameter to
qt_normalizePathSegments() in a register, by keeping the
PathNormalization enum as small as possible.

Drive-by change: since those lines in the unittest are changed anyway,
take the chance and use u""_s syntax.

Change-Id: I3dcf30d888a0ea9f8898e260e65c5f85655296d5
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 4f47ee4de46f1fa2df9fef163590807e2fae28d1)
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
2025-02-12 07:54:54 -08:00
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global QNumeric: add a private qUnsignedAbs 2025-01-29 13:33:32 +00:00
io QDir: refactor PathNormalization enum 2025-02-12 07:54:54 -08:00
ipc Add REUSE.toml files 2024-11-07 08:38:49 +01:00
itemmodels QConcatenateTablesProxyModel: react to row and column moves 2024-09-13 17:44:05 +00:00
kernel tst_Q*Application: add tests for unusual qApp creations and exits 2025-01-20 13:31:34 -08:00
mimetypes Add REUSE.toml files 2024-11-07 08:38:49 +01:00
platform Move UUID definitions out of Qt namespace 2025-02-08 08:08:51 +00:00
plugin tst_QUuid: fix -Wreturn-type in make_minimal(QUuid::Version) 2025-01-25 14:21:25 +00:00
serialization Modernise tst_QTextStream::manipulators() and add two new data rows 2025-02-10 08:43:11 +00:00
text tst_QAnyStringView: test which chars magically convert 2025-02-11 00:49:25 +00:00
thread tst_qfuture: silence all continuation overwrite warnings 2025-02-12 12:44:15 +00:00
time Update CLDR to v46 2025-01-14 11:15:42 +01:00
tools Fix warning from ignored return value of [[nodiscard]] function 2025-02-11 12:43:47 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00