wxWidgets/tests
Vadim Zeitlin 41d5ebc86f Fix wxCmdLineParser::Found(name) for options with values.
Calling Found() without providing the second "value" argument started
generating an assert since introduction of the negated options as it reused
FoundSwitch() which can only be used for switches, i.e. options without
values.

Fix this to revert a regression since 2.8 and also add unit tests for the
different Found() overloads.

Closes #15986, #16001.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2014-02-20 00:32:47 +00:00
..
any Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
archive Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
arrays Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
base64 Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
benchmarks Fix benchmarks compilation with WXWIN_COMPATIBILITY_2_8 set to 0. 2014-01-07 21:54:48 +00:00
cmdline Fix wxCmdLineParser::Found(name) for options with values. 2014-02-20 00:32:47 +00:00
config Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
controls Fix wxTextCtrl contents corruption with long strings in wxMSW. 2014-02-20 00:32:34 +00:00
datetime Consistently handle DST start time in wxDateTime::Set(). 2013-09-08 18:00:58 +00:00
events Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
exec Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
file Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
filekind Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
filename Try to use /proc/self instead of /dev/core in the unit test. 2013-12-02 16:50:22 +00:00
filesys Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
font remove WXWIN_COMPATIBILITY_2_6, add WXWIN_COMPATIBILITY_3_0 2014-01-04 20:07:33 +00:00
fontmap Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
formatconverter Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
fswatcher Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
geometry Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
graphics Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
hashes Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
html Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
image Try rounding the values when resizing wxImage instead of truncating. 2014-01-26 16:24:42 +00:00
interactive Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
intl Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
lists Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
log Rewrite wxLogXXX() macros to avoid "ambiguous else" warnings. 2013-08-31 17:41:16 +00:00
longlong Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
mbconv Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
menu Fix wxMenu::GetTitle() before the menu is appended to the menu bar. 2013-08-30 23:32:37 +00:00
misc Add wxOleConvertVariant_ReturnSafeArrays flag for better SAFEARRAY handling. 2013-10-14 15:08:35 +00:00
net Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
regex Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
scopeguard Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
sizers Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
streams Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
strings Fix bug with non-NUL-terminaed inputs in wxMBConvUTF8. 2014-01-29 22:25:14 +00:00
textfile Fix failing TextFileTestCase::ReadMixedWithFuzzing(). 2014-02-06 10:15:06 +00:00
thread Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
toplevel Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
uris Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
validators Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
vectors Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
weakref Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
window Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
xlocale Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
xml Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
asserthelper.cpp Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
asserthelper.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
descrip.mms Fixes for OpenVMS on IA64 2011-09-29 13:47:38 +00:00
dummy.cpp Empty line at the end. 2004-11-22 15:12:29 +00:00
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 More version change related changes to the generated files. 2013-11-23 00:34:42 +00:00
makefile.gcc More version change related changes to the generated files. 2013-11-23 00:34:42 +00:00
Makefile.in Update version to 3.1.0. 2013-11-21 13:47:05 +00:00
makefile.vc More version change related changes to the generated files. 2013-11-23 00:34:42 +00:00
makefile.wat More version change related changes to the generated files. 2013-11-23 00:34:42 +00:00
runtests.bat Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +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 Update version to 3.1.0. 2013-11-21 13:47:05 +00:00
test_test.dsp Update version to 3.1.0. 2013-11-21 13:47:05 +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 Update version to 3.1.0. 2013-11-21 13:47:05 +00:00
test_vc7_test.vcproj Update version to 3.1.0. 2013-11-21 13:47:05 +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 Update version to 3.1.0. 2013-11-21 13:47:05 +00:00
test_vc8_test.vcproj Update version to 3.1.0. 2013-11-21 13:47:05 +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 Update version to 3.1.0. 2013-11-21 13:47:05 +00:00
test_vc9_test.vcproj Update version to 3.1.0. 2013-11-21 13:47:05 +00:00
test.bkl Add wxOleConvertVariant_ReturnSafeArrays flag for better SAFEARRAY handling. 2013-10-14 15:08:35 +00:00
test.cpp Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testableframe.cpp Fix wxDataFormat comparison operators for wxDF_HTML under wxMSW. 2013-10-14 15:07:57 +00:00
testableframe.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testdata.fc
testdate.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testfile.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testimage.h Remove all lines containing cvs/svn "$Id$" keyword. 2013-07-26 16:02:46 +00:00
testprec.h Fix totally broken LocaleSetter class in the test suite. 2013-07-15 01:31:47 +00:00