Vadim Zeitlin
c21dcf80f0
add wx/app.h for PCH-less compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 11:38:32 +00:00
Vadim Zeitlin
a79fe526de
add wx/window.h for MSVC compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 23:01:04 +00:00
Vadim Zeitlin
166523d8d7
calling wcsnlen(NULL) does crash (under Debian and, according to the docs, should also crash with MSVC), contrary to what the comment claimed so don't do this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 17:48:59 +00:00
Vadim Zeitlin
68888eeaa8
compilation fixes for 64 bit platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 17:41:25 +00:00
Vadim Zeitlin
9eab67251b
forward declare wxEvent before using it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 17:19:16 +00:00
Vadim Zeitlin
1649d2886b
add a unit test checking that events are really propagated as they're supposed to
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58146 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:21:50 +00:00
Vadim Zeitlin
b44f5137ce
link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build ( #10338 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 13:33:51 +00:00
Francesco Montorsi
7c5ac499c8
provide our own implementation of wxStrnlen if it's not available; add tests for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-13 12:01:30 +00:00
Francesco Montorsi
8d1a41016d
assert when the item index is out of range in wxMSW's listctrl, just like generic listctrl does
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 19:34:42 +00:00
Vadim Zeitlin
3c77890141
add more flexible and safer template Connect() overloads ( #10000 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 14:26:13 +00:00
Francesco Montorsi
ef57fb9546
fix for the broken VC6 compiler (why do we have to still support it?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-11 10:28:20 +00:00
Francesco Montorsi
9e48b1f56c
add the 'GarbageTestCase' which helped me to spot some buggy load routines
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58002 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-11 00:39:22 +00:00
Francesco Montorsi
880706bedd
disable test which asserted when trying to call wxListCtrl::GetItemRect() with an invalid index; not sure this is the best thing to do
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 17:40:32 +00:00
Francesco Montorsi
395f3aa8bd
rewrite wxContractPath as wxFileName::ReplaceEnvVariable and wxFileName::ReplaceHomeDir; add test units and docs for them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 00:38:46 +00:00
Vadim Zeitlin
b2eabfe866
abstract VC6 workaround inside a WX_CPPUNIT_ALLOW_EQUALS_TO_INT() macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 16:04:22 +00:00
Vadim Zeitlin
39e12b2d52
don't use \u in strings, VC6 doesn't support this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 15:53:09 +00:00
Vadim Zeitlin
9540df9c2e
use correct type for file offset
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 15:49:24 +00:00
Vadim Zeitlin
a54b285e7c
allow using CPPUNIT_ASSERT_EQUAL(int, wxFileOffset) too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 00:47:10 +00:00
Vadim Zeitlin
3e98ba4589
trying to fix buildbot VC6 build error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-03 19:29:46 +00:00
Vadim Zeitlin
1f30c75e44
fix memory leak in URL test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57664 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 13:18:22 +00:00
Vadim Zeitlin
16685812c1
run wxURL test both with and without the event loop too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 12:53:44 +00:00
Vadim Zeitlin
6799c5e283
added wxURL test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 12:53:04 +00:00
Vadim Zeitlin
9f4204f7ee
make the test really use the different socket flags and disable the use of wxSOCKET_NOWAIT as some tests fail in this case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 11:41:30 +00:00
Vadim Zeitlin
91bde3ec3e
more CPPUNIT_ASSERT replacements with CPPUNIT_ASSERT_EQUAL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 11:22:59 +00:00
Vadim Zeitlin
1156062f77
also include wxSocket test in the GUI test as different event loop implementations may be used for console and GUI apps resulting in different bugs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57583 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 11:14:10 +00:00
Vadim Zeitlin
8d8087fc9b
make the test really use the event loop in its second half (this already was the intention before but it didn't work correctly)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 11:12:47 +00:00
Vadim Zeitlin
6e7fd3ca03
test sockets both with and without event loop
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-26 22:58:20 +00:00
Vadim Zeitlin
c9e46deaa7
fix wxTimeSpan::Format() for negative spans with 0 hour component ( #10055 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 12:16:06 +00:00
Vadim Zeitlin
c0ccc082e2
correct wrong #endif position which prevented ListCtrlTestCase::ItemRect() from being compiled under non-MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 02:58:41 +00:00
Vadim Zeitlin
0468a58a4b
don't show assert message boxes in debug build but throw an exception if an assert unexpectedly fails; do check that expected asserts are generated
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 02:28:55 +00:00
Vadim Zeitlin
6756186271
fix Get(Sub)ItemRect() after changes of r54437; added test for it (see #10175 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 02:13:58 +00:00
Vadim Zeitlin
6124b13407
replace CPPUNIT_ASSERTs with CPPUNIT_ASSERT_EQUALs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 09:47:39 +00:00
Vadim Zeitlin
3246a508ab
don't test for best size not being 0, this doesn't pass under wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 16:29:11 +00:00
Vadim Zeitlin
497c7dffd1
compilation fixes for Unix build _with_ PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 16:21:49 +00:00
Vadim Zeitlin
71d8948f12
add unit test for column reordering functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 14:16:06 +00:00
Vadim Zeitlin
059979d848
fix wxTextCtrl::Replace() under wxGTK; added unit test for it and describe its effect on the insertion point
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 16:46:25 +00:00
Vadim Zeitlin
e068310a5a
added wxVector::resize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 13:45:04 +00:00
Vadim Zeitlin
a1d4adc5ce
use wxHeaderColumnSimple instead of wxHeaderColumn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 15:58:59 +00:00
Vadim Zeitlin
e2bfe6731e
- Rewrite wxHeaderCtrl to be virtual-like: even if we don't need an infinite
...
number of columns in it, it turns out that getting column information from
the associated control is much easier than copying it into the control.
- Provide wxHeaderCtrlSimple derived class which can be used easily if
callback approach of wxHeaderCtrl is not needed.
- Because of wxHeaderCtrl virtualization, port-specific implementations of
wxHeaderColumn are not needed any more and were removed.
- Use wxHeaderCtrl in the generic wxDataViewCtrl: this means that column
events are broken right now in it as they haven't been implemented by
wxHeaderCtrl yet, this will be fixed a.s.a.p.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 14:47:55 +00:00
Vadim Zeitlin
20f4a2e41f
forgot to update after renaming wxHeaderCtrlColumn to wxHeaderColumn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 23:21:08 +00:00
Vadim Zeitlin
5e7078ad6f
also disable the test of the generic version as it's not in the svn yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 21:56:49 +00:00
Vadim Zeitlin
56873923f3
extract (and expand and clean up and document) the header window implementation used inside the generic wxDataViewCtrl in a separate wxHeaderCtrl class which could be reused in (generic) wxListCtrl and, most importantly, wxGrid later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 21:53:10 +00:00
Vadim Zeitlin
80cc5fc7ad
document column reordering in wxListCtrl; fix confusion between GetColumnOrder() and GetColumnIndexFromOrder() doing this discovered; show the use of these methods in the sample and added a unit test for them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 19:11:22 +00:00
Vadim Zeitlin
b245cbc587
fix (harmless) VC7 warnings about auto_ptr assignment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-23 00:09:34 +00:00
Vadim Zeitlin
e5a0bdfbaf
use TCP for this benchmark under Windows too (and not DDE)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:34:04 +00:00
Vadim Zeitlin
e4e7977701
no need to disable DoTestSwap() for VC6 any more with latest wx/cppunit.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-22 14:33:09 +00:00
Vadim Zeitlin
a779d8091c
fix comparison in Normalize() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-19 11:52:04 +00:00
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
6d9407fec4
fix compilation with cppunit 1.9 (which doesn't have stdCOut()) and some harmless warnings (which probably were fixed in newer cppunit version too)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-18 15:51:09 +00:00
Vadim Zeitlin
afd9046882
add command line options for displaying the test name and time taken by them ( closes #10156 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-05 10:08:19 +00:00
Vadim Zeitlin
68baf10e3f
disable the test under Windows as it hangs and prevents buildbot from working
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-04 12:15:24 +00:00
Vadim Zeitlin
f9bb777f88
define wxHAS_CONFIG_TEMPLATE_RW if template wxConfig::Read/Write() are available; use it to exclude the calls to these functions from the test to fix VC6 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 13:36:08 +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
527587d347
really fix VC6 compilation of all testsi (without breaking VC9)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 00:31:16 +00:00
Vadim Zeitlin
8112fbf0d7
undo the previous change, it's not needed any more now that we overload assertEquals(int,long) too and it broke VC6 compilation again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 22:30:16 +00:00
Vadim Zeitlin
94bc35dc33
explicitly cast wxUniCharRef to char inside CPPUNIT_ASSERT_EQUAL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 01:59:34 +00:00
Vadim Zeitlin
9ea7a5ddb7
yet another compilation fix, this time for VC9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-01 18:05:59 +00:00
Vadim Zeitlin
fecddbaa5d
disable a correct test which VC6 just doesn't want to grok (hopefully last buildbot error?)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 23:23:07 +00:00
Vadim Zeitlin
10d256d6c8
attempting to fix VC6 compilation error from buildbot logs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 16:54:41 +00:00
Vadim Zeitlin
0c61ab6f66
add WX_CLEAR_ARRAY test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 12:33:34 +00:00
Vadim Zeitlin
7ee34f2be1
no changes, just use CPPUNIT_ASSERT_EQUAL instead of CPPUNIT_ASSERT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-29 12:25:32 +00:00
Vadim Zeitlin
438febca6e
don't sleep too long to avoid missing the timers; added a simple test for timer events processing in console apps
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 22:04:42 +00:00
Vadim Zeitlin
506e9b7ed2
rebaked using bakefile 0.2.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:40:51 +00:00
Vadim Zeitlin
6c58cd78a5
use hex escapes instead of 8 bit characaters ( #10105 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-23 13:08:02 +00:00
Vadim Zeitlin
3e356d4144
add a simple benchmark for wx and iconv converters benchmarking
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 12:24:24 +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
65669e3152
add very simple (but already exposing many problems) wxIPC benchmark
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:35:03 +00:00
Vadim Zeitlin
fa8825a01d
allow specifying initialization and cleanup functions for benchmarks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:34:47 +00:00
Václav Slavík
c39058f631
added a test to check if wxHtmlWindow::SelectionToText() inserts \n characters correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 15:55:25 +00:00
Vadim Zeitlin
139ea30e15
added -1 (a.k.a. --single) command line option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 13:34:02 +00:00
Vadim Zeitlin
b9f9065e28
fix the bug in insert(end(), value) and added unit test for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 09:04:52 +00:00
Vadim Zeitlin
ebfa7ceaa4
make the default value of numeric parameter 0, not 1, to make testing for it more natural; also allow passing string parameter to the benchmarks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-13 22:25:51 +00:00
Vadim Zeitlin
7b9b06e323
create local event loop for the operations which need it; test reading with wxSOCKET_BLOCK flag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 22:55:56 +00:00
Vadim Zeitlin
6b6b233ac0
wxUSE_STL compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 22:27:49 +00:00
Vadim Zeitlin
3afc646cae
don't allocate a too big buffer on stack
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 20:57:19 +00:00
Vadim Zeitlin
62fb86a515
add simple (and disabled by default) wxSocket client test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 20:45:29 +00:00
Vadim Zeitlin
ea6319cb38
don't replace . and .. with the corresponding directoties names in GetLongPath() as this breaks the normalization of file names without wxPATH_NORM_DOTS flag ( #9814 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 15:15:32 +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
6221357baa
add a unit test for reading non existent values (to check for #10030 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 12:52:43 +00:00
Vadim Zeitlin
a08711325b
fix C strings comparison in LoadSave() test in STL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56222 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 21:12:51 +00:00
Vadim Zeitlin
e767076e80
just return false instead of crashing if the document contents can't be converted to the target encoding ( #10064 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 16:13:53 +00:00
Vadim Zeitlin
4c493e0bc5
add a very simple test for Load/Save()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 15:37:50 +00:00
Vadim Zeitlin
252ead2e54
fix bug in the test in STL build (where std::vector uses operator=() and not copy ctor to copy objects around, at least with g++)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-09 09:33:13 +00:00
Vadim Zeitlin
7da8bfe30d
add VC9 project files ( closes #9960 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 16:42:00 +00:00
Vadim Zeitlin
8ece421c6c
rebaked makefiles with 0.2.4
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 15:44:49 +00:00
Vadim Zeitlin
c565abe1c5
fix After{First,Last}() to work for strings with non-ASCII characters in UTF-8 build and added unit tests for this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-29 12:08:44 +00:00
Vadim Zeitlin
5fed01a943
fix VC9 compilation: FileNameInfo identifier conflicts with an enum name in the SDK it uses, so rename it to TestFileNameInfo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-27 09:20:10 +00:00
Vadim Zeitlin
b5f85206a9
fix ParseFormat("%d") to set the date it finds ( #10002 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-26 15:27:08 +00:00
Vadim Zeitlin
c4dbb95303
fix parsing of IP literals in URIs, added test for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 15:27:10 +00:00
Vadim Zeitlin
c3a65218fb
introduced more convenient and readable URI_ASSERT_XXX_EQUAL() macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-25 14:08:01 +00:00
Vadim Zeitlin
fbfd8b1ace
compilation fix for PCH-less build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 17:33:41 +00:00
Vadim Zeitlin
841a25bbc3
added a simple test for wxGetDisplayXXX() functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-22 16:03:45 +00:00
Kevin Ollivier
7664a67f57
Rebake after bakefile changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-20 23:59:10 +00:00
Vadim Zeitlin
dc7f9c9cee
add unit test for wxTextEntry methods of wxComboBox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 10:18:30 +00:00
Vadim Zeitlin
99b9c0eac1
do enable PCH for the tests, wx/wx.h was not precompiled for them resulting in much slower compilation than expected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 09:03:01 +00:00
Vadim Zeitlin
f0f6a32d4d
extract wxTextEntry unit tests in a reusable base class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-19 08:55:25 +00:00
Vadim Zeitlin
76a10a0dac
fix crash under MSW due to constructing a static wxDDEClient instance (this arguably should work but currently doesn't because of use of (yet uninitialized) wxDDEClientObjects in wxDDEClient ctor)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-12 01:36:09 +00:00
Vadim Zeitlin
fe26031e26
added braces to suppress g++ 4.3 warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 14:00:33 +00:00
Vadim Zeitlin
ff2201cc74
added swap() for the other arrays too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:51:41 +00:00
Vadim Zeitlin
9127686895
added wxArrayString::swap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-11 13:35:32 +00:00
Kevin Ollivier
509f339a81
rebake
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-09-04 07:57:32 +00:00
Vadim Zeitlin
8b73c5318c
chanegd wxTlsValue to be pointer-like instead of value-like which doesn't work for UDTs; use __thread keyword with mingw32 >= 4.3 too; use library-based thread-specific variables support in wxString cache now that it is fixed to work there; finally added a unit test for TLS stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 23:28:42 +00:00
Vadim Zeitlin
33ccf3d1ec
make the length of string proportional to the parameter to study test time dependency on it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-29 13:56:03 +00:00
Vadim Zeitlin
8fad8b2e52
add the possibility to pass numeric parameters to benchmark functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-28 17:14:39 +00:00
Vadim Zeitlin
2976d6cbc0
unbuffer cout to work around bug in Debian version of cppunit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-27 20:37:44 +00:00
Vadim Zeitlin
3c06bd88f4
no changes, just a typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 16:43:45 +00:00
Václav Slavík
6bd4f2812d
fixed writing to wxUniCharRef after its 'parent' iterator was destroyed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-26 13:02:38 +00:00
Václav Slavík
c21faa0a3e
added wxString benchmark using 2.8's HTML parser
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:48:09 +00:00
Václav Slavík
4c25eaccc9
HAVE_BOOST_THREAD should be off by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-13 15:47:20 +00:00
Václav Slavík
0654c03aff
added microbenchmark for wxCharBuffer performance
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-11 19:31:23 +00:00
Vadim Zeitlin
817d057840
added test for Replace(whatever, "")
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-09 15:50:24 +00:00
Vadim Zeitlin
64a044d5a6
added wxTLS_TYPE() macro
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55019 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 02:59:32 +00:00
Vadim Zeitlin
c585ccef9c
added Win32 TLS tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 01:13:30 +00:00
Vadim Zeitlin
49f11e8482
add TLS access benchmark
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-08 00:43:20 +00:00
Vadim Zeitlin
ac41e143de
pass asciistr, not utf8str, to FromAscii
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 17:53:25 +00:00
Vadim Zeitlin
c517ecec15
show default values of the options in the usage message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-06 14:22:13 +00:00
Vadim Zeitlin
604fba2d34
made wxDELETE[A]() template functions instead of macros; they now also check that their argument is fully declared ( #9685 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-02 22:49:01 +00:00
Vadim Zeitlin
0c7db140c5
add wxString::Capitalize() and MakeCapitalized() for consistency with Upper/Lower() we already have
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-08-01 23:39:11 +00:00
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