qt5base-lts/tests/auto/widgets
Edward Welbourne 4579ec04a4 Simplify the data tables for some QDateTimeEdit constructor tests
It makes no sense to pass, as parameters, values that can't vary
between test data rows, so eliminate m{in,ax}imum{Dat,Tim}e
columns. There were no parameters used to control how those would be
set, so they were always going to be the type's defaults.

The displayDateTime was only needed for the invalid test, in which its
value is known and fixed; for the normal test it was necessarily
implied by the parameter used to initialize the QDateTimeEdit. While
the QDate and QTime tests do have to supplement that construction
information, the other part is again known and fixed. We can check the
data-tag against "invalid" to determine which known and fixed data to
use, saving the need for a data table column.

Change-Id: I3754ba1a6a127a4a872a7f4a3e7edad9a5ff0ec0
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2022-08-04 20:39:52 +02:00
..
dialogs Add license headers to cmake files 2022-08-03 17:14:55 +02:00
effects Add license headers to cmake files 2022-08-03 17:14:55 +02:00
graphicsview Add license headers to cmake files 2022-08-03 17:14:55 +02:00
itemviews Add license headers to cmake files 2022-08-03 17:14:55 +02:00
kernel QtBase: Windows: Replace some deprecated API usages 2022-08-03 23:24:21 +08:00
styles Add license headers to cmake files 2022-08-03 17:14:55 +02:00
util Add license headers to cmake files 2022-08-03 17:14:55 +02:00
widgets Simplify the data tables for some QDateTimeEdit constructor tests 2022-08-04 20:39:52 +02:00
CMakeLists.txt Add license headers to cmake files 2022-08-03 17:14:55 +02:00