wxwidgets/tests
Vadim Zeitlin 02ffdd16f6 Fix using WX_DECLARE_OBJARRAY() with pointer types
While this doesn't make, and never made, any sense (pointers should be
stored in a plain, non-object array), we still should continue to
support it for compatibility.

Fix the problem introduced by 97684a9267
by writing "T const&" instead of "const T&" as the latter didn't have
the same meaning when the macro parameter "T" expanded into "U*" as
"const" applied to "U", making this type incompatible with the actual
one.

Also extend the unit test to check for this.
2018-07-15 14:48:08 +02: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 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 Add unit test for wxTextCtrl::HitTest() for single line controls 2018-06-03 17:05:11 +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 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 Remove st_blocks hack from wxFile::Length() under Linux 2017-12-15 18:46:22 +01:00
filekind Factor out TempFile class and reuse it in other tests 2017-11-05 17:28:24 +01:00
filename Remove st_blocks hack from wxFile::Length() under Linux 2017-12-15 18:46:22 +01: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 Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +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 Fix HTML pagination test for high DPI values 2018-05-27 22:43:28 +02:00
image Fix image unit test compilation when wxUSE_GIF==0 2018-06-20 18:15:38 +02:00
interactive Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
intl Don't call static wxLocale::GetInfo() via an object 2017-12-10 03:28:18 +01:00
lists Make wxList iterators conform to input iterator requirements 2018-02-23 16:00:06 +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 Correct UTF-8 encoding of U+FFFF 2018-01-29 00:48:56 +01:00
menu Replace Connect() with Bind() in all samples and utils too 2018-05-31 16:19:23 +02: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
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 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 Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +02:00
strings Fix building tests with wxUSE_STL=1 and wxUSE_UNSAFE_WXSTRING_CONV=0 2018-02-08 10:05:21 +02:00
textfile Replace file reading code in wxTextFile with wxFile::ReadAll() 2017-12-15 18:46:22 +01:00
thread Work around Catch multi-thread unsafety 2017-11-02 01:53:25 +01:00
toplevel Enable running TLW activation unit tests in CI environments 2018-06-22 02:44:40 +02: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 Make wxVector reverse iterators conform to iterator requirements 2018-02-23 16:14:03 +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 Check for wxXLocale availability without using wxLocale 2017-12-09 14:17:34 +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 Update OpenVMS makefile for change from cppunit to catch 2017-11-30 12:23:02 +01: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 Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
makefile.gcc Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
Makefile.in Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
makefile.vc Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
runtests.bat Don't use "-t" option when running tests any longer 2017-11-02 01:53:29 +01:00
test.bkl Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
test.cpp Don't show dialogs from OnExceptionInMainLoop() in the tests 2018-01-14 02:25:51 +01: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
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_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 Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +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 Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
test_vc8_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 Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +02:00
test_vc9_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 Add unit test for current point of wxGraphicsPath 2018-07-02 20:08:30 +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
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 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 Include testdate.h before catch.hpp in unit tests 2017-12-02 14:38:19 +01:00