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 <robin.burchell@viroteck.net>
This commit is contained in:
parent
7304c9a4e8
commit
28add98e24
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user