diff options
author | Edward Welbourne <edward.welbourne@qt.io> | 2020-10-02 14:37:42 +0200 |
---|---|---|
committer | Edward Welbourne <edward.welbourne@qt.io> | 2020-10-06 06:31:18 +0200 |
commit | 978039651e23629b58f35b0c011a8ea76a5a774e (patch) | |
tree | 1e64b4eaa9f1a33b9c21003c8917e1e0bea1ee2c /LICENSE.LGPLv3 | |
parent | f0068e7b030c8a73f12e58ef9227aa68ba6388e5 (diff) |
Test end-date, not just its string representation, in QDTE test
In tst_QDateTimeEdit::dateEditCorrectSectionSize(), only the final
displayed date was tested; many of the tests checked day of week (by
name), which might well match despite actually selecting a different
date than the one intended. So test the date is as expected, too.
In the process, tidy up the code, give values more informative names,
turn a trivial static function into a lambda.
Change-Id: I0491159e9ee2f3cfdcf8a194c723be92c190c2a8
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'LICENSE.LGPLv3')
0 files changed, 0 insertions, 0 deletions