Commit Graph

33 Commits

Author SHA1 Message Date
Vadim Zeitlin
93a800a95e minor icc warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 09:55:27 +00:00
Vadim Zeitlin
097a92e228 blind fix for yet another VC6 compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 01:11:59 +00:00
Vadim Zeitlin
51725fc0c2 reverted the change of r56246 and keep the old behaviour of MB2WC/WC2MB; document it even more clearly and correct code using these functions incorrectly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 11:31:22 +00:00
Vadim Zeitlin
8a493b67ac fix off by one bug in the buffer size (fixes #10039)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 14:51:45 +00:00
Vadim Zeitlin
fec42c21ef added wxConvISO8859_1 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-16 00:48:47 +00:00
Vadim Zeitlin
ca8cf4fffb added wxTextOutputStream::Flush(): this is necessary with the stateful encodings, such as UTF-7
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-01 03:09:25 +00:00
Vadim Zeitlin
04080f208e make test failure in TestStreamDecoder more informative
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 02:46:22 +00:00
Vadim Zeitlin
78648f606d use more informative CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-31 01:57:25 +00:00
Vadim Zeitlin
3af0741ccc compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-23 22:33:44 +00:00
Václav Slavík
81e9dec6f5 use same names for test suites as the ones in ./test -l
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 07:54:15 +00:00
Václav Slavík
8650108199 don't use implicit wxString->char*/wchar_t* conversion, it will not be available in wxUSE_STL build in the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-10 17:42:41 +00:00
Michael Wetherell
1002abaa77 Register the test under the name displayed by "./test -l"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-28 15:59:12 +00:00
Václav Slavík
75b16a30bd reverted previous commit and added a comment explaining why CByteArrayFormat should be kept
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 19:32:48 +00:00
Václav Slavík
0cdb0b9666 removed unused CByteArrayFormat function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-10 13:37:27 +00:00
Vadim Zeitlin
4a9eae369e corrected signed/unsigned comparison warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 14:21:55 +00:00
Vadim Zeitlin
e6a87338f0 name the test just MBConv instead of MBConvTestCase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 21:03:25 +00:00
Vadim Zeitlin
a29cce78aa tests for wxConvAuto
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-05 14:38:42 +00:00
Michael Wetherell
6565d564cb Compile fix for VC++ 5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-10 21:21:27 +00:00
Michael Wetherell
c1ce4db1de wcslen and wcscmp replacements for systems that lack them, such as djgpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-18 11:40:40 +00:00
Michael Wetherell
8f1158912f wxMBConv test cases, patch 1179989 from Vince Harron
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 22:29:05 +00:00
Michael Wetherell
394579cf6f Replacements for some wcsxxx funcs for systems without them like osx 10.2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 22:21:20 +00:00
Michael Wetherell
98cfeab393 Check the returned length too in the utf-8 tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 21:15:52 +00:00
Michael Wetherell
726c8204cd Tests for UTF-8 and PUA characters and octal escapes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 23:03:36 +00:00
Ryan Norton
8899b155a1 [ 1068188 ] Precompiled header for the test program [Modified a bit]
Regen bakefiles for unit tests


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 05:00:19 +00:00
Ryan Norton
a9e9946154 Rename some tests to avoid conflicts with project builder GUI debugger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-31 04:41:27 +00:00
Václav Slavík
a430a60fd1 compilation fix for gcc-3.4
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 22:18:11 +00:00
Václav Slavík
816b59debf moved wxFontMapper tests to its own file and testcase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 14:01:44 +00:00
Włodzimierz Skiba
bc55323bc3 Charsets part moved from console sample to test unit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 15:44:46 +00:00
Václav Slavík
20f46e8dc8 BCC fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-04-01 07:17:50 +00:00
Václav Slavík
0f21699216 compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-05 23:14:57 +00:00
Václav Slavík
abf07807b4 no longer needed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 23:12:54 +00:00
Václav Slavík
98eae46601 compilation fix for unicode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-03-03 22:53:52 +00:00
Vadim Zeitlin
2cc0718168 added (draft of) a unit test for wxMBConv
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-02-15 15:43:21 +00:00