testlib: Add selftests for -v1 and -v2 command-line switches.
authorJason McDonald <jason.mcdonald@nokia.com>
Thu, 1 Mar 2012 01:01:49 +0000 (11:01 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 2 Mar 2012 00:06:22 +0000 (01:06 +0100)
commit123eb803ef1a7af36eefdf9a668f1f29d6597f1d
tree28dc8275af863eb711f370c2cbf46209d3c87655
parent51296085b9d96b131d1f095dd2cfe61745c07ef3
testlib: Add selftests for -v1 and -v2 command-line switches.

These tests don't have their own source code but rather reuse the
counting selftest with additional command-line options.

Note that currently the -v1 switch only changes the plain text output,
and the expected xml output is identical to that of the counting test.
This may change in the future however.

This commit also restores a couple of lists to alphabetical order, where
the findtestdata selftest was not sorted into the list correctly.

Change-Id: Ie38e255f8029157b34162b3864b5fa66e137d74a
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
13 files changed:
tests/auto/testlib/selftests/expected_verbose1.lightxml [new file with mode: 0644]
tests/auto/testlib/selftests/expected_verbose1.txt [new file with mode: 0644]
tests/auto/testlib/selftests/expected_verbose1.xml [new file with mode: 0644]
tests/auto/testlib/selftests/expected_verbose1.xunitxml [new file with mode: 0644]
tests/auto/testlib/selftests/expected_verbose2.lightxml [new file with mode: 0644]
tests/auto/testlib/selftests/expected_verbose2.txt [new file with mode: 0644]
tests/auto/testlib/selftests/expected_verbose2.xml [new file with mode: 0644]
tests/auto/testlib/selftests/expected_verbose2.xunitxml [new file with mode: 0644]
tests/auto/testlib/selftests/selftests.pri
tests/auto/testlib/selftests/selftests.qrc
tests/auto/testlib/selftests/tst_selftests.cpp
tests/auto/testlib/selftests/verbose1/verbose1.pro [new file with mode: 0644]
tests/auto/testlib/selftests/verbose2/verbose2.pro [new file with mode: 0644]