diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2022-08-03 15:57:08 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2022-08-04 20:39:52 +0200 |
commit | d1d43b231f4c7c5663cb49875c2e5876f352b564 (patch) | |
tree | 280181dbbf59f021bfdcd18e74186cd70d3ff0ea /src/widgets | |
parent | 4579ec04a4c4885aff83c08cc9445039ddcdf4fc (diff) |
Expand QDateTime edit constructor tests to cover Q(Date|Time)Edit
The constructor_qdate() and constructor_qtime() tests only tested
QDateTimeEdit with a QDate or QTime. Extend them to also test
QDateEdit and QTimeEdit constructors, respectively. This revealed one
surprise; the QDateEdit constructor doesn't replace an invalid QDate
with the usual start-date, as the QDateTimeEdit does. It also serves
to reproduce a bug reported in Qt 6.3, see Task-number. These are
all marked XFail for now.
Task-number: QTBUG-105322
Change-Id: Ifafb40a9b78d9314b74ca9a1710d362b9a3cb18d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'src/widgets')
0 files changed, 0 insertions, 0 deletions