Nikolay Sivov
c0a1eff706
shell32/shelllink: Fix NULL path handling in SetIconLocation().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-02 03:04:42 -07:00
Michael Stefaniuc
c57b9b8d9f
shell32/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-15 12:56:48 +02:00
Nikolay Sivov
e51c9b47b8
shell32: Add SHIL_JUMBO list.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-21 10:13:43 +01:00
Nikolay Sivov
479dc1d8c3
shell32: Add support for SHIL_EXTRALARGE list.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-03-21 10:13:32 +01:00
Nikolay Sivov
a6ad34f855
shell32/tests: Use the global memory allocation helpers.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-20 20:13:02 +01:00
Alex Henrie
8bb6addb1e
shell32/tests: Add missing return value check to shelllink tests (Coverity).
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-08 19:26:44 +01:00
Vincent Povirk
8a46b9e5d1
shell32: Add support for find data in IShellLink:GetPath.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-26 08:44:19 +02:00
Vincent Povirk
aa37e696cb
shell32/tests: Setting a PIDL with no path resets the path.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-26 08:44:12 +02:00
Vincent Povirk
3615db9a00
shell32: Set shelllink path when setting pidl.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-26 08:44:06 +02:00
Vincent Povirk
94378704f8
shell32: IShellLink::GetPath returns S_FALSE if there's no path.
...
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-26 08:43:57 +02:00
Huw Davies
3a1b289d66
shell32: Fix the icon sizes of the shell imagelists.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-02 17:51:25 +02:00
Huw Davies
5f0d1a006b
shell32: Don't copy the imagelist in SHGetImageList().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 10:53:05 +02:00
Huw Davies
9072dbd2f2
shell32/tests: Add a test for the size of the icon returned by ExtractIcons().
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 10:52:55 +02:00
Marcus Meissner
c3e6ecde36
shell32/tests: Fixed CharLowerBuffA size.
...
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-16 22:02:27 +01:00
Nikolay Sivov
bd42aaa801
shell32/tests: Some tests for ExtractAssociatedIcon().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 12:09:49 +01:00
Nikolay Sivov
c1645b6dfd
shell32/tests: Some tests for ExtractIcon().
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-09 12:09:47 +01:00
Piotr Caban
f333bf47a8
ntdll: Keep drive letter size in RtlGetFullPathName_U when full path is specified.
...
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-29 23:12:11 +09:00
Frédéric Delanoy
9f23eae55f
shell32/tests: Get rid of redundant lok_todo_N macros.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:10 +09:00
Frédéric Delanoy
61e70dfbc7
shell32/tests: Use todo_wine_if() in tests.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:10 +09:00
Nikolay Sivov
e585d17ff3
shell32/tests: Test icon ids that are invalid on all systems.
2015-09-16 22:11:09 +09:00
Nikolay Sivov
aeda103769
shell32: Added stub IPropertyStore for a shell link object.
2014-12-22 13:37:03 +01:00
André Hentschel
2c1287871b
shell32/tests: Remove unused variables (Clang).
2014-12-04 14:03:27 +01:00
Hans Leidekker
86bd0603a2
shell32: Forward ShExtractIconsW to user32.PrivateExtractIconsW.
2014-03-25 19:01:27 +01:00
Nikolay Sivov
fa93dadfa1
shell32/tests: Fix compilation with -D__WINESRC__.
2013-10-28 14:22:20 +01:00
Francois Gouget
653354ab25
Assorted spelling fixes.
2013-07-03 21:20:04 +02:00
Detlef Riekenberg
710555cf91
shell32/tests: Add tests for SHGetStockIconInfo.
2013-04-26 11:56:44 +02:00
Detlef Riekenberg
c0ff587203
shell32/tests: Remove wrong comment.
2012-11-27 19:45:38 +01:00
Nikolay Sivov
96005d17d5
shell32/tests: Use proper method macros.
2012-08-24 11:32:39 +02:00
Francois Gouget
ef6f3a30cc
shell32/tests: Get rid of unneeded function typedefs.
2012-06-15 18:35:38 +02:00
Austin English
75f8de0d4f
shell32/tests: Make sure return values are used (LLVM/Clang).
2011-02-14 12:26:33 +01:00
Greg Geldorp
90df19f05a
shell32/tests: Use long file name.
...
Test is about the extension, so let's un-complicate it by using long path
names.
2011-01-27 14:20:48 +01:00
Vincent Povirk
05ff15a755
shell32: Test links to executable filenames lacking the extension.
2011-01-25 12:37:52 +01:00
Nikolay Sivov
cc1dc2e693
shell32/tests: Fix a PIDL leak in tests (Valgrind).
2011-01-19 12:23:24 +01:00
André Hentschel
c0a86cc103
shell32: Fix shelllink test to not crash on NT4.
...
With much help from Francois.
2010-12-14 16:02:18 +01:00
Andrew Eikum
d66317605d
shell32: Don't search Path or PIDL for an icon in IShellLink::GetIconLocation.
...
Try as I might, I couldn't get a path out of GetIconLocation that wasn't
put there via SetIconLocation. As far as I can tell, the code here was
based on nothing.
2010-11-12 11:41:36 +01:00
Andrew Eikum
f324f3c31e
shell32: Don't fail if the path doesn't exist in Unix in IShellFolder::ParseDisplayName.
2010-11-12 11:41:08 +01:00
Aric Stewart
2554a55b34
shell32: Handle NULL pName in ShellLink fnSetDescription.
2010-05-03 16:44:41 +02:00
Nikolay Sivov
edcaf53f94
shell32/tests: Use strict comparison for return values.
2010-03-23 12:19:48 +01:00
Paul Vriens
d57f05f062
shell32/tests: Fix test failures on Win95, Win98 and NT4.
2010-03-22 15:52:44 +01:00
Nikolay Sivov
b774baa35c
shell32: Add IPersistFile::GetCurFile implementation for IShellLink.
2010-03-19 12:23:42 +01:00
Huw Davies
06ad4ce1c8
shell32: Add a test to show the IShellLink_GetIDList returns a copy of the IDList, remove an incorrect comment and fix a memory leak.
...
Found by Valgrind.
2010-01-22 13:56:16 +01:00
Alexandre Julliard
61a4200162
shell32: Fix setting of NULL arguments in IShellLink.
2009-11-16 20:09:48 +01:00
Paul Vriens
e5e065ebbb
shell32/tests: Fix a test failure on Win95/NT4.
2009-09-10 12:13:45 +02:00
Paul Vriens
3a656fde1f
shell32/tests: Fix a crash on Win9x.
2009-09-10 10:50:35 +02:00
Hans Leidekker
6b107c7f62
shell32: Reject NULL path in IShellLink_SetPath.
2009-09-09 14:07:43 +02:00
Ge van Geldorp
1134f77d5f
shell32/tests: Fix tests on Vista+.
2009-09-02 14:39:35 +02:00
Nicolas Le Cam
41b2296ac0
shell32/tests: Add test for shell links to short path containing double backslashes.
2009-08-03 17:34:03 +02:00
Vincent Povirk
e083dc831c
shell32: Handle NULL return icon parameters in SHDefExtractIcon.
2009-05-18 12:31:56 +02:00
Francois Gouget
80b8a0b58e
shell32/tests: Use win_skip() to skip over unimplemented functionality.
2009-02-25 12:49:40 +01:00
Paul Vriens
ec2258169c
shell32/tests: Fix a test failure on NT4.
2008-11-05 10:54:53 +01:00