wxWidgets/tests
Vadim Zeitlin 08e5acedcc Centralize backwards compatibility code in wxFont
Add wxFontBase::AccountForCompatValues() and use it in all ports instead
of redoing the same comparison with wxDEFAULT in all of them.

This is done not so much to avoid the code duplication, which was
minimal anyhow, but to make the code more clear and make it easier to
remove it from all ports at once in the bright (but remote) future when
we don't need these compatibility hacks any more.

Also document that wxDEFAULT and wxNORMAL are only handled specially in
the old-style ctor taking the individual font components and not the new
one using wxFontInfo and extend the unit test to check this.
2018-09-07 03:08:42 +02:00
..
any Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
archive Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
arrays Fix using WX_DECLARE_OBJARRAY() with pointer types 2018-07-15 14:48:08 +02:00
base64 Fix harmless warning in Base64 unit test 2017-12-09 14:15:37 +01:00
benchmarks Update version to 3.1.2 2018-02-20 00:08:01 +01: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 Test that wxTreeCtrl::DeleteAllItems() does send events 2018-08-14 17:50:28 +02:00
datetime Simplify wxDateTime ticks test by only using UTC times 2017-12-02 14:38:45 +01:00
drawing Merge branch 'rmv_symbols_3' of https://github.com/catalinr/wxWidgets 2017-02-20 17:46:45 +01:00
events Fix handling events from their items in submenu itself 2018-08-25 02:36:45 +02:00
exec Avoid launching interactive programs in unattended tests 2017-11-05 17:16:39 +01:00
file Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
filekind Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
filename Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
filesys
font Centralize backwards compatibility code in wxFont 2018-09-07 03:08:42 +02:00
fontmap
formatconverter Fix FormatConverterTestCase for MinGW and Cygwin 2017-11-25 11:13:02 +01:00
fswatcher Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02: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 Remove unused variable in graphpath test 2018-07-29 16:29:36 +02:00
hashes Don't use gcc 4.8 workaround in the hash test with clang 2017-03-11 03:37:07 +01:00
html Add wxHtmlContainerCell::Detach() 2018-08-25 21:16:55 +02:00
image Fix image unit test compilation when wxUSE_GIF==0 2018-06-20 18:15:38 +02:00
interactive Fix type casts and invalid format specifiers in interactive tests 2018-07-29 16:29:35 +02:00
intl Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
lists Make wxList iterators conform to input iterator requirements 2018-02-23 16:00:06 +01:00
log Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
longlong
mbconv Correct UTF-8 encoding of U+FFFF 2018-01-29 00:48:56 +01:00
menu Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
misc Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
net Replace remaining std::auto_ptr<> with wxScopedPtr in the tests 2017-11-14 00:06:18 +01:00
persistence Fix saving/restoring window position for maximized windows 2018-04-29 20:35:44 +02:00
regex Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
scopeguard
sizers Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
streams Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
strings Fix printf tests for recent MinGW versions 2018-08-02 21:10:20 +02:00
textfile Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
thread Fix type cast warning in thread test 2018-07-29 16:29:36 +02:00
toplevel Enable running TLW activation unit tests in CI environments 2018-06-22 02:44:40 +02:00
uris Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
validators Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
vectors Make wxVector reverse iterators conform to iterator requirements 2018-02-23 16:14:03 +01:00
weakref
window Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
xlocale Check for wxXLocale availability without using wxLocale 2017-12-09 14:17:34 +01:00
xml Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
asserthelper.cpp
asserthelper.h
descrip.mms Update OpenVMS makefile for change from cppunit to catch 2017-11-30 12:23:02 +01:00
dummy.cpp
horse.ani
horse.bmp
horse.cur
horse.gif
horse.ico
horse.jpg
horse.pcx
horse.png
horse.pnm
horse.tga
horse.tif
horse.xpm
makefile.bcc Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
makefile.gcc Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
Makefile.in Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
makefile.vc Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
runtests.bat Don't use "-t" option when running tests any longer 2017-11-02 01:53:29 +01:00
test_gui_vc10.sln
test_gui_vc11.sln
test_gui_vc12.sln
test_gui_vc14.sln
test_gui_vc15.sln Add MSVS 2017 solution file for the tests 2017-03-11 17:55:08 +01:00
test_gui.vcxproj Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
test_gui.vcxproj.filters Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02: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 Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
test_vc7_test.vcproj Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +02: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 Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
test_vc8_test.vcproj Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +02: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 Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
test_vc9_test.vcproj Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +02: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
test.bkl Move wxAdv library contents into wxCore 2018-08-27 21:13:04 +02:00
test.cpp Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
test.vcxproj Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +02:00
test.vcxproj.filters Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +02:00
testableframe.cpp
testableframe.h
testdata.fc
testdate.h Include testdate.h before catch.hpp in unit tests 2017-12-02 14:38:19 +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 Fix printf tests for recent MinGW versions 2018-08-02 21:10:20 +02:00