qt5base-lts/tests/auto/corelib/io/qfileinfo
Friedemann Kleint 20a8a277ee tst_qfileinfo: Refactor ntfsJunctionPointsAndSymlinks()
Move the creation of the symbolic link/junction from the _data() slot
into the actual test function. The parameters are passed by a newly
introduced struct. This ensures only the symbolic links/junctions that
are actually needed are created. It can then no longer happen that
filtering for one data row invokes recursive deletion of the mountpoint
junction.

Also use of the newly introduced convenience createSymbolicLink()
in canonicalFilePath()

Task-number: QTBUG-63989
Change-Id: Ia78fd4ad6097136934ab5a375f4c352713d0f115
Reviewed-by: Orgad Shaneh <orgads@gmail.com>
2018-09-30 09:59:09 +00:00
..
resources Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
.gitignore Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
qfileinfo.pro Remove remains of wince in .pro files 2017-07-03 05:32:51 +00:00
qfileinfo.qrc Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
testdata.qrc Use qrc for test data in QFileInfo test on all platforms 2015-02-18 12:09:16 +00:00
tst_qfileinfo.cpp tst_qfileinfo: Refactor ntfsJunctionPointsAndSymlinks() 2018-09-30 09:59:09 +00:00