Commit Graph

1012 Commits

Author SHA1 Message Date
Francois Gouget 822e78ee04 shell32/tests: Test default verb detection for files as well as for URLs.
When Internet Explorer 6 is installer, Windows XP detects non-standard
verbs just fine for files but not for URLs.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 00:36:27 +09:00
Francois Gouget e7065e0c51 shell32/tests: Move a file URL test to test_fileurl().
This way it's integrated with the rest of the matching tests and skipped
on plaforms where file URLs don't work right (old Windows XP versions).

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 00:36:27 +09:00
Francois Gouget 11d77e51d5 shell32/tests: Delete the shlproto test class when done.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 00:36:27 +09:00
Michael Stefaniuc fba64b5cac shell32/tests: Use SetRectEmpty() instead of open coding it.
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-03 22:29:03 +09:00
Francois Gouget 6e9c7adcee shell32/tests: Test ShellExecute()'s URL handling.
Also tweak the class creation functions and add create_test_class() so
one can create a class without associating it with an extension.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:11 +09:00
Frédéric Delanoy 9f23eae55f shell32/tests: Get rid of redundant lok_todo_N macros.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:10 +09:00
Frédéric Delanoy 61e70dfbc7 shell32/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:10 +09:00
Francois Gouget bd111803d2 shell32/tests: Only look for Explorer windows for the progman tests.
In the Spanish locale the 'Startup' folder is called 'Inicio' which
matches another window. Closing that window causes the shutdown dialog
to pop up, resulting in a test timeout.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-18 22:58:26 +09:00
Francois Gouget c8bc68ecb4 shell32/tests: Take into account the Windows 10 DDE race condition.
Also improve the description of this race condition.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 12:09:39 +09:00
Francois Gouget e48a569434 shell32/tests: Use todo_wine_if() in tests.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-16 12:09:39 +09:00
Francois Gouget 43fe3574f4 shell32/tests: Fix an ok() call so it shows which DDE test caused the failure.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-14 12:39:44 +09:00
Francois Gouget 5af9c123f6 shell32/tests: Allow the short and long forms when checking a ShellExecute() path.
ShellExecute() sometimes converts a short path to a long one so always accept the long form.
Windows XP SP1 often converts them to short paths instead but consider this behavior to be broken.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:03:33 +09:00
Francois Gouget bfc1244381 shell32/tests: Fix the ShellExecute() environment variable inheritance checks.
The child process does not inherit environment variables when the
calling process does not have elevated privileges and specifies
SEE_MASK_NOZONECHECKS.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:03:33 +09:00
Francois Gouget c1636cd279 shell32/tests: Move a test_argify() check so it is run even if we could not create associations.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:03:33 +09:00
Francois Gouget 96baeb72c2 shell32/tests: Skip a few ShellExecute() tests when the process has insufficient privileges.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:03:33 +09:00
Francois Gouget 13fdfedead shell32/tests: Remove support for a todo_wine flag in ShellExecute()'s test_lnks() loop.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:03:33 +09:00
Francois Gouget f4130de33e shell32/tests: Fix a ShellExecute() race condition.
On Windows XP SP1 a ShellExecute() call that is supposed to fail
succeeds instead. This means the child process is started but
ShellExecute() returns without waiting for it, resulting in a race
condition on the child's results file. So use our shell_execute_ex()
wrapper instead as it always waits for the child process.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:03:33 +09:00
Francois Gouget cc240bdb14 shell32/tests: Fix test_dde_default_app() on Windows XP SP1.
There are three possible sets of results: Windows <= 2000, XP SP1 and >= XP SP2.
Use the first two tests to figure out which results to expect.
Only accept the >= XP SP2 results in Wine.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:03:32 +09:00
Francois Gouget b742145cab shell32/tests: Fix the DDE tests on Windows 10.
Windows 10 does not call WaitForInputIdle() if the DDE server is a
console application. So force the call by adding
SEE_MASK_WAITFORINPUTIDLE.  Also Windows calls WaitForInputIdle() with a
60s timeout and while we should not hit it, trace and cap it to 5s
anyway.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 20:03:32 +09:00
Francois Gouget a090eff243 shell32/tests: Fix okShell()'s tracing so it takes todo and other flags into account.
This also causes the ShellExecute() and association descriptions to be
printed with each failing test. This makes the messages more readable in
TestBot's abbreviated logs, at the cost of a lot more redundancy.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-08 13:46:02 +09:00
Huw Davies 77c313b8d6 shell32: Set the stream and storage attributes where needed.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:21 +09:00
Francois Gouget 805b5e36a9 shell32/tests: Add server-side DDE checks.
Should something go wrong a failed ok() call will leave a clearer trace
in the log than an assert.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:20 +09:00
Francois Gouget 446ade3b3c shell32/tests: Test environment variable inheritance with ShellExecute().
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:20 +09:00
Francois Gouget bdfaa8c807 shell32/tests: Check for failures in the child process.
Return the number of failures through both the child result file and the process exit code.
Also rename the child result file section to 'Child' since it no longer only contains 'Arguments'.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:19 +09:00
Francois Gouget 30230fae5f shell32/tests: Check the child process exit code and close the process handle.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:19 +09:00
Francois Gouget 3a9b09aa7d shell32/tests: Declare childPrintf() as a printf-style function.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:18 +09:00
Francois Gouget 38ad0ee01d shell32/tests: Reorder the functions to avoid forward declarations.
This also groups the helpers in a more logical fashion.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:18 +09:00
Francois Gouget 759bd96ac2 shell32/tests: Add traces to the WaitForInputIdle() hooking process.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-29 21:25:17 +09:00
Francois Gouget 78ada2e154 shell32/tests: Fix a couple of okChildPath()/okChildString() mixups.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 15:51:07 +09:00
Francois Gouget 3079179753 shell32/tests: Show that verbs and classes override ShellExecute()'s normal handling of executables.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 15:51:04 +09:00
Francois Gouget 2c0daad786 shell32/tests: Test handling of nonexistent verbs in ShellExecute() & co.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-28 15:51:00 +09:00
Francois Gouget 198e0d5d78 shell32/tests: Trace the association properties for the DDE tests.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:17:57 +09:00
Francois Gouget 7e000abeda shell32/tests: Call okShell() after a shell_execute{_ex}() test.
This ensures all the failed call parameters will be traced.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:17:24 +09:00
Francois Gouget c133ef7326 shell32/tests: Trace the last ShellExecute command whenever a corresponding test fails.
okShell() serves to encapsulate handling of shell_call and also provides a means for further extensions.

