qt5base-lts/tests/auto/corelib/kernel/qvariant
Thiago Macieira 0a8b00b6ff Fix invalid QDataStream data for QDateTime
The stream in question is from prior to Qt 5.0 release, before
commit 718a2251be changed QDateTime
serialization format to store Qt::TimeSpec instead of the private
flag. The last byte was 0xff meaning LocalUnknown, but 0xff is
not valid in Qt 5.0.

It was just garbage that Qt up to now just accepted. With the upcoming
short QDateTime optimization, the results are worse.

Change-Id: I25d85d86649448d5b2b3fffd1450f57df17e7794
Reviewed-by: Jędrzej Nowacki <jedrzej.nowacki@theqtcompany.com>
2016-05-26 11:05:43 +00:00
..
stream Fix invalid QDataStream data for QDateTime 2016-05-26 11:05:43 +00:00
.gitignore Moving relevant tests to corelib/kernel 2011-09-01 12:42:14 +02:00
qvariant.pro Interpret precision == -128 as "shortest" double conversion 2015-11-23 14:13:34 +00:00
qvariant.qrc Cleanup mess in public type ids. 2012-01-25 21:08:08 +01:00
tst_qvariant.cpp Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-19 12:55:27 +02:00