From 28add98e24f4f7a29037b145088f30a0f3d89d5c Mon Sep 17 00:00:00 2001 From: Laszlo Agocs Date: Wed, 20 Aug 2014 17:32:24 +0200 Subject: Skip the expose region test on Windows In some CI configurations this fails from time to time. Have to disable it unless we can make it more robust somehow. Change-Id: Iadd8904d7223a6aeff53dafa36b94df3f60e1ad8 Reviewed-by: Robin Burchell --- tests/auto/gui/kernel/qwindow/tst_qwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/auto/gui/kernel') diff --git a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp index b4659b7caf..0f1450fe7d 100644 --- a/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp +++ b/tests/auto/gui/kernel/qwindow/tst_qwindow.cpp @@ -366,6 +366,7 @@ void tst_QWindow::isExposed() QTRY_VERIFY(window.received(QEvent::Expose) > 0); QTRY_VERIFY(window.isExposed()); +#ifndef Q_OS_WIN // This is a top-level window so assuming it is completely exposed, the // expose region must be (0, 0), (width, height). If this is not the case, // the platform plugin is sending expose events with a region in an @@ -373,6 +374,7 @@ void tst_QWindow::isExposed() QRect r = window.exposeRegion().boundingRect(); r = QRect(window.mapToGlobal(r.topLeft()), r.size()); QCOMPARE(r, window.geometry()); +#endif window.hide(); -- cgit v1.2.3