qt5base-lts/tests/auto/widgets/dialogs
Volker Hilsheimer 962a3d8a98 Stabilize QFileSystemModel::dirsBeforeFiles test
Make the test operate in its own temporary directory, so that entries
left behind by other test functions don't impact this test.

Also, call QFileSystemModel::sort explicitly; it would otherwise only
be done once through a single-shot timer, and the test processes events
until the model is populated, which might not process that delayed
sorting. Since dirsBeforeFiles tests the sorting algorithm and not
the sorting logic, best to do this explicitly.

In case of sort failure, print diagnostics.

Done-with: Friedemann Kleint <Friedemann.Kleint@qt.io>
Fixes: QTBUG-75452
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
(cherry picked from commit 4e796e0b0d)
Change-Id: I144b68a17280a38cc7d6daf7ec343eea4453623d
Reviewed-by: Timur Pocheptsov <timur.pocheptsov@qt.io>
2020-02-22 02:52:44 +01:00
..
qcolordialog Fix deprecation warnings in widget autotests 2019-02-08 18:00:51 +00:00
qdialog Flatten version-specific blacklisting on macOS to all macOS versions 2020-01-22 17:58:31 +01:00
qerrormessage Updated license headers 2016-01-21 18:55:18 +00:00
qfiledialog Fix flaky test tst_QFiledialog::clearLineEdit() 2019-12-03 19:57:03 +01:00
qfiledialog2 Flatten version-specific blacklisting on macOS to all macOS versions 2020-01-22 17:58:31 +01:00
qfilesystemmodel Stabilize QFileSystemModel::dirsBeforeFiles test 2020-02-22 02:52:44 +01:00
qfontdialog If only family is set, prefer that in the families list after resolving 2019-11-05 09:46:29 +01:00
qinputdialog Replace Q_NULLPTR with nullptr where possible 2017-09-19 11:53:55 +00:00
qmessagebox Update for failures only on dev branch. Use general platform names 2019-08-19 18:22:11 +02:00
qprogressdialog Extend blacklisting for a few tests to include all macOS versions 2020-01-22 17:26:23 +01:00
qsidebar winrt: make dialog auto tests pass 2018-06-22 05:02:43 +00:00
qwizard Merge remote-tracking branch 'origin/5.13' into 5.14 2019-09-30 14:43:02 +02:00
dialogs.pro winrt: Remove qfiledialog and qmessagebox auto tests for now 2018-05-28 06:50:45 +00:00