Commit Graph

137 Commits

Author SHA1 Message Date
Eric Pouech 4ad1bab464 shell32/tests: Enable compilation with long types.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-07 20:53:12 +01:00
Eric Pouech 87c9a0dd08 shell32/tests: Use correct integral type.
Signed-off-by: Eric Pouech <eric.pouech@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-03-07 20:53:12 +01:00
Zebediah Figura aade29db06 shell32/tests: Remove pointless redefinition of FOF_NORECURSION.
Signed-off-by: Zebediah Figura <zfigura@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2022-02-04 09:49:00 +01:00
Damjan Jovanovic 42ecb0ec15 shell32/tests: Test what Shell_MergeMenus() does with a negative adjustment.
Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Damjan Jovanovic 7af66935a0 shell32/tests: Add more tests for Shell_MergeMenus().
Show Shell_MergeMenus() really adds the offset instead of
changing IDs to start with it, and that it really honours
the maximum allowed value.

Signed-off-by: Damjan Jovanovic <damjan.jov@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-30 22:59:50 +02:00
Zebediah Figura 9603fba894 include: Define _WINSOCKAPI_ in winsock2.h.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-04-27 18:55:24 +02:00
Jactry Zeng 4a1bd593f3 shell32: Implement IFileOperation stub.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48848
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-02-09 11:55:10 +01:00
Paul Gofman e2f456cfe5 shell32: Only consider copy operation multidest if the number of dst files is greater than one.
Fixes crash on start in Worms World Party Remastered.

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-23 19:31:18 +02:00
John Thomson 9b6d198a3c shell32: Do not fail in SHCreateDirectoryExW for ERROR_ALREADY_EXISTS.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=47023
Signed-off-by: John Thomson <git@johnthomson.fastmail.com.au>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-04-24 22:48:08 +02:00
Daniel Lehman da8a801a58 shell32: Convert / to \ when parsing file list.
Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-09 09:45:22 +02:00
Nikolay Sivov 738a1a33ea shell32/tests: Remove some tests workarounds.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-10 11:15:21 +02:00
Huw Davies a7d79fe445 shell32: Load icons with the correct size.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-02 17:51:29 +02:00
Huw Davies adc439b1a9 shell32/tests: Add tests for the size of the icon returned by SHGetFileInfo().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 10:53:44 +02:00
Huw Davies c4155c523d shell32: Take a reference on the imagelist returned with SHGFI_SYSICONINDEX.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-21 10:53:31 +02: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
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
Dmitry Timoshkov 5acb82fc28 shell32: Fix SHFileOperation(FO_MOVE) for a directory with subdirectories. 2015-03-19 21:05:13 +09:00
Dmitry Timoshkov 5614ae23ee shell32/tests: Add a couple of SHFileOperation(FO_MOVE) tests for a directory. 2015-03-19 21:05:11 +09:00
Alexandre Julliard d28052066d shell32/tests: Use NULL for a null pointer. 2015-03-04 21:50:33 +09:00
Michael Stefaniuc 61ed9130bf shell32/tests: Fix a copy and paste error (PVS-Studio). 2014-11-20 22:35:54 +09:00
Francois Gouget 0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02:00
Zhenbo Li 2ba9ee018b shell32: Fix SHFileOperation when deleting a nonexistent directory. 2014-06-25 11:55:10 +02:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Aric Stewart a2c905244b shell32: Improve the FO_MOVE operation. 2014-02-27 11:45:51 -06:00
Zhenbo Li fa8e8c258c shell32/tests: Delete a nonexistent file in an existent dir or a nonexistent dir. 2013-11-20 20:08:47 +01:00
Zhenbo Li f19f85f681 shell32/tests: Add a missed init_shfo_tests() call. 2013-11-13 18:31:57 +01:00
Zhenbo Li 7c1602464a shell32/tests: Add tests for SHFileOperationA. 2013-11-11 17:06:46 +01:00
Nikolay Sivov fa93dadfa1 shell32/tests: Fix compilation with -D__WINESRC__. 2013-10-28 14:22:20 +01:00
Daniel Lehman 32f636f6d1 shell32: Initialize fAnyOperationsAborted in SHFileOperation. 2012-11-07 13:55:57 +01:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Austin English c2671133dd shell32/tests: Make sure return values are used (LLVM/Clang). 2011-02-14 12:27:10 +01:00
André Hentschel f0b9d9fce6 shell32/tests: Don't test function directly when reporting GetLastError(). 2010-12-30 15:00:21 +01:00
Austin Lund 8446f5c0a7 shell32/tests: Fixed SHPathPrepareForWriteW tests on Asian platforms. 2010-12-03 14:28:23 +01:00
David Hedberg 65f6ab7c86 shell32: Shell_MergeMenus should be declared in shlobj.h and exported by name. 2010-07-20 12:35:13 +02:00
Christian Costa 240afab362 shell32: Allow copy operation to overwrite an existing write protected file + tests. 2010-02-23 17:45:40 +01:00
Paul Vriens 6a6c8e3ee2 shell32/tests: Fix a test failure on NT4. 2010-02-10 11:34:53 +01:00
Vincent Povirk b609e25204 shell32: Use the current directory when copying to an empty destination. 2010-02-08 17:14:43 +01:00
Paul Vriens 31d08405d9 shell32/tests: Fix the old shell32 detection. 2010-01-26 12:18:42 +01:00
Paul Vriens edf050cf5d shell32/tests: Fix test failures on old shell32 for FO_MOVE. 2010-01-25 18:05:02 +01:00
Paul Vriens b3eeb4163c shell32/tests: Skip FO_COPY tests on old shell32. 2010-01-25 18:05:02 +01:00
Paul Vriens 1bd7956a7d shell32/tests: Fix FO_RENAME tests for old shell32. 2010-01-25 18:05:02 +01:00
Marcus Meissner 54aa61798f shell32: Handle bad menu handle (Coverity). 2010-01-11 13:39:46 -06:00
Paul Vriens f9a931070d shell32/tests: Fix some tests on Win7. 2009-11-20 11:40:12 +01:00
Paul Vriens 7a0430d0e8 shell32/tests: Fix test failure on Cyrillic locales. 2009-10-12 12:14:36 +02:00
Paul Vriens 856be7c9a7 shell32/tests: Fix remaining failures on WinMe. 2009-10-09 11:50:29 +02:00
Paul Vriens d62d442d6d shell32/tests: Fix some test failures on WinMe (SHPathPrepareForWrite). 2009-10-08 15:05:33 +02:00
Paul Vriens 012af0bd00 shell32/tests: Fix some test failures on WinMe (FO_COPY). 2009-10-08 14:39:06 +02:00
Vladimir Pankratov 8777994882 shell32: Handle NULL path. 2009-08-28 16:48:23 +02:00
Stefan Leichter a14256f621 shell32: Make the tests of the value returned from function SHGetFileInfoA more strick, fix wine to pass the tests. 2009-08-05 11:23:41 +02:00