qt5base-lts/tests/auto/widgets
Volker Hilsheimer 4e796e0b0d 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.

Change-Id: I44c2b82ef1330cc8787aed2b5cbf109ef3a67876
Done-with: Friedemann Kleint <Friedemann.Kleint@qt.io>
Fixes: QTBUG-75452
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2020-02-11 17:27:41 +01:00
..
dialogs Stabilize QFileSystemModel::dirsBeforeFiles test 2020-02-11 17:27:41 +01:00
effects tst_qgraphicseffect: Wait for exposed instead of active 2019-10-15 20:39:32 +02:00
graphicsview Merge remote-tracking branch 'origin/5.14' into 5.15 2020-02-04 10:44:00 +01:00
itemviews Merge remote-tracking branch 'origin/5.14' into 5.15 2020-01-28 08:09:51 +01:00
kernel Merge remote-tracking branch 'origin/5.14' into 5.15 2020-02-06 11:10:34 +01:00
styles Merge remote-tracking branch 'origin/5.14' into 5.15 2020-01-15 01:00:39 +01:00
util Merge remote-tracking branch 'origin/5.14' into 5.15 2020-01-28 08:09:51 +01:00
widgets QComboBox: deprecate currentIndexChanged(const QString&) 2020-02-11 10:37:10 +01:00
widgets.pro