wxWidgets/tests
Vadim Zeitlin 37dd89a0da Don't rely on wxMBConv::cWC2MB(NULL) returning the exact byte count
UTF-32 conversions use a useful optimization by avoiding the extra scan of the
input wchar_t string in their FromWChar() and cWC2MB() implementation when
they are only asked to compute the required buffer size without actually doing
the conversion. However this means that for an input string containing UTF-16
surrogates (which is possible under MSW where wchar_t is 16 bits) the actual
size of the output string can be smaller than that returned by FromWChar(NULL).

Document that this may happen and avoid relying on the exact equality in the
tests.

See #17070.
2015-11-13 19:36:33 +01:00
..
any Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
archive Remove support for Digital Mars compiler. 2014-05-16 13:01:23 +00:00
arrays Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
base64 Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
benchmarks Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
cmdline Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
config Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
controls Document and test wxDatePickerCtrl::SetRange() date-clamping behaviour. 2015-07-17 17:59:40 +02:00
datetime Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
drawing Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
events Disable unit test sporadically failing in wxGTK buildbot builds. 2015-06-12 15:57:33 +02:00
exec Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
file
filekind
filename Fix recently added wxFileName::MakeRelativeTo() unit test for non-Unix. 2015-05-30 03:38:03 +02:00
filesys Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
font Revert "Disable wxFont::SetStrikethrough() test under wxOSX." 2015-05-22 03:28:07 +04:00
fontmap Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
formatconverter
fswatcher Use FSEvents in wxFileSystemWatcher on OS X 2015-06-06 02:37:35 +04:00
geometry Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
graphics Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
hashes Fix g++ version test in the previous commit. 2015-06-21 02:42:34 +02:00
html Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
image Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
interactive Add wxStandardPaths::GetUserDir() to get Desktop, Download etc 2015-10-04 01:05:23 +02:00
intl Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
lists Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
log Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
longlong Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
mbconv Don't rely on wxMBConv::cWC2MB(NULL) returning the exact byte count 2015-11-13 19:36:33 +01:00
menu Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
misc Fix mismatched new[]/delete in a test case. 2015-06-19 16:32:14 +02:00
net Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
regex Remove MSVC6 support. 2014-05-15 22:32:17 +00:00
scopeguard
sizers Rename wxBoxSizer::m_minSize to avoid clash with the base class 2015-10-11 01:00:38 +02:00
streams Add a check for wxSocketServer creation to the unit tests. 2015-06-23 19:11:31 +02:00
strings Avoid warnings about narrowing casts in the long long tests. 2015-06-21 15:56:06 +02:00
textfile Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
thread Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
toplevel Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
uris Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04: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 Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04: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 Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
xml Add support for DOCTYPE to wxXmlDocument. 2015-04-26 15:36:48 +02: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
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 Convert all XPM files to Unix EOLs. 2015-03-19 21:46:05 +01:00
makefile.bcc Add unit test for wxFlexGridSizer layout logic. 2015-04-08 23:35:19 +02:00
makefile.gcc Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
Makefile.in Add unit test for wxFlexGridSizer layout logic. 2015-04-08 23:35:19 +02:00
makefile.vc Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
runtests.bat
test_vc7_printfbench.vcproj Sync EOL normalization settings. 2015-03-17 13:47:20 -06:00
test_vc7_test_drawing.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc7_test_drawingplugin.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc7_test_gui.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc7_test.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc8_printfbench.vcproj Sync EOL normalization settings. 2015-03-17 13:47:20 -06:00
test_vc8_test_drawing.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc8_test_drawingplugin.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc8_test_gui.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc8_test.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc9_printfbench.vcproj Sync EOL normalization settings. 2015-03-17 13:47:20 -06:00
test_vc9_test_drawing.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc9_test_drawingplugin.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc9_test_gui.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test_vc9_test.vcproj Link with shlwapi.lib and version.lib under MSW 2015-10-07 18:56:33 +02:00
test.bkl Add unit test for wxFlexGridSizer layout logic. 2015-04-08 23:35:19 +02:00
test.cpp Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
testableframe.cpp Ensure that wxTestableFrame is shown on the (main) screen. 2014-05-27 17:27:10 +00:00
testableframe.h
testdata.fc
testdate.h
testfile.h
testimage.h
testprec.h Add WX_ASSERT_FAILS_WITH_ASSERT_MESSAGE helper. 2015-04-08 23:35:19 +02:00