Avoid using QSKIP in lieu of compile-time checks
authorJason McDonald <jason.mcdonald@nokia.com>
Fri, 30 Sep 2011 03:19:21 +0000 (13:19 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 3 Oct 2011 01:34:57 +0000 (03:34 +0200)
commit0cf6baa2d61ebaad2a2a0530c37f27e719b68f4b
tree33c67e6b261357b5bd4a180e13bb48d26da5ca16
parent3c54bd67dacc2a5d11246213377e804be364a387
Avoid using QSKIP in lieu of compile-time checks

QSKIP is intended to be used to skip test functions that are found at
run-time to be inapplicable or unsafe.  If a test function can be
determined to be inapplicable at compile-time, the entire test function
should be omitted instead of replacing the body of the test function
with a QSKIP, which only serves to slow down test runs and to inflate
test run-rates with empty, inapplicable tests.

Task-number: QTQAINFRA-278
Change-Id: I31e069f5476f8adf9851e94b33c6afac4394b88e
Reviewed-on: http://codereview.qt-project.org/5824
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/gui/kernel/qclipboard/tst_qclipboard.cpp
tests/auto/gui/kernel/qkeysequence/tst_qkeysequence.cpp
tests/auto/gui/painting/qpainter/tst_qpainter.cpp
tests/auto/gui/painting/qprinter/tst_qprinter.cpp
tests/auto/gui/painting/qprinterinfo/tst_qprinterinfo.cpp
tests/auto/gui/text/qfont/tst_qfont.cpp
tests/auto/gui/text/qfontdatabase/tst_qfontdatabase.cpp
tests/auto/gui/text/qtextlayout/tst_qtextlayout.cpp
tests/auto/gui/text/qtextscriptengine/tst_qtextscriptengine.cpp