diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2011-08-12 09:58:45 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-08-12 03:02:23 +0200 |
commit | 11594673533e8ceaea9a823842c69c727e9264cd (patch) | |
tree | 0235976e883dc9b8e658ddd9323ed051efb233ad /tests/auto | |
parent | 32ae0d2bdd6ef0660a1b226ed53ff4786a4199b9 (diff) |
test: skip some broken tests in tst_qpixmap for qpa
These tests cannot be written properly for qpa, due to missing API.
Task-number: QTBUG-20864
Task-number: QTBUG-20863
Change-Id: I2b311833a6738b1830c1cd8be1f20293492bebda
Reviewed-on: http://codereview.qt.nokia.com/2877
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Kalle Lehtonen <kalle.ju.lehtonen@nokia.com>
Diffstat (limited to 'tests/auto')
-rw-r--r-- | tests/auto/qpixmap/tst_qpixmap.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/auto/qpixmap/tst_qpixmap.cpp b/tests/auto/qpixmap/tst_qpixmap.cpp index 7f7c339fcb..e62708fc3d 100644 --- a/tests/auto/qpixmap/tst_qpixmap.cpp +++ b/tests/auto/qpixmap/tst_qpixmap.cpp @@ -876,6 +876,9 @@ void tst_QPixmap::grabWidget() void tst_QPixmap::grabWindow() { +#ifdef Q_WS_QPA + QSKIP("QTBUG-20863 grabWindow is broken on most qpa backends", SkipAll); +#endif #ifdef Q_OS_WINCE // We get out of memory, if the desktop itself is too big. if (QApplication::desktop()->width() <= 480) @@ -1333,6 +1336,9 @@ void tst_QPixmap::toSymbianCFbsBitmap() void tst_QPixmap::onlyNullPixmapsOutsideGuiThread() { +#ifdef Q_WS_QPA + QSKIP("QTBUG-20864 can't determine if threaded pixmaps are available for qpa", SkipAll); +#endif #if !defined(Q_WS_WIN) && !defined(Q_WS_MAC) class Thread : public QThread { |