qt6-bb10/tests/auto/corelib
Edward Welbourne 830fd1908b Add some more QDate::{start,end}OfDay() tests
While investigating an assertion failure I noticed that the existing
tests didn't even exercise these methods for local time or zone time.
Of course, we can't robustly test these time-specs, due to vagueries
of offset details and zone availability, but we can at least verify
that they return date-times on the specified date. Add a test-case for
the start of 1900, on which the assertions were first seen; it is the
earliest moment representable with tm_year >= 0, after all.

One of these tests fails on 6.2 but the fix for that (as opposed to
the the assertion) requires 6.3's improvements to the handling of
time_t's fuller range - too risky a change to pick back to 6.2.

Pick-to: 6.3
Task-number: QTBUG-99747
Change-Id: I98f5d7850a701972b2d8ea2ce203a2b3e7071354
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-02-02 19:36:43 +01:00
..
animation tst_qanimationgroup: fix memleaks 2022-01-05 08:22:00 +01:00
global Fix tst_qfloat16 run time error for INTEGRITY (tested on sa8115) 2022-01-30 00:02:38 +00:00
io Blacklist tst_QFileSystemWatcher::signalsEmittedAfterFileMoved on all Windows versions 2022-01-31 17:39:33 +01:00
itemmodels tst_QItemModel: fix memleaks 2022-01-05 08:22:00 +01:00
kernel Fix clang-cl build of tst_qobject 2022-02-02 15:09:22 +01:00
mimetypes Remove unused .qrc files 2022-01-17 23:17:01 +01:00
platform Android: Add runOnMainAndroidThread() under QNativeInterface 2021-05-26 23:24:11 +00:00
plugin QFactoryLoader: add setExtraSearchPath() (for QPA plugins' use) 2022-01-20 15:53:48 -08:00
serialization JSON: Further improve the duplicate handling in the parser 2022-01-21 00:53:49 +01:00
text QByteArray: fix isUpper/isLower 2022-01-25 15:29:20 +01:00
thread Add qt_internal_undefine_global_definition function 2022-02-02 16:45:37 +01:00
time Add some more QDate::{start,end}OfDay() tests 2022-02-02 19:36:43 +01:00
tools Add qt_internal_undefine_global_definition function 2022-02-02 16:45:37 +01:00
CMakeLists.txt Add tests for QAndroidApplication's sdkVersion and activity 2021-05-13 01:41:36 +03:00