qt5base-lts/tests/auto
Edward Welbourne 0ad4f86729 Purge QRegExp use in QDateTime's rfcDateImpl()
Replace with a parser which actually does the job right, fixing
various infelicities in the parsing in the process.
Make the parser strict about formatting.

Adjusted tests to match. Fixed some QTime invalidity tests to each
test only one invalidity at a time (the invalid year and day tests
also used an invalid month).

[ChangeLog][QtCore][QDateTime] The parser for the Qt::RFC2822Date
format is now stricter, requiring the text to exactly match the form
of one of the relevant formats. A valid date or time will still be
parsed, even if the other part of the content is invalid, as long as
it (and any offset, if present) has the right form. In particular, the
parser now rejects texts with trailing cruft (other than space).

Fixes: QTBUG-80038
Change-Id: Id25675afd75f82f6351f20e79f0154f3ceda35ac
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2020-02-27 10:48:25 +01:00
..
bic/data Add binary compatibility files for qtbase 5.14 branch 2019-12-20 10:41:11 +02:00
cmake CMake: Add support for auto-importing plugins in CMake 2019-08-12 18:23:58 +02:00
concurrent Remove QLinkedList 2020-02-19 21:01:07 +01:00
corelib Purge QRegExp use in QDateTime's rfcDateImpl() 2020-02-27 10:48:25 +01:00
dbus New QMetaType representation 2020-02-20 16:11:02 +01:00
gui Prepare QGuiAction::checked property for declarative use 2020-02-26 22:02:20 +01:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
opengl Post Merge Fixes 2020-01-24 12:29:18 +00:00
other Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
printsupport Regenerate projects one last time before merge 2020-02-12 17:30:49 +00:00
shared QWindowsFontDatabase: Check preferred family names for all fonts 2019-11-29 09:31:21 +01:00
sql Merge "Merge remote-tracking branch 'origin/wip/cmake' into dev" 2020-02-14 14:55:04 +01:00
testlib Normalize types at compile time 2020-02-20 16:11:02 +01:00
tools Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
widgets Merge remote-tracking branch 'origin/5.15' into dev 2020-02-26 18:39:21 +01:00
xml Merge remote-tracking branch 'origin/dev' into merge-dev 2020-01-24 13:17:33 +01:00
auto.pro Disable tests with qemu-arm & developer-build configurations in the CI 2019-10-03 15:12:33 +00:00
CMakeLists.txt Relax rules about not having dbus session 2020-01-27 13:09:40 +00:00
network-settings.h Merge remote-tracking branch 'origin/5.14' into 5.15 2020-02-18 09:26:53 +01:00