wxWidgets/tests
Vadim Zeitlin 7582edfbf9 Fix wxLocale::GetInfo() in C locale under Windows.
Don't use LOCALE_USER_DEFAULT when the locale hadn't been changed because the
user default locale often (and maybe even always) is different from "C" locale
used by the CRT resulting in mismatch between the conventions used by
wxDateTime::Format(), which uses the CRT locale, and wxDateTime::Parse(),
which uses Windows format. Instead use the hard-coded values corresponding to
the "C" locale to ensure we use the same values as the CRT in this case.

This also reverts r73244 which was applies to make the unit tests pass before
this fix as it's not necessary any longer.

Closes #14918.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2012-12-29 21:53:13 +00:00
..
any
archive Check the return value of system() and pipe() in the test suite. 2012-10-20 14:49:13 +00:00
arrays Test correctness of wxArray::Index() with bFromEnd=true. 2011-11-05 15:20:11 +00:00
base64
benchmarks Increase version to 2.9.5. 2012-07-10 23:51:44 +00:00
cmdline
config Fix crash in wxFileConfig when deleting last entry of the root group. 2012-04-28 22:25:19 +00:00
controls Tests for wxTEST_DIALOG and wx/testing.h. 2012-11-01 16:45:14 +00:00
datetime Fix bugs in the recently added wxDateTime::DiffAsDateSpan(). 2012-10-04 22:48:30 +00:00
events Fix crashes after using "wildcard" wxEvtHandler::Disconnect(). 2012-11-10 12:22:32 +00:00
exec Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
file Fix fatal bug in the recently added wxFile::ReadAll(). 2012-10-04 22:47:44 +00:00
filekind Check the return value of system() and pipe() in the test suite. 2012-10-20 14:49:13 +00:00
filename Fix filename test compilation with VC6. 2012-11-10 12:21:46 +00:00
filesys
font Handle underlined and strikethrough attributes in wxGTK native font info. 2012-09-15 23:17:12 +00:00
fontmap
formatconverter
fswatcher Add wxFSW_EVENT_ATTRIB wxFileSystemWatcher flag. 2012-11-17 23:56:00 +00:00
geometry Add a simple unit test for wxRegion::Intersect(). 2012-10-23 12:03:09 +00:00
graphics Replace a template function with template class to fix VC6 build. 2012-11-12 15:50:13 +00:00
hashes
html Move getting the unit test event count from wxTestableFrame to the EventCounter class. This reduces the need to have wxTestableFrame pointers all over the unit testing code and should reduce bugs caused by counting the wrong events. 2012-03-11 14:32:24 +00:00
image Added alpha saving support to TIFF image handler. 2011-08-29 01:13:06 +00:00
interactive Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
intl Fix unit test French locate checks for glibc >= 2.8. 2012-02-20 10:59:37 +00:00
lists
log
longlong
mbconv
menu Reuse wxMenu::SendEvent() from wxFrameBase::ProcessCommand(). 2012-04-05 22:27:32 +00:00
misc PCH-less build fix for DynamicLibraryTestCase. 2012-10-24 23:41:04 +00:00
net Add per-direction wxSocket wait flags and byte counters. 2012-09-30 22:21:44 +00:00
regex
scopeguard
sizers Respect item max sizes in wxBoxSizer. 2012-08-15 23:34:27 +00:00
streams Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
strings Fix bugs in parsing wxLongLong values starting with zeroes. 2012-08-30 20:22:17 +00:00
textfile
thread
toplevel No changes, just cleanup TopLevelWindowTestCase unit test a little. 2012-03-04 00:29:14 +00:00
uris
validators Add IsAutomaticTest() function to the unit tests. 2012-06-01 16:21:06 +00:00
vectors
weakref
window Honour window min and max sizes in wxWindow::GetBestSize(). 2012-08-15 23:34:18 +00:00
xlocale Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
xml
asserthelper.cpp
asserthelper.h
descrip.mms Fixes for OpenVMS on IA64 2011-09-29 13:47:38 +00:00
dummy.cpp
horse.ani
horse.bmp
horse.cur
horse.gif
horse.ico
horse.jpg
horse.pcx
horse.png
horse.pnm
horse.tga
horse.tif
horse.xpm
makefile.bcc Add wxTEST_DIALOG for testing of modal dialogs. 2012-11-01 16:45:11 +00:00
makefile.gcc Add wxTEST_DIALOG for testing of modal dialogs. 2012-11-01 16:45:11 +00:00
Makefile.in Add wxTEST_DIALOG for testing of modal dialogs. 2012-11-01 16:45:11 +00:00
makefile.vc Add wxTEST_DIALOG for testing of modal dialogs. 2012-11-01 16:45:11 +00:00
makefile.wat Add wxTEST_DIALOG for testing of modal dialogs. 2012-11-01 16:45:11 +00:00
runtests.bat
test_printfbench.dsp
test_test_gui.dsp Add wxTEST_DIALOG for testing of modal dialogs. 2012-11-01 16:45:11 +00:00
test_test.dsp
test_vc7_printfbench.vcproj
test_vc7_test_gui.vcproj Add wxTEST_DIALOG for testing of modal dialogs. 2012-11-01 16:45:11 +00:00
test_vc7_test.vcproj
test_vc8_printfbench.vcproj
test_vc8_test_gui.vcproj Add wxTEST_DIALOG for testing of modal dialogs. 2012-11-01 16:45:11 +00:00
test_vc8_test.vcproj Rebake all project files to reflect MSVC deprecation warnings defines. 2012-02-07 21:38:09 +00:00
test_vc9_printfbench.vcproj
test_vc9_test_gui.vcproj Add wxTEST_DIALOG for testing of modal dialogs. 2012-11-01 16:45:11 +00:00
test_vc9_test.vcproj Rebake all project files to reflect MSVC deprecation warnings defines. 2012-02-07 21:38:09 +00:00
test.bkl Add wxTEST_DIALOG for testing of modal dialogs. 2012-11-01 16:45:11 +00:00
test.cpp Fix wxLocale::GetInfo() in C locale under Windows. 2012-12-29 21:53:13 +00:00
testableframe.cpp Move getting the unit test event count from wxTestableFrame to the EventCounter class. This reduces the need to have wxTestableFrame pointers all over the unit testing code and should reduce bugs caused by counting the wrong events. 2012-03-11 14:32:24 +00:00
testableframe.h Move getting the unit test event count from wxTestableFrame to the EventCounter class. This reduces the need to have wxTestableFrame pointers all over the unit testing code and should reduce bugs caused by counting the wrong events. 2012-03-11 14:32:24 +00:00
testdata.fc
testdate.h Add wxDateTime::DiffAsDateSpan(). 2012-10-01 09:55:05 +00:00
testfile.h
testimage.h Added alpha saving support to TIFF image handler. 2011-08-29 01:13:06 +00:00
testprec.h Add IsAutomaticTest() function to the unit tests. 2012-06-01 16:21:06 +00:00