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>
This commit is contained in:
Jason McDonald 2011-12-14 16:23:43 +10:00 committed by Qt by Nokia
parent 876b2d06f7
commit 2395a3c897

View 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.