qt5base-lts/tests/auto/widgets
Kari Oikarinen 883d58dacd Fix tst_QDoubleSpinBox::editingFinished failing after other tests
Wait for the spinbox to show become active in the previous test. Also use
QWidget::activateWindow() instead of QApplication::setActiveWindow(). Use of the
latter seemed to result in some confusion where QWidget::isActiveWindow()
returned true but QWindow::isActive() on the underlying window returned false,
leading qWaitForWindowActive() to fail.

Also remove superfluous setting of focus. It was just set and verified.

Change-Id: I023cdc2d272e23b2537b32606b7a3bf35bf671ac
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
2018-05-18 07:09:58 +00:00
..
dialogs tests/auto/widgets/dialogs: Avoid unconditional qWait()s 2018-05-14 10:39:00 +00:00
effects tests/auto/widgets/{effects,styles}: Avoid unconditional qWait()s 2018-04-25 05:47:01 +00:00
graphicsview tests/auto/widgets/graphicsview: Avoid unconditional qWait()s 2018-05-14 06:05:19 +00:00
itemviews tests/auto/widgets/itemviews: Avoid unconditional qWait()s 2018-05-09 05:52:22 +00:00
kernel Blacklist tst_QWidget::raise on openSUSE 2018-05-09 13:05:54 +00:00
styles tests/auto/widgets/{effects,styles}: Avoid unconditional qWait()s 2018-04-25 05:47:01 +00:00
util tests/auto/widgets/util: Avoid unconditional qWait()s 2018-04-13 12:32:52 +00:00
widgets Fix tst_QDoubleSpinBox::editingFinished failing after other tests 2018-05-18 07:09:58 +00:00
widgets.pro Move QGestureRecognizer test to widgets/kernel 2017-06-02 18:36:11 +00:00