qt5base-lts/tests/auto/widgets
Oliver Wolff e524724f9d tst_qfilesystemmodel: Do not use nested calls of auto test functions
Calling rowCount inside another auto test function yields unexpected
results, if rowCount fails. Without a check for QTest::currentTestFailed
the failure will not stop the calling function and other functions like
rowsInserted and rowsRemoved might happily continue even though their
requirements are not met. That caused a crash on winrt under certain
circumstances.

In addition to that TRY_WAIT now does not only wait for the given
amount of time, but also gives feedback about its result. Before
this change TRY_WAIT was basically useless, as it gave no indication
about its success/failure.

Fixes: QTBUG-71121
Change-Id: Ibd3f233a0b913db799814be97c4274d510643c74
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2018-10-25 11:24:08 +00:00
..
dialogs tst_qfilesystemmodel: Do not use nested calls of auto test functions 2018-10-25 11:24:08 +00:00
effects Blacklist flaky tst_QGraphicsEffect autotest on openSUSE 2018-09-24 21:13:20 +00:00
graphicsview QGraphicsScene: Make focusing on touchBegin optional 2018-10-04 07:00:21 +00:00
itemviews QTableWidget: fix cellChanged signal emitted by takeItem() 2018-10-19 12:19:20 +00:00
kernel QToolTip: Don't crash if a tool tip is shown outside screen geometry 2018-10-15 07:44:04 +00:00
styles StyleSheetStyle: Load @Nx images 2018-10-04 07:01:05 +00:00
util winrt: Make widgets/util auto tests pass 2018-05-25 11:02:23 +00:00
widgets tst_QMdiSubWindow: fix flaky setOpaqueResizeAndMove test 2018-09-15 15:39:21 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00