qt5base-lts/tests/auto/corelib/io/qdatastream
David Faure 1af4916e11 QTime: restore Qt3 compatibility in the QDataStream operators
A Qt5 program writing a null QTime() using setVersion(QDataStream::Qt_3_3),
and then a Qt3 program reading that, would lead to a weird QTime,
with isNull=false, isValid=false, hour=1193, minute=2, second=47, ms=295.

This commit restores interoperability, by writing out the expected value
(0) for a null QTime rather than the -1 value used by Qt4 and Qt5.

Change-Id: Icde468a8f6fc9434ef7018296725819b44d672af
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2016-07-02 08:13:44 +00:00
..
.gitignore Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
datastream.q42 Moving relevant tests to corelib/io 2011-08-31 10:08:38 +02:00
qdatastream.pro Android: Fix QDataStream test 2015-01-09 15:41:34 +01:00
testdata.qrc Android: Fix QDataStream test 2015-01-09 15:41:34 +01:00
tst_qdatastream.cpp QTime: restore Qt3 compatibility in the QDataStream operators 2016-07-02 08:13:44 +00:00