qt5base-lts/tests/auto/widgets
Volker Hilsheimer 177c370a72 Improve QAbstractButton::animateClick test
The test is timing sensitive; if it takes more than 100ms
to process events, then the timer that clicks the button might
have fired. So only verify that the button is still down if 100ms have
not yet passed, and verify that at least 100ms have passed when the
click is complete.

Also use QSignalSpy to test the signal emissions.

Pick-to: 6.2 6.3
Change-Id: I95f99e204a17c6709f8e2913eefe4b487e949123
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
2022-01-20 22:57:45 +01:00
..
dialogs Remove unused .qrc files 2022-01-17 23:17:01 +01:00
effects Fix tst_qgraphicseffect on Wayland 2021-03-11 08:04:21 +01:00
graphicsview Remove unused .qrc files 2022-01-17 23:17:01 +01:00
itemviews QTableView: correctly toggle column selection when scrolled 2021-12-02 14:16:49 +00:00
kernel Further improve QShortcut test 2022-01-18 22:42:44 +01:00
styles QCSS: Support Qt 5-style integer property selectors 2022-01-15 19:21:57 +01:00
util tests: port to new QMutableEventPoint static API 2022-01-15 12:29:27 +01:00
widgets Improve QAbstractButton::animateClick test 2022-01-20 22:57:45 +01:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00