diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2021-02-24 13:30:40 +0100 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2021-03-05 16:11:26 +0100 |
commit | 33ffc27834759e74fc0446ceb7d26a011dccdf41 (patch) | |
tree | 5ddd692305e0510cb70a0e52f1bcb6acc9657e74 /cmake | |
parent | bcedeb6d3d8e0e72aac16acbc519d09aa99f23fd (diff) |
Add more QDateTime test-cases close to the epoch
The prior tst_QDateTime::setMSecsSinceEpoch(-1) testcase was the last
millisecond of 1969; which (deep in the relevant function) actually
uses time_t 0 (with the -1 ms offset taken aside to be put back
later); so add the matching -1 second test. At the same time, add +1ms
and +1s checks for symmetry.
Change-Id: Ib487305f6ad81b55563ea59926cae13fb1fde592
Reviewed-by: Andreas Buhr <andreas.buhr@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'cmake')
0 files changed, 0 insertions, 0 deletions