Split subtest selftest
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 20 Sep 2011 01:56:31 +0000 (11:56 +1000)
committerQt by Nokia <qt-info@nokia.com>
Tue, 20 Sep 2011 06:46:18 +0000 (08:46 +0200)
commit01ece201ab08804c4ab226a39f1e1885aeaae0bd
tree9df4c2416e4470f30b62d112f822d882f0fafc64
parentd60007744bbc1cd90dcf97461a5b2fb237a82d17
Split subtest selftest

This test was attempting to verify two completely unrelated things, so
this commit splits it into two tests.

Also, printf calls are replaced by qDebug so that the test does not
bypass the testlib loggers.

Change-Id: I1a202af38ce2c69690a32d93405ba604ec6cabee
Reviewed-on: http://codereview.qt-project.org/5178
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
14 files changed:
tests/auto/testlib/selftests/expected_float.lightxml [new file with mode: 0644]
tests/auto/testlib/selftests/expected_float.txt [new file with mode: 0644]
tests/auto/testlib/selftests/expected_float.xml [new file with mode: 0644]
tests/auto/testlib/selftests/expected_float.xunitxml [new file with mode: 0644]
tests/auto/testlib/selftests/expected_subtest.lightxml
tests/auto/testlib/selftests/expected_subtest.txt
tests/auto/testlib/selftests/expected_subtest.xml
tests/auto/testlib/selftests/expected_subtest.xunitxml
tests/auto/testlib/selftests/float/float.pro [new file with mode: 0644]
tests/auto/testlib/selftests/float/tst_float.cpp [new file with mode: 0644]
tests/auto/testlib/selftests/selftests.pro
tests/auto/testlib/selftests/selftests.qrc
tests/auto/testlib/selftests/subtest/tst_subtest.cpp
tests/auto/testlib/selftests/tst_selftests.cpp