From fdfa3b1141a08aface04333e594213efe681ef6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tor=20Arne=20Vestb=C3=B8?= Date: Fri, 14 Jul 2017 02:38:45 +0200 Subject: [PATCH] Skip tst_QWidget::testForOutsideWSRangeFlag MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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ø Reviewed-by: Gabriel de Dietrich --- tests/auto/widgets/kernel/qwidget/tst_qwidget.cpp | 2 ++ 1 file changed, 2 insertions(+) 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;