qt5base-lts/tests/auto/corelib
Edward Welbourne 54190595ef Make sure QDir::absoluteFilePath("/dir") includes a drive on MS
QDir::isAbsolutePath(name) thinks any path starting with a slash is
absolute; however, to return a valid absolute path, we need to put a
drive prefix onto such a name. So use QFileSystemEntry::isAbsolute()
for that check (it believes in the need for a drive, or UNC prefix)
and handle the absolute-but-for-drive case when it arises.

Add a regression test and make related changes to existing tests.

Task-number: QTBUG-50839
Change-Id: Id5d2b2586bb1423fa2d9375a298a4bb5241cffe0
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2018-03-12 18:11:33 +00:00
..
animation qtbase: cleanup BLACKLIST files 2018-02-13 15:20:33 +00:00
codecs Replace Q_DECL_OVERRIDE with override where possible 2017-09-19 11:53:42 +00:00
global Fix thread_local test 2018-02-23 13:23:01 +00:00
io Make sure QDir::absoluteFilePath("/dir") includes a drive on MS 2018-03-12 18:11:33 +00:00
itemmodels QListWidgetItem/QStandardItem: pass role to dataChanged() signal 2018-01-26 19:58:26 +00:00
kernel Allow use of template class instances inheriting from a Q_GADGET in Qml 2018-03-10 06:12:24 +00:00
mimetypes QMimeDatabase: fix regression in alias resolving 2018-02-28 22:17:58 +00:00
plugin tst_QLibrary: Ensure installation order of testdata libs 2018-03-02 07:20:04 +00:00
serialization JSON: remove braces from UUID text representations 2018-03-02 04:06:33 +00:00
statemachine Fix crash in tst_QStateMachine::dontProcessSlotsWhenMachineIsNotRunning 2018-02-14 08:12:20 +00:00
thread Tests: Raise minimum supported MSVC version to 2015 2018-01-04 20:23:25 +00:00
tools add missing tests of rvalue overloads for QVarLengthArray and QVector 2018-03-10 06:15:31 +00:00
corelib.pro Create corelib/serialization and move existing file formats into it 2018-01-26 20:59:50 +00:00