Commit Graph

98 Commits

Author SHA1 Message Date
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
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Eric Pouech 1be2e1edef shell32: Fixes for bugs found by valgrind on shell32 tests harness.
- read strings from left to right (PathGetDriveNumberW)
- don't access buffers before they are filled (SHGetPathFromIDListW)
- fill buffers & variables on all paths (SHELL_FindExecutable)
- handle error condition (unix_fs)
- don't shoot in the blind for AW APIs (tests/shelllink.c)
2006-02-22 12:04:02 +01:00
Mike McCormack 991e7054cf Partially implement and test the shelllink object's
IShellLinkDataList::CopyDataBlock and GetFlags methods.
2005-11-04 11:40:58 +00:00
Francois Gouget 5179aa1bae Get started testing ShellExecute(). 2005-07-24 16:26:53 +00:00
Stefan Huehner ac6f562b52 Fix more -Wstrict-prototypes warnings. 2005-06-20 14:18:03 +00:00
Mike McCormack 4c6149ee0c Eliminate some -Wwrite-strings warnings. 2005-06-01 11:04:26 +00:00
Francois Gouget 3b36eee083 Add trailing '\n's to ok() calls. 2005-04-19 09:48:44 +00:00
Mike McCormack 64c3208e10 - implement loading and saving of MSI advertised shortcut info
- make more test cases pass
- read and write the location block
- improve the binary compatibility of lnk files
2005-02-25 16:19:57 +00:00
Huw Davies 084e596a95 SetPath("") should return S_OK.
SetPath("nonexistent_path") should return S_FALSE.
2005-02-16 16:27:42 +00:00
Francois Gouget 208df0eb52 Test the interaction between IShellLink::SetIDList() and
IShellLink::SetPath().
Check what default values one gets on a fresh IShellLink object.
Add some more tests verifying nothing is lost in an IShellLink
save/load cycle. Merged the empty shelllink test with these.
2005-02-14 11:52:29 +00:00
Mike McCormack 43149f490c Add a test for creating empty shelllink files. 2004-10-22 19:52:33 +00:00