qt6-bb10/tests/auto/corelib/tools/qdatetime
Edward Welbourne 2aec5c9b34 Package transient zone setting in test to ensure restore on fail
tst_QDateTime::operator_insert_extract() was setting the time-zone and
taking care to restore it at the end of the test; however, if the test
were to fail, the restore would be skipped.  Package the zone-setting
and restore in a class instance, so that premature return can't bypass
the restore.

Change-Id: I3df63260da17e481ef4d0d107d9f0fdea3e147e7
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
2017-02-15 13:48:37 +00:00
..
.gitignore
qdatetime.pro Tests: Remove CONFIG += parallel_test. 2015-09-05 07:16:50 +00:00
tst_qdatetime.cpp Package transient zone setting in test to ensure restore on fail 2017-02-15 13:48:37 +00:00
tst_qdatetime_mac.mm Round to nearest millisecond in QDateTime::fromCFDate() 2016-10-02 13:07:18 +00:00