summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwindowsurface/tst_qwindowsurface.cpp
diff options
context:
space:
mode:
authorGunnar Sletta <gunnar.sletta@nokia.com>2011-08-25 12:50:29 +0200
committerQt by Nokia <qt-info@nokia.com>2011-08-25 12:50:29 +0200
commit9e04c60ac070348f8208fb0254e62d6e593320c3 (patch)
treecd038cf2612faf8dadeae5fb8b807b66e2291026 /tests/auto/qwindowsurface/tst_qwindowsurface.cpp
parentbfa8d15e15fdeb0bbfb6575e37be1c32445ab7cc (diff)
parent04d0a9626ce61b2e05a40f9562c2bcf12e234639 (diff)
Merge "Merge branch 'master' into refactor" into refactor
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);