diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-04-19 09:45:29 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-04-19 09:50:13 (GMT) |
commit | 0201d5f5a8c95bd4f6b94726ed0db2b83cd3efc7 (patch) | |
tree | 6dab4a2eb98a7030101f5654bd24a2ce9868908e | |
parent | 4b264b241067ed58f8a72fc7b221565112d936f4 (diff) | |
download | Qt-0201d5f5a8c95bd4f6b94726ed0db2b83cd3efc7.zip Qt-0201d5f5a8c95bd4f6b94726ed0db2b83cd3efc7.tar.gz Qt-0201d5f5a8c95bd4f6b94726ed0db2b83cd3efc7.tar.bz2 |
Skip linearGradientSymmetry test on QWS.
QWS defines GRADIENT_STOPTABLE_SIZE to be 256, which is not enough
resolution for this test to pass.
Reviewed-by: Eskil Abrahamsen Blomfeldt
-rw-r--r-- | tests/auto/qpainter/tst_qpainter.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/qpainter/tst_qpainter.cpp b/tests/auto/qpainter/tst_qpainter.cpp index 64dacec..76bc5d63 100644 --- a/tests/auto/qpainter/tst_qpainter.cpp +++ b/tests/auto/qpainter/tst_qpainter.cpp @@ -4016,6 +4016,9 @@ void tst_QPainter::linearGradientSymmetry_data() void tst_QPainter::linearGradientSymmetry() { +#ifdef Q_WS_QWS + QSKIP("QWS has limited resolution in the gradient color table", SkipAll); +#else QFETCH(QGradientStops, stops); QImage a(64, 8, QImage::Format_ARGB32_Premultiplied); @@ -4037,6 +4040,7 @@ void tst_QPainter::linearGradientSymmetry() b = b.mirrored(true); QCOMPARE(a, b); +#endif } void tst_QPainter::gradientInterpolation() |