summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-10-31 17:32:21 +1000
committerQt by Nokia <qt-info@nokia.com>2011-11-01 04:58:36 +0100
commitb2ed01891d41095522edf6f9a69dd412abc7149e (patch)
treeb3f89d8ecdc9777c146248617a8c48b2844232c2 /tests/auto/widgets
parent3e035a5edb10b01fc5997e1094e6fd704fba1d4a (diff)
Remove debug code from QGridLayout autotest
Any test diagnostics that are useful should be part of the regular test output, as the CI system cannot switch on commented-out code when there is a test failure. Change-Id: Ifd2bbd17677e16ddb0f1846287d722cdae76d984 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'tests/auto/widgets')
-rw-r--r--tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp b/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp
index 11f0cfc7fb..4f0630e80f 100644
--- a/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp
+++ b/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp
@@ -1588,10 +1588,6 @@ void tst_QGridLayout::spacerWithSpacing()
populate(&layout, 1, j);
populate(&layout, 2, k);
QCOMPARE(window.sizeHint().height(), expectedHeight[ii]);
-#if 0
- const char T[] = "ws-";
- qWarning("%c%c%c: %.3d", i[T], j[T], k[T], window.sizeHint().height());
-#endif
++ii;
}
}