qt5base-lts/tests/auto/corelib/io/qdir
Karsten Heimrich 0564ebdb36 Unify behavior for long path or UNC prefix removal
Split the code out of QDir::fromNativeSeparator into a separate
reusable function to remove the above-mentioned prefixes. Fixes
and unifies behavior if the prefix was given with slashes instead
of backslashes. Add a couple more test cases.

Fixes: QTBUG-93868
Pick-to: 5.15 6.0 6.1
Change-Id: Ibd94ae283e2fb113f9c2db97475fbc7d89522bbf
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Reviewed-by: Oliver Wolff <oliver.wolff@qt.io>
2021-06-05 01:16:06 +02:00
..
entrylist
resources/entryList
searchdir
testData
testdir CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
types
.gitignore
android_testdata.qrc
CMakeLists.txt CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
Info.plist Remove CFBundleGetInfoString from Info.plist templates 2019-10-04 13:09:34 +00:00
qdir.qrc
tst_qdir.cpp Unify behavior for long path or UNC prefix removal 2021-06-05 01:16:06 +02:00