qt5base-lts/tests/auto
Edward Welbourne f881120fd0 Fix offset calculation to be valid at the correct time
tst_QLocale::macDefaultLocale() was determining local-time's current
offset from UTC and using it when working out what to expect the
offset at 1:2:3 today to be.  When a transition happens after 1:2:3 on
its day (which is usual for DST changes in Europe), this lead to using
the new offset to test a time before the transition; the test was thus
wrong and failed.

Use the time to be tested (and current date) to compute the offset to
use, instead of using the current date-time.

Change-Id: I1c02a5579bca859e1d1aeb4f45b24871a08287af
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2017-07-03 09:03:28 +00:00
..
android Updated license headers 2016-01-21 18:55:18 +00:00
bic/data Binary compatibility files for QtBase (5.8.0) 2017-02-14 12:42:20 +00:00
cmake tests: Unify license to GPL-EXCEPT 2017-04-03 07:18:46 +00:00
compilerwarnings/data Updated license headers 2016-01-21 18:55:18 +00:00
concurrent Adapt to the C++ SIC introduced by P0012: noexcept overloading 2017-02-17 13:57:30 +00:00
corelib Fix offset calculation to be valid at the correct time 2017-07-03 09:03:28 +00:00
dbus Add Q_FALLTHROUGH to QtDBus tests 2017-05-17 16:16:02 +00:00
gui Fix BMP ImageFormat for semi-transparent files 2017-07-03 07:41:56 +00:00
guiapplauncher Fix path to examples part of tst_GuiAppLauncher 2015-02-13 07:28:15 +00:00
installed_cmake Add a unit test for testing Qt in its install location. 2013-07-02 23:08:54 +02:00
network Remove remains of wince in .pro files 2017-07-03 05:32:51 +00:00
opengl Switch to RGB(A|X)8888[_Premultiplied] for QOpenGLFBO readbacks on GLES 2017-03-28 11:17:52 +00:00
other Ignore tst_macNativeEvents::testPushButtonPressRelease on macOS 10.11 2017-06-28 11:25:39 +00:00
printsupport tst_QPrinter: Run in temporary directory 2017-07-03 06:49:10 +00:00
shared Make self-contained test of condensed font matching and width 2016-10-16 00:11:13 +00:00
sql Stabilize tst_QSqlThread::readWriteThreading 2017-05-18 21:18:02 +00:00
testlib Fix tst_Selftest on QEMU 2017-03-31 07:09:46 +00:00
tools Moc: Don't error out when parsing namespace __identifier(...) 2017-06-19 07:32:18 +00:00
widgets macOS: Blacklist tst_QToolButton::task176137_autoRepeatOfAction() 2017-07-03 07:50:41 +00:00
xml Merge remote-tracking branch 'origin/5.7' into 5.8 2016-11-01 06:02:55 +01:00
auto.pro Remove remains of wince in .pro files 2017-07-03 05:32:51 +00:00
network-settings.h Merge remote-tracking branch 'origin/5.6' into 5.7 2016-05-06 15:36:44 +02:00