summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Ahumada <sergio.ahumada@digia.com>2012-10-29 23:21:35 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-30 12:53:46 +0100
commitfd7b3ffe5cbedb180f7cfb9975437f0eb285d05a (patch)
treeae3b170c9a0c0d99d75d92ccb376b7f2c37b4972
parent792eb1029d0fa1b747deb2cd5b4b3a1cd5d3b13f (diff)
test: Remove QSKIP from tst_QPainter::drawText_subPixelPositionsInRaster_qtbug5053()
Change-Id: I1aa329323767a3e849beca8fe41e39dbe98de4ee Reviewed-by: Caroline Chao <caroline.chao@digia.com>
-rw-r--r--tests/auto/gui/painting/qpainter/tst_qpainter.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/tests/auto/gui/painting/qpainter/tst_qpainter.cpp b/tests/auto/gui/painting/qpainter/tst_qpainter.cpp
index 09180b3de9..be3e68ad38 100644
--- a/tests/auto/gui/painting/qpainter/tst_qpainter.cpp
+++ b/tests/auto/gui/painting/qpainter/tst_qpainter.cpp
@@ -231,7 +231,9 @@ private slots:
void drawRect_task215378();
void drawRect_task247505();
+#if defined(Q_OS_MAC)
void drawText_subPixelPositionsInRaster_qtbug5053();
+#endif
void drawImage_data();
void drawImage();
@@ -4178,11 +4180,10 @@ void tst_QPainter::clipBoundingRect()
}
+#if defined(Q_OS_MAC)
+// Only Mac supports sub pixel positions in raster engine currently
void tst_QPainter::drawText_subPixelPositionsInRaster_qtbug5053()
{
-#if !defined(Q_OS_MAC)
- QSKIP("Only Mac supports sub pixel positions in raster engine currently");
-#endif
QFontMetricsF fm(qApp->font());
QImage baseLine(fm.width(QChar::fromLatin1('e')), fm.height(), QImage::Format_RGB32);
@@ -4212,6 +4213,7 @@ void tst_QPainter::drawText_subPixelPositionsInRaster_qtbug5053()
QVERIFY(foundDifferentRasterization);
}
+#endif
void tst_QPainter::drawPointScaled()
{