qt5base-lts/tests/auto/corelib/time
Edward Welbourne da7f4a4c76 Replace a constant with a predicate function using it
Rather than naming a "GMT" string so as to repeatedly test whether a
date-time's string representation ends in it, use a simple lambda to
do the test, so that the string is only used in one place anyway.
Makes the test code more readable.

Change-Id: I5afad9ad5d58702bea7f24e5e5688ea4d738ae0d
Reviewed-by: Mårten Nordheim <marten.nordheim@qt.io>
2020-07-01 16:00:34 +02:00
..
qcalendar Merge remote-tracking branch 'origin/5.15' into dev 2020-02-13 18:31:40 +01:00
qdate Use ranged for loops in place of foreach in QTimeZone tests 2020-06-23 16:59:45 +02:00
qdatetime Replace a constant with a predicate function using it 2020-07-01 16:00:34 +02:00
qtime Use ranged for loops in place of foreach in QTimeZone tests 2020-06-23 16:59:45 +02:00
qtimezone Use ranged for loops in place of foreach in QTimeZone tests 2020-06-23 16:59:45 +02:00
CMakeLists.txt Regenerate qtbase after wip/qt6 -> wip/cmake merge 2019-10-14 08:49:24 +00:00
time.pro Make qtbase compile without QT_CONFIG(timezone) 2020-05-11 14:42:00 +03:00