qt5base-lts/tests/auto/corelib/time
Edward Welbourne 92f0f99c23 Check validity before adding to a QDateTime
QDateTime's addDays(), addMonths() and addYears() neglected to check
for validity before doing their job, with the result that they could
produce "valid" (but wildly inappropriate) results if used on an
invalid date-time.  Added tests for this case (and the boundary).

Change-Id: I7b0d638501cb5d875a678cde213547a83ed7529e
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-10-09 01:11:20 +02:00
..
qcalendar CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
qdate Add unit test to check emoji handling in date-time parsing 2020-09-23 16:59:07 +02:00
qdatetime Check validity before adding to a QDateTime 2020-10-09 01:11:20 +02:00
qtime Allow millisecond-overflow when the result remains valid 2020-10-07 13:58:33 +00:00
qtimezone CMake: Regenerate projects to use new qt_internal_ API 2020-09-23 16:59:06 +02:00
CMakeLists.txt Update tests/auto/corelib/time/'s CMake config 2020-07-02 15:35:17 +02:00
time.pro Make qtbase compile without QT_CONFIG(timezone) 2020-05-11 14:42:00 +03:00