qt5base-lts/tests/auto/corelib
Edward Welbourne e325bd68fd Catch overflow in QDateTime::fromSecsSinceEpoch()
It's documented to be undefined if the number of seconds is outside
the allowed range, but it doesn't hurt for that undefined behavior to
happen to be that the result is invalid. Added a simple test.

Change-Id: I20c3f680c7948b3904f213452272133be77e4d62
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-05-08 09:51:24 +02:00
..
animation Merge remote-tracking branch 'origin/5.15' into dev 2020-03-16 18:41:27 +01:00
codecs Clean up memory 2020-04-17 11:24:35 +02:00
global CMake: Fix build of qlogging test on MinGW 2020-04-30 10:13:22 +02:00
io Handle disk full situations by skipping QFile::moveToTrash test 2020-05-07 14:27:17 +02:00
itemmodels Remove QRegExp support from QSortFilterProxyModel 2020-04-15 14:38:40 +02:00
kernel Fix crash when using QProperty<T>::setBinding(Functor ...) 2020-04-30 19:39:42 +02:00
mimetypes QtConcurrent::run: accept more then five function's arguments 2020-03-11 14:46:25 +01:00
plugin Change qHash() to work with size_t instead of uint 2020-04-09 20:03:25 +02:00
serialization Remove Perforce commands from setupSuite.sh 2020-05-05 12:24:38 -07:00
statemachine Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
text Move a test of QLocale's methods out of tst_QDateTime 2020-05-08 09:50:24 +02:00
thread QFuture: the result type doesn't have to be a default-constructible 2020-04-23 17:09:52 +02:00
time Catch overflow in QDateTime::fromSecsSinceEpoch() 2020-05-08 09:51:24 +02:00
tools QChar: make std::hash'able 2020-05-05 18:58:26 +02:00
.prev_CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
CMakeLists.txt cmake: Remove APPLE prefix from platform names 2020-03-16 17:57:56 +01:00
corelib.pro Move text-related code out of corelib/tools/ to corelib/text/ 2019-07-10 17:05:30 +02:00