wxwidgets/tests
Vadim Zeitlin 8b2e010841 Stop using macro-based array in wxThread unit test
Use vector of unique_ptr instead.
2023-03-13 01:17:23 +01:00
..
any Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00
archive Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
arrays Add support for initializer_list to wx dynamic arrays 2023-03-07 17:41:05 +01:00
base64 Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
benchmarks Rebake after bakefile changes 2023-02-14 22:52:26 +01:00
cmdline Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
config Don't needlessly use wxScopedPtr in wxConfig unit test 2023-03-06 23:22:05 +01:00
controls Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
datetime Handle 'T' separator in wxDateTime::ParseDateTime() 2022-11-30 02:23:37 +01:00
drawing Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
events Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
exec Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
file Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00
filekind Initialize unused variable in FileKindTestCase to avoid a warning 2022-06-29 22:10:55 +02:00
filename Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
filesys Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
font Remove Mac workaround from wxFont unit test not needed any more 2023-02-07 10:59:54 +01:00
fontmap Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
formatconverter Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00
fswatcher Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
fuzz Fix harmless warning about multiline comment in fuzzer runner 2020-05-02 03:38:28 +02:00
geometry Add operator/(wxSize, double) 2021-11-20 22:06:28 +01:00
graphics Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
hashes Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
html Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
image Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
interactive Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
intl Show date format in locale pseudo-test too 2023-03-04 23:37:05 +01:00
lists Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
log Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
longlong Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
mbconv Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00
menu Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
misc Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
net Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
persistence Replace wxOVERRIDE and wxNOEXCEPT with override and noexcept 2022-10-15 18:10:45 +02:00
regex Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00
rowheightcache Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
scopeguard Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
sizers Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
streams Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
strings Better move constructor test 2023-02-05 13:09:08 +02:00
textfile Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00
thread Stop using macro-based array in wxThread unit test 2023-03-13 01:17:23 +01:00
toplevel Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
uris Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
validators Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
weakref Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
window Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
xlocale Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00
xml Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
allheaders.cpp Fix more -Wshorten-64-to-32 occurrences and test for them 2023-02-27 13:47:57 +01:00
allheaders.h Remove memory debugging/tracing support and all related options 2023-01-05 21:41:38 +01:00
asserthelper.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
asserthelper.h Move operator<<(std::ostream&, wxRect) overload to a header 2018-11-04 18:28:33 +01:00
descrip.mms Remove wxVector unit test 2022-10-11 00:48:00 +02:00
dummy.cpp
horse.ani
horse.bmp
horse.cur
horse.gif
horse.ico
horse.jpg
horse.pcx
horse.png
horse.pnm
horse.svg Add wxBitmapBundle::FromSVGFile() helper 2021-11-29 12:55:22 +00:00
horse.tga
horse.tif
horse.xpm Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00
makefile.gcc Rebake after bakefile changes 2023-02-14 22:52:26 +01:00
Makefile.in Rebake after bakefile changes 2023-02-14 22:52:26 +01:00
makefile.vc Rebake after bakefile changes 2023-02-14 22:52:26 +01:00
README.md Explain how to build the tests 2021-11-12 14:21:41 +01:00
runtests.bat Don't use "-t" option when running tests any longer 2017-11-02 01:53:29 +01:00
test.bkl Execute automated tests for wxPropertyGrid 2023-01-30 17:28:17 +01:00
test.cpp Optionally return Wine version from wxIsRunningUnderWine() 2022-12-01 01:30:27 +01:00
test.vcxproj Update to Catch v2 2022-10-18 18:39:13 +02:00
test.vcxproj.filters Remove wxVector unit test 2022-10-11 00:48:00 +02:00
test_gui.vcxproj Execute automated tests for wxPropertyGrid 2023-01-30 17:28:17 +01:00
test_gui.vcxproj.filters Execute automated tests for wxPropertyGrid 2023-01-30 17:28:17 +01:00
test_gui_vc14.sln Execute automated tests for wxPropertyGrid 2023-01-30 17:28:17 +01:00
test_gui_vc15.sln Execute automated tests for wxPropertyGrid 2023-01-30 17:28:17 +01:00
test_gui_vc16.sln Execute automated tests for wxPropertyGrid 2023-01-30 17:28:17 +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_vc16.sln Add MSVS 2019 solutions for the minimal sample and the tests 2021-08-24 17:12:06 +02:00
testableframe.cpp Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
testableframe.h Refactor code waiting for events in the test suite 2019-01-24 22:52:46 +01:00
testdata.conf Rename testdata.fc to testdata.conf 2021-12-10 17:26:49 +01:00
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 Stop using Catch::toString() 2022-10-18 18:39:13 +02:00
testprec.h Improve implementation of WX_ASSERT_FAILS_WITH_ASSERT_MESSAGE 2022-11-26 16:55:09 +01:00
testwindow.h Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
waitforpaint.h Simplify WaitForPaint::YieldUntilPainted() 2021-01-31 01:33:30 +01:00

Tests

This directory contains tests for the library and is mostly useful for the library developers. See the samples subdirectory for the examples that are more useful to the application developers using the library.

If you do work on the library itself and would like to modify an existing or add a new test, please see docs/contributing/how-to-write-unit-tests.md for more information.

This file also contains the instructions for running the tests if you'd just like to do it to confirm that the library works correctly.