Vadim Zeitlin
|
543cf9ba1a
|
added another Replace() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-30 15:25:19 +00:00 |
|
Vadim Zeitlin
|
9729777e2a
|
added some Replace() benchmarks (#9802)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-30 13:56:17 +00:00 |
|
Václav Slavík
|
2f539d953b
|
added a test for passing wxCharBufer to wxprintf functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-29 13:32:35 +00:00 |
|
Vadim Zeitlin
|
dc2ae35583
|
added a simple benchmarking suite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-26 23:07:05 +00:00 |
|
Vadim Zeitlin
|
5166d04e4f
|
add unit test for wxTextCtrl::GetInsertionPoint()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-23 23:56:04 +00:00 |
|
Vadim Zeitlin
|
b2b0bee6d8
|
add unit test for wxTextCtrl::SetSelection()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-23 23:34:25 +00:00 |
|
Vadim Zeitlin
|
60235673ec
|
fix a bug in the test which was corrupting 1 byte beyond wxImage buffer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-23 23:23:23 +00:00 |
|
Vadim Zeitlin
|
35d5da677d
|
get rid of base arrays in wxUSE_STL build, we don't need them there and deriving wxFooPtr from wxBaseArrayPtrVoid makes it iterators return void pointers instead of those of the correct type; added test case to check for this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-22 01:01:56 +00:00 |
|
Vadim Zeitlin
|
2186321ff5
|
big wxURI cleanup; it now handles Unicode characters correctly (#3874)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-19 23:14:51 +00:00 |
|
Vadim Zeitlin
|
ece97e2882
|
remove the just added assertEquals(time_t, long) overload, it results in infinite recursion and crash if time_t is the same type as long
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-19 20:07:36 +00:00 |
|
Vadim Zeitlin
|
9f10e7c758
|
no changes, just removed an unnecessary semicolon at top level
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-19 15:36:39 +00:00 |
|
Vadim Zeitlin
|
28d4f49b78
|
already escaped backslash shouldn't escape the following quote in ConvertStringToArgs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-19 01:53:04 +00:00 |
|
Vadim Zeitlin
|
e3276230de
|
fix bug with wxCSConv("ASCII")
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-19 01:45:38 +00:00 |
|
Vadim Zeitlin
|
5c3d5ef246
|
simplify the test, don't reuse the same macro for different things
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-18 23:08:24 +00:00 |
|
Vadim Zeitlin
|
1de532f57e
|
get rid of special WX_ASSERT_FOO_EQUAL macros by defining CppUnit::assertEquals() overloads for wx types
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-18 23:07:23 +00:00 |
|
Vadim Zeitlin
|
42e8b52f09
|
make test failures easier to debug by using more informative failure messages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-17 23:24:21 +00:00 |
|
Vadim Zeitlin
|
ae43193571
|
don't run the tests which can't succeed in ANSI build; remove the tests for wxUSE_WCHAR_T, it's always 1 now; test MB2WC conversions in Unicode build too (it only tested WC2MB for some reason)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-17 23:01:17 +00:00 |
|
Vadim Zeitlin
|
bec76e1835
|
add GetLo/Hi() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-16 15:21:24 +00:00 |
|
Vadim Zeitlin
|
a4761b4c08
|
implement flag for Unix-like behaviour in wxCmdLineParser::ConverStringToArgs()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-16 00:49:25 +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
|
339e08c704
|
use CPPUNIT_ASSERT_EQUAL(x,y) instead of CPPUNIT_ASSERT(x==y) to better see test failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-15 18:00:49 +00:00 |
|
Vadim Zeitlin
|
fa0584f14d
|
use CPPUNIT_ASSERT_EQUAL(x,y) instead of CPPUNIT_ASSERT(x==y) to better see test failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-15 17:38:03 +00:00 |
|
Vadim Zeitlin
|
02ab8d3a75
|
only initialize sockets if IPC implementation is socket-based
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-14 21:01:41 +00:00 |
|
Vadim Zeitlin
|
4c141c5a96
|
PCH-less build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54617 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-14 15:12:58 +00:00 |
|
Vadim Zeitlin
|
e7ce668e1d
|
added a simple IPC unit test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-14 02:19:34 +00:00 |
|
Vadim Zeitlin
|
d7ad5a0289
|
define {first,second}_type in the struct declared by _WX_DECLARE_PAIR too for compatibility with std::pair, we can avoid #ifdefs in the code using the hash then (#9725)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-13 18:20:06 +00:00 |
|
Vadim Zeitlin
|
e6f688797c
|
run tests several times with different socket flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-12 02:43:19 +00:00 |
|
Vadim Zeitlin
|
bf451723ca
|
check that the stream raises no error other than EOF when it's supposed to be at EOF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-12 02:30:06 +00:00 |
|
Vadim Zeitlin
|
c515e20be4
|
enable the rest of wxSocketStream tests now that they pass
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-12 02:29:42 +00:00 |
|
Vadim Zeitlin
|
e402863ff6
|
add some output stream tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-09 02:16:49 +00:00 |
|
Vadim Zeitlin
|
8bd966d3cd
|
skip calls of TellI/TellO() if the stream is not seekable; more const-correctness
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-09 02:16:27 +00:00 |
|
Vadim Zeitlin
|
41cef82a0a
|
use wxSocketBase::Initialize/Shutdown() instead of GSocket_Init/Cleanup()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-09 02:05:11 +00:00 |
|
Vadim Zeitlin
|
6cecf398fb
|
MSW compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-08 00:49:30 +00:00 |
|
Vadim Zeitlin
|
f9caf1af44
|
added (for now trivial) socket stream test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-08 00:19:54 +00:00 |
|
Vadim Zeitlin
|
1530fc0958
|
regenerate the makefiles with correct new test name (iostreams.cpp, iostream.cpp is already taken by strings test)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-15 18:02:23 +00:00 |
|
Vadim Zeitlin
|
02e22828eb
|
added a unit test for input/output file streams and fixed the problem it exposed (#3335)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-15 17:34:50 +00:00 |
|
Stefan Csomor
|
4eba7d7d66
|
fixing file paths after renaming
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-12 17:54:47 +00:00 |
|
Vadim Zeitlin
|
425eee4164
|
correct some compatibility problems with the existing Unicode-mode code (#9513), more remains to be done (#9560)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-09 22:50:55 +00:00 |
|
Vadim Zeitlin
|
062dc5fc22
|
initialize wxStringBuffer with the original contents of wxString it was created from for better compatibility with the old, non-STL, build (this avoids problems such as ticket #4845); add wxString::tchar_buf() to help with the implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-06 21:19:23 +00:00 |
|
Vadim Zeitlin
|
3d68e52c8f
|
compilation fixes for ANSI build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-06 20:56:16 +00:00 |
|
Vadim Zeitlin
|
44c6d979a8
|
removed the test which never works: Lower/Upper() don't work with Unicode strings currently
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-06 20:55:39 +00:00 |
|
Vadim Zeitlin
|
c71396b42d
|
suppress warning about casting int to a pointer of greater size
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-02 20:45:50 +00:00 |
|
Vadim Zeitlin
|
42124e683d
|
define wxHAS_ATOMIC_OPS only if native implementation is available; use fewer loop iterations in the test if it isn't as otherwise the test takes way too long to run
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-02 20:42:23 +00:00 |
|
Václav Slavík
|
e835292782
|
regenerated all trunk makefiles with bakefile-0.2.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-02 14:48:50 +00:00 |
|
Vadim Zeitlin
|
24671bc900
|
define wxHAS_RAW_BITMAP (instead of inconsistenly named wxHAVE_RAW_BITMAP) and use it to avoid test build error under ports not supporting raw bitmaps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-01 18:42:33 +00:00 |
|
Vadim Zeitlin
|
14b4f6fcc0
|
ReadBig() should be defined in ANSI build too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-01 16:59:10 +00:00 |
|
Vadim Zeitlin
|
7ace5fd8e0
|
include wx/crt.h to get wxUSE_WXVSNPRINTF
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-01 16:58:17 +00:00 |
|
Vadim Zeitlin
|
a669640b7a
|
really fix the test to work in any time zone and with or without DST
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-01 15:44:16 +00:00 |
|
Vadim Zeitlin
|
cf9f673789
|
fix wxDateTime::ParseRfc822Date() to handle missing seconds (ticket #1341)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-01 14:37:26 +00:00 |
|
Vadim Zeitlin
|
77fa3d8243
|
add a special macro for comparing time_t values to fix unit test compilation on platforms with 64 bit time_t (such as FreeBSD 6.2 apparently)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-01 13:01:59 +00:00 |
|