Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-53890

tst_QFileSystemModel::specialFiles() fails on Windows

    XMLWordPrintable

Details

    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              kleint Friedemann Kleint
              kleint Friedemann Kleint
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes