test: Remove QSKIP from tst_QPainter::drawText_subPixelPositionsInRaster_qtbug5053()

Change-Id: I1aa329323767a3e849beca8fe41e39dbe98de4ee
Reviewed-by: Caroline Chao <caroline.chao@digia.com>
This commit is contained in:
Sergio Ahumada 2012-10-29 23:21:35 +01:00 committed by The Qt Project
parent 792eb1029d
commit fd7b3ffe5c

View File

@ -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()
{