Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.6.0
-
Windows 10, MSVC2015 64bit
-
d91bf00c43736940e4139357e288df6432775a3d (qtbase/5.6, 15.11.2016, 5.6.3)
Description
The code creates a text file and then a .lnk using QFile::link(). It seems QFileSystemModel filters out the link, or sth.
********* Start testing of tst_QFileSystemModel *********
Config: Using QtTest library 5.6.2, Qt 5.6.2 (i386-little_endian-ilp32 shared (dynamic) debug build; by MSVC 2015)
PASS : tst_QFileSystemModel::initTestCase()
FAIL! : tst_QFileSystemModel::specialFiles() '(fileListUnderIndex(&model, rootIndex).contains(testFileName))' returned FALSE. ()
.\tst_qfilesystemmodel.cpp(1144) : failure location
PASS : tst_QFileSystemModel::cleanupTestCase()
Totals: 2 passed, 1 failed, 0 skipped, 0 blacklisted
********* Finished testing of tst_QFileSystemModel *********
Introduced by "QFileSystemModel: report special files which are not symlinks" 3b093034b638a69b4dc91212d1743638864a1337 https://codereview.qt-project.org/#/c/143622/
Note
- The test is currently insignificant
QTBUG-29403 - This is a QTRY_VERIFY, so it hangs a bit.
Attachments
Issue Links
- relates to
-
QTBUG-29403 tst_qfilesystemmodel (widgets/dialogs) hangs.
- Closed
- resulted from
-
QTBUG-20968 QFileSystemModel does not list device (block/char) files
- Closed