wxWidgets/tests
Vadim Zeitlin 549e0a59b1 Fix handling of single letter shares in UNC paths in wxFileName
This comes at the price of breaking compatibility and returning
"\\share" rather than just "share" from wxFileName::GetVolume() for the
UNC paths. This breakage seems justified because it is required in order
to allow application code to distinguish between paths "x:\foo" and
"\\x\foo", which was previously impossible as GetVolume() returned just
"x" in both cases.

Document this change, adjust the existing checks for the new GetVolume()
semantics and add a new test which passes now, but didn't pass before.

Closes #19255.

This commit is best viewed ignoring whitespace-only changes.
2021-09-15 01:51:35 +01:00
..
any Fix list contents memory leak in wxAny unit test 2020-10-19 13:54:19 +02:00
archive Remove unnecessary c_str() from wx var arg functions arguments 2021-07-04 15:08:13 +01:00
arrays Implement wxCmpNatural() using the native function under macOS 2021-08-25 01:00:24 +02:00
base64 Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
benchmarks Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
cmdline Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
config Compile wxConfig unit tests as part of non-GUI test too 2021-03-13 15:15:40 +01:00
controls Fix Window::SizerErrors test in release build 2021-09-11 23:24:22 +02:00
datetime Extract wxLocaleSetter from the tests into a private header 2021-08-07 18:04:22 +02:00
drawing Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
events Make Connect() work with overloaded event handlers in C++17 2020-11-21 20:52:13 +01:00
exec Make wxExecute() unit test work when using Wine too 2021-07-03 16:45:15 +02:00
file Use native CATCH macros in wxDir unit test 2021-08-22 21:35:14 +02:00
filekind Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
filename Fix handling of single letter shares in UNC paths in wxFileName 2021-09-15 01:51:35 +01:00
filesys Fix wxMemoryFSHandler memory leaks in wxFileSystem unit test 2020-10-19 13:54:19 +02:00
font Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
fontmap Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
formatconverter Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
fswatcher Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
fuzz Fix harmless warning about multiline comment in fuzzer runner 2020-05-02 03:38:28 +02:00
geometry Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
graphics Set window postion explicitly in clipping box test for wxClientDC 2021-09-02 19:26:30 +02:00
hashes Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
html Fix memory leaks in wxHtmlParser unit test 2020-10-19 13:54:19 +02:00
image Fix wxImage::InitAlpha tests in release build 2021-09-08 17:43:25 +02:00
interactive Rename wxPlatformInfo::*Arch* to *Bitness*, deprecate old names 2020-11-21 19:16:21 +02:00
intl Add a pseudo-test for interactive wxUILocale::FromTag() testing 2021-09-05 00:10:05 +01:00
lists Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
log Really support milliseconds in wxLog 2021-01-15 14:55:06 +01:00
longlong Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
mbconv Extract wxLocaleSetter from the tests into a private header 2021-08-07 18:04:22 +02:00
menu Fix wxAcceleratorEntry memory leaks in the menu test 2020-10-19 13:53:52 +02:00
misc Fix tests build with wxDEBUG_LEVEL==0 2021-08-21 15:05:13 +02:00
net Ignore error in another wxWebRequest test under AppVeyor 2021-08-05 23:42:53 +01:00
persistence Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
regex Skip wxRegEx tests requiring Unicode support if wxUSE_UNICODE=0 2021-07-24 19:17:59 +02:00
rowheightcache Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
scopeguard Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
sizers Don't change orthogonal alignment in wxSizerFlags::CenterXXX() 2021-01-25 12:58:04 +01:00
streams Don't fail tests under AppVeyor CI if socket stream test fails 2021-04-07 18:34:08 +02:00
strings Extract wxLocaleSetter from the tests into a private header 2021-08-07 18:04:22 +02:00
textfile Remove checks for LXC containers used under Travis CI only 2021-07-15 19:55:01 +02:00
thread Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
toplevel Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
uris Skip URL test if it fails when running on AppVeyor 2020-12-04 19:29:59 +01:00
validators Merge branch 'valnum-unsigned' 2021-02-23 21:52:27 +01:00
vectors Add trivial wxVectorContains() helper 2020-11-16 16:48:47 +01:00
weakref Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
window Add test of setting size of the window client area 2021-08-08 21:42:38 +02:00
xlocale Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
xml Document and test that bitmap paths in XRC are percent-encoded 2021-04-15 19:20:32 +01:00
allheaders.cpp Predefine __USE_W32_SOCKETS for Cygwin in allheaders test 2021-06-15 16:44:24 +01:00
allheaders.h Add wxPersistentComboBox for saving and restoring combobox items 2020-11-19 13:06:37 +01:00
asserthelper.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
asserthelper.h
descrip.mms workaround for which is probably a compiler-bug on OpenVMS-AXP 2021-01-07 09:47:46 +01: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.gcc Add wxImage Change{Saturation,Brightness,HSV,Lightness}() 2021-05-01 14:03:04 +02:00
Makefile.in Use CMake-compatible variable names in configure Info.plist files 2021-08-15 18:39:34 +02:00
makefile.vc Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
runtests.bat
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_vc16.sln Add MSVS 2019 solutions for the minimal sample and the tests 2021-08-24 17:12:06 +02:00
test_gui.vcxproj Link with ws2_32.lib rather than obsolete wsock32.lib 2021-04-18 22:13:45 +02:00
test_gui.vcxproj.filters Add tests of wxGraphicsBitmap 2021-02-05 23:52:29 +01:00
test_vc8_test_allheaders.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc8_test_drawing.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc8_test_drawingplugin.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc8_test_gui.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc8_test.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc9_test_allheaders.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc9_test_drawing.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc9_test_drawingplugin.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc9_test_gui.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc9_test.vcproj Use arch suffix consistently in all directories names 2021-08-26 23:12:40 +02:00
test_vc10.sln
test_vc11.sln
test_vc12.sln
test_vc14.sln
test_vc15.sln
test_vc16.sln Add MSVS 2019 solutions for the minimal sample and the tests 2021-08-24 17:12:06 +02:00
test.bkl Add wxImage Change{Saturation,Brightness,HSV,Lightness}() 2021-05-01 14:03:04 +02:00
test.cpp Stop showing locale in the beginning of the unit test 2021-08-24 23:05:25 +02:00
test.vcxproj Link with ws2_32.lib rather than obsolete wsock32.lib 2021-04-18 22:13:45 +02:00
test.vcxproj.filters Compile wxConfig unit tests as part of non-GUI test too 2021-03-13 15:15:40 +01:00
testableframe.cpp Remove BCC-specific hdrstop pragma from everywhere 2020-10-12 21:58:37 +02:00
testableframe.h
testdata.fc
testdate.h
testfile.h
testimage.h Account for different size in bitmap from cursor test 2021-04-10 15:26:10 +02:00
testprec.h Merge branch 'ui-locale' 2021-08-26 15:49:57 +02:00
testwindow.h Make it simpler to write useful tests comparing windows 2020-09-21 15:54:42 +02:00
waitforpaint.h Simplify WaitForPaint::YieldUntilPainted() 2021-01-31 01:33:30 +01:00