qt5base-lts/tests/auto
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
..
cmake Exclude the qplatformdefs CMake test on Windows. 2012-08-18 10:55:47 +02:00
compilerwarnings/data Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
concurrent Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
corelib Handle invalid dates properly for QDataStream versions < 5. 2012-08-28 18:23:06 +02:00
dbus Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
gui Make letter spacing APIs in QTextFormat more consistent 2012-08-27 10:58:03 +02:00
guiapplauncher Update the documentation after moving examples. 2011-07-05 21:19:08 +02:00
network Doc: Fix spelling errors 2012-08-17 22:45:27 +02:00
opengl Remove some dead code wrapped in Q_WS_QWS. 2012-08-03 11:24:28 +02:00
other Fix some warnings in tests. 2012-08-28 17:07:15 +02:00
printsupport Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
shared Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
sql Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
testlib Make QSignalSpy copy QVariant parameters directly 2012-08-07 11:15:55 +02:00
tools moc: test slots marked final/override in various ways 2012-08-26 14:29:52 +02:00
widgets Fix some warnings in tests. 2012-08-28 17:07:15 +02:00
xml Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
auto.pro tests: fixed check for QtOpenGL 2012-07-30 06:06:12 +02:00
network-settings.h Fix auto tests build with gcc 4.7 2012-05-23 00:42:20 +02:00
platformquirks.h Remove #ifdef Q_WS_ / include / #endif conditionals. 2012-07-16 16:30:55 +02:00
test.pl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00