wxWidgets/tests
Vadim Zeitlin 75f9a95448 Use [DOMRange markupString] to get selection source.
This DOMRange method, previously used in GetSelectedText(), seems to provide
exactly what we need so there doesn't seem to be any reason to use JS to get
the selection text, especially as it didn't even work under OS X 10.8 and
returned an empty string in the unit test.

The unit test still needs adjustment to pass because we don't get back exactly
the same HTML as we used originally, but with more relaxed matching it does
pass now.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2013-07-16 14:10:17 +00:00
..
any Test using wxString::ToCDouble() in wxAny. 2013-05-17 20:00:10 +00:00
archive Check the return value of system() and pipe() in the test suite. 2012-10-20 14:49:13 +00:00
arrays Test correctness of wxArray::Index() with bFromEnd=true. 2011-11-05 15:20:11 +00:00
base64 No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
benchmarks Rebake all the samples and others makefiles too. 2013-07-13 02:33:00 +00:00
cmdline Fix parsing of negated long options in wxCmdLineParser. 2011-07-21 13:49:55 +00:00
config Fix crash in wxFileConfig when deleting last entry of the root group. 2012-04-28 22:25:19 +00:00
controls Use [DOMRange markupString] to get selection source. 2013-07-16 14:10:17 +00:00
datetime Restore ability to parse hours only with wxDateTime::ParseTime(). 2013-05-15 13:05:49 +00:00
events Fix harmless Clang warning about an unused function. 2013-07-15 01:31:40 +00:00
exec Fix test for Windows in the new wxExecute() unit test. 2013-07-06 00:27:50 +00:00
file Add test for correct short/long file names in wxDir. 2013-04-22 00:32:55 +00:00
filekind Check the return value of system() and pipe() in the test suite. 2012-10-20 14:49:13 +00:00
filename Disable test for setting the creation time under Unix. 2013-07-06 19:14:20 +00:00
filesys No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
font Disable wxFont::SetStrikethrough() test under wxOSX. 2013-07-15 01:32:00 +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 Add wxFSW_EVENT_ATTRIB wxFileSystemWatcher flag. 2012-11-17 23:56:00 +00:00
geometry Add a simple unit test for wxRegion::Intersect(). 2012-10-23 12:03:09 +00:00
graphics Allow retrieving the descent and external leading of empty strings. 2013-07-10 01:28:18 +00:00
hashes No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
html Provide shorter synonyms for wxEVT_XXX constants. 2013-04-25 10:11:03 +00:00
image Add a unit test for wxImage::Scale() method. 2013-07-01 14:47:12 +00:00
interactive Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
intl Correctly restore the originally used C locale in wxLocale dtor. 2013-07-06 22:48:20 +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 Disable menu event test case in wxGTK buildbot slaves. 2013-05-19 12:38:09 +00:00
misc PCH-less build fix for DynamicLibraryTestCase. 2012-10-24 23:41:04 +00:00
net Add per-direction wxSocket wait flags and byte counters. 2012-09-30 22:21:44 +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 Respect item max sizes in wxBoxSizer. 2012-08-15 23:34:27 +00:00
streams Add IEEE 754 single/double precision support to wxDataStream classes. 2013-05-06 00:31:03 +00:00
strings No changes, just get rid of some wxT()s in wxString unit test. 2013-07-16 14:10:11 +00:00
textfile No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
thread Fix harmless Clang warning about unused class member in a test. 2013-07-15 01:31:43 +00:00
toplevel No changes, just cleanup TopLevelWindowTestCase unit test a little. 2012-03-04 00:29:14 +00:00
uris No code changes, fixed some typos. 2011-04-30 10:57:04 +00:00
validators Add IsAutomaticTest() function to the unit tests. 2012-06-01 16:21:06 +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 Honour window min and max sizes in wxWindow::GetBestSize(). 2012-08-15 23:34:18 +00:00
xlocale Use __WINDOWS__ for OS checks and __WXMSW__ for GUI checks (round 2). 2012-03-04 20:31:42 +00:00
xml Fix memory leak in wxXmlNode::operator=(). 2013-05-15 20:01:58 +00:00
asserthelper.cpp Merge the new GUI tests from SOC2010_GUI_TEST branch. 2010-08-22 22:16:05 +00:00
asserthelper.h fixing include styles 2013-06-11 22:18:33 +00:00
descrip.mms Fixes for OpenVMS on IA64 2011-09-29 13:47:38 +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 Rebake all the samples and others makefiles too. 2013-07-13 02:33:00 +00:00
makefile.gcc Rebake all the samples and others makefiles too. 2013-07-13 02:33:00 +00:00
Makefile.in Only link with libwxscintilla if using Scintilla is enabled. 2013-07-06 19:14:59 +00:00
makefile.vc Rebake all the samples and others makefiles too. 2013-07-13 02:33:00 +00:00
makefile.wat Rebake all the samples and others makefiles too. 2013-07-13 02:33:00 +00:00
runtests.bat Add more echo trace statements to runtests.bat script. 2013-05-14 11:07:12 +00:00
test_printfbench.dsp
test_test_gui.dsp Rebake the rest of the files after TOOLKIT change in MSW bakefile. 2013-07-06 12:32:23 +00:00
test_test.dsp Rebake the rest of the files after TOOLKIT change in MSW bakefile. 2013-07-06 12:32:23 +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 Always add libwxscintilla in monolithic mode. 2013-07-06 12:41:02 +00:00
test_vc7_test.vcproj Add wxEventLoop::ScheduleExit(). 2013-07-03 00:26:13 +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 Always add libwxscintilla in monolithic mode. 2013-07-06 12:41:02 +00:00
test_vc8_test.vcproj Add wxEventLoop::ScheduleExit(). 2013-07-03 00:26:13 +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 Always add libwxscintilla in monolithic mode. 2013-07-06 12:41:02 +00:00
test_vc9_test.vcproj Add wxEventLoop::ScheduleExit(). 2013-07-03 00:26:13 +00:00
test.bkl Run wxExecute() unit test in the GUI test suite too. 2013-07-03 00:32:40 +00:00
test.cpp Use normal event loop in GUI test program. 2013-07-03 00:25:46 +00:00
testableframe.cpp Move getting the unit test event count from wxTestableFrame to the EventCounter class. This reduces the need to have wxTestableFrame pointers all over the unit testing code and should reduce bugs caused by counting the wrong events. 2012-03-11 14:32:24 +00:00
testableframe.h Move getting the unit test event count from wxTestableFrame to the EventCounter class. This reduces the need to have wxTestableFrame pointers all over the unit testing code and should reduce bugs caused by counting the wrong events. 2012-03-11 14:32:24 +00:00
testdata.fc
testdate.h Add wxDateTime::DiffAsDateSpan(). 2012-10-01 09:55:05 +00:00
testfile.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
testimage.h Added alpha saving support to TIFF image handler. 2011-08-29 01:13:06 +00:00
testprec.h Fix totally broken LocaleSetter class in the test suite. 2013-07-15 01:31:47 +00:00