From: Jason McDonald Date: Mon, 31 Oct 2011 07:32:21 +0000 (+1000) Subject: Remove debug code from QGridLayout autotest X-Git-Tag: qt-v5.0.0-alpha1~2943 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b2ed01891d41095522edf6f9a69dd412abc7149e;p=profile%2Fivi%2Fqtbase.git 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 --- diff --git a/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp b/tests/auto/widgets/kernel/qgridlayout/tst_qgridlayout.cpp index 11f0cfc..4f0630e 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; } }