Francois Gouget
7284348985
shlwapi/tests: Remove SHFormatDateTimeA() crash test.
...
SHFormatDateTimeA() crashes when given a NULL input pointer which is not
really useful to know.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-01 17:09:25 +02:00
Francois Gouget
b1f4423bc1
shlwapi/tests: Test a NULL flags pointer for SHFormatDateTime().
...
It's equivalent to FDTF_DEFAULT.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-01 17:09:23 +02:00
Michael Stefaniuc
678ae0f925
shlwapi/tests: Avoid casts from COM object to interface.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-08-26 10:39:59 +02:00
Nikolay Sivov
859766698c
shlwapi/tests: Remove failing test.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-07-14 18:27:59 +02:00
Francois Gouget
a909baeb4e
tests: Report all errors when failing to wait for a child process.
...
Report the line number where the test failed to wait for the child so
one can identify which child process did not behave as expected.
Also wait_child_process() is meant for the general case so report
all non-crash error cases as test failures so they are accounted for.
Omit the "winetest_" prefix to match the other Wine test functions and
so the underlying winetest_wait_child_process() function can be wrapped
with the usual line-capturing macros.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48651
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-17 10:51:44 +01:00
Michael Stefaniuc
65f5a834da
shlwapi/tests: Get rid of strcmp_wa().
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-02-06 21:47:37 +01:00
Francois Gouget
1f552719bd
shlwapi: Fix the spelling of a couple of comments.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-13 09:58:41 +01:00
Sebastian Lackner
7f6e109081
shlwapi: SHMapHandle should not set error when NULL is passed as hShared.
...
Signed-off-by: Vijay Kiran Kamuju <infyquest@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-02 19:27:25 +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
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