From 2395a3c897272b5fd265831575ef7e29f604dac2 Mon Sep 17 00:00:00 2001 From: Jason McDonald Date: Wed, 14 Dec 2011 16:23:43 +1000 Subject: 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 --- src/testlib/qtestcase.cpp | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/testlib/qtestcase.cpp') 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. -- cgit v1.2.3