qt6-bb10/tests/auto/widgets
Volker Hilsheimer 55928821d1 Improve QShortcut test
The test uses a static MainWindow so that we can execute a series of key
simulations on the same window. The window is then destroyed when we
reach the final test row.

If some of the tests fail, then the window is left in an unknown state,
resulting in cascading failures for the other tests. Fix this by always
trying to show and activate the window, and always destroying the static
window if we have reached the last test data row.

Fixes: QTBUG-99630
Pick-to: 6.2 6.3
Change-Id: I466669f387e8b199e9e719a7ebbe3ae670658b7e
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
2022-01-13 21:00:22 +00:00
..
dialogs QFileDialog: Fix adding default suffix when file path contains dot 2021-11-12 00:26:14 +03:00
effects Fix tst_qgraphicseffect on Wayland 2021-03-11 08:04:21 +01:00
graphicsview tst_QGraphicsView: fix memleak 2022-01-05 21:29:21 +01:00
itemviews QTableView: correctly toggle column selection when scrolled 2021-12-02 14:16:49 +00:00
kernel Improve QShortcut test 2022-01-13 21:00:22 +00:00
styles macOS: make the slider knob big enough for BigSur and Monterey 2021-11-15 09:30:25 +01:00
util Fix references to QGuiApplication::lastWindowClosed 2021-10-13 22:30:08 +02:00
widgets Remove unused testdata directory from QPushButton unit test 2022-01-12 14:27:59 +00:00
CMakeLists.txt Begin port of qtbase to CMake 2018-11-01 11:48:46 +00:00