Vadim Zeitlin
fb86a4bb69
regenerated to add textfiletest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 14:04:59 +00:00
Vadim Zeitlin
7e0a8463eb
made DoTestConversion() work with strings containing NULs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-01 03:24:23 +00:00
Vadim Zeitlin
2229d9b30b
added missing licence information
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 21:14:40 +00:00
Vadim Zeitlin
5975f1982d
added UTF16 test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 20:25:20 +00:00
Vadim Zeitlin
b0441359ca
test predefined wxConvUTF[78] too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 19:30:34 +00:00
Vadim Zeitlin
7ce0c58f8d
the expected test result was wrong, corrected; also define a manifest constant only once instead of using its value everywhere
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 19:24:23 +00:00
Vadim Zeitlin
6ef5a7a370
fixed if/idef wxHAVE_U_ESCAPE mixup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 19:15:46 +00:00
Vadim Zeitlin
ed177375b2
use wxHAVE_U_ESCAPE to accomodate old compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:43:10 +00:00
Vadim Zeitlin
8da7a00a94
enable tests using \u escapes for VC7; replaced compiler version checks for this with wxHAVE_U_ESCAPE defined once and for all in testprec.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:42:26 +00:00
Vadim Zeitlin
a65ca3e600
moved wide char conversion tests to their own file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:10:07 +00:00
Vadim Zeitlin
ede838eb4d
removed wxTextFile test case, what was it doing here?
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 17:07:25 +00:00
Vadim Zeitlin
93a57d19fe
added tests for UTF8 and UTF16 files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 14:26:59 +00:00
Vadim Zeitlin
18230eb6b6
Unicode compilation fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 13:58:01 +00:00
Vadim Zeitlin
468c5a97ec
added unit test for wxTextFile (reading only for now)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-31 13:46:38 +00:00
Vadim Zeitlin
8605eb1abe
added ParseDate() tests; use CPPUNIT_ASSERT_EQUAL to see the dates in cppunit output
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-21 16:21:18 +00:00
Michael Wetherell
b26ed94e4f
The cyrillic characters used in the CaseChanges() test have different values
...
on different platforms depending on the cyrillic character set used. So try
generating these from the Unicode instead of using fixed values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 21:16:45 +00:00
Michael Wetherell
0c09451870
Warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 21:16:10 +00:00
Michael Wetherell
1d805c1468
Fix for 64-bit systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 12:59:37 +00:00
Michael Wetherell
fec7aeabc1
Check encoding names case insensitively
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-15 12:58:50 +00:00
Vadim Zeitlin
216a72f3b9
added support for 64 bit ints in wx stream classes (patch 1203970)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:51:34 +00:00
Vadim Zeitlin
34af0de434
compilation fixes for wxUSE_DATETIME==0 (another part of patch 1203970)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-11 16:20:28 +00:00
Vadim Zeitlin
cf9b63b38a
regenerated all makefiles with bakefile 0.2.0; removed REZ option from config.bkl as it's now defined by bakefile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 19:27:51 +00:00
Vadim Zeitlin
1bfb73b877
added wxRect::CentreIn()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-10 00:01:19 +00:00
Vadim Zeitlin
97ad053bff
more standard (although less RFC-conformant) treatment of file: URIs (patch 1415189)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-09 03:09:36 +00:00
Roger Gammans
42b62acfc2
Add flags to test dates struct which allow us to skip ecpected failures.
...
Use new flags feature to allow us to test format dates outside the two digit
year parse range.
Add dates to test for sf.net bug #1357272 and a couple of related issues.
(eg,6Feb{1856,1857,1937}) .
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 14:05:39 +00:00
Roger Gammans
f30057dfbf
Fix for compiler error with gcc 3.3.5 and cppunit 1.10.0 and
...
Improve readablity of test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-02-05 14:01:37 +00:00
Michael Wetherell
9d309aad76
Rebake all the VC++ project files and makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-21 23:06:27 +00:00
Vadim Zeitlin
5ad1f9028d
Unicode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 21:44:44 +00:00
Vadim Zeitlin
06ef151178
added GetString() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-06 21:33:39 +00:00
Vadim Zeitlin
4626c57c58
1. changed wxStringTokenizer to not modify the string we're iterating over
...
but to just update our position in it (makes the code much more clear)
2. added GetLastDelimiter() to make up for lack of mode combining
wxTOKEN_RET_EMPTY_ALL and RET_DELIMS
3. documented it and added unit tests for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 00:12:54 +00:00
Vadim Zeitlin
505a8c2ced
added a couple more wxTOKEN_RET_DELIMS tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-24 00:01:11 +00:00
Vadim Zeitlin
8aa57160a0
even more test cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 23:54:50 +00:00
Vadim Zeitlin
822c2b9f65
corrected expected test results to conform to current wxTOKEN_RET_EMPTY behaviour; added the value of loop index for which the test fails to the diagnostic messages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 23:38:22 +00:00
Vadim Zeitlin
2461117002
more test cases
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-23 23:27:25 +00:00
Vadim Zeitlin
53599fbbd8
Unicode compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 00:17:22 +00:00
Vadim Zeitlin
20a34d96ef
regenerated makefiles after adding tokenizer.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-22 00:11:26 +00:00
Vadim Zeitlin
423d529ccb
compilation test for Unicode build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-21 01:23:17 +00:00
Vadim Zeitlin
421274fade
added tests showing that current wxStringTokenizer code doesn't handle multiple delimiters at the end of string properly in mode != wxTOKEN_STRTOK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 16:48:41 +00:00
Vadim Zeitlin
8b6d5b1fc3
extracted wxStringTokenizer tests in their own file and rewrote them to be table based and more clear (separated strtok()-compatibility test from the other one)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 16:34:09 +00:00
Vadim Zeitlin
a67f601b14
extracted wxStringTokenizer tests in their own file and rewrote them to be table based and more clear (separated strtok()-compatibility test from the other one)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-20 16:30:12 +00:00
Michael Wetherell
716e748b2f
In the past some streams returned Eof() before the end was read past rather
...
after, and also some streams give an error instead of Eof(). Test the archive
streams work with parent streams that have any of these behaviours.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-12-18 13:58:55 +00:00
Vadim Zeitlin
b03cd7e68f
added test for wxString::Format() string truncation for longer strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-30 14:50:54 +00:00
Michael Wetherell
24c96d96bc
wx_wcscmp is only used in unicode mode so wrap in #if wxUSE_UNICODE to avoid
...
a warning about an unused function, and clean up the function at the same time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-27 18:04:06 +00:00
David Elliott
8ced02f601
Ran make -f build/autogen.mk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-25 05:17:36 +00:00
Dimitri Schoolwerth
412e0d47c0
applied patch #1356901 "Yet another removal of extra semicolons", also fixed remaining similar cases of extra semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-20 21:55:35 +00:00
Michael Wetherell
0519aac9db
Warning fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-11 16:55:03 +00:00
Michael Wetherell
5c60e84569
Regenerate Makefile.in, configure and the VC++ project files after adding rcdefs.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-11-09 02:34:32 +00:00
Michael Wetherell
ab6ea1ac2f
Regenerate the msvc makefiles after TARGET_CPU option added
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-16 20:35:41 +00:00
Michael Wetherell
6c1a7bc483
Temporarily disable test that takes a long time to run, needs moving to a named registry
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:04:29 +00:00
Michael Wetherell
ea75e99e8f
Compilation fix for platforms where size_t is larger than long
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:01:25 +00:00
Michael Wetherell
a901c3fde9
Compilation fix, templates are broken on 64-bit VC++ 8.0 beta 2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-15 19:00:12 +00:00
Vadim Zeitlin
4cbcfb73a0
regenerated after version.bkl changes fixing -compatibility_version for Darwin
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-03 21:05:25 +00:00
David Elliott
0ee4059da2
Ran bakefile -f autoconf and autoconf.
...
Some missing headers have been added, the *NODOT variables were
added to samples makefiles and the version changed from 2.6.2 to 2.7.0.
Generated configure now includes "OS/2" fixes per wxAutohacks.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-01 03:42:14 +00:00
Michael Wetherell
d8b6309bde
Extend the hashmap tests to cover integer and pointer keys
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-27 19:11:38 +00:00
Vadim Zeitlin
4f7ee81a08
added ToLong/ULong/Double() tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-11 11:47:11 +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
Vadim Zeitlin
d26adb9df7
Fixed several bugs in wxDateTime timezone handling:
...
- ToTimezone() and MakeTimezone() now work as expected
- added and documented FromTimezone() and MakeFromTimezone()
- Set(double jdn) interprets jdn always in UTC
- updated ParseRfc822Date() timezone handling
- removed workarounds for old bugs from the test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-28 13:06:36 +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
8b9e1f439b
Comment typo fixes from Vince Harron
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-08 22:05:05 +00:00
Michael Wetherell
2113bc7764
Rebake after MSLU and other changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-03 16:10:12 +00:00
Julian Smart
0d90d6ea7a
Rebake for 2.6.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-28 12:48:14 +00:00
Vadim Zeitlin
3c58949394
regenerated to include scope guard test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-20 13:29:15 +00:00
Michael Wetherell
a7ea35b011
Eliminate non-ascii chars from generated include file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-04 12:25:56 +00:00
Vadim Zeitlin
993896f180
added test for HasGroup() bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-01 18:04:11 +00:00
Vadim Zeitlin
702c413357
added scopeguardtest.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-19 22:23:20 +00:00
Włodzimierz Skiba
fd725bce37
Patch #1222244 : Fixes for bug #1212853 with unit test.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-17 11:29:55 +00:00
Vadim Zeitlin
5f7348ce62
added test for wxScopeGuard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-16 23:47:30 +00:00
Vadim Zeitlin
24fec90857
added tests of more URLs in URITestCase::URLCompat()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:19:28 +00:00
Vadim Zeitlin
24ca04e7aa
fix for fixing of escape sequences (patch 1213416)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-06-07 12:17:33 +00:00
Michael Wetherell
5077fd890c
Change 'test -e' to 'test -f' for Sun
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 20:44:31 +00:00
Julian Smart
47a4a1aec8
Baked files for 2.6.1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 16:38:10 +00:00
Włodzimierz Skiba
3f302e7533
Unicode fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-23 16:53:30 +00:00
Vadim Zeitlin
60c0dfe53b
added (trivial) GetLong/ShortPath() test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-04 19:37:00 +00:00
Michael Wetherell
14dc53b2f3
Change the format of the output so that you can jump to the error with your editor.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-01 20:04:47 +00:00
Mattia Barbon
555d0d7ef1
Correct wxArrayString::Add return value as per the documentation.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-26 19:24:12 +00:00
Michael Wetherell
f4dd8614fa
Compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-25 10:32:55 +00:00
Julian Smart
d672173c65
Renewed makefiles after reverting run-time lib change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 20:08:49 +00:00
Julian Smart
21c6080db7
Regenerated makefiles for runtime lib change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33702 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 12:58:24 +00:00
Michael Wetherell
a77104ea45
Use 'test -f' since Sun's shell doesn't have 'test -e'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33688 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-17 00:07:53 +00:00
Julian Smart
4818141bb2
Changed version number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 15:50:13 +00:00
Ryan Norton
4629f07ed2
Add reverse case too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 09:13:11 +00:00
Ryan Norton
2df0258e2b
fix wxString::Replace when new strings are longer than old string
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 09:05:40 +00:00
Ryan Norton
7634e443c0
yet more wxString tests for null chars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 23:44:59 +00:00
Michael Wetherell
573800c5aa
Redo the previous warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 01:29:40 +00:00
Michael Wetherell
34de441c11
Warning fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 00:59:27 +00:00
Vadim Zeitlin
c406cd3da0
added more tests for wxFileConfig creation: adding new entries/groups in different order
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 00:21:51 +00:00
Włodzimierz Skiba
da865fdd32
Deprecate wxPathExists, make wxDirExists used everywhere, minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 16:10:48 +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
Vadim Zeitlin
96461cc29d
added wxMemoryInputStream(wxMemoryOutputStream&) ctor (patch 1170635)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 22:37:58 +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
Włodzimierz Skiba
34930e5304
Build fix after recent changes in library.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 17:21:59 +00:00
Włodzimierz Skiba
489f6cf713
Fix for ambiguities which happen in STL=1 mode under DigitalMars C++.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 20:01:55 +00:00
Julian Smart
8c9f8f91cd
Updated version to 2.5.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 13:05:13 +00:00
Mattia Barbon
fb52f6cf85
Allow building with GCC 2.95.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 23:11:03 +00:00
Mattia Barbon
26531700c7
Correct compilation conditions for wxURL::SetProxy.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 23:09:31 +00:00
Włodzimierz Skiba
27b2dd53f6
Fixed strange situation when we had wxPathExists and wxDirExists with the same finctionality. Using wxPathExists instead wxFileExists (fixes bug #865628 ). Minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 17:46:32 +00:00
Włodzimierz Skiba
6ca3a32256
Unicode fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 19:52:52 +00:00
Ryan Norton
e605541c36
"test" for testing a [fixed] proxy crash (from last commit)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 03:33:50 +00:00
Michael Wetherell
e126517457
Add wxTempFileOutputStream
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 16:20:51 +00:00
Vadim Zeitlin
fcae713511
another test for DST bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32438 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 00:23:05 +00:00
Vadim Zeitlin
981cc5bbe9
fixed test to actually work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 00:20:31 +00:00
Vadim Zeitlin
dfecbee579
support filenames with empty extension (foo.) (bug 1078200)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 00:18:37 +00:00
Vadim Zeitlin
1d4037aa1f
fixed ToString() for negative long longs (bug 1101426)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32433 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 23:08:13 +00:00
Vadim Zeitlin
c6e8c6f84a
compilation fix (need meth.h for fabs)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 22:48:26 +00:00
David Elliott
94acd38ec2
Rebaked with Bakefile 0.1.7.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 03:56:12 +00:00
Michael Wetherell
0912690b65
Rename wxGetFileType to wxGetFileKind
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 21:53:51 +00:00
Michael Wetherell
9e8e867ff9
Rename wxUSE_ARCSTREAM to wxUSE_ARCHIVE_STREAMS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-12 21:40:48 +00:00
Michael Wetherell
3c70014d96
Add wxGetFileType and IsSeekable
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-11 12:39:03 +00:00
Michael Wetherell
070e8453c0
Compile console apps with wxUSE_GUI=0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 16:26:34 +00:00
Michael Wetherell
e6477b92b7
Separate out zip specific parts of the archive test suite
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-10 14:06:08 +00:00
Michael Wetherell
cb32743940
Rebaked test.bkl for new tests largefile, size, point
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-08 16:10:29 +00:00
Ryan Norton
086d7f3177
update to patch [ 1077074 ] Unit test for large file support from Mike
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-04 15:15:20 +00:00
Vadim Zeitlin
8673a12505
fixed Inflate() to not move the rectangle (patch 1114622)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-04 11:04:43 +00:00
Ryan Norton
48714f7495
patch [ 1077074 ] Unit test for large file support
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-04 09:43:47 +00:00
Vadim Zeitlin
a480d0ab83
added test for the DST bug (patch 1097811)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 01:36:28 +00:00
Vadim Zeitlin
00b34ed7ed
added a few more UTF-[78] tests
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 01:14:53 +00:00
Vadim Zeitlin
ec54fe9e18
added small UTF 8 conversion test case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 00:31:47 +00:00
Włodzimierz Skiba
e3f2384e48
Unicode markup.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-24 11:16:42 +00:00
Mattia Barbon
10dcbe6369
Fix wxSortedArray::Index() when wxUSE_STL == 1, with tests.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-22 13:28:49 +00:00
Włodzimierz Skiba
cad3d9c14c
MinGW warning fix for hundreds of not initialized members.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 15:41:09 +00:00
Włodzimierz Skiba
a09cd1895e
MinGW warning fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 19:50:43 +00:00
Mattia Barbon
fcbeab2fd8
Additional sanity check.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 07:28:42 +00:00
Mattia Barbon
ca7766b4e5
Compilation fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 07:28:04 +00:00
David Elliott
d3c073a285
Rebaked (Bakefile 0.1.4). Corresponds to tests.bkl,1.30,1.31
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 18:18:04 +00:00
Włodzimierz Skiba
51496782d1
wxLongLong to wxString operators.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 18:57:21 +00:00
Dimitri Schoolwerth
cbc9c06fe5
added FileConfig test case exposing a problem with deleting the last group
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 11:12:05 +00:00
Włodzimierz Skiba
b713f8919c
wx/math.h integration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:52:13 +00:00
Włodzimierz Skiba
d76bb5b289
Geometry operators tests.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:29:21 +00:00
Włodzimierz Skiba
3e8f9a4980
Geometry operators tests.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:29:20 +00:00
Václav Slavík
98a50e202c
even GUI test should be console app
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:25:46 +00:00
Vadim Zeitlin
e07e8195ae
added a test for wxRect::Union()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:23:19 +00:00
Václav Slavík
a0744a6b06
added GUI test program
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 12:35:45 +00:00
Mattia Barbon
7d9cfc5483
Moved tests for wxHashMap, wxHashSet and wxList
...
from console sample and converted them to unit tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 22:39:22 +00:00
Ryan Norton
ff3d9a3532
better name - add newline to end of file for dumber compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 00:02:11 +00:00
Ryan Norton
c08dd08b3e
add wxStripExtension test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 23:58:11 +00:00
Ryan Norton
f44eaed650
patch 1073385
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 20:37:44 +00:00
Ryan Norton
2f4bebe8ff
data stream test for extended
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 22:31:25 +00:00
Ryan Norton
8f0ff17851
[ 1070686 ] wxOutputStream::Close()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 14:26:10 +00:00
Ryan Norton
95662a8379
Lots and lots and lots of MSVC fixes for archive stuff, some stuff from patch 1071373
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 13:49:43 +00:00
Włodzimierz Skiba
724d491f1d
Empty line at the end.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 15:12:29 +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
8c6be1a881
Unicode logic fixes for AddEntries
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 19:21:17 +00:00
Ryan Norton
0868a03009
Hack around MSVC 6 for forward declarators (from Mike W)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 18:59:36 +00:00
Ryan Norton
ba8546912d
wxTextOutputStream::PutChar and text stream test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 18:26:38 +00:00
Ryan Norton
2c09fb3b8b
wxMemxxx --> wxTmemxxx, get rid of wxdocmpxxx impossible case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 17:44:40 +00:00
Ryan Norton
4130044adf
Remove silly include (from me I guess :))
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 17:11:38 +00:00
Ryan Norton
56863b1608
MSVC 6 compilo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 17:10:25 +00:00
Włodzimierz Skiba
9386cb75e3
Warning fixes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-12 14:08:31 +00:00