wxWidgets/tests
PB 295237882b Fix building benchmarks with gcc
GCC failed to compile bench.cpp due to DBL_MAX not being declared.

Fix this by including float.h.

Closes #22262.
2022-04-03 20:12:44 +02:00
..
any
archive
arrays Add tests for direction of search in arrays 2022-01-15 21:02:22 +02:00
base64
benchmarks Fix building benchmarks with gcc 2022-04-03 20:12:44 +02:00
cmdline
config
controls Handle the nodes duplication error in the DVC test 2022-03-25 00:55:37 +07:00
datetime Improve error reporting in wxDateTime unit tests 2022-03-28 00:56:19 +02:00
drawing
events
exec
file Use native CATCH macros in wxDir unit test 2021-08-22 21:35:14 +02:00
filekind
filename Fix build under OpenVMS where mkdtemp() is unavailable 2022-02-25 18:23:32 +01:00
filesys Replace old Trac links with GitHub ones 2022-01-13 16:52:58 +01:00
font
fontmap
formatconverter
fswatcher Show logs in case of Mkdir or Rmdir failures in wxFSW unit tests 2022-02-10 13:55:54 +00:00
fuzz
geometry Add operator/(wxSize, double) 2021-11-20 22:06:28 +01:00
graphics Use function, not class, in GetTextExtent() unit tests 2022-03-29 14:11:14 +01:00
hashes
html
image Replace old Trac links with GitHub ones 2022-01-13 16:52:58 +01:00
interactive Implement wxFSVolume for macOS 2021-12-01 23:35:19 +01:00
intl Add tests for wxLocaleIdent::FromTag() and FindLanguageInfo() 2022-04-02 16:45:20 +02:00
lists Add unit test for wxWindowList::Find() 2021-09-22 18:07:08 +02:00
log
longlong
mbconv Extract wxLocaleSetter from the tests into a private header 2021-08-07 18:04:22 +02:00
menu Replace old Trac links with GitHub ones 2022-01-13 16:52:58 +01:00
misc Fix comparing wxDataFormat with wxDF_INVALID in wxGTK 2022-03-23 13:43:44 +01:00
net Disable wxWebRequest tests using badssl.com 2022-04-01 15:27:24 +02:00
persistence
regex Fix harmless signed/unsigned warning in wxRegEx unit test 2022-02-10 13:36:49 +00:00
rowheightcache
scopeguard
sizers
streams Rename testdata.fc to testdata.conf 2021-12-10 17:26:49 +01:00
strings Add conversion to signed/unsigned int to wxString 2022-03-26 00:46:58 +01:00
textfile Remove checks for LXC containers used under Travis CI only 2021-07-15 19:55:01 +02:00
thread
toplevel
uris
validators Enable ValNum::Interactive test for MSW CI builds too 2022-03-23 18:48:35 +01:00
vectors
weakref
window Add test of setting size of the window client area 2021-08-08 21:42:38 +02:00
xlocale
xml Test environment variables in XRC bitmap paths 2022-02-02 10:56:51 +03:00
allheaders.cpp Check for most clang warnings in our headers in the test suite 2021-12-15 17:50:55 +01:00
allheaders.h
asserthelper.cpp
asserthelper.h
descrip.mms
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
makefile.gcc Rename testdata.fc to testdata.conf 2021-12-10 17:26:49 +01:00
Makefile.in Rebake after the year change 2022-01-14 22:51:24 +01:00
makefile.vc Use DPI aware manifests for MSVS 2022 too 2021-12-18 13:22:59 +01:00
README.md Explain how to build the tests 2021-11-12 14:21:41 +01:00
runtests.bat
test_gui_vc10.sln
test_gui_vc11.sln
test_gui_vc12.sln
test_gui_vc14.sln
test_gui_vc15.sln
test_gui_vc16.sln Add MSVS 2019 solutions for the minimal sample and the tests 2021-08-24 17:12:06 +02:00
test_gui.vcxproj Also remove mentions of amd64_dpi_aware_pmv2.manifest from the manually maintained MSVS projects 2021-12-17 22:00:42 +01:00
test_gui.vcxproj.filters Mark MSVS *.vcxproj.filters files as using CR LF as well 2021-11-24 12:13:12 +01:00
test_vc8_test_allheaders.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc8_test_drawing.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc8_test_drawingplugin.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc8_test_gui.vcproj Add a simple wxBitmapBundle unit test 2021-10-05 15:49:43 +01:00
test_vc8_test.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc9_test_allheaders.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc9_test_drawing.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc9_test_drawingplugin.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc9_test_gui.vcproj Add a simple wxBitmapBundle unit test 2021-10-05 15:49:43 +01:00
test_vc9_test.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc10.sln
test_vc11.sln
test_vc12.sln
test_vc14.sln
test_vc15.sln
test_vc16.sln Add MSVS 2019 solutions for the minimal sample and the tests 2021-08-24 17:12:06 +02:00
test.bkl Rename testdata.fc to testdata.conf 2021-12-10 17:26:49 +01:00
test.cpp Stop showing locale in the beginning of the unit test 2021-08-24 23:05:25 +02:00
test.vcxproj Also remove mentions of amd64_dpi_aware_pmv2.manifest from the manually maintained MSVS projects 2021-12-17 22:00:42 +01:00
test.vcxproj.filters Mark MSVS *.vcxproj.filters files as using CR LF as well 2021-11-24 12:13:12 +01:00
testableframe.cpp
testableframe.h
testdata.conf Rename testdata.fc to testdata.conf 2021-12-10 17:26:49 +01:00
testdate.h
testfile.h
testimage.h Fix using const char* and wxString in ternary operator 2022-01-03 21:20:23 +01:00
testprec.h Merge branch 'ui-locale' 2021-08-26 15:49:57 +02:00
testwindow.h
waitforpaint.h

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.