wxWidgets/tests/strings
Vadim Zeitlin 9c1964ee1d Fix a unit test in UTF-8 build using UTF-8 strings only
Avoid the optimized mb_str() available in this build returning directly
a "char*" as it doesn't preserve the length of the string if it contains
NULs. Use mb_str(wxMBConv) overload instead which always returns the
buffer of the correct length.

Arguably, this is a problem of wxString API and maybe this optimized
mb_str() overload shouldn't be provided at all. OTOH the main reason for
wxUSE_UTF8_LOCALE_ONLY existence is optimization, so it seems a pity to
deliberately make the code less efficient when using it.
2017-11-03 23:11:32 +01:00
..
crt.cpp Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
hexconv.cpp Pass arguments of the same type to CPPUNIT_ASSERT_EQUAL 2017-07-30 09:56:43 +02:00
iostream.cpp Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
numformatter.cpp Fix several problems with number formatting in wxNumberFormatter. 2014-01-05 21:10:52 +00:00
stdstrings.cpp Fix building tests with wxUSE_UNSAFE_WXSTRING_CONV==0 2017-02-24 15:37:37 +01:00
strings.cpp Replace CppUnit with Catch for unit tests 2017-11-02 01:53:16 +01:00
tokenizer.cpp Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
unichar.cpp Use wx-prefixed macros throughout the repository. 2015-04-23 22:00:35 +04:00
unicode.cpp Fix a unit test in UTF-8 build using UTF-8 strings only 2017-11-03 23:11:32 +01:00
vararg.cpp Fix unit test when char is unsigned by default 2016-06-17 14:49:21 +02:00
vsnprintf.cpp Fix more typos in comments and wxFAIL messages 2016-04-14 16:08:28 +02:00