summaryrefslogtreecommitdiffstats
path: root/tests/auto
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-07 11:34:37 +1000
committerQt by Nokia <qt-info@nokia.com>2011-10-07 06:39:09 +0200
commit92acab50d210bfd2bf48ff5079a2c031976e2846 (patch)
treec42c924214105d342f8276a349dde2c3176f1938 /tests/auto
parent931978a1262b3705db474acb0ebb4359b4a86ccf (diff)
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>
Diffstat (limited to 'tests/auto')
-rw-r--r--tests/auto/qitemdelegate/tst_qitemdelegate.cpp12
1 files 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);