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:
parent
876b2d06f7
commit
2395a3c897
@ -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.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user