summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwindowsurface/tst_qwindowsurface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/qwindowsurface/tst_qwindowsurface.cpp')
-rw-r--r--tests/auto/qwindowsurface/tst_qwindowsurface.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qwindowsurface/tst_qwindowsurface.cpp b/tests/auto/qwindowsurface/tst_qwindowsurface.cpp
index 7218921f97..11348e9162 100644
--- a/tests/auto/qwindowsurface/tst_qwindowsurface.cpp
+++ b/tests/auto/qwindowsurface/tst_qwindowsurface.cpp
@@ -119,6 +119,9 @@ static void VERIFY_COLOR(const QRegion &region, const QColor &color)
const QPixmap pixmap = QPixmap::grabWindow(QDesktopWidget().winId(),
rect.left(), rect.top(),
rect.width(), rect.height());
+#ifdef Q_WS_QPA
+ QEXPECT_FAIL("", "QTBUG-20863 QPixmap::grabWindow unimplemented for qpa", Abort);
+#endif
QCOMPARE(pixmap.size(), rect.size());
QPixmap expectedPixmap(pixmap); /* ensure equal formats */
expectedPixmap.fill(color);