diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-09-25 16:06:34 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-10-02 23:23:58 +0200 |
commit | b1cf188e83eb65c1be9da7d62f43bd802353ace3 (patch) | |
tree | 8b0b720fefa67d2c66be63ef5cf4ebfea039cef3 /src/corelib/itemmodels/qabstractitemmodel.cpp | |
parent | 63bbbdc4b8dba7be5690065dc6a4ffa5a85b1b32 (diff) |
Rework a test, eliminating some needless conversion via strings
The name toSecsSinceEpoch() gave no hint to the fact that the test
was, in fact, *also* testing round-tripping of the ISODateFormat.
Since there are other tests for string conversion, make this a simple
test of toSecsSinceEpoch().
It did the round-tripping via two methods with overly-terse names that
might just as well be local lambdas - now redundant, so removed.
Change-Id: I1e4fb1cc90224312c995596a8f3fe2bc5d9dfa15
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Andrei Golubev <andrei.golubev@qt.io>
Diffstat (limited to 'src/corelib/itemmodels/qabstractitemmodel.cpp')
0 files changed, 0 insertions, 0 deletions