Improve QStringList test in cmptest selftest.
authorJason McDonald <jason.mcdonald@nokia.com>
Tue, 13 Dec 2011 08:20:36 +0000 (18:20 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Dec 2011 01:40:31 +0000 (02:40 +0100)
commitd939dd8791134a41d36196213f463660a1c87421
tree7ef5ef21b26a5b906bee49e49d336aa1ea64122e
parent4a233f9a9017418d0d95a94b0a1b25c8e338da91
Improve QStringList test in cmptest selftest.

The old test only verified the behaviour of QCOMPARE when comparing
lists that were different.  Add data rows for comparing empty lists and
non-empty lists that are equal.

Note that testlib currently does not report passing data rows (only
failing rows and completely passing test functions), so the new data
rows do not cause any change in the expected test output.

Change-Id: I137650ce0ca6250cee36bd9cb74b01f8abd4e89c
Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
tests/auto/testlib/selftests/cmptest/tst_cmptest.cpp