The removed code was in #if 0 in the original commit of the test
function and appears to be an earlier version that should have been
discarded before the initial commit.
Change-Id: I91f16aa7adcccb50f4f3a02062fb9d105d85000c
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
else
QVERIFY(pixmap.cacheKey() != oldKey);
-#if 0
- // Remember to add to resources.
- QString fileName = QString("images/%1.png").arg(QTest::currentDataTag());
- pixmap.toImage().save(fileName);
-#else
QString fileName = QString(":/images/%1.png").arg(QTest::currentDataTag());
-#endif
QPixmap output(fileName);
QVERIFY(input.isNull() == output.isNull());
QVERIFY(lenientCompare(pixmap, output));