diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2021-03-02 20:11:59 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2021-03-30 15:14:25 +0000 |
commit | 8bed35c07ed953ab454430a7774b6db611134c60 (patch) | |
tree | 92ee3499b26a808b96ba4b3713c16473ca554b3d /src/plugins/platforms/windows | |
parent | e7107e9a1d0136ab6d1c57297964fe7ac3c7bd94 (diff) |
Prospective fix for flaky test tst_QDoubleSpinBox::setReadOnly()
The test has been observed to fail with:
FAIL! : tst_QDoubleSpinBox::setReadOnly() 'QTest::qWaitForWindowActive(&spin)' returned FALSE. ()
/Users/qt/work/qt/qtbase/tests/auto/widgets/widgets/qdoublespinbox/tst_qdoublespinbox.cpp(863) : failure location
Remove the widget member and use a widget instantiated on the stack instead.
Add a check for top level widget leaks in cleanup() and fix leaking task224497_fltMax()
by instantiating the widget on the stack.
Change-Id: Idbbb5d859c0df2d9b9f49fb9f69ef6bb7d1ee150
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
(cherry picked from commit 4b15a8ea8fe0d64b529b859a3dba0de68b92ce85)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/plugins/platforms/windows')
0 files changed, 0 insertions, 0 deletions