qt5base-lts/tests/auto/corelib/tools
Mitch Curtis f29896840c Handle invalid dates properly for QDataStream versions < 5.
In Qt 5, when streaming an invalid QDate using a QDataStream version
earlier than Qt_5_0, QDate.jd is written and read as 0, which is an
invalid julian day for Qt versions earlier than 5.0. For Qt 5.0
however, 0 is a valid julian day, so when comparing a deserialised
invalid date (read using a QDataStream version < Qt_5_0) against a
default-constructed invalid date, they won't compare equal when they
should.

Task-number: QTBUG-26989

Change-Id: Ia76df493471f3b068c7d7187be20e3178eff2cc7
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-08-28 18:23:06 +02:00
..
qalgorithms Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qarraydata Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qbitarray Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qbytearray Fix tst_qbytearray on QNX 2012-08-15 15:19:55 +02:00
qbytearraymatcher Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qcache Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qchar Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qcontiguouscache Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qcryptographichash Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qdate Handle invalid dates properly for QDataStream versions < 5. 2012-08-28 18:23:06 +02:00
qdatetime Disregard milliseconds in QTime::secsTo(). 2012-08-21 11:05:20 +02:00
qeasingcurve Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qelapsedtimer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qexplicitlyshareddatapointer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qfreelist Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qhash Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qline Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qlist Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qlocale Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qmap Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qmargins Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qpair Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qpoint Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qpointf Do not consider sign in qIsNull. 2012-08-22 04:04:57 +02:00
qqueue Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qrect Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qregexp Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qregularexpression Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qringbuffer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qscopedpointer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qscopedvaluerollback Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qset Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qsharedpointer Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qsize Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qsizef Do not consider sign in qIsNull. 2012-08-22 04:04:57 +02:00
qstl Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstring Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstring_no_cast_from_bytearray Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstringbuilder Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstringlist Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstringmatcher Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qstringref Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtextboundaryfinder Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qtime Disregard milliseconds in QTime::secsTo(). 2012-08-21 11:05:20 +02:00
qtimeline Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qvarlengtharray Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qvector Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
tools.pro Improve QPoint and QPointF auto tests. 2012-07-11 14:52:17 +02:00