Huw Davies
a2eb5999cb
shell32/tests: Ignore the compressed attribute.
...
The Vista64 testbot VM reports its storage as compressed when run as a stand-alone job,
but not during a winetest run.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-17 13:19:21 +01:00
Huw Davies
aef764d37c
shell32/tests: Return early if the shell folder creation fails in order to avoid a compiler warning.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-17 13:19:18 +01:00
Jacek Caban
d9fc7d271c
shell32: Added SHGetPathFromIDListEx implementation.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-23 20:12:41 +01:00
Michael Stefaniuc
f20fa69c9b
shell32/tests: Use the correct field for SW_SHOWNORMAL (coccinellery).
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-02-15 16:33:54 +01: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
dba1a78a20
shell32/tests: Test valid special folder IDs with NameSpace() method.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-10 19:19:16 +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
Hans Leidekker
a2556760ec
shell32/tests: Skip SHFileOperation tests if the user doesn't have admin rights.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-20 13:02:15 +01:00
Hans Leidekker
748f7e26cb
shell32/tests: Accept another error from SHFileOperationA.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-20 13:02:10 +01:00
VRan Liu
c64cdc1fe6
shell32/tests: Simple test for KF_FLAG_DEFAULT_PATH.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-06 18:57:41 +01:00
Michael Müller
117c0dc5ba
shell32: Add IDragSourceHelper stub.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-01 12:17:12 +01:00
Nikolay Sivov
8e7a041154
shell32: Simplify drag drop helper object creation.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-01 12:17:04 +01:00
Huw Davies
b670fc2c6d
shell32/tests: Updated Windows 7 has a new IShellDispatch6 in its typelib.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-30 13:23:34 +01:00
Huw Davies
b70821a74d
shell32/tests: Add some uuids present on Windows 10.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-29 15:11:09 +01:00
Hans Leidekker
567b52cd93
shell32: Implement IKnownFolderManager::GetFolderByName.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-22 16:32:00 +01:00
Austin English
6c876de7d0
shell32: Add SHCreateSessionKey stub.
...
Signed-off-by: Austin English <austinenglish@gmail.com>
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-19 08:11:55 -07:00
André Hentschel
410a9832d1
shell32/tests: Mark win10 failure as broken.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-03 11:54:15 +02:00
Sebastian Lackner
f89c3d58df
shell32/tests: Fix incorrect usage of broken() function.
...
Signed-off-by: Sebastian Lackner <sebastian@fds-team.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-08 20:56:46 +09:00
Nikolay Sivov
79e95afbc3
shell32/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:55 +09:00
Nikolay Sivov
27f91d71a2
shell32/tests: Fix indentation warnings on GCC 6.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 12:51:34 +09: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
Alex Henrie
a615647435
shell32/tests: Change to temp dir to be able to remove winetest dir.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 23:05:52 +09:00
Alex Henrie
de37f020a2
shell32/tests: Free winetest BSTR after use.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-20 23:05:49 +09:00
Alex Henrie
a711285137
shell32: Set output interfaces to NULL in FolderItems functions.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 22:33:53 +09:00
Alex Henrie
ddf76f6a66
shell32/tests: Add tests for FolderItems.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-19 22:33:37 +09:00
Michael Stefaniuc
afe0ba175c
shell32/tests: Remove redundant NULL checks before CoTaskMemFree().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-08 20:12:48 +09:00
Michael Stefaniuc
df63e1a169
shell32/tests: Avoid casts from a COM object to an iface.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:20:34 +09:00
Francois Gouget
8e548c41c1
shell32/tests: Spelling fix.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-13 11:34:14 +09:00
Theodore Dubois
2a7c4ea875
shell32/tests: Fix memory leaks.
...
Signed-off-by: Theodore Dubois <tblodt@icloud.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 13:17:45 +09:00
Theodore Dubois
fbbac88519
shell32/tests: Fix out of memory errors and their underlying cause.
...
The out of memory errors were happening because getstring_test was using
len unitialized when GetString failed. The underlying cause was that
deleting the keys would fail because RegDeleteKey does not work if the
key has subkeys, and one of the keys has a subkey. The test fails when
the keys are still there. The subkey is now deleted before the key that
contains it.
Signed-off-by: Theodore Dubois <tblodt@icloud.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-08 13:17:42 +09:00
Michael Stefaniuc
33f145acc3
shell32/tests: Use wine_dbgstr_rect() to print RECTs.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-07 17:08:30 +09:00
Nikolay Sivov
784a74c933
include: Added missing ASSOCF enum members.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-01 13:34:11 +09:00
Olivier F. R. Dierick
07156ad007
shell32/tests: Tests for broken apps that check GetLastError() after SHFileOperation().
...
Signed-off-by: Olivier F. R. Dierick <o.dierick@piezo-forte.be>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 20:11:49 +09:00
Andrey Gusev
83fee7456d
shell32/tests: Fix a typo in comment.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-02 12:26:19 +09:00
Francois Gouget
9638ddd62c
shell32/tests: A spelling fix for an shlfolder ok() message.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:35 +09:00
Francois Gouget
5d885360f4
shell32/tests: Fix a spelling error in a shellpath comment.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:34 +09:00
Nikolay Sivov
87f081974f
shell32/tests: Use ok() functionality to print line numbers.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:34 +09:00
Nikolay Sivov
e89a7735c3
shell32/tests: Fix some test failures running with limited user.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-22 21:04:34 +09:00
Michael Stefaniuc
851777dcb1
shell32/tests: Use SetRect instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 21:00:45 +09:00
Francois Gouget
15d9a4a711
shell32/tests: Fix a race condition in the DDE ShellExecute() tests on Windows 10.
...
Even if we have a results file after a failed ShellExecuteEx() call, it
may not correspond to the last call and should thus be ignored.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 12:03:57 +09:00
Francois Gouget
d02e559b91
shell32/tests: Make shlexec's reset_association_description() static.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 22:23:42 +09:00
Theodore Dubois
9e05c66c03
shell32/tests: Additional tests for IQueryAssociations.
...
Signed-off-by: Theodore Dubois <tblodt@icloud.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 00:36:29 +09:00
Francois Gouget
822e78ee04
shell32/tests: Test default verb detection for files as well as for URLs.
...
When Internet Explorer 6 is installer, Windows XP detects non-standard
verbs just fine for files but not for URLs.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 00:36:27 +09:00
Francois Gouget
e7065e0c51
shell32/tests: Move a file URL test to test_fileurl().
...
This way it's integrated with the rest of the matching tests and skipped
on plaforms where file URLs don't work right (old Windows XP versions).
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 00:36:27 +09:00
Francois Gouget
11d77e51d5
shell32/tests: Delete the shlproto test class when done.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 00:36:27 +09:00
Michael Stefaniuc
fba64b5cac
shell32/tests: Use SetRectEmpty() instead of open coding it.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 22:29:03 +09:00
Francois Gouget
6e9c7adcee
shell32/tests: Test ShellExecute()'s URL handling.
...
Also tweak the class creation functions and add create_test_class() so
one can create a class without associating it with an extension.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37: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