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
hexconv.cpp Pass arguments of the same type to CPPUNIT_ASSERT_EQUAL 2017-07-30 09:56:43 +02:00
iostream.cpp
numformatter.cpp
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
unichar.cpp
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