Commit Graph

104 Commits

Author SHA1 Message Date
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
Marcus Meissner 75236a636b shlwapi: SHGetIniStringW buffer size is in characters.
Signed-off-by: Marcus Meissner <meissner@suse.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-26 16:40:05 +02:00
Alex Henrie a5c6652389 shlwapi/tests: Drop ordinal test workarounds for Windows <= 2000.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-19 16:55:08 +01:00
Bruno Jesus 57b83e1459 shlwapi/tests: Test NULL handle duplication in SHMapHandle().
Signed-off-by: Bruno Jesus <00cpxxx@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-31 08:57:45 +01:00
Nikolay Sivov e078c97d53 shlwapi/tests: Fix indentation warning on GCC 6.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-12 12:31:52 +09:00
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
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
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
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
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
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
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
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
Frédéric Delanoy 9be5df10ae shlwapi/tests: Avoid memory leaks (coverity). 2013-12-04 21:19:04 +01:00
Nikolay Sivov b70a5d52f1 shlwapi/tests: Compile with -D__WINESRC__. 2013-10-16 11:41:20 +02:00
Jacek Caban 4d5bebb321 shlwapi: Use proper helpers for iface calls. 2012-08-15 12:18:49 +02:00
Michael Stefaniuc 24a01dfef8 shlwapi/tests: Remove useless ok() call on the "out" variable. 2012-05-16 18:30:22 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Nikolay Sivov 762aa854ca shlwapi: Fix window style set with SHSetParentHwnd(). 2011-10-24 11:17:57 +02:00
Dan Kegel 876d551911 shlwapi/tests: Initialize size parameter in test_SHGetShellKey. 2011-10-14 20:26:44 +02:00
Francois Gouget bd7b345b26 Assorted spelling fixes & co. 2011-09-27 11:00:13 +02:00
Francois Gouget fcb351b40f shlwapi/tests: Skip some tests if not allowed to modify the registry. 2011-09-21 11:35:43 +02:00
André Hentschel 787ab4572d shlwapi/tests: Don't access memory when the allocation failed. 2011-07-28 11:28:16 +02:00
Austin English 92cb70e97c shlwapi/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-09 09:26:13 -06:00
Nikolay Sivov 219f477a05 shlwapi/tests: Reset cookie after service revoked (Valgrind). 2011-01-31 12:28:38 +01:00
Greg Geldorp f64a800fd9 shlwapi/tests: Don't assume date/time are separated by comma. 2011-01-14 18:26:19 +01:00
Michael Stefaniuc 213532a260 shlwapi/tests: Finish the COM cleanup in ordinal.c. 2011-01-13 15:22:00 +01:00
André Hentschel d037b40995 shlwapi/tests: Don't test function directly when reporting GetLastError(). 2010-12-30 15:00:44 +01:00
André Hentschel c063e5ccdd shlwapi/tests: Allow Win7 behaviour for SHFormatDateTimeW. 2010-12-22 14:16:31 +01:00
Michael Stefaniuc 26de0e6202 shlwapi/tests: Standardize the COM usage in ordinal.c. 2010-12-14 12:33:00 +01:00
Piotr Caban fd10f47de4 shlwapi/tests: Add more tests. 2010-10-12 17:38:01 +02:00
Piotr Caban c2f25a2206 shlwapi: Improved SHGetShellKey implementation. 2010-10-12 17:37:51 +02:00
Jacek Caban a839e2ec45 shlwapi: Skip more tests on too old shlwapi.dll. 2010-10-11 12:54:17 +02:00
Nikolay Sivov 93985e70a8 shlwapi/tests: Fix some test failures on RTL enabled boxes. 2010-07-30 14:59:41 +02:00
Nikolay Sivov e7395e09e1 shlwapi: Partially implement SHGetShellKey. 2010-07-29 10:30:40 +02:00
Nikolay Sivov b684c60a10 shlwapi/tests: Fix some test failures on Win2000. 2010-07-29 10:29:50 +02:00
Paul Vriens eaa6376e64 shlwapi/tests: Load shell32 explicitly. 2010-07-22 16:27:13 +02:00
Andrew Eikum ab418fc258 shlwapi: Implement SHSetIniStringW. 2010-07-22 10:13:03 +02:00
Andrew Eikum ef8cf0fdf2 shlwapi: Implement SHGetIniStringW. 2010-07-22 10:12:57 +02:00
Andrew Eikum d6a827d083 shlwapi: Be less strict on which type of IShellFolder can be enumerated. 2010-07-21 09:33:35 +02:00
André Hentschel f42ede788e shlwapi/tests: Fix GLE for SHFormatDateTimeA. 2010-07-20 14:40:32 +02:00
Francois Gouget aebbbcb06b shlwapi/tests: Make the XXX_Construct() functions static. 2010-06-22 20:03:54 +02:00
Alexandre Julliard 2083aa3d68 shlwapi/tests: Fix some pointer conversion warnings on 64-bit. 2010-04-07 14:25:09 +02:00