wxWidgets/tests
Vadim Zeitlin bbb0ff36db Fix another off-by-1 bug in wxMBConv::ToWChar().
When converting a fixed number of characters we need to take any NULs inside
the buffer being converted into account for our return value -- but this
wasn't done and converting 2 characters 'x' and '\0' returned only 1, even if
the length 2 was explicitly specified.

Fix this bug and add a unit test checking for it.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@62141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-09-26 13:31:27 +00:00
..
any Add missing header to fix wxAny test compilation under OS X. 2009-09-20 12:37:11 +00:00
archive Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
arrays Provide implementation for wxArrayString::resize(). 2009-09-16 23:18:48 +00:00
base64 Never overflow the output buffer in wxBase64Decode(). 2009-08-23 22:25:12 +00:00
benchmarks Rebake all the samples, demos and tests makefiles. 2009-09-12 13:38:08 +00:00
cmdline Fix bug with parsing concatenated switches in wxCmdLineParser. 2009-09-07 23:00:05 +00:00
config Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
controls fix bug in generic wxTreeCtrl: calling SelectItem(true) on an already selected item shouldn't toggle its selection (see #10830) 2009-06-06 14:15:06 +00:00
datetime Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
events
exec
file Fix test compilation under OS X. 2009-09-13 12:26:03 +00:00
filekind Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
filename add more tests for wxFileName::Normalize(DOTS) (see #10960) 2009-07-03 22:07:22 +00:00
filesys Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
font add wxGetLinuxDistributionInfo() and wxPlatformInfo::GetLinuxDistribution() functions; also add to wxPlatformInfo the GetOperatingSystemDescription(), GetDesktopEnvironment(), GetOperatingSystemDirectory() functions to group in the same class (wxPlatformInfo) all available platform-detection functions 2009-06-02 13:01:41 +00:00
fontmap Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
formatconverter Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
geometry
graphics Fix harmless unused variable warning. 2009-09-21 08:44:25 +00:00
hashes Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
html
image Correct wxImage::Size() again; add unit tests for it. 2009-08-30 21:43:11 +00:00
intl
lists Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
log Include wx/filefn.h to fix PCH-less compilation. 2009-08-18 11:44:31 +00:00
longlong Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
mbconv Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
misc Fix buffer overflow in wxURLDataObject. 2009-08-30 17:25:42 +00:00
net
regex Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
scopeguard
streams Extract TestFile class in a separate header. 2009-09-12 22:40:35 +00:00
strings Fix another off-by-1 bug in wxMBConv::ToWChar(). 2009-09-26 13:31:27 +00:00
textfile Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
thread
uris Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
vectors Added wxVector::swap(). 2009-07-12 17:00:29 +00:00
weakref
window
xlocale
xml Don't append text following CDATA section to its node itself. 2009-08-24 21:42:27 +00:00
dummy.cpp
horse.ani add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.bmp add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.cur add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.gif add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.ico add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.jpg add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.pcx add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.png add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.pnm add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.tga add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.tif add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.xpm add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
makefile.bcc Add wxColour::{Set,Get}RGB[A](). 2009-09-19 16:29:50 +00:00
makefile.gcc Add wxColour::{Set,Get}RGB[A](). 2009-09-19 16:29:50 +00:00
Makefile.in Add wxColour::{Set,Get}RGB[A](). 2009-09-19 16:29:50 +00:00
makefile.vc Add wxColour::{Set,Get}RGB[A](). 2009-09-19 16:29:50 +00:00
makefile.wat Add wxColour::{Set,Get}RGB[A](). 2009-09-19 16:29:50 +00:00
runtests.bat
test_printfbench.dsp
test_test_gui.dsp Add wxColour::{Set,Get}RGB[A](). 2009-09-19 16:29:50 +00:00
test_test.dsp wxAny initial commit (closes #10932) 2009-09-19 08:51:11 +00:00
test_vc7_printfbench.vcproj
test_vc7_test_gui.vcproj Add wxColour::{Set,Get}RGB[A](). 2009-09-19 16:29:50 +00:00
test_vc7_test.vcproj wxAny initial commit (closes #10932) 2009-09-19 08:51:11 +00:00
test_vc8_printfbench.vcproj
test_vc8_test_gui.vcproj Add wxColour::{Set,Get}RGB[A](). 2009-09-19 16:29:50 +00:00
test_vc8_test.vcproj wxAny initial commit (closes #10932) 2009-09-19 08:51:11 +00:00
test_vc9_printfbench.vcproj
test_vc9_test_gui.vcproj Add wxColour::{Set,Get}RGB[A](). 2009-09-19 16:29:50 +00:00
test_vc9_test.vcproj wxAny initial commit (closes #10932) 2009-09-19 08:51:11 +00:00
test_vc9.sln
test.bkl Add wxColour::{Set,Get}RGB[A](). 2009-09-19 16:29:50 +00:00
test.cpp Abort on asserts in worker threads. 2009-09-21 14:45:37 +00:00
testdata.fc
testfile.h Extract TestFile class in a separate header. 2009-09-12 22:40:35 +00:00
testprec.h disable MSVC 8+ warning about using Unicode characters as we do want to use them 2009-06-06 23:24:57 +00:00