Commit Graph

227 Commits

Author SHA1 Message Date
Daniel Jelinski 1825bddbff shell32/tests: Test context menu contents. 2013-08-15 18:04:51 +02:00
Nikolay Sivov 96005d17d5 shell32/tests: Use proper method macros. 2012-08-24 11:32:39 +02:00
Detlef Riekenberg bb684aaba7 shell32/tests: Fix a failure on w2k. 2012-07-03 12:02:20 +02:00
Alexandre Julliard 30a7d0a5a7 shell32/tests: Avoid some array bounds warnings. 2011-11-07 11:44:35 +01:00
André Hentschel 8b0a2c2872 shell32/tests: Don't test function directly when reporting GetLastError(). 2011-09-26 18:15:20 +02:00
Michael Stefaniuc 44b2f66ac7 shell32: Remove casts to the type of the casted expression. 2011-09-21 14:41:33 +02:00
Piotr Caban ceb7add45d shell32/tests: Added more SHChangeNotify tests. 2011-09-21 11:35:44 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Jay Yang 0a7a3be0b1 shell32: Implement SHCreateDefaultContextMenu and CDefFolderMenu_Create2. 2011-08-04 11:54:14 +02:00
Jay Yang 23c8704cb5 shell32/tests: Add tests for SHCreateDefaultContextMenu. 2011-08-02 20:47:49 +02:00
Octavian Voicu 907f94e144 shell32: Disable WOW64 redirection when converting pidls to UNIX paths. 2011-07-29 18:15:54 +02:00
Michael Stefaniuc 1da5c9d17f shell32/tests: COM cleanup in shlfolder.c. 2011-04-27 11:53:06 +02:00
Francois Gouget 91de605dd2 shell32/tests: Make test_ShellItemGetAttributes() static. 2011-03-16 14:14:24 +01:00
Marcus Meissner edd696078f shell32: memset only gets character (Coverity). 2011-03-15 17:14:07 +01:00
Francois Gouget b7b916b05f shell32/tests: Add a trailing '\n' to a skip(). 2011-03-07 11:09:04 +01:00
Austin English 3c69f657fb shell32/tests: Make sure a return value is used (LLVM/Clang). 2011-02-14 12:27:26 +01:00
Austin English 8a3294e8b6 shell32/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-14 12:27:19 +01:00
Nikolay Sivov 7ee7f0843b shell32/tests: Fix couple PIDL leaks in tests. 2011-01-24 12:35:02 +01:00
Austin English 19fa0b32fd shell32/tests: fix a couple memory leaks (Valgrind). 2011-01-18 13:29:57 +01:00
Nikolay Sivov 38a995021a shell32/tests: Fix some leaks in tests (Valgrind). 2011-01-17 12:50:58 +01:00
André Hentschel 2c20270d24 shell32/tests: Don't test function directly when reporting GetLastError(). 2010-12-31 11:44:40 +01:00
David Hedberg 0d87e1f9fd shell32: IShellItem::GetAttributes should also work on the desktop shellfolder. 2010-12-20 12:47:40 +01:00
Paul Vriens 5680cf6293 shell32/tests: Use more A-functions to fix Win95 and actually test correctly on Win9x. 2010-11-29 11:24:09 +01:00
Andrew Eikum 2f05b5a6d9 shell32: Fix an off-by-one error that causes an infinite loop. 2010-11-18 12:31:22 +01:00
Andrew Eikum b75b9fab2f shell32: PIDLs should be checked recursively in SHChangeNotify. 2010-11-15 12:59:05 +01:00
Andrew Eikum 71fad7d18d shell32/tests: Make SHChangeNotify tests more easily extendible. 2010-11-15 12:59:03 +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
David Hedberg 10c0c4a8c1 shell32: Don't allow binding to files in any ShellFolder implementation. 2010-11-08 13:30:21 +01:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Alasdair Sinclair e3788512ad shell32/test: Prevent crash on cleanup if tests fail. 2010-09-27 14:10:43 +02:00
Alexandre Julliard c15b376a15 shell32: Map the x86 version of the folder to the appropriate path depending on Wow64 mode. 2010-09-21 14:11:27 +02:00
Francois Gouget 6f1326fac1 shell32/tests: Fix compilation on systems that don't support nameless unions. 2010-08-30 11:26:46 +02:00
David Hedberg 1f73f3a591 shell32: Support BHID_SFUIObject and BHID_DataObject in IShellItem::BindToHandler. 2010-08-24 17:22:49 +02:00
Francois Gouget c15308f869 shell32/tests: Remove spaces before '\n's in traces. 2010-08-24 15:22:36 +02:00
Francois Gouget a879046f63 shell32/tests: Remove unneeded NULL pointer casts. 2010-08-24 15:22:35 +02:00
Francois Gouget 88cae5d4c7 Assorted spelling fixes. 2010-08-24 15:22:35 +02:00
David Hedberg 6fbfb7cd1d shell32: Partial implementation of IShellItem::BindToHandler. 2010-08-17 14:21:22 +02:00
Andrew Eikum 9f37536d6a shell32: Add tests for SHChangeNotify functions. 2010-08-04 12:15:24 +02:00
Andrew Eikum 61b670a392 shell32/tests: Fix some Win9x failures. 2010-08-03 18:00:38 +02:00
David Hedberg fd6d9cd8f2 shell32: Implement SHCreateShellItemArrayFromDataObject. 2010-07-26 18:38:31 +02:00
David Hedberg bf1b56be10 shell32: Implement SHCreateShellItemArrayFromShellItem. 2010-07-26 18:38:30 +02:00
David Hedberg 090824feb5 shell32: Initial implementation of IShellItemArray with SHCreateShellItemArray. 2010-07-26 18:38:30 +02:00
David Hedberg caffc9f557 shell32: Implement IShellItem::Compare. 2010-07-26 13:34:21 +02:00
David Hedberg 2f5b53e7d7 shell32: Implement SHGetItemFromObject. 2010-07-26 13:34:21 +02:00
David Hedberg b8a40388ee shell32: Implement SHGetIDListFromObject. 2010-07-23 13:05:31 +02:00
David Hedberg c8c2bc8b4b shell32: Implement SHGetItemFromDataObject. 2010-07-23 13:05:31 +02:00
David Hedberg 222d2142ef shell32: Implement SHCreateItemFromIDList. 2010-07-23 13:05:31 +02:00
David Hedberg 5b0b56fac4 shell32: Implement SHCreateItemFromParsingName. 2010-07-23 13:05:31 +02:00
David Hedberg b43bcdf524 shell32: Implement SHGetNameFromIDList and IShellItem::GetDisplayName. 2010-07-23 13:05:31 +02:00
Andrew Eikum f99c81621c shell32: IShellFolder::ParseDisplayName should work for missing files if given valid IBindCtx.
Additionally, SHSimpleIDListFromPath now returns PIDLs for non-existent
paths, as it should.
2010-07-22 10:24:56 +02:00
David Hedberg fb88e06e79 shell32: Implement IPersistFolder2 for the desktop folder. 2010-07-20 14:40:32 +02:00
David Hedberg d60c9adca2 shell32: Fix some return values from the shellview contextmenu. 2010-07-19 15:06:15 +02:00
Alexandre Julliard fa2444caf1 shell32/tests: Use the windows directory for the SHParseDisplayName test to avoid ambiguous namings. 2010-06-21 11:50:15 +02:00
Nikolay Sivov 45d6329cbb shell32: Export lowlevel PIDL manipulation calls by name too. 2010-05-26 17:36:32 +02:00
Andrew Nguyen 7a7ece786c shell32/tests: Release the test desktop interface on all appropriate exit paths in ParseDisplayName tests. 2010-04-19 15:32:47 +02:00
Nikolay Sivov edcaf53f94 shell32/tests: Use strict comparison for return values. 2010-03-23 12:19:48 +01:00
Nikolay Sivov 53ae4e2ba0 shell32: Add IPersist support for desktop IShellFolder. 2010-03-22 15:52:36 +01:00
Nikolay Sivov fb45de3f66 shell32: Use return value on failure updated in Vista+. 2010-03-04 17:29:16 +01:00
Paul Vriens f370ab7e9b shell32/tests: Prevent crash on W2K and below. 2010-03-04 12:30:24 +01:00
Nikolay Sivov 500c785053 shell32: Implement SHParseDisplayName with basic tests. 2010-03-03 14:02:23 +01:00
Nikolay Sivov 721be7135f shell32/tests: Minor test file cleanup. 2010-03-03 14:02:13 +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
Austin Lund 487a51b52f shell32/tests: Fix ITEMIDLIST_format test when running on FAT filesystems. 2009-12-01 13:40:17 +01:00
Paul Vriens 1da30597e4 shell32/tests: Fix some test failures on Windows 7. 2009-11-29 16:37:17 +01:00
Alexandre Julliard ee868cce5b tests: Make wine_dbgstr_w available in test.h for all tests. 2009-08-19 13:19:31 +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
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
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 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
Paul Vriens 0a3509255e shell32/tests: Fix a test failure on W2K and earlier. 2009-03-12 14:29:56 +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 fb3f3b88ac shell32/tests: Remove spaces before a '\n's. 2009-02-05 13:14:25 +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