qt6-bb10/tests/auto/corelib
Edward Welbourne 4408d077ac Address problems with date-time parsing near bounds
Document the limited range of datetimes that can be parsed from
strings and the (awkward) consequence of the range bounds being
specified in local time.

Add tests for UTC hitting those bounds and QEXPECT_FAIL() the ones
that (as the new docs say they may) fail. Technically the fact that
the UTC:min one *doesn't* fail is evidence of a bug in the existing
date-time parser. Its replacement should support unbounded parsing.

Pick to 6.8 required removing a QEXPECT_FAIL() specific (on MS) to the
std::chrono::tzdb backend, which isn't present before 6.9.

Fixes: QTBUG-129287
Task-number: QTBUG-77948
Pick-to: 6.5
Change-Id: Ic90558f1a06a62f7d0a947e37802370d1ab4e373
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 3e25203d4d5ba428309e972367dbdf99c4e70327)
2024-10-22 18:53:18 +02:00
..
animation Change license for tests files 2024-02-04 09:56:42 +01:00
global Tests: suppress has_denorm deprecation 2024-09-06 14:38:21 +00:00
io QAbstractFileEngine: remove beginEntryList(QDir::Filters) 2024-10-19 10:09:37 +00:00
ipc ipctestcommon.h: port away from qsnprintf() 2024-07-30 16:47:32 +00:00
itemmodels QConcatenateTablesProxyModel: react to row and column moves 2024-09-13 17:44:05 +00:00
kernel QTranslator: rewrite loadLocale test, include failing cases 2024-10-10 11:21:41 +00:00
mimetypes Update tika-mimetypes.xml from upstream 2024-08-29 04:16:36 +00:00
platform Android: Add tests for QtAbstractListModel 2024-09-19 17:54:39 +00:00
plugin QUuid: restore sorting order of Qt < 6.8 2024-10-22 13:15:24 +00:00
serialization Tests: suppress has_denorm deprecation 2024-09-06 14:38:21 +00:00
text Remove a duplicate inclusion of qlocale_data_p.h 2024-10-14 17:15:03 +02:00
thread QThreadPool: fix regression with negative expiryTimeout 2024-10-15 12:45:00 +00:00
time Address problems with date-time parsing near bounds 2024-10-22 18:53:18 +02:00
tools QFreeList: return timer IDs with the serial included 2024-10-19 06:50:26 +00:00
CMakeLists.txt tests: Remove remains of qmake conversion from CMakeLists.txt files 2023-02-17 21:56:49 +01:00