qt5base-lts/tests/auto/corelib
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
..
animation Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
codecs ICU: Fix crash in codecForMib(2107) 2012-08-23 11:20:37 +02:00
global Do not consider sign in qIsNull. 2012-08-22 04:04:57 +02:00
io QUrl: port thread-safety autotest from Qt4. 2012-08-26 11:08:42 +02:00
itemmodels Emit layoutChange signals when changing QPersistentModelIndexes. 2012-08-18 08:34:53 +02:00
json Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
kernel Remove QWidgetStar. 2012-08-18 10:55:47 +02:00
mimetypes Remove more -Werror from any test other than headersclean. 2012-08-07 23:27:17 +02:00
plugin Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
statemachine statemachine: Really fix signal transition handling in multi-threaded setup 2012-08-08 14:13:53 +02:00
thread tst_QMutex: add markers to the tryLock tests 2012-08-23 11:20:37 +02:00
tools Handle invalid dates properly for QDataStream versions < 5. 2012-08-28 18:23:06 +02:00
xml A few more random documentation fixes 2012-08-23 02:55:17 +02:00
corelib.pro Import QMimeType / QMimeDatabase into QtCore. 2012-02-18 22:19:43 +01:00