qt5base-lts/tests/auto/widgets
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
..
dialogs Stabilize QFileSystemModel::dirsBeforeFiles test 2020-02-22 02:52:44 +01:00
effects unblacklist passing tests 2019-07-08 11:01:42 +00:00
graphicsview Blacklist failing tests on macOS 10.14 2020-01-30 13:47:27 +00:00
itemviews Blacklist tst_QAbstractItemView::task200665_itemEntered on macOS 2020-01-22 17:26:22 +01:00
kernel widgets: Don't create winId when the widget is being destroyed 2020-02-05 11:05:24 +01:00
styles Blacklist tst_QStyleSheetStyle::widgetStylePropagation on macOS 2020-01-14 00:49:58 +01:00
util Blacklist two tst_QScroller tests on macOS 2020-01-22 17:26:22 +01:00
widgets QComboBox: send font change event to popup menu when font changed 2020-02-07 09:18:47 +08:00
widgets.pro