diff options
author | Jason McDonald <jason.mcdonald@nokia.com> | 2012-01-03 15:16:14 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-01-04 06:01:33 +0100 |
commit | 0afe9907149b94d8cc4600f1a2b23b99067d030f (patch) | |
tree | 5ba6a857b9676310e43cda641bad68c07be7982e /src/corelib/plugin/quuid.h | |
parent | 20f0196a2cddf6927c34d8e3a93ea7ca074c7a53 (diff) |
Avoid QCOMPARE outside test function in QSettings test.
QCOMPARE and friends should only be called in a test function. Instead
of calling QCOMPARE elsewhere, keep a count of the number of errors and
QCOMPARE that count with zero in the test function.
Change-Id: I9a264e91169a98c30980fdc04a3e45bfb0ca8063
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/corelib/plugin/quuid.h')
0 files changed, 0 insertions, 0 deletions