wxWidgets/tests
Vadim Zeitlin 93f6e00d7b Destroy the in-place edit control in wxGenericListCtrl dtor.
If the in-place text control was still alive when wxGenericListCtrl was
destroyed, it resulted in asserts from wxWindow dtor about child windows still
being alive, so explicitly destroy it from wxListMainWindow dtor.

As this required a slightly different behaviour from wxListTextCtrlWrapper::
EndEdit(), replace its bool argument with an enum one which can take more than
2 values. Not using bool values when calling it also made the code more clear.

Finally, added a unit test verifying that the in-place control is indeed
destroyed correctly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-10-05 13:38:05 +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 Provide implementation for wxArrayString::resize(). 2009-09-16 23:18:48 +00:00
base64 Never overflow the output buffer in wxBase64Decode(). 2009-08-23 22:25:12 +00:00
benchmarks Add benchmarks for various ways to compare strings. 2010-09-20 12:52:21 +00:00
cmdline Fix bug with parsing concatenated switches in wxCmdLineParser. 2009-09-07 23:00:05 +00:00
config Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
controls Destroy the in-place edit control in wxGenericListCtrl dtor. 2010-10-05 13:38:05 +00:00
datetime Format strings fixes in test suite. 2010-06-24 10:34:23 +00:00
events Disable TimerEventTestCase::Multiple() test for ANSI wxGTK build. 2010-10-05 13:37:44 +00:00
exec suppress output from the test commands; use CPPUNIT_ASSERT_EQUAL() whenever possible 2009-04-13 17:33:33 +00:00
file Fix DirTestCase to run on the systems without "C:" drive. 2010-10-03 17:15:52 +00:00
filekind Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
filename small warning+PCH fixes 2010-06-21 21:46:29 +00:00
filesys Fix UTF-8 string storage in constant: use unsigned char. 2010-03-28 17:52:19 +00:00
font Use "monospace" face name for all Unix systems, hopefully it should work. 2010-04-18 22:15:53 +00:00
fontmap Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
formatconverter Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
fswatcher Temporarily disable wxFileSystemWatcher unit test under OS X. 2010-03-22 16:08:44 +00:00
geometry compilation fixes for VC6 2008-01-13 01:13:03 +00:00
graphics Set svn properties on .cpp files. 2010-09-17 11:17:55 +00:00
hashes Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
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 Remove wxLOCALE_CONV_ENCODING flag. 2010-04-16 11:29:22 +00:00
lists Fix return value of wxList::insert() in non-STL builds. 2010-04-12 00:36:36 +00:00
log Exclude tests relying on last error being set under MinGW. 2010-10-03 17:15:24 +00:00
longlong Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
mbconv Run MBConvTestCase::LibcTests() only for MSVC and not other Windows compilers. 2010-10-03 17:15:46 +00:00
misc using proper dylib for darwin 2010-06-20 15:24:01 +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 Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
strings Use wxUSING_VC_CRT_IO for MSVC CRT-specific test results. 2010-10-03 17:16:00 +00:00
textfile Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
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 FTPTestCase by default. 2010-06-02 10:49:44 +00:00
vectors Add wxVectorSort function for sorting wxVector<T> containers. Closes #11889 2010-04-07 20:32:25 +00:00
weakref Fix using weak references to incomplete classes. 2010-04-15 22:47:37 +00:00
window Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
xlocale use "ul" suffix instead of cast to unsigned long; this is not only shorter but also avoids gcc warning about working correctly only in C90 2009-04-17 13:06:27 +00:00
xml Fix attributes escaping when writing XML. 2010-08-04 14:57:30 +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 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 Add a simple test for keyboard events generation. 2010-09-11 10:18:31 +00:00
makefile.gcc Add a simple test for keyboard events generation. 2010-09-11 10:18:31 +00:00
Makefile.in Add a simple test for keyboard events generation. 2010-09-11 10:18:31 +00:00
makefile.vc Add a simple test for keyboard events generation. 2010-09-11 10:18:31 +00:00
makefile.wat Add a simple test for keyboard events generation. 2010-09-11 10:18:31 +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 Add a simple test for keyboard events generation. 2010-09-11 10:18:31 +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 update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
test_vc7_test_gui.vcproj Add a simple test for keyboard events generation. 2010-09-11 10:18:31 +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 update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
test_vc8_test_gui.vcproj Add a simple test for keyboard events generation. 2010-09-11 10:18:31 +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 update bakefile to 0.2.6 2009-04-24 10:36:24 +00:00
test_vc9_test_gui.vcproj Add a simple test for keyboard events generation. 2010-09-11 10:18:31 +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 Add a simple test for keyboard events generation. 2010-09-11 10:18:31 +00:00
test.cpp Don't throw assert failure exception in the test suite if it's unsafe. 2010-10-04 10:53:37 +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