wxWidgets/tests
Vadim Zeitlin b88d5e08ce Fix adding pages without associated window to wxTreebook
wxTreebook is supposed to allow not specifying any valid window for the
top-level pages, but this didn't work any longer, probably since the
changes of 02a92e23f3 (see #4379), as a
possibly null page was dereferenced without checking, resulting in a
crash.

Fix this by adding a missing check.

Also rename DoGetNonNullPage() to TryGetNonNullPage() to make it more
clear that this function can return null and add a unit test checking
that calling AddPage(NULL) really works (or at least doesn't crash).

See https://github.com/wxWidgets/wxWidgets/pull/921
2018-09-18 00:33:59 +02:00
..
any
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 Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
cmdline
config
controls Fix adding pages without associated window to wxTreebook 2018-09-18 00:33:59 +02:00
datetime Simplify wxDateTime ticks test by only using UTC times 2017-12-02 14:38:45 +01:00
drawing
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 Add simple unit tests for the new wxFont features 2018-09-17 15:24: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
geometry
graphics Remove unused variable in graphpath test 2018-07-29 16:29:36 +02:00
hashes
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
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 Introduce MSW ARM64 support 2018-09-17 22:34:32 +02:00
runtests.bat
test_gui_vc10.sln Remove references to "adv" library from MSVS 201x test projects 2018-09-13 20:56:54 +02:00
test_gui_vc11.sln Remove references to "adv" library from MSVS 201x test projects 2018-09-13 20:56:54 +02:00
test_gui_vc12.sln Remove references to "adv" library from MSVS 201x test projects 2018-09-13 20:56:54 +02:00
test_gui_vc14.sln Remove references to "adv" library from MSVS 201x test projects 2018-09-13 20:56:54 +02:00
test_gui_vc15.sln Remove references to "adv" library from MSVS 201x test projects 2018-09-13 20:56:54 +02:00
test_gui.vcxproj Remove references to "adv" library from MSVS 201x test projects 2018-09-13 20:56:54 +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
test_vc7_test_drawingplugin.vcproj
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
test_vc8_test_drawingplugin.vcproj
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
test_vc9_test_drawingplugin.vcproj
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
testprec.h Fix printf tests for recent MinGW versions 2018-08-02 21:10:20 +02:00