diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-08-18 11:30:32 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-18 04:32:00 +0200 |
commit | 4482dcda21bb765ad817384ab44180e9f0dcef3a (patch) | |
tree | fdb18db70ea5b8a668e8f3eb7130e9a610f48ddc /tests | |
parent | 8455b13feeb1441bc1b9d615ca8c67d8831c2d8c (diff) |
test: mark tst_qwindowsurface as expected failure on qpa
This test fails on qpa because QPixmap::grabWindow is not implemented
for that platform.
Task-number: QTBUG-20863
Change-Id: I19afdac231922113c1b491dee27c2ea91e121b85
Reviewed-on: http://codereview.qt.nokia.com/3123
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/auto/qwindowsurface/tst_qwindowsurface.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/auto/qwindowsurface/tst_qwindowsurface.cpp b/tests/auto/qwindowsurface/tst_qwindowsurface.cpp index 11f7240ae7..5810ec3580 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 ®ion, 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); |