wxWidgets/tests
PB 83a2a1e505 Refactor the natural string compare and sort algorithm
Add a new string fragment type for whitespace and punctuation which needs
to be assessed separately from letters and symbols.

Use wxUint64 instead of long for storing the value for numeric fragment.

Use collate instead of compare for non-numeric fragments.

Change names for the public comparison functions: wxWidgets provided function
is now named wxCmpGenericNatural() and for common public use is wxCmpNatural()
which calls a native function in wxMSW and wxCmpGenericNatural() elsewhere.

Try harder in wxCmpNaturalGeneric() if wxRegEx is unavailable: do not
just make a simple string comparison, but perform a case-insensitive
collation.

Make some other changes to simplify and possibly speed up the code.
2020-07-07 23:10:18 +02:00
..
any Add more wxOVERRIDE 2018-09-22 14:44:07 +02:00
archive adding an iOS build to travis (#1847) 2020-05-08 08:01:56 +02:00
arrays Refactor the natural string compare and sort algorithm 2020-07-07 23:10:18 +02:00
base64 Fix harmless warning in Base64 unit test 2017-12-09 14:15:37 +01:00
benchmarks Minor optimizations in GetMultiLineTextExtent() 2020-06-10 23:41:24 +02:00
cmdline Suppress all -Wmissing-field-initializers in the test suite 2019-02-02 17:25:37 +01:00
config Fix harmless signed/unsigned comparison warnings in a test 2017-11-02 01:53:21 +01:00
controls Use LocaleSetter class in wxTextCtrl test case 2020-07-06 12:32:38 +02:00
datetime Add a test for "%e" to wxDateTime::ParseFormat() 2020-05-09 23:23:31 +02:00
drawing Add more wxOVERRIDE 2018-09-22 14:44:07 +02:00
events Make wxUIActionSimulator works more reliably on GTK/X11 2020-05-15 00:36:00 +02:00
exec Restore wxConvAuto in wxTextInputStream used by wxExecute() 2019-04-21 20:10:30 +02:00
file Disable tests of /proc/cpuinfo in LXC containers 2020-04-07 14:30:01 +02:00
filekind Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
filename Fix bug in wxFileName::Normalize() with leading ".." 2020-06-30 23:00:06 +02:00
filesys Add test for wxMemoryFSHandler bug fixed in the parent commit 2020-05-01 18:57:54 +02:00
font Change fractional point size from float to double 2020-04-21 09:00:04 -07:00
fontmap
formatconverter Fix FormatConverterTestCase for MinGW and Cygwin 2017-11-25 11:13:02 +01:00
fswatcher Remove macOS workaround unnecessary any longer 2019-04-26 13:36:00 +02:00
fuzz Fix harmless warning about multiline comment in fuzzer runner 2020-05-02 03:38:28 +02:00
geometry Move operator<<(std::ostream&, wxRect) overload to a header 2018-11-04 18:28:33 +01:00
graphics Add test case for wxGraphicsContext DrawBitmap 2020-03-11 20:00:09 +01:00
hashes
html Tweak wxHtmlPrintout::Pagination unit test to pass under Travis 2019-07-19 01:40:44 +02:00
image Fix build with wxUSE_LIBTIFF==0 2019-09-19 00:39:59 +02:00
interactive adding an iOS build to travis (#1847) 2020-05-08 08:01:56 +02:00
intl Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
lists Make wxList iterators conform to input iterator requirements 2018-02-23 16:00:06 +01:00
log Use correct warning option for older gcc in wxLog test 2020-03-10 02:42:08 +01:00
longlong
mbconv Eliminate -Wcast-qual warnings with GCC and Clang 2020-02-02 22:50:32 -08:00
menu Make wxSetInputFocusToXWindow a member instead of free function 2020-05-20 00:02:40 +02:00
misc adding an iOS build to travis (#1847) 2020-05-08 08:01:56 +02:00
net Add unit test for reading from wxSocket in a thread 2019-11-01 16:00:01 +01:00
persistence adding an iOS build to travis (#1847) 2020-05-08 08:01:56 +02:00
regex Add wxRegEx::QuoteMeta() helper 2019-08-25 12:32:51 +02:00
rowheightcache Fix memory leaks in newly added unit test 2018-12-07 04:17:16 +01:00
scopeguard
sizers Associate the window with the sizer in wxSizer::Replace() 2020-07-05 23:19:36 +02:00
streams Add more wxOVERRIDE 2018-09-22 14:44:07 +02:00
strings Define wxStrtox() overloads taking nullptr 2020-02-05 03:54:25 +01:00
textfile Disable tests of /proc/cpuinfo in LXC containers 2020-04-07 14:30:01 +02:00
thread Add more wxOVERRIDE 2018-09-22 14:44:07 +02:00
toplevel Disable tests requiring a WM under Xvfb 2019-07-18 17:45:20 +02:00
uris Make parsing wxURI paths more conforming to RFC 3986 2019-02-23 14:36:36 +01:00
validators Make wxSetInputFocusToXWindow a member instead of free function 2020-05-20 00:02:40 +02:00
vectors Make wxVector::reverse_iterator satisfy RandomAccessIterator 2018-12-07 14:52:51 +01:00
weakref Suppress some harmless clang warnings in the test suite 2019-01-04 23:51:31 +01:00
window Get rid of an unnecessary function in wxWindow unit test 2019-10-17 22:01:36 +02:00
xlocale Check for wxXLocale availability without using wxLocale 2017-12-09 14:17:34 +01:00
xml Add wxOVERRIDE to test files 2018-07-29 12:08:53 +02:00
asserthelper.cpp Move operator<<(std::ostream&, wxRect) overload to a header 2018-11-04 18:28:33 +01:00
asserthelper.h Move operator<<(std::ostream&, wxRect) overload to a header 2018-11-04 18:28:33 +01:00
descrip.mms Update other test build files by hand for the new STC test 2019-03-20 17:07:56 -05: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 Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
makefile.gcc Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
Makefile.in Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
makefile.vc Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
runtests.bat Don't use "-t" option when running tests any longer 2017-11-02 01:53:29 +01:00
test_gui_vc10.sln Update test sln and vcxproj files 2019-11-30 23:24:54 +01:00
test_gui_vc11.sln Update test sln and vcxproj files 2019-11-30 23:24:54 +01:00
test_gui_vc12.sln Update test sln and vcxproj files 2019-11-30 23:24:54 +01:00
test_gui_vc14.sln Update test sln and vcxproj files 2019-11-30 23:24:54 +01:00
test_gui_vc15.sln Update test sln and vcxproj files 2019-11-30 23:24:54 +01:00
test_gui.vcxproj Rename manifests to use underscores 2019-12-13 21:44:26 +01:00
test_gui.vcxproj.filters Update other test build files by hand for the new STC test 2019-03-20 17:07:56 -05:00
test_vc7_test_drawing.vcproj Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
test_vc7_test_drawingplugin.vcproj Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
test_vc7_test_gui.vcproj Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
test_vc7_test.vcproj Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
test_vc8_test_drawing.vcproj Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
test_vc8_test_drawingplugin.vcproj Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
test_vc8_test_gui.vcproj Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
test_vc8_test.vcproj Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
test_vc9_test_drawing.vcproj Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
test_vc9_test_drawingplugin.vcproj Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
test_vc9_test_gui.vcproj Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
test_vc9_test.vcproj Rebake with bakefile 0.2.12 2020-05-02 17:02:36 +02:00
test_vc10.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test_vc11.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test_vc12.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test_vc14.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test_vc15.sln Enable building the unit tests for x64 in MSVS solutions 2017-11-25 11:13:02 +01:00
test.bkl Mark failtest_xxx targets as phony 2020-03-24 00:01:15 +01:00
test.cpp Make wxUIActionSimulator works more reliably on GTK/X11 2020-05-15 00:36:00 +02:00
test.vcxproj Rename manifests to use underscores 2019-12-13 21:44:26 +01:00
test.vcxproj.filters Add unit test for wxLZMA{Input,Output}Stream classes 2018-04-06 15:39:55 +02:00
testableframe.cpp Refactor code waiting for events in the test suite 2019-01-24 22:52:46 +01:00
testableframe.h Refactor code waiting for events in the test suite 2019-01-24 22:52:46 +01:00
testdata.fc
testdate.h Include testdate.h before catch.hpp in unit tests 2017-12-02 14:38:19 +01:00
testfile.h Factor out TempFile class and reuse it in other tests 2017-11-05 17:28:24 +01:00
testimage.h Give more information in case of wxImage comparison failure 2019-07-18 17:45:20 +02:00
testprec.h Merge branch 'gcc10-cxx20' 2020-05-14 23:50:29 +02:00
testwindow.h Provide more information for failures involving FindFocus() 2019-07-18 17:45:20 +02:00
waitforpaint.h Don't do anything in WaitForPaint class under non-GTK platforms 2019-10-17 22:03:44 +02:00