Commit Graph

295 Commits

Author SHA1 Message Date
Owen Rudge 4d70c59b01 shell32/tests: Rename shfldr_netplaces test to shfldr_special, for all special folders. 2008-06-26 13:16:39 +02:00
Paul Vriens 732a07957d shell32/tests: Skip some tests if functions are not available. 2008-06-24 12:45:20 +02:00
Alistair Leslie-Hughes a850cafe6d shell32: Stop crash when an error occurs. 2008-06-23 19:58:16 +02:00
Alexandre Julliard 7524019796 shell32/tests: Use the original path if GetLongPathNameA fails. 2008-06-23 17:22:01 +02:00
Dan Kegel 63557d572c shell32/tests: Avoid buffer overflow during test. 2008-06-10 17:43:48 +02:00
Alistair Leslie-Hughes 996e5d62b8 shell32: Stop shlfolder tests crashing under win98. 2008-06-10 17:43:22 +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
Paul Vriens 64444ebe94 janitorial: Close COM after tests. 2008-05-19 23:10:01 +02:00
Francois Gouget 633ee950a1 Assorted spelling fixes. 2008-05-07 12:07:11 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
James Hawkins 9ba8989026 shell32: Fix a test that fails in win2k3. 2008-04-24 11:51:25 +02:00
Austin English aab8fae59a Spelling fixes. 2008-04-21 14:25:05 +02:00
James Hawkins 81f2d3cc0b shell32: Fix a few tests that fail in win2k. 2008-04-11 13:11:02 +02:00
Rob Shearman 21b9a50e08 shell32: Implement ParseDisplayName for EntireNetwork in the Network Places shell folder.
Add a test for this behaviour.
2008-04-11 11:12:04 +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
Alexandre Julliard fad0f48350 shell32/tests: Remove spurious linefeeds in error messages. 2008-03-15 11:45:43 +01:00
Stefan Leichter a7ebdf2eba shell32: Fix SHGetFolderPathAndSubDir tests. 2008-03-14 11:22:06 +01:00
Paul Vriens ee69858ebe shell32/tests: Make tests run again on win95 and NT. 2008-03-10 11:22:23 +01:00
Huw Davies f372280928 shell32: Add a test for ABM_GETTASKBARPOS. 2008-03-05 19:26:13 +01:00
Huw Davies b24ec72f89 shell32: ABM_GETAUTOHIDEBAR should return a HWND or NULL. 2008-03-05 19:26:02 +01:00
Stefan Leichter b5cc68f629 shell32: Added tests for SHGetFolderPathAndSubDirA. 2008-03-04 11:54:21 +01: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
Alexandre Julliard 05c7174909 tests: Add a helper routine to wait for a child process and propagate its result correctly. 2008-02-07 12:56:00 +01:00
Kirill K. Smirnov b391b8af58 systray: Properly track errors. 2008-02-06 12:52:34 +01:00
Francois Gouget d491335eb7 shell32/tests: Fix a couple of copy/paste errors. 2008-02-04 11:11:27 +01:00
Francois Gouget f6fab295f3 Fix spelling error in the generated conformance test files. 2008-01-16 12:46:18 +01: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
Francois Gouget 46735ae431 shell32/tests: Use GetProcAddress() on Shell_NotifyIconW() because it is missing on Windows 95. 2007-12-18 12:32:56 +01:00
Francois Gouget d22568d094 shell32/tests: Use GetProcAddress() on SHGetPathFromIDListW() because it is missing on Windows 95. 2007-12-18 12:32:56 +01:00
Francois Gouget 3874c55cc4 shell32/tests: Copy the PathRemoveBackslashA() and PathAddBackslashW() implementations because shlwapi.dll is missing on Windows 95. 2007-12-18 12:32:55 +01:00
Francois Gouget 000fd0edc5 shell32/tests: Avoid SHDeleteKeyA() because shlwapi.dll is missing on Windows 95. 2007-12-18 12:32:55 +01:00
Alexandre Julliard ad9396302d Removed some unneeded imports. 2007-12-06 21:24:24 +01:00
Gerald Pfeifer ff307d96c1 shell32: Remove useless comparison >= 0 for unsigned variables. 2007-11-02 12:20:52 +01:00
Alexandre Julliard 41cf63148a Fix redundant uses of MAKEINTRESOURCE. 2007-10-18 14:16:32 +02:00
Francois Gouget a9f9676046 shell32: CSIDL_MYDOCUMENTS is now a synonym for CSIDL_PERSONAL. 2007-09-18 11:20:40 +02: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
Francois Gouget 2993785f3a Assorted non-ANSI function declaration fixes (missing void). 2007-08-30 11:57:18 +02:00
Paul Vriens 968d305148 shell32/tests: Use GetModuleHandle instead of LoadLibrary. 2007-08-17 11:47:41 +02:00
Paul Vriens 444a8e5190 shell32/tests: Use GetModuleHandle instead of LoadLibrary. 2007-08-16 11:35:06 +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 9be151c2e9 shell32: Conform to native in SHELL_ArgifyW for unquoted %1 in registry keys. 2007-06-18 12:15:51 +02:00
Misha Koshelev 0678f6d168 shell32/tests: Add test for unquoted %1 in command and ddeexec keys. 2007-06-11 13:47:06 +02:00
Misha Koshelev b43cac0b04 shell32/tests: Allow testing for arbitrary number of command line arguments in DDE tests. 2007-06-11 13:46:59 +02:00
Misha Koshelev ca6387b329 shell32/tests: Expand default DDE application name tests to conform to win98. 2007-06-11 13:46:49 +02:00
Misha Koshelev 12297d64ef shell32/tests: Use ShellExecuteEx with SEE_MASK_FLAG_DDEWAIT and SEE_MASK_FLAG_NO_UI for DDE tests. 2007-06-11 13:46:35 +02:00
Misha Koshelev ee3147f434 shell32/tests: Save threadid from CreateThread as required by winme/98/95. 2007-06-11 13:46:08 +02:00
Misha Koshelev 37deec748d shell32/tests: Simplify DDE thread and message loop. 2007-06-11 13:45:51 +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 96c337f0a1 Assorted spelling fixes. 2007-06-07 19:24:32 +02:00
Francois Gouget c6b64b0b47 shell32/tests: Remove unneeded cast. 2007-06-01 12:39:03 +02:00
Misha Koshelev c7aa087504 shell32/tests: Remove duplicate code. 2007-05-30 11:46:16 +02:00
Misha Koshelev efb92561e6 shell32: Handle default DDE application names. 2007-05-30 11:46:06 +02:00
Misha Koshelev c8829f5645 shell32/tests: Add tests for default DDE application name. 2007-05-30 11:45:13 +02:00
Misha Koshelev cfa87660a7 shell32: Fix execute_from_key to conform to native behavior. 2007-05-30 11:44:20 +02:00
Misha Koshelev b95d0fb9c3 shell32/tests: Add tests for ShellExecute DDE behavior. 2007-05-30 11:43:11 +02:00
Francois Gouget 258f2972aa shell32/tests: With recent PSDKs, CSIDL_MYDOCUMENTS is a synonym for CSIDL_PERSONAL. So define our own constant. 2007-05-29 13:17:52 +02:00
Francois Gouget 29a4a9c849 shell32/tests: We need NTDDI_VERSION >= NTDDI_WINXPSP1 to get SEE_MASK_NOZONECHECKS with the PSDK. 2007-05-29 12:12:26 +02:00
Mikołaj Zalewski 44e3200a8d shell32: Handle invalid cbSize in Shell_NotifyIcon[AW]. 2007-05-11 11:45:45 +02:00
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