Remove the shell_call static initialization to not hide potential
use-before-assignment compiler warnings.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-26 23:17:05 +09:00
Francois Gouget 09dac2f482 shell32/tests: Use the shell_execute{_ex}() call site for its traces and error messages.
This makes it easier to match their internal test failures with the site of the real test.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-19 21:44:15 +09:00
Francois Gouget 9cc07a2b31 shell32/tests: Trace the effective ShellExecuteEx() flags.
shell_execute_ex() adds some flags for its own internal needs. The
traces should reflect that.

Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 23:47:04 +09:00
Francois Gouget f816bc93b0 shell32/tests: Tweak some overly optimistic ok() messages.
ShellExecute() is more likely to have returned an unexpected error code
than it is to have succeeded.

Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-13 23:46:53 +09:00
Francois Gouget 3dff8bc213 shell32/tests: Fix the shortcut vs. class interaction test.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 19:10:04 +09:00
Francois Gouget 201de16e30 shell32/tests: Create_test_association() should either succeed or fail due to insufficient permissions.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 19:10:04 +09:00
Francois Gouget 0a867de22d shell32/tests: Check the hProcess field when ShellExecuteEx() fails.
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 19:10:04 +09:00
Francois Gouget 2fb84d5c50 shell32/tests: The expectedArgs parameter of the DDE tests is an argument count, not a boolean.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-12 19:10:03 +09:00
Nikolay Sivov ccc6cfc1de shell32/tests: Explicitly compare to HRESULT values.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-01-03 20:04:40 +01:00
Nikolay Sivov 2e4954eb69 shell32/tests: Basic tests for SHCreateSessionKey().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-29 17:09:18 +01:00
Piotr Caban 3a6ac60555 shell32: Improved IDataObject::QueryGetData implementation.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-25 01:28:32 +09:00
Andrew Eikum aaafeb4cec shell32: Implement IShellDispatch2::ShellExecute.
Signed-off-by: Andrew Eikum <aeikum@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 00:33:23 +09:00
Nikolay Sivov 2fff77a0ee shell32/tests: Fix prototype to match implementation (PVS-Studio).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 21:09:13 +09:00
Nikolay Sivov e585d17ff3 shell32/tests: Test icon ids that are invalid on all systems. 2015-09-16 22:11:09 +09:00
Nikolay Sivov e46c32ab46 shell32/ebrowser: Implement EBO_NOBORDER option. 2015-08-03 10:57:46 +02:00
Nikolay Sivov e7acfee978 shell32: Added GetCurrentProcessExplicitAppUserModelID() stub. 2015-07-22 16:42:42 +02:00
Piotr Caban 943ead5022 shell32: Fix SHELL_execute code that removes quote arround file name. 2015-07-16 16:29:12 +09:00
Piotr Caban 8e853a3e90 shell32: Remove code for separating arguments from file path. 2015-07-16 16:29:06 +09:00
Thomas Faber 360cf273ae shell32/tests: Test that shell view windows reference their shell view. 2015-07-07 16:52:21 +09:00
Nikolay Sivov 28caa68d41 shell32/tests: Try harder to close Open With window. 2015-07-07 16:52:20 +09:00
Huw Davies f5e16e0638 shell32/tests: Win 2k doesn't cope with spaces in the path. 2015-07-07 16:52:20 +09:00
Huw Davies c5053f5712 shell32/tests: Win XP splits the args if there are spaces in the path.
This isn't seen on winetest runs, but is when jobs are submitted to
the testbot.  Presumably the path of the executable is different in
the two cases.
2015-07-07 16:52:19 +09:00
Thomas Faber eff884f19b shell32/tests: Destroy shell view windows. 2015-07-06 17:09:50 +09:00
Thomas Faber 71f1c90628 shell32/tests: Fix an ok() print. 2015-07-06 17:09:50 +09:00
Thomas Faber 9551179c0b shell32/tests: Remove a misleading test. 2015-06-30 14:41:43 +09:00
Thomas Faber e582495927 shell32: Use QueryInterface in FolderView_GetFolder.
test_IFolderView has a test that shows that the shell folder's reference
count before and after the call to IFolderView_GetFolder is the same.
However this is misleading because it is not a property of the
IFolderView_GetFolder method, but of the desktop shell folder object
that's used in the folder view. Windows <=2003 uses a cached object and
its AddRef/Release methods return constants.
2015-06-30 14:41:43 +09:00
Thomas Faber c0cd954f98 shell32: Add missing parameter check in ISF_Desktop_fnQueryInterface. 2015-06-30 14:40:43 +09:00
Thomas Faber 9353a36d8f shell32/tests: Do not leak shell folder references. 2015-06-29 21:15:10 +09:00
Huw Davies da5151fd54 shell32/tests: Don't leave behind open explorer windows. 2015-06-23 21:59:40 +09:00
Huw Davies 905e7aad0e shell32/tests: Fix failing test on Win 2k. 2015-06-11 21:05:34 +09:00
Nikolay Sivov 1de3aec336 shell32/tests: Fix error code on win2k. 2015-06-08 15:26:53 +09:00
Nikolay Sivov d5d49464d3 shell32/tests: Fix tests failures on win2k. 2015-06-05 14:11:02 +09:00
Nikolay Sivov 8c11e6b2f0 shell32/tests: Fix one of test failures on win2k. 2015-06-04 15:55:57 +09:00
Nikolay Sivov 98da69a83f shell32/tests: Fix Verbs instance leak (Valgrind). 2015-06-04 15:55:45 +09:00
Akihiro Sagawa d2e9856a56 shell32: Skip buffer allocation when querying drop file numbers. 2015-06-02 20:53:43 +09:00
Akihiro Sagawa 37d7d6f81c shell32/tests: Add tests for DragQueryFile. 2015-06-02 20:53:43 +09:00
Akihiro Sagawa 4c31892ea5 shell32/tests: Make tests run on win2k again. 2015-06-02 14:09:12 +09:00
Nikolay Sivov bf41160c65 shell32: Implement FolderItemVerbs::Item(). 2015-05-11 15:39:26 +09:00
Nikolay Sivov 77c2892d87 shell32: Implement FolderItemVerbs_get_Count(). 2015-05-11 15:39:25 +09:00
Nikolay Sivov 540171bc91 shell32: Added FolderItemVerbs stub. 2015-05-11 15:39:25 +09:00
Nikolay Sivov e013a7e584 shell32: Implement ParseName(). 2015-05-11 15:39:25 +09:00
Alexandre Julliard ed700d16f7 shell32/tests: Avoid duplicate const. 2015-05-11 15:39:25 +09:00
Nikolay Sivov 80d28abdc8 shell32: Partially implement SHGetKnownFolderIDList(). 2015-05-11 15:39:25 +09:00
Nikolay Sivov 4367f4b230 shell32: Silence IMarshal requests to IKnownFolder and IKnownFolderManager. 2015-05-11 15:39:25 +09:00
Nikolay Sivov 3ec3fa5eb7 explorer: Return desktop shellview interface. 2015-05-08 18:33:51 +09:00
Nikolay Sivov ce87d64ab4 shell32: Implement Application property of IShellFolderViewDual. 2015-05-06 18:13:59 +09:00
Nikolay Sivov a7b99a1f89 shell32/tests: A test for shellview QI for IOleWindow. 2015-05-05 10:16:16 +09:00
Nikolay Sivov 478d695ec8 shell32/tests: Fix test crashes when running with wine. 2015-05-04 20:10:53 +09:00
Nikolay Sivov 23d546157a shell32: Better handle creation/destruction of shellview window. 2015-05-04 15:08:43 +09:00
Nikolay Sivov eeabe96abb explorer: Return IShellBrowser in response to SID_STopLevelBrowser. 2015-05-04 15:08:38 +09:00
Nikolay Sivov 3c7bf0350a explorer: Added stub IServiceProvider support for shell browser window. 2015-05-04 15:08:33 +09:00
Nikolay Sivov 68c5fed5cc explorer: Implement Application property. 2015-05-04 15:08:27 +09:00
Nikolay Sivov 58775c878a explorer: Added IDispatch support for ShellBrowserWindow instance. 2015-05-04 15:08:24 +09:00
Nikolay Sivov a74c56a3b9 explorer: Added stub IWebBrowser2 support for desktop shell window. 2015-05-01 15:17:03 +09:00
Nikolay Sivov e91dac5153 shell32: Update to IFolderView2. 2015-05-01 15:15:56 +09:00
Nikolay Sivov f57b5ea2fb shell32/tests: Some more tests for IShellWindows implementation. 2015-04-30 16:20:41 +09:00
Nikolay Sivov dd9813b5f7 shell32: Added a stub implementation of IShellFolderViewDual3. 2015-04-30 16:20:35 +09:00
Nikolay Sivov b4769495bc explorer: Added a stub IShellWindows implementation.
Most of it was done by Andrew Eikum.
2015-04-29 12:26:32 +09:00
Nikolay Sivov fae0f6785a shell32/tests: Some tests for IShellWindows. 2015-04-29 12:25:00 +09:00
Nikolay Sivov d6802318aa include: Added IShellFolderViewDual definition. 2015-04-28 20:23:59 +09:00
Andrew Eikum 8042831061 shell32: Add more knownfolders. 2015-04-14 16:50:07 +09:00
Andrew Eikum 96971ea36d shell32: Add more knownfolders. 2015-04-13 15:04:25 +09:00
Andrew Eikum c6b999b901 shell32: Add more knownfolders. 2015-04-10 15:21:35 +09:00
Andrew Eikum f58c11767a shell32: Add more knownfolders. 2015-04-09 13:24:30 +09:00
Andrew Eikum 915bef8725 shell32: Add more knownfolder definitions. 2015-04-08 23:21:33 +09:00
Dmitry Timoshkov 5acb82fc28 shell32: Fix SHFileOperation(FO_MOVE) for a directory with subdirectories. 2015-03-19 21:05:13 +09:00
Dmitry Timoshkov 5614ae23ee shell32/tests: Add a couple of SHFileOperation(FO_MOVE) tests for a directory. 2015-03-19 21:05:11 +09:00
Andrew Eikum 12d057c8e7 shell32: Install knownfolders to registry during DLL registration. 2015-03-18 19:27:31 +09:00
Andrew Eikum 7c9151c1e6 shell32: Allow updating knownfolder definitions. 2015-03-18 19:26:52 +09:00
Andrew Eikum fdbdad03f3 shell32/tests: Support alternate parent folders. 2015-03-12 13:56:11 +09:00
Andrew Eikum 122f71866e shell32/tests: Fix win8 knownfolder attributes. 2015-03-12 13:55:58 +09:00
Andrew Eikum 7a55f5461a shell32/tests: Remove unused flag. 2015-03-12 13:55:51 +09:00
Andrew Eikum dd275615db shell32/tests: Fix win8 knownfolders relative and parsed paths. 2015-03-12 13:55:40 +09:00
Andrew Eikum 1b4272639b shell32/tests: A couple of win8 fixes. 2015-03-12 13:54:45 +09:00
Michael Stefaniuc 725662003a shell32/tests: Actually test some return values (PVS-Studio). 2015-03-04 21:50:43 +09:00
Alexandre Julliard d28052066d shell32/tests: Use NULL for a null pointer. 2015-03-04 21:50:33 +09:00
Alistair Leslie-Hughes 3121955956 shell32: Implement IApplicationAssociationRegistration QueryCurrentDefault. 2015-02-18 16:40:52 +09:00
Piotr Caban 6dac2f7a77 shell32: Add partial support for Mac trash enumeration. 2015-02-02 22:29:46 +09:00
Piotr Caban d46862b487 shell32: Handle TRASH_EnumItems failures correctly. 2015-02-02 22:29:25 +09:00
Piotr Caban 814ab9ee46 shell32: Create trash test file in temp directory. 2015-02-02 22:29:18 +09:00
Nikolay Sivov aeda103769 shell32: Added stub IPropertyStore for a shell link object. 2014-12-22 13:37:03 +01:00
André Hentschel 2c1287871b shell32/tests: Remove unused variables (Clang). 2014-12-04 14:03:27 +01:00
Michael Stefaniuc 61ed9130bf shell32/tests: Fix a copy and paste error (PVS-Studio). 2014-11-20 22:35:54 +09:00
Michael Stefaniuc 5d43ef68ce shell32: Simplify check for empty string (PVS-Studio). 2014-11-07 18:23:03 +09:00
Nikolay Sivov 730e744e3b shell32: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 13:13:36 +02:00
Francois Gouget 0dd5cb1cef Assorted spelling fixes. 2014-09-29 10:36:36 +02:00
Francois Gouget c1d592876a shell32/tests: Add a trailing '\n' to a couple of win_skip() calls. 2014-08-19 14:48:27 +02:00
David Hedberg d016dc4004 shell32: Implement IEnumShellItems for IShellItemArray. 2014-08-05 16:39:07 +02:00
David Hedberg 27b45807a7 shell32: Implement IShellItemArray::GetAttributes. 2014-08-04 14:27:48 +02:00
David Hedberg a79be28e8c shell32: Implement SHCreateShellItemFromIDLists. 2014-08-04 14:27:46 +02:00
David Hedberg 815b532b64 shell32: Always initialize shellitem to NULL in SHCreateShellItem. 2014-08-04 14:27:25 +02:00
David Hedberg 9ff6853478 shell32: Return S_OK only if the flags matches the result exactly. 2014-08-04 14:27:23 +02:00
David Hedberg 678434539e shell32: Mask out attributes we didn't ask for in ShellItem::GetAttributes. 2014-08-04 14:27:21 +02:00
David Hedberg 955b487b20 shell32/tests: Tests for IShellItemGetAttributes. 2014-08-04 14:27:19 +02:00
Sebastian Lackner d892239f5a shell32: Return NULL-terminated list of arguments in CommandLineToArgvW. 2014-07-09 09:29:33 +02:00
Nikolay Sivov f9a19f57e1 shell32: Implement PathYetAnotherMakeUniqueName(). 2014-06-30 22:04:52 +02:00
Zhenbo Li 2ba9ee018b shell32: Fix SHFileOperation when deleting a nonexistent directory. 2014-06-25 11:55:10 +02:00
Frédéric Delanoy 2ab8729020 Assorted spelling/grammar fixes. 2014-06-20 12:19:31 +02:00
Huw Davies 6f7650aec1 shell32/tests: Fix tests on win 8. 2014-05-15 17:22:28 +02:00
Huw Davies d87aa43ce5 shell32/tests: Fix the tests when run from the top directory. 2014-05-15 17:22:27 +02:00
Vincent Povirk 3ebb9b7b75 shell32/tests: Use SW_HIDE with ShellExecuteA in tests. 2014-05-07 21:28:46 +02:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Vincent Povirk 3d1cf168cf shell32/tests: Use SEE_MASK_NO_CONSOLE with ShellExecuteExA. 2014-04-25 10:22:47 +02:00
Hans Leidekker 807998ed4c shell32/tests: Mark some test results as broken. 2014-04-01 18:20:45 +02:00
Hans Leidekker e957dd89f9 shell32/tests: Remove todo handling from DDE tests. 2014-04-01 18:20:43 +02:00
Hans Leidekker 86bd0603a2 shell32: Forward ShExtractIconsW to user32.PrivateExtractIconsW. 2014-03-25 19:01:27 +01:00
Aric Stewart a2c905244b shell32: Improve the FO_MOVE operation. 2014-02-27 11:45:51 -06:00
Nikolay Sivov d867a49a3d shell32/tests: Fix some test failures on Win8. 2014-02-24 09:12:15 -06:00
Jacek Caban cf2098cf2d shell32/tests: Ensure that tmpdir contains long path name. 2014-02-19 16:46:19 +01:00
Nikolay Sivov 7dc45ea585 shell32/tests: Fix a test failure on Win8. 2014-02-13 17:52:13 +01:00
Francois Gouget 3e033bb130 shell32/tests: Skip any test that needs the .shlexec association if we could not create it. 2014-02-12 19:15:26 +01:00
Frédéric Delanoy 0f2bed51bd Assorted spelling fixes. 2014-02-10 15:47:29 +01:00
Nikolay Sivov de686e9949 shell32/tests: Remove some assertions in test code. 2014-02-05 13:49:32 +01:00
Frédéric Delanoy a2b548ac3a shell32/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-30 12:42:55 +01:00
André Hentschel 9d1fdf1165 shell32/tests: Avoid preprocessor check to ensure it compiles. 2014-01-27 17:39:47 +01:00
André Hentschel 87c7c961f2 Assorted spelling fixes. 2014-01-06 17:33:24 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Nikolay Sivov 3cd677958c shell32: Implement SHCreateQueryCancelAutoPlayMoniker() with some tests. 2013-12-31 12:27:23 +01:00
Frédéric Delanoy 7b9058c87a shell32/tests: Constify some character strings. 2013-12-30 19:01:39 +01:00
Zhenbo Li fa8e8c258c shell32/tests: Delete a nonexistent file in an existent dir or a nonexistent dir. 2013-11-20 20:08:47 +01:00
Zhenbo Li f19f85f681 shell32/tests: Add a missed init_shfo_tests() call. 2013-11-13 18:31:57 +01:00
Zhenbo Li 7c1602464a shell32/tests: Add tests for SHFileOperationA. 2013-11-11 17:06:46 +01:00
Francois Gouget 0a08c18518 shell32/tests: Disable a test that crashes on Windows 8. 2013-11-01 10:57:14 +01:00
Frédéric Delanoy c398f8ce0e shell32/tests: Use BOOL type where appropriate. 2013-10-31 09:58:43 +01:00
Nikolay Sivov fa93dadfa1 shell32/tests: Fix compilation with -D__WINESRC__. 2013-10-28 14:22:20 +01:00
Thomas Faber 947cce79d6 shell32: Avoid leaks and add parameter checks in SHCreateShellFolderView[Ex]. 2013-10-22 20:19:17 +02:00
Frédéric Delanoy 44b2fd269e shell32/tests: Use BOOL type where appropriate. 2013-10-21 10:44:34 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Nikolay Sivov f0d17b5c17 shell32: Fix handle leak on consecutive Init() calls. 2013-09-09 22:09:59 +02:00
Nikolay Sivov 891cf2ac54 shell32: Added support for ASSOCF_NOTRUNCATE flag in GetString(). 2013-09-09 22:09:59 +02:00
Daniel Jelinski 1825bddbff shell32/tests: Test context menu contents. 2013-08-15 18:04:51 +02:00
Francois Gouget 653354ab25 Assorted spelling fixes. 2013-07-03 21:20:04 +02:00
Nikolay Sivov 7a5ca2d3d4 shell32: Fix some tests failures on Win8. 2013-06-03 11:28:55 +02:00
Detlef Riekenberg 710555cf91 shell32/tests: Add tests for SHGetStockIconInfo. 2013-04-26 11:56:44 +02:00
Detlef Riekenberg fc3868a07f shell32/tests: Add tests for DoEnvironmentSubstA/W. 2012-12-05 12:53:19 +01:00
Detlef Riekenberg c0ff587203 shell32/tests: Remove wrong comment. 2012-11-27 19:45:38 +01:00
Daniel Lehman 32f636f6d1 shell32: Initialize fAnyOperationsAborted in SHFileOperation. 2012-11-07 13:55:57 +01:00
Francois Gouget 68c1bf507d shell32: Standardize on the ShellExecuteEx() terminology. 2012-10-18 19:21:10 +02:00
Francois Gouget 47d4041dc1 shell32/tests: Fix a test_argify() check that fails on NT4 and Windows 2000. 2012-10-16 20:39:47 +02:00
Francois Gouget 53e4ddc399 shell32: Fix ShellExecute()'s handling of file URLs. 2012-10-10 10:37:37 +02:00
Francois Gouget eee9b8ee12 shell32/tests: Simplify shlexec's test_directory() and add some more tests. 2012-10-10 10:37:27 +02:00
Francois Gouget 0c989fb078 shell32: Don't expand environment variables in ShellExecute()'s parameters argument. 2012-10-09 10:04:11 +02:00
Francois Gouget 40b01c1bfc shell32: Fix CommandLineToArgvW()'s handling of the executable path and consecutive quotes. 2012-10-09 10:04:04 +02:00
Francois Gouget 1e3834aa14 shell32/tests: Fix test_one_cmdline() and add a few more tests.
test_one_cmdline() did not check the last parameter.
2012-10-09 10:03:25 +02:00
Francois Gouget 61f894c576 shell32/tests: Greatly expand the test_argify() tests. 2012-10-08 12:54:55 +02:00
Francois Gouget e440a7d22c shell32/tests: Merge shlexec's test_exes_long() with the other parameter passing tests.
Also remove the pointless noassoc test (duplicated from test_exes()).
2012-10-08 12:54:54 +02:00
Francois Gouget ab654c63cf shell32/tests: Add more ShellExecute() shortcut tests. 2012-10-08 12:54:53 +02:00
Francois Gouget 9ec7ab3fa0 shell32/tests: Write proper tests for CommandLineToArgvW(). 2012-10-04 10:42:40 +02:00
Francois Gouget da6b02ceb1 shell32/tests: Simplify shlexec's test_argify() and test_lpFile_parsed() and avoid numeric literals. 2012-10-04 10:42:25 +02:00
Francois Gouget 0e6605ac52 shell32/tests: Some more type consistency fixes for the ShellExecute() return value checks. 2012-10-04 10:42:08 +02:00
Francois Gouget 483b8f7608 shell32/tests: Improve the shell_execute{_ex}() tracing. 2012-10-01 12:08:01 +02:00
Francois Gouget 906127fe29 Assorted spelling fixes. 2012-10-01 12:07:41 +02:00
Francois Gouget e8a515c28f shell32/tests: Add a few more ShellExecute() file URL tests. 2012-09-24 22:27:28 +02:00
Michael Stefaniuc 5c02bc11e1 shell32/tests: Use the explicit type for a function pointer. 2012-09-21 20:02:35 +02:00
Francois Gouget 7df54b4b8d shell32: Add tests for ShellExecute()'s handling of file URLs. 2012-09-20 19:56:42 +02:00
Francois Gouget 2083f28fbc shell32/tests: Use consistent types for the ShellExecute() & co return value. 2012-09-20 19:56:38 +02:00
Nikolay Sivov 96005d17d5 shell32/tests: Use proper method macros. 2012-08-24 11:32:39 +02:00
Erich Hoover 6a1d2f80b8 shell32: Fix FindExecutable search path when a default directory is supplied. 2012-07-12 16:10:04 -05:00
Detlef Riekenberg bb684aaba7 shell32/tests: Fix a failure on w2k. 2012-07-03 12:02:20 +02:00
Detlef Riekenberg a8643ccc85 shell32/tests: Ignore case when comparing filenames. 2012-06-22 14:09:45 +02:00
Francois Gouget ef6f3a30cc shell32/tests: Get rid of unneeded function typedefs. 2012-06-15 18:35:38 +02:00
Nikolay Sivov 9af543aad8 shell32: Implement IShellDispatch2::IsServiceRunning(). 2012-05-08 09:41:46 +02:00
Huw Davies 8272045cd8 shell32: Zero-init the out parameter and fix the error if the folder id is invalid. 2012-02-08 13:19:14 -06:00
Detlef Riekenberg 49e1a1a5dc shell32/tests: Simple tests for IApplicationAssociationRegistration. 2012-01-16 16:48:58 +01:00
Detlef Riekenberg 48155b5df0 shell32: Avoid crash on NULL pointer. 2012-01-16 16:48:40 +01:00
Detlef Riekenberg 9ee18919a5 shell32/tests: Start tests for IQueryAssociations. 2012-01-16 16:48:30 +01:00
Francois Gouget a603e9871e include: Add a few missing include directives to shlguid.h. 2011-12-20 10:16:45 +01:00