qt5base-lts/tests/auto/corelib/io/qurl
Karsten Heimrich 06689a2d7a Fix QUrl::fromLocalFile with long path prefix
After commit 3966b571 the function was kinda broken already, though
this got unnoticed since it was not covered by an the auto-test.
This commit adds another test case with Windows native separators
and removes the use of QDir::fromNativeSeparators. Instead use the
original code from QDir::fromNativeSeparators to replace the backslashes.

Pick-to: 5.15 6.0 6.1
Change-Id: I190560d0e75cb8c177d63b142aa4be5b01498da2
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
2021-05-19 21:38:38 +02:00
..
.gitignore Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
CMakeLists.txt Skip tst_QUrl::testThreading() under QEMU 2021-04-27 14:12:34 +02:00
idna-test.c Updated license headers 2016-01-21 18:55:18 +00:00
tst_qurl_mac.mm Replace QtTest headers with QTest 2020-12-22 15:20:30 +01:00
tst_qurl.cpp Fix QUrl::fromLocalFile with long path prefix 2021-05-19 21:38:38 +02:00