diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2011-10-31 17:32:21 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-01 04:58:36 +0100 |
commit | b2ed01891d41095522edf6f9a69dd412abc7149e (patch) | |
tree | b3f89d8ecdc9777c146248617a8c48b2844232c2 | |
parent | 3e035a5edb10b01fc5997e1094e6fd704fba1d4a (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>
-rw-r--r-- | tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp | 4 |
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; } } |