From 92acab50d210bfd2bf48ff5079a2c031976e2846 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Fri, 7 Oct 2011 11:34:37 +1000 Subject: [PATCH] Comment out test that is always skipped. Change-Id: I0af7a5c6708d09ce9b63b7c177d31e0631da43cd Reviewed-on: http://codereview.qt-project.org/6192 Reviewed-by: Qt Sanity Bot Reviewed-by: Rohan McGovern --- tests/auto/qitemdelegate/tst_qitemdelegate.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp index 3dcf54a9f2..2a9b45dd55 100644 --- a/tests/auto/qitemdelegate/tst_qitemdelegate.cpp +++ b/tests/auto/qitemdelegate/tst_qitemdelegate.cpp @@ -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);