wxwidgets/tests
Vadim Zeitlin 543c522cb8 Explicitly disambiguate local time zone from UTC
Don't rely on time zone offset to check whether it is local as this
doesn't, and can't, work for the local time zone in Great Britain which
uses the same offset as UTC, but does use DST, unlike the latter.

Add a unit test (albeit disabled by default) checking that the code that
previously didn't work correctly in BST does work now (run the tests
using "TZ=Europe/London ./test wxDateTime-BST-bugs" under Unix to test).

Closes #14317, #17220.

See #10445.
2017-11-29 23:02:22 +01:00
..
any Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
archive Replace remaining std::auto_ptr<> with wxScopedPtr in the tests 2017-11-14 00:06:18 +01:00
arrays Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
base64 Fix comparison of size_t values with -1 in base 64 unit test 2017-11-23 02:02:19 +01:00
benchmarks Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
cmdline Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
config Fix harmless signed/unsigned comparison warnings in a test 2017-11-02 01:53:21 +01:00
controls Disable test for clicking URLs under AppVeyor 2017-11-25 11:13:02 +01:00
datetime Explicitly disambiguate local time zone from UTC 2017-11-29 23:02:22 +01:00
drawing Merge branch 'rmv_symbols_3' of https://github.com/catalinr/wxWidgets 2017-02-20 17:46:45 +01:00
events Disable wxPaintEvent propagation tests for wxGTK3 2017-11-07 16:37:25 +01:00
exec Avoid launching interactive programs in unattended tests 2017-11-05 17:16:39 +01:00
file Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
filekind Factor out TempFile class and reuse it in other tests 2017-11-05 17:28:24 +01:00
filename Fix wxMSW test build in UTF-8 and ANSI build 2017-06-22 02:04:50 +04:00
filesys Return valie file URLs from wxFileSystem::FileNameToURL() 2016-02-05 22:43:23 +01:00
font Consistently use "unsigned" and "%u" in font unit test 2017-11-24 22:55:11 +01:00
fontmap Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
formatconverter Fix FormatConverterTestCase for MinGW and Cygwin 2017-11-25 11:13:02 +01:00
fswatcher Fix harmless signed/unsigned comparison warnings in a test 2017-11-02 01:53:21 +01:00
fuzz Add a helper for running fuzz function with a single input 2017-10-28 15:12:14 +02:00
geometry Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
graphics Fix recently introduced crash in ClippingBoxTestCase 2017-11-14 00:41:31 +01:00
hashes Don't use gcc 4.8 workaround in the hash test with clang 2017-03-11 03:37:07 +01:00
html Avoid asserts when destroying windows with mouse capture in tests 2016-06-29 18:26:11 +02:00
image Fix rescaling image with wxIMAGE_QUALITY_BOX_AVERAGE 2017-11-23 00:36:46 +01:00
interactive Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
intl Strip mnemonics from CJK translations of menu items too 2016-06-26 18:36:11 +02:00
lists Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
log Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
longlong Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
mbconv Add subsections to MBConvTestCase::NonBMPCharTests() 2017-11-09 23:38:03 +01:00
menu Use HTTPS with Trac links. 2017-07-04 13:15:14 -06:00
misc Rewrite wxPathList unit test without CppUnit-compatible API 2017-11-25 16:08:01 +01:00
net Replace remaining std::auto_ptr<> with wxScopedPtr in the tests 2017-11-14 00:06:18 +01:00
regex Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
scopeguard Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
sizers Rename wxBoxSizer::m_minSize to avoid clash with the base class 2015-10-11 01:00:38 +02:00
streams Fix wxTextInputStream for input starting with BOM-like bytes 2017-11-09 23:49:59 +01:00
strings Show value if comparison fails in VarArgTestCase 2017-11-25 17:28:42 +01:00
textfile Use HTTPS with Trac links. 2017-07-04 13:15:14 -06:00
thread Work around Catch multi-thread unsafety 2017-11-02 01:53:25 +01:00
toplevel Skip wxTopLevelWindow showing/activation tests in CI builds 2017-11-25 11:13:02 +01:00
uris Don't run FTP unit test by default any longer 2017-11-22 22:48:05 +01:00
validators This statement that will cause segmentation fault before. Now it ok and enable it 2014-09-23 17:44:30 +00:00
vectors Fix building wxVector unit tests in STL build without C++11 2017-11-21 14:44:06 +01:00
weakref Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
window Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
xlocale Test for wxXLocale availability directly in the unit test 2017-11-25 17:28:42 +01:00
xml Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
asserthelper.cpp Replace anonymous namespace with a named one in the test helpers. 2014-07-14 19:17:12 +00:00
asserthelper.h Replace anonymous namespace with a named one in the test helpers. 2014-07-14 19:17:12 +00:00
descrip.mms Fixes for OpenVMS on IA64 2011-09-29 13:47:38 +00:00
dummy.cpp
horse.ani add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.bmp add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.cur add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.gif add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.ico add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.jpg add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.pcx add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.png add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.pnm add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.tga add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.tif add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.xpm Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00
makefile.bcc Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
makefile.gcc Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
Makefile.in Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
makefile.vc Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
runtests.bat Don't use "-t" option when running tests any longer 2017-11-02 01:53:29 +01:00
test.bkl Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test.cpp Recognize AppVeyor CI environment in unit tests 2017-11-25 11:13:02 +01:00
test.vcxproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test.vcxproj.filters Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_gui.vcxproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_gui.vcxproj.filters Use canonical format for MSVS project/solution files 2017-03-18 15:14:26 +01:00
test_gui_vc10.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui_vc11.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui_vc12.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui_vc14.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui_vc15.sln Add MSVS 2017 solution file for the tests 2017-03-11 17:55:08 +01:00
test_vc7_test.vcproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_vc7_test_drawing.vcproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_vc7_test_drawingplugin.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
test_vc7_test_gui.vcproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_vc8_test.vcproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_vc8_test_drawing.vcproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_vc8_test_drawingplugin.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
test_vc8_test_gui.vcproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_vc9_test.vcproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_vc9_test_drawing.vcproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_vc9_test_drawingplugin.vcproj Update to bakefile 0.2.11 and rebake everything 2017-10-21 17:42:30 +02:00
test_vc9_test_gui.vcproj Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
test_vc10.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test_vc11.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test_vc12.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test_vc14.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test_vc15.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
testableframe.cpp Show wxTestableFrame from its ctor 2016-02-27 02:41:18 +01:00
testableframe.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testdata.fc
testdate.h Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
testfile.h Factor out TempFile class and reuse it in other tests 2017-11-05 17:28:24 +01:00
testimage.h Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
testprec.h Disable tests using wxUIActionSimulator under non-MSW platforms 2017-11-05 17:51:55 +01:00