Commit Graph

61 Commits

Author SHA1 Message Date
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
Paul Vriens 3465cbc58d shell32/tests: Use win_skip instead of trace. 2008-10-21 11:44:00 +02:00
Paul Vriens 025a39e209 shell32/tests: Fix a failure on NT4. 2008-10-09 13:01:47 +02:00
Michael Stefaniuc ca0074e706 shell32/tests: Use FAILED instead of !SUCCEEDED. 2008-10-08 13:43:27 +02:00
Detlef Riekenberg da0604bebd shell32/tests: Fix shelllink test on win9x (GetTempPathW). 2008-08-04 14:22:05 +02:00
Reece Dunn de08ba8332 shell32/tests: Vista returns E_INVALIDARG if the path sent to SetPath is invalid. 2008-07-21 14:45:01 +02:00
Reece Dunn 811a809b0a shell32: Make the tests build with the Vista SDK. 2008-07-21 14:44:43 +02:00
Reece Dunn 29c66b3a9e shell32: Do not use a fixed path in the shelllink tests. 2008-07-21 14:44:33 +02:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
Alexandre Julliard 7524019796 shell32/tests: Use the original path if GetLongPathNameA fails. 2008-06-23 17:22:01 +02:00
Paul Vriens b44df3a852 shell32/tests: Run tests again on win95. 2008-05-27 19:35:59 +02:00
James Hawkins f2aa3259b9 shell32: Test against the long form of the path. 2008-05-26 18:00:03 +02:00
Paul Vriens 7361e91fdd shell32/tests: SHGetPathFromIDListA returns a BOOL not a HRESULT. 2008-05-20 15:43:54 +02:00
Paul Vriens 13e609fdb3 shell32/tests: Fix test when running on Wine. 2008-05-19 23:11:18 +02:00
Francois Gouget 633ee950a1 Assorted spelling fixes. 2008-05-07 12:07:11 +02:00
Francois Gouget e98a468ebe shell32/tests: Use the IShellLinkDataList's standard 'C' interface. 2008-02-27 14:52:23 +01:00
Paul Vriens ad711256a4 shell32/tests: GetLongPathNameA is not implemented on win95. 2008-02-15 09:53:29 +01:00
Francois Gouget d491335eb7 shell32/tests: Fix a couple of copy/paste errors. 2008-02-04 11:11:27 +01:00
Gerald Pfeifer ff307d96c1 shell32: Remove useless comparison >= 0 for unsigned variables. 2007-11-02 12:20:52 +01:00
Paul Vriens 968d305148 shell32/tests: Use GetModuleHandle instead of LoadLibrary. 2007-08-17 11:47:41 +02:00
Paul Vriens f076919ca8 shell32/tests: Make tests run again on win95. 2007-08-14 12:46:47 +02:00
Misha Koshelev 0d750e3282 shell32: Fix shelllink creation to non-executable files and remove unnecessary code. 2007-06-29 13:43:27 +02:00
Misha Koshelev 240648534f shell32/tests: Fix tests of IShellLinkA_SetPath to conform on both Windows 98 and XP. 2007-06-29 13:43:02 +02:00
Misha Koshelev de774710d6 shell32/tests: Allow CoCreateInstance to return E_NOINTERFACE to pass on Win98; add skips and display return values. 2007-06-29 13:42:56 +02:00
Misha Koshelev 75fbca227b shell32/tests: Add test for shell links to existing non-executable files. 2007-06-29 13:42:48 +02:00
Misha Koshelev f8eabe0d37 shell32/tests: Allow individual tests in check_lnk to be todo_wine'd. 2007-06-29 13:42:38 +02:00
Misha Koshelev 28b68dad8e shell32/tests: Test creating shell links for commands on path. 2007-02-14 21:45:56 +01:00
Hans Leidekker e5c1a014df shell32/tests: Win64 printf format warning fixes. 2006-10-09 12:53:26 +02:00
Francois Gouget c22eb7e3a3 shell32: Microsoft's EXP_DARWIN_LINK structure does not have a dbh
field so cast it to DATABLOCK_HEADER to access the dwSignature
field. Fixes the compilation with Visual C++ on Windows.
2006-10-03 15:56:32 +02:00
Mike McCormack 4fa9f63761 shell32: IShellLink::SetPath removes quotes from the path. 2006-08-09 17:10:32 +02:00
Mike McCormack 1cc186ba81 shell32: Fix test compilation with MSVC6. 2006-08-09 17:10:27 +02:00