wxWidgets/tests
Vadim Zeitlin 6f24b81707 Fix wxXmlDocument::SetRoot() broken by recent changes.
Support for wxXML_PI_NODE introduced in r67346 broke SetRoot() and, because of
this, saving XML documents.

Correct this and add a unit test for this method.

Closes #13135.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2011-04-17 00:09:45 +00:00
..
any Compilation fix for wxAnyTestCase in ANSI-only build. 2010-07-12 22:50:47 +00:00
archive Include compilation of tests for OpenVMS (part1) 2010-12-15 09:51:48 +00:00
arrays Re-define push_back() in wxSortedArrayString to behave correctly. 2011-04-10 15:36:07 +00:00
base64 Never overflow the output buffer in wxBase64Decode(). 2009-08-23 22:25:12 +00:00
benchmarks Fixed various typos. 2011-03-22 14:17:38 +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 No code changes, fixed various typos. 2011-04-03 20:31:32 +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 suppress output from the test commands; use CPPUNIT_ASSERT_EQUAL() whenever possible 2009-04-13 17:33:33 +00:00
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 Fix UTF-8 string storage in constant: use unsigned char. 2010-03-28 17:52:19 +00:00
font Correct wxFont::GetFamily() unit test to test for wxFONTFAMILY_DEFAULT. 2010-11-21 13:00:13 +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 Fixed various typos. 2011-03-22 14:17:38 +00:00
geometry compilation fixes for VC6 2008-01-13 01:13:03 +00:00
graphics Fix alpha handling in CSS syntax in wxColour in non-"C" locale. 2011-03-31 09:28:41 +00:00
hashes Globally replace _T() with wxT(). 2009-07-23 20:30:22 +00:00
html Fixes for parsing invalid HTML without tag ends. 2011-01-13 14:49:55 +00:00
image Fixed failing image test. 2011-04-03 22:41:58 +00:00
interactive Fix tests compilation without wxUSE_REGEX. 2010-10-03 17:14:57 +00:00
intl Fix incorrect use of setlocale() in wxLocale::IsAvailable(). 2011-04-06 14:37:27 +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 Disable unit tests which can't work in ANSI build. 2010-11-10 13:53:49 +00:00
menu Update accelerator unit test to pass after recent changes. 2010-12-15 12:03:54 +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 Fix wxWrapSizer minimal size calculation. 2011-02-08 13:36:13 +00:00
streams No code changes, fixed various typos. 2011-04-03 20:31:32 +00:00
strings Fix VarArgTestCase compilation when type traits are unavailable. 2011-04-05 22:29:55 +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 unit tests which can't work in ANSI build. 2010-11-10 13:53:49 +00:00
validators Disable NumValidatorTestCase::Interactive() for build bot slaves. 2011-02-27 12:45:30 +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 Correctly restore the old locale in wxXLocale functions. 2011-04-06 14:37:32 +00:00
xml Fix wxXmlDocument::SetRoot() broken by recent changes. 2011-04-17 00:09:45 +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 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 Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
makefile.gcc Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
Makefile.in Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
makefile.vc Add a class for parsing simple markup. 2011-02-27 12:46:42 +00:00
makefile.wat Add a class for parsing simple markup. 2011-02-27 12:46:42 +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 class for parsing simple markup. 2011-02-27 12:46:42 +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 Add a class for parsing simple markup. 2011-02-27 12:46:42 +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 Add a class for parsing simple markup. 2011-02-27 12:46:42 +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 Add a class for parsing simple markup. 2011-02-27 12:46:42 +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 Add a class for parsing simple markup. 2011-02-27 12:46:42 +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 moved Unicode tests to testsuite (patch 943945) 2004-04-30 20:26:14 +00:00
testfile.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +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