summaryrefslogtreecommitdiffstats
path: root/src/testlib
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2011-12-14 16:23:43 +1000
committerQt by Nokia <qt-info@nokia.com>2011-12-14 09:27:04 +0100
commit2395a3c897272b5fd265831575ef7e29f604dac2 (patch)
tree501c4c064046bcef44cd31b18da0cf8ee61f2af4 /src/testlib
parent876b2d06f7ef999d5266dba1097ab06b7a035799 (diff)
Remove incorrect information from QCOMPARE documentation.
The documentation stated that QStringList objects would be compared starting from the end of the lists. The implementation in qtest.h actually starts at the beginning of the list, and always has done since qtestlib became part of Qt. Change-Id: I056f584564d46402ba23fc6a89c801cb5c3c6262 Reviewed-by: Rohan McGovern <rohan.mcgovern@nokia.com>
Diffstat (limited to 'src/testlib')
-rw-r--r--src/testlib/qtestcase.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/testlib/qtestcase.cpp b/src/testlib/qtestcase.cpp
index 2ddb363888..aee225742a 100644
--- a/src/testlib/qtestcase.cpp
+++ b/src/testlib/qtestcase.cpp
@@ -148,9 +148,6 @@ QT_BEGIN_NAMESPACE
unspecified behavior from being introduced; that is behavior that usually
occurs when the compiler implicitly casts the argument.
- If you use QCOMPARE() to compare two QStringList objects, it will start
- comparing the objects from the end of the lists.
-
For your own classes, you can use \l QTest::toString() to format values for
outputting into the test log.