Commit Graph

94 Commits

Author SHA1 Message Date
Michael Stefaniuc f2f52bcb28 shlwapi/tests: Pass the correct buffer size to PathUnExpandEnvStringsW().
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 10:05:56 +02:00
Michael Stefaniuc 3851d97e99 shlwapi/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-27 10:05:50 +02:00
Katayama Hirofumi MZ 7be8beab68 shlwapi: Don't attempt to un-expand ComputerName in PathUnExpandEnvStrings.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-23 20:16:59 +01:00
Jacek Caban 62c4ffb4d6 shlwapi: Support NT prefix paths in PathGetDriveNumberW.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-10-10 09:26:04 +02:00
André Hentschel dbc043c3d8 shlwapi/tests: Use todo_wine_if() in tests.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:09 +09:00
Piotr Caban 31c49c2851 shlwapi: Don't crash in PathStripPath when read-only string is passed and it's not modified.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-29 10:54:15 +09:00
Nikolay Sivov bef3298e89 shlwapi/tests: Fix a couple of prototypes to match implementation (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 19:18:49 +09:00
Nikolay Sivov d6180c05b5 shlwapi/tests: Fix uninitialized memory reads (Valgrind). 2015-04-13 15:05:12 +09:00
Michael Stefaniuc e3c44185ed shlwapi/tests: Simplify empty string check (PVS-Studio). 2014-11-04 13:31:47 +09:00
Frédéric Delanoy 1e214eb5d3 Assorted spelling/grammar fixes. 2014-10-02 16:58:53 +02:00
Francois Gouget ece6f5c3e0 shlwapi/tests: Make test_PathIsRelative[AW]() static. 2014-07-07 09:11:34 +02:00
Zhenbo Li 9d59d4e550 shlwapi/tests: Add tests for PathIsRelativeA/W. 2014-07-02 19:58:23 +02:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Nikolay Sivov 7513b58329 shlwapi: Implement PathUnExpandEnvStrings. 2013-11-04 11:48:06 +01:00
Nikolay Sivov b70a5d52f1 shlwapi/tests: Compile with -D__WINESRC__. 2013-10-16 11:41:20 +02:00
Francois Gouget 58c77f6156 shlwapi: Implement PathCreateFromUrlAlloc(). 2012-10-01 12:07:31 +02:00
Francois Gouget fad0bea304 shlwapi: Fix the PathCreateFromUrlW() implementation. 2012-09-26 10:59:53 +02:00
Francois Gouget 06439b303a shlwapi: PathCreateFromUrlA() should not crash when given NULL buffers.
Add NULL and insufficient buffer tests for PathCreateFromUrl().
2012-09-25 18:11:18 +02:00
Francois Gouget 73f89e7e4c shlwapi/tests: Add more PathCreateFromUrl() tests. 2012-09-24 22:27:28 +02:00
Francois Gouget 709a0b764d Use the CP_ACP and NULL macros instead of numeric literals when converting strings between ANSI and Unicode. 2012-09-24 22:27:28 +02:00
Francois Gouget 3de330db54 tests: Remove unneeded assert.h includes. 2011-09-27 10:59:56 +02:00
Jacek Caban a839e2ec45 shlwapi: Skip more tests on too old shlwapi.dll. 2010-10-11 12:54:17 +02:00
Alexandre Julliard eb2d556ec8 shlwapi/tests: Make some variables static. 2010-10-01 13:37:34 +02:00
Nikolay Sivov 2d76bf2e69 shlwapi/tests: Some tests for PathGetDriveNumber. 2010-03-03 11:54:52 +01:00
Detlef Riekenberg e3b3b1e27d shlwapi/tests: PathCreateFromUrl* is not present on Win95B (winetestbot). 2010-02-01 12:33:21 +01:00
Ge van Geldorp 2245e2c17e shlwapi/tests: Prevent buffer overflow. 2009-08-24 16:41:22 +02:00
Paul Vriens a86566cb91 shlwapi/tests: Fix some typos. 2009-03-04 11:48:12 +01:00
Paul Vriens 1b4e61c07a shlwapi/tests: Fix a typo. 2009-03-03 12:36:32 +01:00
Paul Vriens 11b44f8363 shlwapi/tests: Fix remaining test failures on several platforms. 2009-02-26 15:13:25 +01:00
Paul Vriens 9fd4f8738b shlwapi/tests: Fix a few test failures on Win95 and some W2K. 2009-02-25 16:06:22 +01:00
Detlef Riekenberg 4621210b59 shlwapi/tests: Add more entries for PathIsURL. 2008-11-10 11:07:38 +01:00
Hans Leidekker a14e967135 shlwapi: Fix PathIsValidChar tests that fail on some versions of Windows. 2008-09-29 17:25:42 -05:00
James Hawkins 3e76eacbfd shlwapi: Fix a few failing tests in Vista. 2008-09-03 13:14:51 +02:00
Paul Vriens 0bafb78755 shlwapi/tests: Fix a test on Vista. 2008-08-27 13:21:20 +02:00
Detlef Riekenberg 63b8624a05 shlwapi/tests: Fix a buffer overflow that results in a crash on Win9x. 2008-07-28 14:27:28 +02:00
Paul Vriens 99deb5ca2c shlwapi/tests: Fix another test on Vista. 2008-06-25 10:39:35 +02:00
Paul Vriens f88a3c569e shlwapi/tests: Fix a test on Vista. 2008-06-25 10:39:31 +02:00
Marcus Meissner 088a33729a shlwapi: Handle buffer overflow on A->W converter. 2008-03-03 11:59:11 +01:00
Jacek Caban d1ae63b0d6 shlwapi: Added more tests. 2008-02-28 10:45:03 +01:00
Detlef Riekenberg d9a33f3c17 shlwapi/tests: Move URL testing functions from path.c to url.c. 2007-10-16 13:55:41 +02:00
Rob Shearman acfc1175a2 shlwapi: Fix UrlCombineW for absolute URLs without slashes. 2007-08-23 20:18:32 +02:00
Paul Vriens 3de1c55dc6 shlwapi/tests: Use GetModuleHandleA instead of LoadLibraryA. 2007-08-08 15:31:59 +02:00
Damjan Jovanovic 3ceaaae3d7 shlwapi: Fix UrlCanonicalizeW's handling of filesystem paths. 2007-05-11 11:19:46 +02:00
Mikołaj Zalewski 7370a93b52 shlwapi: Fix the handling of overflows in PathCombine[AW]. 2007-04-24 10:19:44 +02:00
Jacek Caban 961627d344 shlwapi: Fix handling mk URLs. 2007-02-12 12:40:01 +01:00
Jacek Caban dae390d90b shlwapi: Don't unescape url in UrlCombineW with URL_FILE_USE_PATHURL flag. 2007-02-05 12:24:08 +01:00
Louis Lenders dff271df3e shlwapi: Fix a failing test. 2006-12-24 15:12:48 +01:00
Paul Vriens bed868c681 shlwapi/tests: Fix typos. 2006-12-15 12:18:20 +01:00
Hans Leidekker bc2e37ba44 shlwapi: UrlEscapeA should fail with E_POINTER when querying the buffer size. 2006-11-13 12:48:15 +01:00
Hans Leidekker a8ccd5816a shlwapi/tests: Win64 printf format warning fixes. 2006-10-07 18:05:16 +02:00