Comment out test that is always skipped.

Change-Id: I0af7a5c6708d09ce9b63b7c177d31e0631da43cd
Reviewed-on: http://codereview.qt-project.org/6192
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
This commit is contained in:
Jason McDonald 2011-10-07 11:34:37 +10:00 committed by Qt by Nokia
parent 931978a126
commit 92acab50d2

View File

@ -842,16 +842,16 @@ void tst_QItemDelegate::decoration_data()
<< QSize(30, 30)
<< QSize(pm, pm);
QTest::newRow("pixmap 30x30 big")
<< (int)QVariant::Pixmap
<< QSize(1024, 1024) // Over 1M
<< QSize(1024, 1024);
// This demands too much memory and potentially hangs. Feel free to uncomment
// for your own testing.
// QTest::newRow("pixmap 30x30 big")
// << (int)QVariant::Pixmap
// << QSize(1024, 1024) // Over 1M
// << QSize(1024, 1024);
}
void tst_QItemDelegate::decoration()
{
if (QByteArray(QTest::currentDataTag()) == QByteArray("pixmap 30x30 big"))
QSKIP("Skipping this as it demands too much memory and potential hangs", SkipSingle);
Q_CHECK_PAINTEVENTS
QFETCH(int, type);