wxWidgets/tests
ARATA Mizuki 5a92181ac1 Fix the length returned by UTF-32 conversion for non-BMP input
Don't optimize the required length as this is a tiny gain resulting in big
problems with the strings containing surrogates for which the actual result is
shorter than the length returned, resulting in extra NUL bytes at the end of
the converted buffer.

This is similar to 3410aa372f (see #16298) but
for UTF-32 and not UTF-16.

Closes #17070.
2016-02-21 14:38:17 +01:00
..
any Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
archive Don't use std::auto_ptr<> in the test to avoid warnings 2016-02-13 13:36:58 +01: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 Fix crash in graphics benchmark 2015-12-06 17:31:24 +01: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 Revert "Fix fields initialization in wxCommandEvent copy ctor." 2016-01-30 05:02:54 +01:00
exec Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
file Revert "Temporarily ensure that the file functions test uses UTF-8" 2016-02-19 02:52:43 +01:00
filekind Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
filename Remove symlinks time comparison tests from wxFileName test 2016-02-13 18:55:53 +01:00
filesys Return valie file URLs from wxFileSystem::FileNameToURL() 2016-02-05 22:43:23 +01: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 Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
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 Add a test checking that conversions involving surrogates work 2015-11-13 20:32:24 +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 Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
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 Fix the length returned by UTF-32 conversion for non-BMP input 2016-02-21 14:38:17 +01: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 Fix wxURI::Unescape() to work with Unicode strings 2016-02-13 04:01:27 +01: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 Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
test_gui_vc10.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui_vc11.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui_vc12.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui_vc14.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui.vcxproj Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_gui.vcxproj.filters Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
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_vc10.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_vc11.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_vc12.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test_vc14.sln Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test.bkl Add unit test for wxFlexGridSizer layout logic. 2015-04-08 23:35:19 +02:00
test.cpp Don't duplicate information in detailed test output 2016-02-13 18:34:47 +01:00
test.vcxproj Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
test.vcxproj.filters Add MSVS 2010, 2012, 2013 and 2015 projects for the tests 2016-02-05 22:43:23 +01:00
testableframe.cpp Ensure that wxTestableFrame is shown on the (main) screen. 2014-05-27 17:27:10 +00:00
testableframe.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testdata.fc
testdate.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testfile.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testimage.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testprec.h Add WX_ASSERT_FAILS_WITH_ASSERT_MESSAGE helper. 2015-04-08 23:35:19 +02:00