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

tst_qfiledialog.exe completer -test assumes too much

    XMLWordPrintable

Details

    • 839ceb00b00561d9030bb5304edbc37bad84a522 (5.4, 5.10.2014, 5.4)

    Description

      If C:\ in windows has a folder called CMake, the (start at root) -test will fail, as the open dialog will get 3 entries instead of 2 when the test types 'C'.

      This works in the CI, because there we have a folder called "C:\.cpanm", and the dot in front of the test makes the test behave differently.

      So, I can make the test work for myself if I rename CMake to DMake or create a folder called .something. But I don't think, the test is supposed to work that way.

      FAIL!  : tst_QFiledialog::completer(start at root) Compared values are not the same
         Actual   (((cModel->rowCount()))): 4
         Expected (expected)              : 3
      .\tst_qfiledialog.cpp(558) : failure location
      

      Attachments

        Issue Links

          For Gerrit Dashboard: QTBUG-41681
          # Subject Branch Project Status CR V

          Activity

            People

              kleint Friedemann Kleint
              tosaraja Tony Sarajärvi
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes