Prefer compile-time checks to QSKIP.
authorJason McDonald <jason.mcdonald@nokia.com>
Wed, 26 Oct 2011 05:37:01 +0000 (15:37 +1000)
committerQt by Nokia <qt-info@nokia.com>
Thu, 27 Oct 2011 09:14:21 +0000 (11:14 +0200)
commit1bc8f124b8c45daa391205eef12746a64473c8f9
tree7063a63a6a72e09fa5fdab7b3c2b2aee85bbb0ad
parentc9bc2a6fda97ef883981d0bd2bef09b9c54d728f
Prefer compile-time checks to QSKIP.

Qt has compile-time defines for determining the presence of each style
in the build.  Use these to exclude inapplicable test data instead of
including all test data and then being unable to distinguish the absence
of a style from regressions in QStyleFactory.

Change-Id: Iab1756aec80892a8b587bb635779537c64b1d4dd
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/widgets/widgets/qpushbutton/tst_qpushbutton.cpp