Remove incorrect information from QCOMPARE documentation.
authorJason McDonald <jason.mcdonald@nokia.com>
Wed, 14 Dec 2011 06:23:43 +0000 (16:23 +1000)
committerQt by Nokia <qt-info@nokia.com>
Wed, 14 Dec 2011 08:27:04 +0000 (09:27 +0100)
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>
src/testlib/qtestcase.cpp

index 2ddb363..aee2257 100644 (file)
@@ -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.