diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-04-02 10:17:31 +0200 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2019-04-03 15:06:06 +0000 |
commit | 06d753e87b71e6b02bbe937b488c8598c9945521 (patch) | |
tree | 5a6ecf1027df358315af57c9646b331f0797693e /src/corelib/kernel/qcoreapplication.cpp | |
parent | accf7ce0248e0efcdef5a3c87f8984817e6eb4ae (diff) |
Brush up and stabilize tst_QSizeGrip
- Remove unused dummyWidget and thus empty slots initTestCase(),
cleanupTestCase().
- Add slot cleanup() checking for an empty top level widgets list
and introduce QScopedPointer to ensure it passes.
- Use QTRY_VERIFY in hideAndShowOnWindowStateChange().
Flakyness has been observed on openSUSE:
FAIL! : tst_QSizeGrip::hideAndShowOnWindowStateChange(Qt::Window) '!sizeGrip->isVisible()' returned FALSE. ()
Loc: [tst_qsizegrip.cpp(126)]
Change-Id: I340fc1892dc00bcff1985e5a8a1e535975736484
Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
Diffstat (limited to 'src/corelib/kernel/qcoreapplication.cpp')
0 files changed, 0 insertions, 0 deletions