Commit Graph

52 Commits

Author SHA1 Message Date
James Hawkins 81f2d3cc0b shell32: Fix a few tests that fail in win2k. 2008-04-11 13:11:02 +02:00
James Hawkins 5469551f6b shell32: Fix and simplify the FO_COPY operation, with tests. 2008-04-03 11:29:07 +02:00
James Hawkins 6ecccdb790 shell32: Handle a few cases in FO_COPY that arise from not double-NULL terminating the input. 2008-04-02 12:33:50 +02:00
Francois Gouget ca3606f393 shell32/tests: Use GetProcAddress() on SHFileOperationW() because it is missing on Windows 95. 2007-12-18 12:32:56 +01:00
Vincent Povirk f4a4a1c054 shell32: Implement SHPathPrepareForWrite. 2007-09-14 16:20:14 +02:00
Vincent Povirk 6fe28bbee3 shell32: Add tests for SHPathPrepareForWrite. 2007-09-14 16:20:14 +02:00
Nigel Liang 1fc0cb75ee shell32: Conformance tests for unicode filenames and fix a bug for file deletion. 2007-06-11 13:45:38 +02:00
Francois Gouget d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
Paul Vriens b564a9130c shell32/tests: Rewording and cleanup. 2007-03-05 12:05:51 +01:00
Marcus Meissner 3b5b23311c shell32/tests: Fixed potential overflow. 2007-02-19 12:39:37 +01:00
Mikołaj Zalewski 33ee219ce3 shell32: Allow overwriting files in SHFileOperation(FO_COPY) (with confirmation dialogs). 2007-02-12 12:38:57 +01:00
Mikołaj Zalewski dbef32e4ed shell32: shlfileop tests: Avoid buffer overflows for paths. 2007-02-07 11:34:22 +01:00
Francois Gouget aa3165fca6 shell32: Add proper support for SHGetFileInfo(SHGFI_ICONLOCATION | SHGFI_USEFILEATTRIBUTES). 2007-01-19 12:28:57 +01:00
Francois Gouget 5c5933f699 shell32/tests: Add some more SHGetFileInfo() tests. 2007-01-19 12:28:57 +01:00
Francois Gouget d2daa384e9 shell32/tests: Hack SHGetFileInfo() so it does not crash and add a test for it. 2007-01-08 12:06:21 +01:00
Hans Leidekker e5c1a014df shell32/tests: Win64 printf format warning fixes. 2006-10-09 12:53:26 +02:00
Alexandre Julliard fc4cd637d9 tests: Moved some compatibility defines to wine/test.h. 2006-09-13 11:01:39 +02:00
Mike McCormack 9949a3a463 shell32: Fix compilation of test on MSVC6. 2006-08-24 12:42:35 +02:00
Ivan Leo 48374cf630 shell32/tests: Comment out a test that crashes on windows nt 4.0. 2006-06-30 20:42:43 +02:00
Phil Lodwick 6fc50ff378 shell32/tests: Test to make sure we can create a non-nested directory. 2006-06-08 11:12:02 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
James Hawkins 1be970d485 shell32: Reimplement a factored SHFileOperation. 2006-01-23 11:22:59 +01:00
Francois Gouget 6526c3772d Add trailing '\n's to ok() calls.
Remove spaces before '\n' in traces.
2006-01-03 12:10:37 +01:00
James Hawkins 22ddd114a8 shell32: Clean up the SHFileOperation tests.
- Make sure to create all the files used by the new tests.
- Add a couple more SHFileOperation tests.
- Fix some of the old tests.
2005-12-26 12:56:06 +01:00
James Hawkins 036d5eff7b shell32: Add tests for SHFileOperation's FO_MOVE command. 2005-12-22 11:19:13 +01:00
James Hawkins d49181f99a shell32: Add tests for SHFileOperation's FO_COPY command. 2005-12-22 11:17:19 +01:00
James Hawkins edf423ab86 shell32: Add tests for SHFileOperation's FO_RENAME command. 2005-12-22 11:16:57 +01:00
James Hawkins d3c3bc1d3a shell32: Add tests for SHFileOperation's FO_DELETE command. 2005-12-22 11:15:42 +01:00
James Hawkins bad4a1dc5f shell32: Remove the '.\\' prefix from filenames, because it hides a
bug in SHFileOperation.
2005-12-21 21:18:19 +01:00
Francois Gouget 0edbaf7e80 Remove spaces before '\n' in traces. 2005-11-10 12:14:56 +00:00
James Hawkins 8c523fe36c Test that the FO_COPY action creates output directories if they don't
exist.
2005-10-11 19:26:47 +00:00
Saulius Krasuckas c3760e7de1 Remove trailing backslash. 2005-08-08 18:03:47 +00:00
Mike McCormack 383302c11e Make functions static. 2005-06-20 10:30:15 +00:00
Mike McCormack 4c6149ee0c Eliminate some -Wwrite-strings warnings. 2005-06-01 11:04:26 +00:00
Francois Gouget f5c9da6860 Assorted spelling fixes. 2005-05-06 15:44:31 +00:00
Paul Vriens 0b3b35116a Print retval in decimal to avoid confusion.
NT4 fails with ERROR_INVALID_TARGET_HANDLE instead of
ERROR_REDIR_PAUSED.
Use some correct messages on error.
Extra tracing.
2005-03-25 20:47:50 +00:00
Jakob Eriksson 4fead33f30 If the device gets interrupted, we just give up. 2005-03-22 21:16:24 +00:00
Francois Gouget 4d801b66e6 Assorted spelling fixes. 2005-02-10 19:19:35 +00:00
Stefan Leichter 9cc5c15795 Fix missing imports of the test program on NT4. 2004-12-06 11:45:13 +00:00
Rolf Kalbermatter a2ebf8b356 Add test for SHCreateDirectoryEx function.
Fixed some typos.
2004-10-28 20:58:38 +00:00
Francois Gouget e18aa3f614 Add trailing '\n's to ok() calls. 2004-01-26 20:23:25 +00:00
Rolf Kalbermatter 76f13deb26 Use INVALID_FILE_ATTRIBUTES to test for failure of
GetFileAttributesA/W and not -1 or 0xFFFFFFFF.
2003-10-16 19:12:49 +00:00
Rolf Kalbermatter c4bba67a9a Fix a return value in SHFileOperation and add some extra tests to
internal helper functions necessary to deal with shortcomings of
kernel32 functions for the time being.
2003-09-27 03:47:35 +00:00
Alexandre Julliard e37c6e18d0 Fixed header dependencies to be fully compatible with the Windows
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Francois Gouget 56aaea2f43 Spelling fixes. 2003-07-09 02:52:57 +00:00
Rolf Kalbermatter 48a01aebef Fix test to succeed in Win 98/2K and most probably ME/XP as well. 2003-04-01 04:41:12 +00:00
Francois Gouget 9b0b1e078a Remove (POINTER)NULL casts. 2003-01-14 23:43:41 +00:00
Patrik Stridvall e1e063d788 Made tests compile on Windows. 2002-11-15 00:02:51 +00:00
Patrik Stridvall fc832f0fcf Fixed tests to compile with MS C on Windows. 2002-10-29 21:24:35 +00:00
Francois Gouget 5e5f7bbb02 Change the #include order so that these tests compile on Windows. 2002-09-17 00:04:35 +00:00