wxwidgets/tests
Scott Talbert 1622a5c9c2 Fix WebView tests with WebKitGTK 2.43+
It seems that WebKitGTK is now failing to navigate to about: URLs unless
they are about:blank or about:srcdoc, so use about:srcdoc as the
alternate URL to fix the WebView tests.

Ref: 3c3163e71f
2024-02-01 20:56:32 -05:00
..
any Avoid using implicit assignment operator in wxAny test 2023-07-04 02:08:32 +02:00
archive Define wxArchiveIterator in all builds, not just STL one 2023-04-09 02:33:22 +02:00
arrays Also add wxObjArray::swap() for consistency with the other arrays 2024-01-21 00:01:54 +01:00
base64 Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
benchmarks Remove all blank "Modified by:" lines from top comment blocks 2023-10-22 01:22:48 +02: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 Fix WebView tests with WebKitGTK 2.43+ 2024-02-01 20:56:32 -05:00
datetime Add support for %F (ISO 8601 date) format specifier to wxDateTime 2023-12-30 17:01:19 +01:00
drawing Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
events Fix or skip other failures in the tests under wxQt 2023-11-01 00:39:19 +01:00
exec Avoid failures in wxKill() unit tests under Windows 11 2023-04-01 19:14:18 +02:00
file Fix test suite on Linux/s390x and maybe other architectures 2024-01-09 02:38:43 +01:00
filekind Initialize unused variable in FileKindTestCase to avoid a warning 2022-06-29 22:10:55 +02:00
filename Fix test suite on Linux/s390x and maybe other architectures 2024-01-09 02:38:43 +01:00
filesys Add wxFileSystemHandler for "data" scheme 2023-12-18 22:19:11 +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 compound operators * and / to wxPoint and wxRealPoint 2024-01-05 19:34:43 +01:00
graphics Update nanosvg to the latest upstream version 2024-01-19 21:17:43 +01:00
hashes Define explicit copy ctor for classes with assignment operator 2023-07-04 01:29:51 +02:00
html Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
image Fix crash when reading truncated GIF image 2023-07-02 18:06:03 +01:00
interactive Add wxStandardPaths::GetSharedLibrariesDir() 2024-01-28 18:41:20 +01:00
intl Return true from AddCatalog() if message ID matches language 2023-11-07 15:11:26 +01:00
lists Replace some occurrences of wxUSE_STL with wxUSE_STD_CONTAINERS 2023-04-15 15:14:41 +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 Fix or skip other failures in the tests under wxQt 2023-11-01 00:39:19 +01:00
misc Fix DynamicLibrary::Load() test for less common platforms 2023-08-24 02:49:31 +02:00
net Fix typo in "receive" occurring a few times 2023-12-27 02:56:20 +01:00
persistence Use WaitFor() and new YieldForAWhile() helpers in the tests 2023-10-02 15:10:36 +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 Update wxMemoryInputStream::Peek to set last read count. 2023-08-06 20:46:27 -04:00
strings Fix harmless MSVC warning about uninitialized variables in a test 2023-12-25 17:24:55 +01:00
textfile Fix test suite on Linux/s390x and maybe other architectures 2024-01-09 02:38:43 +01: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 Remove CppUnit boilerplate from wxURL unit tests 2023-05-18 00:10:28 +02:00
validators Make checks on character entry in numeric validators less relaxed 2024-01-28 18:02:13 +01:00
weakref Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
window Rename tests/waitforpaint.h into just waitfor.h 2023-10-01 21:25:46 +02:00
xlocale Remove wxUSE_UNICODE checks as they're always true now 2022-10-27 19:43:30 +02:00
xml Deprecate "encoding" parameter of wxXmlDocument ctor and Load() 2024-01-01 22:08:28 +01:00
allheaders.cpp Revert "Move Cygwin __USE_W32_SOCKETS definition to wxMSW-specific file" 2023-07-09 17:05:09 +02:00
allheaders.h Add wxFileSystemHandler for "data" scheme 2023-12-18 22:19:11 +01:00
asserthelper.cpp Simplify showing colour values in failing unit tests 2023-05-15 21:39:13 +01:00
asserthelper.h Simplify showing colour values in failing unit tests 2023-05-15 21:39:13 +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
makefile.gcc Rebake after the previous commit 2023-07-29 18:13:29 +02:00
Makefile.in Rebake after the previous commit 2023-07-29 18:13:29 +02:00
makefile.vc Rebake after the previous commit 2023-07-29 18:13:29 +02:00
README.md Explain how to build the tests 2021-11-12 14:21:41 +01:00
runtests.bat
test.bkl Link with stc directly in the test bakefile 2023-07-29 16:01:33 +02:00
test.cpp Avoid harmless MSVC shadowing warning in the test 2023-12-25 17:56:10 +01:00
test.vcxproj Revert all recent wxUSE_DPI_AWARE_MANIFEST-related changes 2023-08-25 00:03:47 +02:00
test.vcxproj.filters Remove wxVector unit test 2022-10-11 00:48:00 +02:00
test_gui.vcxproj Revert all recent wxUSE_DPI_AWARE_MANIFEST-related changes 2023-08-25 00:03:47 +02:00
test_gui.vcxproj.filters Execute automated tests for wxPropertyGrid 2023-01-30 17:28:17 +01:00
test_gui_vc14.sln Add wxSTC project to the GUI tests MSVS solution 2023-05-06 19:43:00 +01:00
test_gui_vc15.sln Add wxSTC project to the GUI tests MSVS solution 2023-05-06 19:43:00 +01:00
test_gui_vc16.sln Add wxSTC project to the GUI tests MSVS solution 2023-05-06 19:43:00 +01:00
test_gui_vc17.sln Add MSVS 2022 solutions files for building tests 2024-01-07 00:43:48 +01:00
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_vc17.sln Add MSVS 2022 solutions files for building tests 2024-01-07 00:43:48 +01:00
testableframe.cpp Use nullptr instead of NULL in the code and documentation 2022-10-18 01:25:25 +02:00
testableframe.h Use std::unordered_map<> in the GUI unit test code 2023-04-18 00:42:55 +01:00
testdata.conf Rename testdata.fc to testdata.conf 2021-12-10 17:26:49 +01:00
testdate.h
testfile.h
testimage.h Stop using Catch::toString() 2022-10-18 18:39:13 +02:00
testprec.h Fix using colours, fonts etc in CATCH assert messages 2023-05-15 21:39:13 +01:00
testwindow.h Replace wxScopedPtr with std::unique_ptr in the tests 2023-03-06 23:34:44 +01:00
waitfor.h Use WaitFor() and new YieldForAWhile() helpers in the tests 2023-10-02 15:10:36 +02: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.