Commit Graph

450 Commits

Author SHA1 Message Date
Michael Stefaniuc b713c438c1 shlwapi/tests: Use wine_dbgstr_guid() to trace REFIIDs.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 22:54:09 +09:00
Dmitry Timoshkov 860f5562c7 shlwapi: Fix IStream::Read() return value for partial reads.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-26 14:52:01 +09:00
Francois Gouget 637799db98 shlwapi/tests: Fix a test failure on Windows 10.
AssocQueryString() can return S_FALSE with the size of the required buffer.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-18 12:21:10 +09: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
Nikolay Sivov ed0520e2e2 shlwapi/tests: Fix uninitialized data access in tests (Valgrind).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-09 17:30:04 +09:00
Daniel Lehman 74e71b6643 shlwapi: Implement URL_ESCAPE_AS_UTF8.
Signed-off-by: Daniel Lehman <dlehman@esri.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-30 08:06:43 +01:00
Nikolay Sivov 0e4be06cd6 shlwapi: Handle NULL pointer in DllGetVersion() (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 17:13:52 +01:00
Olivier F. R. Dierick 71bbd8da87 shlwapi/tests: Test SHFreeShared with NULL handle.
Signed-off-by: Olivier F. R. Dierick <o.dierick@piezo-forte.be>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-03 23:38:22 +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 f51e7900eb shlwapi: Fix SHPropertyBag_ReadLONG prototype (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 19:18:43 +09:00
Bruno Jesus ffb4d15117 shlwapi: Reject NULL key on SHRegCloseUSKey with tests. 2015-09-07 15:04:27 +09:00
Huw Davies 9327e476d4 shlwapi/tests: Fix failing tests on Vista and Win 2008.
SHMapHandle fails with a variety of errors on these platforms.
2015-06-10 23:36:28 +09:00
Nikolay Sivov b5c2c0b05a shlwapi: Fix error handling in IUnknown_GetClassID (Coverity). 2015-06-08 15:26:36 +09:00
Francois Gouget 7411c72e82 shlwapi/tests: Silence some istream traces that generate too many lines. 2015-05-12 22:32:22 +09:00
Nikolay Sivov d6180c05b5 shlwapi/tests: Fix uninitialized memory reads (Valgrind). 2015-04-13 15:05:12 +09:00
Sebastian Lackner 4b33a339cc shlwapi: Add implementation for StrCatChainW.
Based on a patch by Huw Campbell.
2014-12-16 16:32:31 +01:00
Michael Stefaniuc e3c44185ed shlwapi/tests: Simplify empty string check (PVS-Studio). 2014-11-04 13:31:47 +09:00
Nikolay Sivov 6ebe8d5a2a shlwapi: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 13:13:37 +02:00
Sebastian Lackner c95b182d15 shlwapi: Fix swapped argument order in SHMapHandle. 2014-10-02 20:31:52 +02:00
Sebastian Lackner ef065486dd shlwapi/tests: Add test for SHMapHandle. 2014-10-02 20:31:48 +02:00
Frédéric Delanoy 1e214eb5d3 Assorted spelling/grammar fixes. 2014-10-02 16:58:53 +02:00
Sebastian Lackner 5e4f15db1f shlwapi: Fixed swapped argument order in SHLWAPI_DupSharedHandle command. 2014-10-01 10:35:20 +02:00
Sebastian Lackner cad3e3e5dc shlwapi/tests: Add SH*Shared inter-process tests. 2014-10-01 10:35:16 +02:00
André Hentschel badfdaf56c shlwapi/tests: Fix SHFormatDateTimeW tests for right-to-left locales. 2014-08-18 12:44:35 +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
Nikolay Sivov 31fb427737 shlwapi/tests: Skip if test ini file wasn't created. 2014-06-13 16:05:55 +02:00
Huw Davies ddf861da00 shlwapi/tests: Fix win8 test failures. 2014-05-01 11:17:06 +02:00
Nikolay Sivov 462b2feb35 shlwapi: Fix UrlEscapeW() for non-ASCII range. 2014-04-18 10:47:57 +02:00
Hans Leidekker 3a72922e7f shlwapi/tests: Fix test failures on Windows 8. 2014-03-11 19:39:28 +01:00
Frédéric Delanoy b89f92181a shlwapi/tests: Use BOOL type where appropriate. 2014-02-27 09:26:38 -06:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Michael Stefaniuc 8612c266db shlwapi/tests: Remove a typedef for a struct. 2014-02-05 13:49:23 +01:00
Michael Stefaniuc 1b0e893d27 shlwapi/tests: Fix the type of the first param of some shlwapi functions. 2014-02-05 13:49:22 +01:00
Michael Stefaniuc 3879d98de4 shlwapi/tests: COM cleanup for the dummy IStream iface. 2014-02-05 13:49:21 +01:00
André Hentschel e98844e5c9 shlwapi/tests: Avoid preprocessor check to ensure it compiles. 2014-01-27 17:39:47 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Frédéric Delanoy 36e8004291 shlwapi/tests: Constify some character strings. 2013-12-30 19:01:41 +01:00
Frédéric Delanoy bdce3b9994 shlwapi/tests: Fix StrChrNW prototype. 2013-12-30 19:01:40 +01:00
Frédéric Delanoy 9be5df10ae shlwapi/tests: Avoid memory leaks (coverity). 2013-12-04 21:19:04 +01:00
Francois Gouget 387289e547 shlwapi/tests: Fix compilation on systems that don't support nameless unions. 2013-11-15 11:59:05 +01:00
Francois Gouget daf3c95d04 shlwapi/tests: Make test_SHCreateStreamOnFileEx_CopyTo() static. 2013-11-11 12:37:23 +01:00
Alexandre Julliard ec7c250450 shlwapi/tests: Test if SHCreateStreamOnFileEx is present before using it. 2013-11-08 16:29:43 +01:00
David Quintana 899e59ffe3 shlwapi: Test and fix the behaviour of the CopyTo method for file sizes not multiple of the internal buffer size, on SHCreateStreamOnFileEx-returned IStreams. 2013-11-07 15:39:26 +01:00
Sebastian Lackner 7ee2c24a8c shlwapi: Fix UrlCombineW for URLs containing a quotation mark. 2013-11-07 13:14:42 +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
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Michael Stefaniuc 9463dba830 tests: Use the explicit LoadLibraryA function. 2013-10-02 11:02:21 +02:00