wxWidgets/tests
Vadim Zeitlin d383f40e7b Preserve value when changing range of inverted wxSlider in wxMSW.
The logical value of wxSlider was changed when its range was changed in wxMSW
if the slider had wxSL_INVERSE style because the logical value was actually
computed using the range and the actual physical control value and we forgot
to update the latter when changing the range.

Do update it now in SetRange() to fix this.

Also add unit tests checking for this and, more generally, for other
operations with inversed sliders.

Closes #12765.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-12-13 18:10:02 +00:00
..
any Compilation fix for wxAnyTestCase in ANSI-only build. 2010-07-12 22:50:47 +00:00
archive Corrected formatting of archiver command in the tests. 2010-06-24 10:33:36 +00:00
arrays
base64
benchmarks Add benchmarks for various ways to compare strings. 2010-09-20 12:52:21 +00:00
cmdline
config Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
controls Preserve value when changing range of inverted wxSlider in wxMSW. 2010-12-13 18:10:02 +00:00
datetime Fix crashes in wxDateTime::ParseDate() for some invalid dates. 2010-11-16 22:37:52 +00:00
events Disable keyboard unit test with wxUIActionSimulator under OS X. 2010-11-05 21:37:27 +00:00
exec
file Fix FileTestCase to really test strings with embedded NULs. 2010-10-16 23:05:26 +00:00
filekind Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
filename Don't consider extra ".." an error in wxFileName::Normalize(). 2010-11-20 23:53:28 +00:00
filesys
font Correct wxFont::GetFamily() unit test to test for wxFONTFAMILY_DEFAULT. 2010-11-21 13:00:13 +00:00
fontmap
formatconverter Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
fswatcher
geometry
graphics Disable measuring context unit test for wxX11. 2010-11-10 13:52:52 +00:00
hashes
html Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
image Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
interactive Fix tests compilation without wxUSE_REGEX. 2010-10-03 17:14:57 +00:00
intl
lists
log Exclude tests relying on last error being set under MinGW. 2010-10-03 17:15:24 +00:00
longlong
mbconv Disable unit tests which can't work in ANSI build. 2010-11-10 13:53:49 +00:00
menu Don't require leading TAB in wxAcceleratorEntry::FromString(). 2010-12-03 12:39:57 +00:00
misc Revert r66070: "Unload bogus XRC resources in "garbage" unit test." 2010-11-21 13:00:06 +00:00
net Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
regex Fix tests compilation without wxUSE_REGEX. 2010-10-03 17:14:57 +00:00
scopeguard Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
sizers Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
streams Use wxString::To8BitData() instead of mb_str() to handle NULs correctly. 2010-11-10 13:53:40 +00:00
strings Disable unit tests which can't work in ANSI build. 2010-11-10 13:53:49 +00:00
textfile
thread make POSIX and Windows implementation of wxThread::Run() coherently assert when trying to Run() a thread twice; add a test for it. 2010-07-25 13:55:36 +00:00
toplevel Set svn properties on .cpp files. 2010-09-17 11:17:55 +00:00
uris Disable unit tests which can't work in ANSI build. 2010-11-10 13:53:49 +00:00
vectors
weakref
window Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
xlocale
xml Disable unit tests which can't work in ANSI build. 2010-11-10 13:53:49 +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
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 Don't require leading TAB in wxAcceleratorEntry::FromString(). 2010-12-03 12:39:57 +00:00
makefile.gcc Don't require leading TAB in wxAcceleratorEntry::FromString(). 2010-12-03 12:39:57 +00:00
Makefile.in Don't require leading TAB in wxAcceleratorEntry::FromString(). 2010-12-03 12:39:57 +00:00
makefile.vc Don't require leading TAB in wxAcceleratorEntry::FromString(). 2010-12-03 12:39:57 +00:00
makefile.wat Don't require leading TAB in wxAcceleratorEntry::FromString(). 2010-12-03 12:39:57 +00:00
runtests.bat
test_printfbench.dsp
test_test_gui.dsp Don't require leading TAB in wxAcceleratorEntry::FromString(). 2010-12-03 12:39:57 +00:00
test_test.dsp move console sample's interactive tests to two different CppUnit testsuites: InteractiveInputTestCase which requires user input and InteractiveOutputTestCase which outputs stuff to be checked from the user. 2010-06-21 21:03:47 +00:00
test_vc7_printfbench.vcproj
test_vc7_test_gui.vcproj Don't require leading TAB in wxAcceleratorEntry::FromString(). 2010-12-03 12:39:57 +00:00
test_vc7_test.vcproj move console sample's interactive tests to two different CppUnit testsuites: InteractiveInputTestCase which requires user input and InteractiveOutputTestCase which outputs stuff to be checked from the user. 2010-06-21 21:03:47 +00:00
test_vc8_printfbench.vcproj
test_vc8_test_gui.vcproj Don't require leading TAB in wxAcceleratorEntry::FromString(). 2010-12-03 12:39:57 +00:00
test_vc8_test.vcproj move console sample's interactive tests to two different CppUnit testsuites: InteractiveInputTestCase which requires user input and InteractiveOutputTestCase which outputs stuff to be checked from the user. 2010-06-21 21:03:47 +00:00
test_vc9_printfbench.vcproj
test_vc9_test_gui.vcproj Don't require leading TAB in wxAcceleratorEntry::FromString(). 2010-12-03 12:39:57 +00:00
test_vc9_test.vcproj move console sample's interactive tests to two different CppUnit testsuites: InteractiveInputTestCase which requires user input and InteractiveOutputTestCase which outputs stuff to be checked from the user. 2010-06-21 21:03:47 +00:00
test.bkl Don't require leading TAB in wxAcceleratorEntry::FromString(). 2010-12-03 12:39:57 +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 Add ClearEventCount to wxTestableFrame. This means we can clear an event count when an event counter goes out of scope so the are no spurious results in later tests. 2010-09-23 16:55:29 +00:00
testableframe.h Add ClearEventCount to wxTestableFrame. This means we can clear an event count when an event counter goes out of scope so the are no spurious results in later tests. 2010-09-23 16:55:29 +00:00
testdata.fc
testfile.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
testprec.h Fix wxUSING_VC_CRT_IO definition in the tests when not using MinGW. 2010-10-03 22:23:57 +00:00