qt5base-lts/tests/auto/corelib
Ryan Chu 004e3e0dc2 Make Qt aware of NTFS Junctions on Windows
On NTFS, a junction point can be created and deleted by the mklink and
rmdir commands, respectively. If a directory is not identified
correctly as a junction, then applications will likely try to remove
it using recursive methods, leading to fatal data loss.

With this change, Qt can identify file system entries as junctions,
allowing applications to use the correct file system operation to
remove it.

The test needs to delay the cleaning up of junctions and files it
creates until the checks are complete; since they might fail and make
the test function return prematurely, use a scope guard.

[ChangeLog][QtCore][QFileInfo] Add QFileInfo::isJunction so that
applications can recognize NTFS file system entries as junctions

Task-number: QTBUG-75869
Change-Id: I3c208245afbd9fb7555515fb776ff63b133ca858
Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
2019-11-09 00:47:45 +01:00
..
animation Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
codecs Port from QStringViewLiteral to u"" 2019-07-29 11:17:28 +03:00
global Add qfloat16::copySign() since we can't overload std::copysign() 2019-11-06 11:36:49 +01:00
io Make Qt aware of NTFS Junctions on Windows 2019-11-09 00:47:45 +01:00
itemmodels cleanup QSortFilterProxyModel tests 2019-10-24 19:41:16 +02:00
kernel Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
mimetypes Remove handling of missing Q_COMPILER_RVALUE_REFS 2019-05-01 20:24:45 +00:00
plugin Disable debug-and-release builds for MinGW 2019-09-18 06:28:16 +00:00
serialization Merge remote-tracking branch 'origin/5.13' into 5.14 2019-10-28 10:50:03 +01:00
statemachine QStateMachine: Don't scream at the user 2019-10-24 10:26:03 +02:00
text Update UCD data to Unicode 12.1.0's Revision 24 2019-10-30 17:38:02 +01:00
thread Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
time Merge remote-tracking branch 'origin/5.14' into 5.15 2019-10-13 01:00:43 +02:00
tools Merge remote-tracking branch 'origin/5.13' into 5.14 2019-10-24 10:23:44 +02:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00