Commit Graph

540 Commits

Author SHA1 Message Date
Christian Costa 240afab362 shell32: Allow copy operation to overwrite an existing write protected file + tests. 2010-02-23 17:45:40 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +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
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
Paul Vriens 83c422e111 shell32/tests: Fix crash on ancient Win95. 2010-01-19 16:51:05 +01:00
Marcus Meissner 54aa61798f shell32: Handle bad menu handle (Coverity). 2010-01-11 13:39:46 -06:00
Rob Shearman 16f4b56345 shell32: Fix memory leaks in autocomplete tests. 2009-12-30 13:37:06 +01:00
Rob Shearman 0fd772be99 shell32: Fix style in autocomplete tests to more match the typical style used in the rest of Wine. 2009-12-30 13:36:57 +01:00
Alexandre Julliard 9d44153273 shell32/tests: Fix the system directory test for old WoW64 platforms. 2009-12-23 14:27:31 +01:00
Huw Davies 7078cfa76b shell32: Fix a memory leak in the tests.
Found by Valgrind.
2009-12-16 12:42:40 +01:00
Vincent Povirk 02a01f9585 shell32: Fix a memory leak in a test. 2009-12-14 12:07:30 +01:00
Paul Vriens 9233215ae7 shell32/tests: Fix a test failure on a default Windows 7 system. 2009-12-11 17:47:29 +01:00
Paul Vriens 5fa94d18c5 shell32/tests: Remove a useless string. 2009-12-08 17:44:30 +01:00
Paul Vriens ba5142f342 shell32/tests: Remove a now unused define. 2009-12-08 17:44:23 +01:00
Paul Vriens ea95977825 shell32/tests: Removed an unused define. 2009-12-08 17:44:16 +01:00
Paul Vriens 495d353c63 shell32/tests: Decide whether to use CSIDL_PROGRAMS or CSIDL_COMMON_PROGRAMS by checking admin rights. 2009-12-08 17:44:08 +01:00
Paul Vriens b965a5f0e0 shell32/tests: Cope with non-English Vista+ and short names in the title bar of explorer windows. 2009-12-08 17:44:01 +01:00
Paul Vriens 1c582d2ac5 shell32/tests: Don't fill a string with potential garbage. 2009-12-03 15:26:41 +01:00
Austin Lund 487a51b52f shell32/tests: Fix ITEMIDLIST_format test when running on FAT filesystems. 2009-12-01 13:40:17 +01:00
Paul Vriens e5d37c8d4a shell32/tests: Fix test failure on non-English locale. 2009-12-01 12:23:52 +01:00
Paul Vriens 404dcbcd65 shell32/tests: Change a trace into a skip for skipped tests. 2009-11-29 16:39:22 +01:00
Paul Vriens e5d83ac625 shell32/tests: Remove an unneeded HeapAlloc. 2009-11-29 16:39:08 +01:00
Paul Vriens 1c6f813bc7 shell32/tests: Fix test failures on Vista and higher. 2009-11-29 16:39:03 +01:00
Paul Vriens 98fef79f2d shell32/tests: Use ReadCabinetState to check title logic. 2009-11-29 16:38:53 +01:00
Paul Vriens f8134cee10 shell32/tests: Cope with systems lacking SHGetSpecialFolderPath. 2009-11-29 16:38:34 +01:00
Paul Vriens d5dac6c43d shell32/tests: Only fetch some special folders once. 2009-11-29 16:38:26 +01:00
Paul Vriens 17089d0c2e shell32/tests: Run tests on NT4 again. 2009-11-29 16:38:13 +01:00
Paul Vriens 1da30597e4 shell32/tests: Fix some test failures on Windows 7. 2009-11-29 16:37:17 +01:00
Paul Vriens ac85305c95 shell32/tests: Fix test failures on several platforms. 2009-11-24 18:13:58 +01:00
Paul Vriens f9a931070d shell32/tests: Fix some tests on Win7. 2009-11-20 11:40:12 +01:00
Alexandre Julliard 61a4200162 shell32: Fix setting of NULL arguments in IShellLink. 2009-11-16 20:09:48 +01:00
Mikey Alexander d51b4e19fb shell32/tests: Fix Program Manager DDE conformance test failures. 2009-11-16 17:47:37 +01:00
Paul Vriens 8d5e5e74a1 shell32/tests: Run tests again on NT4. 2009-11-11 11:26:57 +01:00
Francois Gouget 5fb3985fa5 Assorted spelling fixes. 2009-11-09 19:42:31 +01:00
Mikey Alexander 91bf659dd6 shell32/tests: Add Program Manager DDE conformance tests. 2009-11-05 14:45:33 +01:00
Paul Vriens 6d4a4fc4cd shell32/tests: Fix a test failure on some Vista boxes. 2009-10-21 16:05:57 +02:00
Francois Gouget 915b69e2a7 shell32: Fix compilation on systems that don't support nameless unions. 2009-10-19 14:45:32 +02: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
Francois Gouget fe935e8d50 Assorted spelling fixes. 2009-10-08 12:17:31 +02:00
Ge van Geldorp 1b5a373c0e shell32/tests: Fix shlexec on Vista and higher. 2009-10-02 16:31:43 +02:00
Ge van Geldorp f4878f0859 shell32/tests: Fix shellpath test on Win7. 2009-09-28 14:30:36 +02: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
Vladimir Pankratov 8777994882 shell32: Handle NULL path. 2009-08-28 16:48:23 +02:00
Alexandre Julliard ee868cce5b tests: Make wine_dbgstr_w available in test.h for all tests. 2009-08-19 13:19:31 +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
Nicolas Le Cam ab6ee61bd3 shell32/tests: Fix test on temp paths that have a different long form. 2009-08-03 17:34:12 +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
Alexandre Julliard d1fbdbce32 shell32/tests: Fix a couple of failures on Win9x and NT4. 2009-07-24 11:44:41 +02:00
Alexandre Julliard 7db6d5e3be shell32/tests: Create our own temp directory to make sure it's not the Windows directory. 2009-07-22 23:25:25 +02:00
Alexandre Julliard 7af70c2c97 shell32/tests: Revive the test for CSIDL_SYSTEMX86. 2009-07-07 11:48:25 +02:00
Nicolas Le Cam 25d7065885 shell32/tests: Use win_skip() instead of skip() and trace(). 2009-06-22 11:23:04 +02:00
Nicolas Le Cam ce78a66d8e shell32/tests: Fix a typo. 2009-06-22 11:22:35 +02:00
Paul Vriens a4477bac28 shell32/tests: Fix some test failures on Vista and higher. 2009-06-19 13:49:49 +02:00
Paul Vriens b1e007e3c6 shell32/tests: Fix a test failure on Vista and higher. 2009-06-19 13:49:44 +02:00
Paul Vriens 61b89b6308 shell32/tests: Fix some test failures on Vista and higher. 2009-06-18 15:17:28 +02:00
Paul Vriens cca3492557 shell32/tests: Fix a test failure on Vista and higher. 2009-06-18 15:17:28 +02:00
Paul Vriens 7319805621 shell32/tests: Fix a test failure on Vista. 2009-06-18 15:17:27 +02:00
Paul Vriens 29c51bdb04 shell32/tests: Fix a test failure on Vista. 2009-06-18 15:17:27 +02:00
Paul Vriens 4e4d477c4d shell32/tests: Fix some test failures on NT4 (and some Win95 boxes). 2009-06-16 15:32:02 +02:00
Paul Vriens 397e7ed31d shell32/tests: Fix a test failure on some Win95 boxes and NT4. 2009-06-15 13:42:27 +02:00
André Hentschel c867eca1e0 shell32/tests: Fix error messages. 2009-06-08 12:39:59 +02:00
Paul Vriens 989649c62e shell32/tests: Make sure all created files can be removed. 2009-06-05 15:19:57 +02:00
Paul Vriens e348c842da shell32/tests: Fix test failures on Win95. 2009-06-05 15:19:57 +02:00
Paul Vriens b7aa196449 shell32/tests: Fix test failure on NT4. 2009-06-05 14:43:24 +02:00
Vincent Povirk 9eed85f032 shell32: Implement IShellItem_GetParent. 2009-05-22 11:11:22 +02:00
Vincent Povirk 5b95a43d5e shell32: Handle parent folders in SHCreateShellItem. 2009-05-22 11:11:13 +02:00
Vincent Povirk 1d57a31d92 shell32: Fail properly when no pidl is passed to SHCreateShellItem. 2009-05-22 11:11:02 +02:00
Vincent Povirk 026c37e747 shell32: Add test for SHCreateShellItem. 2009-05-22 11:10:35 +02:00
Vincent Povirk e083dc831c shell32: Handle NULL return icon parameters in SHDefExtractIcon. 2009-05-18 12:31:56 +02:00
Francois Gouget dde9f31967 shell32/tests: Replace malloc() with HeapAlloc(). 2009-05-13 12:45:36 +02:00
Paul Vriens 6d1d5b653f shell32/tests: Fix a test failure on Win98. 2009-04-24 15:02:43 +02:00
Paul Vriens cfd32a5119 shell32/tests: Fix some test failures on Win9x and NT4. 2009-04-24 15:02:38 +02:00
Paul Vriens 0a42190c8e shell32/tests: Fix a test failure on Win95 and NT4. 2009-04-23 18:14:27 +02:00
Paul Vriens 9ae14c8e3a shell32/tests: Fix some test failures on NT4. 2009-04-23 18:14:26 +02:00
Vincent Povirk fcde02f9ff shell32: Implement SHGetNewLinkInfo[AW]. 2009-04-20 17:39:12 +02:00
Paul Vriens b7bd852650 shell32/tests: Fix some test failures on Vista. 2009-04-15 15:57:49 -05:00
Nicolas Le Cam fa010ad211 shell32/tests: Fix ITEMIDLIST format test on Win2k and below.
On Win2k SHITEMID only contains FileStructA.
This structure isn't padded like it is on WinXP and contains a
supplementary CHAR* member at its end which contains the 8.3 filename if
needed.
2009-04-09 11:28:45 +02:00
Nicolas Le Cam fbcec1ca56 shell32/tests: Skip FolderShortcut test on Win2k.
Skip this test as it doesn't work on Win2k.
CoCreateInstance is successful but IPersistPropertyBag_Load call fails.
2009-04-09 11:28:30 +02:00
Nicolas Le Cam 1d3edf6377 shell32/tests: Fix PropertyBag test on Win2k. 2009-04-09 11:28:12 +02:00
Nicolas Le Cam eb57396fc6 shell32/tests: Skip interactive part of SetNameOf test on Win2k.
Passing an absolute path to SetNameOf on Win2k display an error
message box about invalid characters in filename, forcing interaction
during test.
2009-04-09 11:28:04 +02:00
Nicolas Le Cam 1f52f12f3c shell32/tests: Completly fix GetAttributesOf test when launched from drive root dir. 2009-04-09 11:27:53 +02:00
Nicolas Le Cam 4ea0b38265 shell32/tests: Fix wrong comment and update test accordingly. 2009-04-07 15:20:36 +02:00
Nicolas Le Cam a295308c3f shell32/tests: Fix a test on WinNT and some Win95. 2009-04-07 15:20:23 +02:00
Nicolas Le Cam 4955fabbd4 shell32/tests: Fix crash when launched from drive root dir. 2009-04-06 11:16:55 +02:00
Nicolas Le Cam bf7fa5b690 shell32/tests: Fix GetAttributesOf tests on Win2k and below. 2009-04-06 11:16:49 +02:00
Nicolas Le Cam 69cd386b90 shell32/tests: Fix tests on localized platforms. 2009-04-06 11:15:45 +02:00
Paul Vriens 22a48d6740 shell32/tests: Fix a test failure on Vista and higher. 2009-04-02 16:28:30 +02:00
Vitaliy Margolen 694219d4a6 shell32: Fix number of returned arguments from CommandLineToArgvW with empty string. 2009-03-23 15:25:50 +01:00
Nicolas Le Cam 5fc199263e shell32/tests: Fix a test on Win2k platform and above. 2009-03-23 13:24:21 +01:00
Paul Vriens 0a3509255e shell32/tests: Fix a test failure on W2K and earlier. 2009-03-12 14:29:56 +01:00
Paul Vriens c88aea3b0c shell32/tests: Don't crash on missing class implementations. 2009-03-09 14:21:49 +01:00
Paul Vriens ebb6dd9c19 shell32/tests: Skip some tests on Win95 because of W-functions. 2009-03-05 12:45:09 +01:00
Paul Vriens b24e378f52 shell32/tests: Make sure we test on Win95. 2009-03-05 12:45:00 +01:00
Paul Vriens 575b93c5eb shell32/tests: Use the correct directory on Win95. 2009-03-05 12:44:55 +01:00
Francois Gouget 80b8a0b58e shell32/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-25 12:49:40 +01:00
Michael Stefaniuc 6c54ad3dba shell32: Remove superfluous pointer casts. 2009-02-19 12:52:02 +01:00
Juan Lang 6feb5cdd04 shell32: Let caller determine whether a shell path function must succeed or fail. 2009-02-13 12:59:14 +01:00
Juan Lang 029c3fbb8d shell32: Fix a few tests on Windows 98 and Vista. 2009-02-06 13:03:11 +01:00
Francois Gouget fb3f3b88ac shell32/tests: Remove spaces before a '\n's. 2009-02-05 13:14:25 +01:00
Juan Lang 69cf059e8b shell32: Remove an obsolete comment. 2009-02-05 13:10:37 +01:00
Juan Lang 5c39ea4509 shell32: Use the normal list checks for CSIDL_PERSONAL. 2009-02-05 13:10:33 +01:00
Juan Lang 63abc12461 shell32: Remove a test that fails on Win64. 2009-02-04 15:56:17 +01:00
Juan Lang 0bb1c5648b shell32: Use list of allowed PIDL types rather than assuming there are no more than two. 2009-02-04 12:25:08 +01:00
Juan Lang dfdf2be7c6 shell32: Fix a couple test failures on NT4. 2009-02-04 12:25:04 +01:00
Juan Lang f209d11541 shell32: Allow PIDLs to have alternate types to support more recent versions of Windows. 2009-01-30 11:45:16 +01:00
Juan Lang 88cba4390c shell32: Remove a test that no longer fails on Windows Vista/2008. 2009-01-30 11:45:04 +01:00
Juan Lang 6728057954 shell32: Fix a test on Windows Vista/2008. 2009-01-30 11:44:58 +01:00
Aric Stewart c6ba4eed01 shell32: In ParseDisplayName make use of shdocvw if the display name is not a drive but has a :. 2009-01-29 12:18:42 +01:00
Paul Vriens bbd4e078c6 shell32/tests: Fix a test on Win9x, WinME and W2K. 2009-01-22 12:03:46 +01:00
Paul Vriens b03a434fb4 shell32/tests: Fix a test failure on Win9x and W2K. 2009-01-22 12:03:39 +01:00
Paul Vriens a0164a1e64 shell32/tests: Use A-functions to test on Win9x. 2009-01-22 12:03:32 +01:00
Paul Vriens d615acc894 shell32/tests: Fix a test failure on some platforms. 2009-01-21 13:07:28 +01:00
Ge van Geldorp c2a2c429b1 shell32/tests: Prevent crash on XP/W2K3. 2009-01-16 13:25:13 +01:00
Alexandre Julliard 8cd82dda1f shell32/tests: Fix some uninitialized handle checks for Win64. 2009-01-10 14:49:41 +01:00
Paul Vriens 30bb78f0f9 shell32/tests: Skip a test on Vista. 2009-01-09 14:18:42 +01:00
Paul Vriens 189ea312d7 shell32/tests: Fix test failures on Vista. 2009-01-09 14:18:33 +01:00
Paul Vriens 7bd150e091 shell32/tests: Fix remaining test failures on NT4. 2009-01-09 14:18:26 +01:00
Paul Vriens 850cd7ccb2 shell32/tests: Fix some test failures on Vista. 2009-01-09 14:18:20 +01:00
Paul Vriens faf2f8e682 shell32/tests: Fix some errors on NT4 (FO_DELETE). 2009-01-09 14:18:12 +01:00
Paul Vriens 7ea6c85e97 shell32/tests: Fix the last test failure on Win9x. 2009-01-09 14:18:03 +01:00
Francois Gouget 581e390115 winapi_test: The tests don't support WIN64 yet so disable them there. 2009-01-08 12:47:22 +01:00
Francois Gouget 411f5d22c0 winapi_test: The real tests are done at compile time so use C_ASSERT() instead of ok(). Do only one test per line so one can know exactly what went wrong. 2009-01-08 12:46:39 +01:00
Francois Gouget 9f62c9b7a8 winapi_test: Fix TEST_FIELD() so it correctly tests the field size. 2009-01-08 12:44:49 +01:00
Francois Gouget 43c18c1321 winapi_test: FIELD_ALIGNMENT() is redundant so remove it. 2009-01-08 12:43:15 +01:00
Francois Gouget 2e668d2572 winapi_test: Updated so the generated tests work. 2009-01-08 12:42:12 +01:00
Paul Vriens c2d3ed244d shell32/tests: Fix test failures on Win9x, NT4 and Vista (FO_RENAME). 2009-01-08 12:40:32 +01:00
Paul Vriens 9ae3137edd shell32/tests: Fix some test failures on NT4 (FO_COPY). 2009-01-07 12:21:20 +01:00
Paul Vriens 53acd13732 shell32/tests: Fix some test failures on NT4 (FO_MOVE). 2009-01-07 12:21:12 +01:00
Paul Vriens ee889ba44c shell32/tests: Use a different name for the return value. 2009-01-07 12:21:06 +01:00
Paul Vriens 36bd62c012 shell32/tests: Fix some test failures on Vista. 2009-01-06 14:38:26 +01:00
Paul Vriens dda78ca69b shell32/tests: Change some tests with respect to Vista. 2009-01-06 14:38:18 +01:00
Paul Vriens 7c1885181e shell32/tests: Fix some test failures on Win9x and NT4. 2009-01-06 14:37:58 +01:00
Paul Vriens d1d0e335cf shell32/tests: Fix some test failures on Vista and W2K8. 2009-01-05 16:37:36 +01:00
Alexandre Julliard d3ed2df9ee shell32/tests: Fix handle casting warnings on 64-bit. 2009-01-03 20:14:32 +01:00
Francois Gouget b7ad9c87b5 shell32/tests: Add a trailing '\n' to ok() calls. 2008-12-29 11:35:36 +01:00
Paul Vriens 44c9f6a15d shell32/tests: Fix a few test failures on Vista and W2K8. 2008-12-24 19:57:51 +01:00
Paul Vriens 7f752f7c9c shell32/tests: Cope with Vista's behavior. 2008-12-23 12:51:16 +01:00
Francois Gouget 596311cd5d shell32/tests: Make test_cbsize() static. 2008-12-12 11:42:28 +01:00
Paul Chitescu cd616409ba shell32.dll: Return SE_ERR_FNF if file not found before checking for associations. 2008-12-09 10:25:38 +01:00