testlib: Make verbose2 selftest use QCOMPARE as well as QVERIFY.
authorJason McDonald <jason.mcdonald@nokia.com>
Thu, 1 Mar 2012 05:14:18 +0000 (15:14 +1000)
committerQt by Nokia <qt-info@nokia.com>
Mon, 5 Mar 2012 04:32:03 +0000 (05:32 +0100)
commit0862d7f78af978cf513097b3bdc33cd8096dee75
tree64fd79f9b7611d117ef7f43bab52ebbf87a0b4a0
parent33f82d5b4e24885e4c6cad0a44e058b44d916e14
testlib: Make verbose2 selftest use QCOMPARE as well as QVERIFY.

The verbose output for QCOMPARE is not very helpful.  Make the verbose2
selftest (which reuses the counting selftest) demonstrate this, so that
a future commit can demonstrate improvement.

Change-Id: I6b3bc8f5199e984aa11d0a67b76a8c916be86380
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/testlib/selftests/counting/tst_counting.cpp
tests/auto/testlib/selftests/expected_counting.lightxml
tests/auto/testlib/selftests/expected_counting.txt
tests/auto/testlib/selftests/expected_counting.xml
tests/auto/testlib/selftests/expected_verbose1.lightxml
tests/auto/testlib/selftests/expected_verbose1.txt
tests/auto/testlib/selftests/expected_verbose1.xml
tests/auto/testlib/selftests/expected_verbose2.lightxml
tests/auto/testlib/selftests/expected_verbose2.txt
tests/auto/testlib/selftests/expected_verbose2.xml
tests/auto/testlib/selftests/expected_verbose2.xunitxml