wxWidgets/tests
Vadim Zeitlin 5f899cbe91 Fix bug when setting an out of range date in wxMSW wxDatePickerCtrl.
The internally stored date value was getting out of sync with the real date in
the control itself when SetValue() was called with a date out of the currently
set range. This resulted in an assert failure and other unpleasantness later.

Fix the bug and add a unit test checking for it (and also with some other
basic wxDatePickerCtrl checks).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-06-19 22:46:45 +00:00
..
any No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
archive Replaced Ok() occurrences with IsOk() throughout trunk. 2011-05-03 16:29:04 +00:00
arrays No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
base64 No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
benchmarks Add a trivial benchmark for wxDateTime::ParseDate(). 2011-05-23 11:06:48 +00:00
cmdline No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
config No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
controls Fix bug when setting an out of range date in wxMSW wxDatePickerCtrl. 2011-06-19 22:46:45 +00:00
datetime Extract wxDateTime-related cppunit helpers in a separate header file. 2011-06-19 22:46:42 +00:00
events No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
exec No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
file Fix FileTestCase to really test strings with embedded NULs. 2010-10-16 23:05:26 +00:00
filekind No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
filename No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
filesys No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
font No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
fontmap No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
formatconverter No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
fswatcher Attempt to work around Mac g++ 4.0 bug in fswatcher unit test. 2011-05-10 08:54:20 +00:00
geometry No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
graphics No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
hashes No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
html No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
image Make it easier to compare wxImages in the unit tests. 2011-04-26 22:57:16 +00:00
interactive Fix tests compilation without wxUSE_REGEX. 2010-10-03 17:14:57 +00:00
intl No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
lists No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
log No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
longlong No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
mbconv No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
menu Rewrote wxMSW radio menu items code to support not only appending them. 2011-05-10 08:50:38 +00:00
misc No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
net Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
regex No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
scopeguard No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
sizers No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
streams Replaced Ok() occurrences with IsOk() throughout trunk. 2011-05-03 16:29:04 +00:00
strings Allow passing wxLongLong values directly to wx pseudo-vararg functions. 2011-05-17 22:12:39 +00:00
textfile No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
thread No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
toplevel Rebaked test GUI projects with toplevel.cpp included. 2011-05-01 14:58:58 +00:00
uris No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
validators No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
vectors No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
weakref No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
window Ensure that we never return negative client size. 2011-05-16 14:07:40 +00:00
xlocale No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
xml No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
asserthelper.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
asserthelper.h Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
descrip.mms Include compilation of tests for OpenVMS (part1) 2010-12-15 09:51:48 +00:00
dummy.cpp
horse.ani add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.bmp add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.cur add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.gif add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.ico add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.jpg add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.pcx add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.png add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.pnm add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.tga add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.tif add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
horse.xpm add wxImage test units to test loading from both seekable and non-seekable streams 2009-06-01 11:46:36 +00:00
makefile.bcc Fix bug when setting an out of range date in wxMSW wxDatePickerCtrl. 2011-06-19 22:46:45 +00:00
makefile.gcc Fix bug when setting an out of range date in wxMSW wxDatePickerCtrl. 2011-06-19 22:46:45 +00:00
Makefile.in Fix bug when setting an out of range date in wxMSW wxDatePickerCtrl. 2011-06-19 22:46:45 +00:00
makefile.vc Fix bug when setting an out of range date in wxMSW wxDatePickerCtrl. 2011-06-19 22:46:45 +00:00
makefile.wat Fix bug when setting an out of range date in wxMSW wxDatePickerCtrl. 2011-06-19 22:46:45 +00:00
runtests.bat adds proper detection of tests success/failure; clear that "error level" != "return code" 2009-03-23 14:57:10 +00:00
test_printfbench.dsp link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build (#10338) 2009-01-15 13:33:51 +00:00
test_test_gui.dsp Fix bug when setting an out of range date in wxMSW wxDatePickerCtrl. 2011-06-19 22:46:45 +00:00
test_test.dsp Rebake everything using bakefile 0.2.9. 2011-02-03 15:02:45 +00:00
test_vc7_printfbench.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
test_vc7_test_gui.vcproj Fix bug when setting an out of range date in wxMSW wxDatePickerCtrl. 2011-06-19 22:46:45 +00:00
test_vc7_test.vcproj Link console programs with PNG library in monolithic build. 2011-02-05 20:25:09 +00:00
test_vc8_printfbench.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
test_vc8_test_gui.vcproj Fix bug when setting an out of range date in wxMSW wxDatePickerCtrl. 2011-06-19 22:46:45 +00:00
test_vc8_test.vcproj Link console programs with PNG library in monolithic build. 2011-02-05 20:25:09 +00:00
test_vc9_printfbench.vcproj update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
test_vc9_test_gui.vcproj Fix bug when setting an out of range date in wxMSW wxDatePickerCtrl. 2011-06-19 22:46:45 +00:00
test_vc9_test.vcproj Link console programs with PNG library in monolithic build. 2011-02-05 20:25:09 +00:00
test.bkl Fix bug when setting an out of range date in wxMSW wxDatePickerCtrl. 2011-06-19 22:46:45 +00:00
test.cpp Change the return code of the test program so that aborting a test with an 2010-10-22 22:15:07 +00:00
testableframe.cpp Changed licence references to "wxWindows licence". 2011-04-04 09:21:52 +00:00
testableframe.h Changed licence references to "wxWindows licence". 2011-04-04 09:21:52 +00:00
testdata.fc
testdate.h Extract wxDateTime-related cppunit helpers in a separate header file. 2011-06-19 22:46:42 +00:00
testfile.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
testimage.h Make it easier to compare wxImages in the unit tests. 2011-04-26 22:57:16 +00:00
testprec.h Don't do anything in WX_ASSERT_FAILS_WITH_ASSERT when wxDEBUG_LEVEL==0. 2011-04-05 22:29:58 +00:00