Commit Graph

222 Commits

Author SHA1 Message Date
Francesco Montorsi
3e23102435 don't assert at startup because of the static initialization of a wxLocale object requires a valid wxAppTraits object; init the locale later, in TestDefaultLang()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 15:58:03 +00:00
Vadim Zeitlin
c19c2f6efa disable compilation of test broken by wxMimeTypesManager changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-18 23:36:04 +00:00
Vadim Zeitlin
bb573115a9 fix compilation of TestRegConfRead()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-17 17:12:18 +00:00
Vadim Zeitlin
bf3bf67786 compilation fix (casts for mb_str() used as argument to printf() and a few others) (#9571)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-14 14:27:07 +00:00
Vadim Zeitlin
1282ddbb4d don't show more than 20 lines of redirected IO, just 10 first and last ones is enough to check that the code works correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:49:45 +00:00
Vadim Zeitlin
ea58aac580 correct the REDIRECT_COMMAND definition for Unix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 04:08:03 +00:00
Vadim Zeitlin
42c46d5283 kill the process launched by wxExecute(ASYNC) to avoid leaving unneeded processes running
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 23:55:03 +00:00
Vadim Zeitlin
331abcf7d7 uncomment wxExecute(ASYNC) test now that it's supposed to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52662 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 23:48:29 +00:00
Vadim Zeitlin
b1859b1a1b added support for double arguments to wxCmdLineParser (patch 1907289)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 02:33:25 +00:00
Vadim Zeitlin
d2263bbca3 removed stray include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 22:31:00 +00:00
Vadim Zeitlin
1e6b2edfc8 remove ODBC and DBgrid libraries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-23 13:40:27 +00:00
Vadim Zeitlin
50c549b98d many wxIPC Unicode and UTF-8 fixes (use void* instead of wxChar* in the API and UTF-8 as wire format for wxStrings) (patch 1812926)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 22:54:26 +00:00
Vadim Zeitlin
060668a1f6 export wxInvalidSize from DLL builds (patch 1805738)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 14:34:43 +00:00
Vadim Zeitlin
b61af83717 use wxNullPtr instead of NULL with wxFileTypeInfo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-30 17:45:35 +00:00
Vadim Zeitlin
74e10fcc6a reset one shot timer internal state instead of leaving it thinking that it's still running (mdified patch 1730597)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:34:54 +00:00
Vadim Zeitlin
549b95b3de added wxTimer test (now that it works in console applications too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:15:52 +00:00
Václav Slavík
6f207e6699 compilation fixes for --disable-compat28
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:01:19 +00:00
Vadim Zeitlin
ddd94f80a7 compilation fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 19:55:19 +00:00
Robert Roebling
ac7ad70d4c [ 1590221 ] wxStandardPaths::GetExecutablePath
Required for optimised stackwalker patch.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 12:58:10 +00:00
Vadim Zeitlin
59062ec113 add wxTempFile test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:25:08 +00:00
Vadim Zeitlin
5df663afec close the file before removing it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 01:48:38 +00:00
Paul Cornett
0219fd2faa warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 05:33:22 +00:00
Vadim Zeitlin
8bb6b2c057 wxPlatformInfo (patch 1532064)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 21:00:32 +00:00
Vadim Zeitlin
10d878a9ea fix printf() argument type in GetOsInfo()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-08-13 20:30:17 +00:00
Vadim Zeitlin
af266e5bf7 added possibility to specify modules dependencies
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-06-11 22:19:12 +00:00
Vadim Zeitlin
17af82fb4c added wxStandardPaths::GetDocumentsDir() (patch 1214360)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-04-17 01:12:04 +00:00
Vadim Zeitlin
3af9f2de59 added wxStandardPaths::GetResourcesDir() and GetLocalizedResourcesDir()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-03-25 17:00:40 +00:00
Włodzimierz Skiba
b20edf8b33 Better #include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-01-26 19:06:06 +00:00
Vadim Zeitlin
eb42e596aa blind compilation fix for TestScopeGuard()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-10-21 17:33:42 +00:00
Włodzimierz Skiba
dab6fbae46 Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-29 12:34:47 +00:00
Włodzimierz Skiba
65e324b4b0 Root for OS2 - feedback from openwatcom newsgroups.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-09-26 08:44:35 +00:00
Michael Wetherell
a379a35f4b Make TEST_DIR the current test, so that the djgpp build can work on the tinderbox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-08-25 11:17:06 +00:00
Vadim Zeitlin
93ed8ff770 added wxDynamicLibrary::GetSymbolAorW()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-07-29 22:27:13 +00:00
Julian Smart
3103e8a97e Typo correction patch [ 1208110 ] Lots of typo corrections
Olly Betts


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-05-31 09:20:43 +00:00
Julian Smart
f6c9f2ede7 Spelling correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-20 07:18:45 +00:00
Włodzimierz Skiba
5ba95b7936 Don't hide virtual method in stackwalker. Remove tests implemented now in CppUnit. Use argv in Unicode and ANSI in unicode build. Use base class for standard paths.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 15:44:52 +00:00
Mattia Barbon
60c474a0c4 Miscellaneous compilation and warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-06 10:41:35 +00:00
Mattia Barbon
74e2116a4b Compilation fix for wxUSE_STACKWALKER == 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-03 22:26:44 +00:00
Vadim Zeitlin
eaff0f0d3f implemented wxStackWalker for Unix (using glibc-specific methods); moved wxUSE_STACKWALKER to common setu_inc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 01:15:12 +00:00
Vadim Zeitlin
297ebe6b97 implemented wxDynamicLibrary::ListLoaded() for Linux; added test for it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 23:32:37 +00:00
Vadim Zeitlin
e259f83e0f small tweaks to wxDynamicLibrary test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 22:24:04 +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
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
Vadim Zeitlin
30984deafc new set of fixes for problems due to huge files support: drop wxFileSize_t, use wxFileOffset only, make wxInvalidOffset an int (main part of the patch 1063498)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-10 21:02:58 +00:00
Vadim Zeitlin
af33b19957 wxStandardPaths test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:50:26 +00:00
Włodzimierz Skiba
4b586201d3 Warning fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-07-12 19:21:48 +00:00
Vadim Zeitlin
ccd6aacd5d extracted some wxDateTime tests from console sample to the unit test suite
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 21:18:16 +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
Julian Smart
be5a51fb59 More name changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-25 11:20:37 +00:00
Mattia Barbon
cbca1e087b Converted hash tests to CppUnit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-05-22 17:51:35 +00:00