qt5base-lts/tests/auto
Volker Hilsheimer a033c23ddf QFile::moveToTrash: work with relative file paths on Windows
The system APIs expect an absolute "display name" of the file path,
so make it absolute.

The test was overly tolerant in accepting failure, as a QStorageInfo
initialized with a file path that doesn't exist is invalid, and thus
always different from the QStorageInfo of the home directory. Fix the
test to compare only valid QStorageInfo objects, and postpone the check
until the file we want to move has been created.

[ChangeLog][QtCore][QFile] moveToTrash supports relative file paths
on Windows

Change-Id: I94c8cd40c60fde469e38f76a98f867f20c6a0b15
Fixes: QTBUG-84015
Pick-to: 5.15
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-05-07 14:27:09 +02:00
..
cmake Merge remote-tracking branch 'origin/5.15' into dev 2020-05-05 19:51:50 +02:00
concurrent Squash again some tests in concurrentmap 2020-04-21 10:28:06 +02:00
corelib QFile::moveToTrash: work with relative file paths on Windows 2020-05-07 14:27:09 +02:00
dbus Fix autotests after the QHash changes 2020-04-09 20:04:15 +02:00
gui Remove a bunch of deprecated members from src/gui/painting classes 2020-05-06 09:54:17 +02:00
guiapplauncher
installed_cmake
network Merge remote-tracking branch 'origin/5.15' into dev 2020-04-11 14:59:13 +02:00
opengl Get rid of QT_OPENGL_ES* 2020-04-17 11:50:24 +02:00
other tst_Gestures: fix -Wdangling-else GCC warning 2020-04-29 08:10:36 +00:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql QSqlError: Remove deprecated methods 2020-04-06 14:25:12 +02:00
testlib QCoreApplication: force the process locale codec to UTF-8 2020-05-05 15:34:15 +02:00
tools uic/Python: import all the classes for QtCore and QtGui 2020-05-05 22:04:51 +02:00
widgets QComboBox: Remove deprecated auto-completion properties 2020-05-06 09:54:08 +02:00
xml Merge remote-tracking branch 'origin/5.15' into dev 2020-03-16 18:41:27 +01:00
.prev_CMakeLists.txt Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
auto.pro Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
CMakeLists.txt Re-order the sub-dirs to catch real culprits before things they break 2020-05-05 15:34:15 +02:00
network-settings.h Revert "QAbstractSocket: deprecate 'error' member-function" 2020-02-26 23:07:52 +03:00