summaryrefslogtreecommitdiffstats
path: root/tests/auto/gui/image/qpixmap
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-19 12:53:13 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-21 01:20:29 +0200
commit27f9f136f7e39b5d612bc02f7ff8778ab424c07d (patch)
tree3c72358e3d1e42fbf0c386365e76db259e180bd7 /tests/auto/gui/image/qpixmap
parent016cd01846539404a0eff1e3823fa2206fe2c9a9 (diff)
Remove SkipMode parameter from QSKIP calls.
The previous commit removed SkipMode from the testlib APi. This commit removes the parameter from all calls to QSKIP. Task-number: QTBUG-21851, QTBUG-21652 Change-Id: I21c0ee6731c1bc6ac6d962590d9b31d7459dfbc5 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/gui/image/qpixmap')
-rw-r--r--tests/auto/gui/image/qpixmap/tst_qpixmap.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/auto/gui/image/qpixmap/tst_qpixmap.cpp b/tests/auto/gui/image/qpixmap/tst_qpixmap.cpp
index 996bd6c017..5ff764378a 100644
--- a/tests/auto/gui/image/qpixmap/tst_qpixmap.cpp
+++ b/tests/auto/gui/image/qpixmap/tst_qpixmap.cpp
@@ -277,7 +277,7 @@ void tst_QPixmap::fromImage()
const QPixmap pixmap = QPixmap::fromImage(image);
#ifdef Q_WS_X11
if (pixmap.handle()->classId() == QPlatformPixmap::X11Class && !pixmap.x11PictureHandle())
- QSKIP("Requires XRender support", SkipAll);
+ QSKIP("Requires XRender support");
#endif
const QImage result = pixmap.toImage();
image = image.convertToFormat(result.format());
@@ -505,12 +505,12 @@ void tst_QPixmap::fill()
#if defined(Q_WS_X11)
if (!bitmap && pm.handle()->classId() == QPlatformPixmap::X11Class && !pm.x11PictureHandle())
- QSKIP("Requires XRender support", SkipSingle);
+ QSKIP("Requires XRender support");
#endif
pm.fill(color);
if (syscolor && !bitmap && pm.depth() < 24) {
- QSKIP("Test does not work on displays without true color", SkipSingle);
+ QSKIP("Test does not work on displays without true color");
}
QImage image = pm.toImage();
@@ -535,7 +535,7 @@ void tst_QPixmap::fill_transparent()
QPixmap pixmap(10, 10);
#ifdef Q_WS_X11
if (pixmap.handle()->classId() == QPlatformPixmap::X11Class && !pixmap.x11PictureHandle())
- QSKIP("Requires XRender support", SkipAll);
+ QSKIP("Requires XRender support");
#endif
pixmap.fill(Qt::transparent);
QVERIFY(pixmap.hasAlphaChannel());
@@ -775,7 +775,7 @@ void tst_QPixmap::grabWidget()
void tst_QPixmap::grabWindow()
{
#ifdef Q_WS_QPA
- QSKIP("QTBUG-20863 grabWindow is broken on most qpa backends", SkipAll);
+ QSKIP("QTBUG-20863 grabWindow is broken on most qpa backends");
#endif
#ifdef Q_OS_WINCE
// We get out of memory, if the desktop itself is too big.
@@ -839,7 +839,7 @@ void tst_QPixmap::convertFromImageNoDetach()
{
QPixmap randomPixmap(10, 10);
if (randomPixmap.handle()->classId() != QPlatformPixmap::RasterClass)
- QSKIP("Test only valid for raster pixmaps", SkipAll);
+ QSKIP("Test only valid for raster pixmaps");
//first get the screen format
QImage::Format screenFormat = randomPixmap.toImage().format();
@@ -1013,7 +1013,7 @@ void tst_QPixmap::toWinHICON_data()
void tst_QPixmap::toWinHICON()
{
#ifdef Q_OS_WINCE
- QSKIP("Test shall be enabled for Windows CE shortly.", SkipAll);
+ QSKIP("Test shall be enabled for Windows CE shortly.");
#endif
QFETCH(int, width);
@@ -1057,7 +1057,7 @@ void tst_QPixmap::fromWinHICON_data()
void tst_QPixmap::fromWinHICON()
{
#ifdef Q_OS_WINCE
- QSKIP("Test shall be enabled for Windows CE shortly.", SkipAll);
+ QSKIP("Test shall be enabled for Windows CE shortly.");
#else
QFETCH(int, width);
@@ -1084,7 +1084,7 @@ void tst_QPixmap::fromWinHICON()
void tst_QPixmap::onlyNullPixmapsOutsideGuiThread()
{
#ifdef Q_WS_QPA
- QSKIP("QTBUG-20864 can't determine if threaded pixmaps are available for qpa", SkipAll);
+ QSKIP("QTBUG-20864 can't determine if threaded pixmaps are available for qpa");
#endif
#if !defined(Q_WS_WIN) && !defined(Q_WS_MAC)
class Thread : public QThread