Commit Graph

176 Commits

Author SHA1 Message Date
Ken Thomases 42cd970ee0 shell32/tests: Test that quoting file path prevents masking at space. 2007-04-18 13:47:33 +02:00
Ken Thomases 1e5a03eca4 shell32/tests: Added to-do test showing a bug with file paths with spaces.
If ShellExecuteEx is asked to execute a file which has a space in its path,
and if there exists a "masking" file whose name matches the path truncated
at a space, then ShellExecuteEx launches the masking file instead.
2007-04-18 13:47:18 +02:00
Francois Gouget 996ced1981 shell32/tests: On NT4 FindExecutable() returns an extra backspace character in some tests. 2007-04-03 11:32:32 +02:00
Francois Gouget 1736e7eb76 shell32/tests: On Windows 98 FindExecutable() does not '\0' terminate the returned command which caused many tests to fail. 2007-04-03 11:32:27 +02:00
Francois Gouget 789fb4c994 shell32/tests: End the lines with CR+LF otherwise the profile APIs are unable to read them back on Win >= 2000. 2007-04-03 11:27:28 +02:00
Francois Gouget 95ddcc3bae shell32/tests: Fix some expected FindExecutable() error codes.
Add comments indicating which Windows version returns a given error code.
2007-04-03 11:27:24 +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
Misha Koshelev 28b68dad8e shell32/tests: Test creating shell links for commands on path. 2007-02-14 21:45:56 +01:00
Francois Gouget 536e738552 Assorted spelling fixes. 2007-02-14 21:03:57 +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
Francois Gouget abedd3df59 shell32/tests: wnsprintfA() is missing on Win9x, so use sprintf() instead. 2007-02-09 14:32:57 +01:00
Francois Gouget f97a2f9def shell32/tests: Fix test_GetDisplayName() to cope with a left-over test directory. 2007-02-09 14:32:57 +01:00
Francois Gouget 14712ece18 shell32/tests: ILFree() and ILIsEqual() are exported by ordinal only on Win9x. So use GetProcAddress(). 2007-02-09 14:32: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
Francois Gouget 947b71aeb0 shell32/tests: Print GetLastError() in decimal with '%u'. 2007-01-06 11:40:43 +01:00
Francois Gouget 71e5f3c116 shell32: Fix FindExecutable() to return the executable path, not the whole command. 2006-12-14 12:45:15 +01:00
Francois Gouget 65b81bebaa shell32/tests: Add FindExecutable() tests. 2006-12-14 12:45:04 +01:00
Francois Gouget 2fa16067f6 shell32/tests: MSDN says ShellExecute() == 32 indicates an error. So fix the tests. 2006-12-14 12:44:56 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Francois Gouget 144995b5a5 shell32/tests: Don't use the NONAMELESS* macros in the tests. 2006-11-24 11:48:56 +01:00
Aric Stewart 3490cb81ed shell32: Create dynamic buffers for expanded enviroment strings to allow for parameters and such longer than MAX_PATH.
With help from Michael Moss.
2006-11-06 14:10:55 +01:00
Paul Vriens 1af1ead894 shell32: Cast-qual warnings fix. 2006-10-30 11:26:30 +01:00
Ge van Geldorp d642e11438 winapi_test: Regenerate tests.
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02: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
Francois Gouget 87045eb0c5 Fix rpcndr.h so it takes CONST_VTABLE into account.
Define CONST_VTABLE in the tests that need it. This fixes many Visual C++ warnings.
2006-09-29 17:52:27 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +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
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
Andrew Talbot bbd8008b55 shell32/tests: Write-strings warnings fix. 2006-07-24 12:57:32 +02:00
Juan Lang 961193bc5d shell32: Always NULL-terminate path in SHGetPathFromIDList. 2006-07-11 17:37:13 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +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
Alexandre Julliard 23f9e358ad Tests should not use wine/unicode.h. 2006-05-24 18:05:09 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Alexandre Julliard c9cc7e33ff Fixed some compiler warnings on old gcc versions. 2006-03-02 18:03:32 +01:00
Michael Jung 50f3eaef77 shell32/tests: Added test for Desktop::ParseDisplayName(SHGetFolderPath(CSIDL_PERSONAL))
Test if the Desktop Folder's ParseDisplayName recognizes MyDocument's
path.  Removed some HRESULT tests on IUnknown_Release calls, which
returns ULONG.
2006-02-27 12:18:28 +01: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
Alexandre Julliard 39a1a94221 shell32: Use more reasonable timeouts in shlexec test. 2006-02-21 19:30:29 +01:00