summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
diff options
context:
space:
mode:
authorTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-07-14 02:38:45 +0200
committerTor Arne Vestbø <tor.arne.vestbo@qt.io>2017-07-14 04:43:06 +0000
commitfdfa3b1141a08aface04333e594213efe681ef6e (patch)
tree1ec5d09f877fe313f16d9f8a2a2495276533478e /tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
parent97294ed9958baf4b1a99f75b94066c1fdadffa56 (diff)
Skip tst_QWidget::testForOutsideWSRangeFlag
The test assumes that resizing a QWidget to 0x0 will result in the QWindow ending up with that size, and hence not being exposed, but this is not the case. On a QWindow level we treat 0x0 as a trigger for the platform layer to set the default size, and the window ends up exposed. Ideally QWindows should allow 0x0 sizes, but this is a bigger change. In the meantime, we skip the tests so that other changes can be integrated without the test failing. Task-number: QTBUG-61953 Change-Id: Ib17187b4afd1b06eaa76653be18e93abea555b59 Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io> Reviewed-by: Gabriel de Dietrich <gabriel.dedietrich@qt.io>
Diffstat (limited to 'tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp')
-rw-r--r--tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
index d9bb3b28d7..423c09d0c1 100644
--- a/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
+++ b/tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp
@@ -10507,6 +10507,8 @@ void tst_QWidget::qmlSetParentHelper()
void tst_QWidget::testForOutsideWSRangeFlag()
{
+ QSKIP("Test assumes QWindows can have 0x0 size, see QTBUG-61953");
+
// QTBUG-49445
{
QWidget widget;