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
Alexandre Julliard
30a7d0a5a7
shell32/tests: Avoid some array bounds warnings.
2011-11-07 11:44:35 +01:00
Bruno Jesus
f621f8ea78
shell32: Don't parse command line if numargs is NULL in CommandLineToArgvW.
2011-10-26 17:12:13 +02:00
Andrew Eikum
3f3e42b6bc
shell32: ShellExec with empty operation should behave same as with NULL operation.
2011-10-19 16:38:51 +02:00
Piotr Caban
0655a6e563
shell32/tests: Fix uninitialized memory access (Valgrind).
2011-10-18 18:29:58 +02:00
Thomas Faber
a1f5029e06
shell32/tests: Fix build with MSVC.
2011-09-27 16:24:26 +02:00
Francois Gouget
3de330db54
tests: Remove unneeded assert.h includes.
2011-09-27 10:59:56 +02:00
André Hentschel
8b0a2c2872
shell32/tests: Don't test function directly when reporting GetLastError().
2011-09-26 18:15:20 +02:00
André Hentschel
8c3ffea63c
shell32/tests: Fix typos.
2011-09-23 12:35:46 +02:00
Michael Stefaniuc
44b2f66ac7
shell32: Remove casts to the type of the casted expression.
2011-09-21 14:41:33 +02:00
Piotr Caban
ceb7add45d
shell32/tests: Added more SHChangeNotify tests.
2011-09-21 11:35:44 +02:00
Nikolay Sivov
c03f813c87
shell32/tests: Make test explicit about return pointer.
2011-09-13 17:17:55 +02:00
Octavian Voicu
9b29b10e23
shell32/tests: Add a todo for two recycle bin tests in case no item was added.
2011-09-01 18:06:39 +02:00
André Hentschel
4e862b8440
shell32/tests: Fix checking the child strings.
2011-08-31 19:43:07 +02:00
André Hentschel
176555354c
shell32/tests: Initial directory tests for ShellExecuteEx.
2011-08-24 15:03:55 +02:00
Mariusz Pluciński
faa9d41e7f
shell32/tests: Add verification of FOLDERID_ProgramFilesX64 and FOLDERID_ProgramFilesCommonX64.
...
These two known folders exists on 64-bit Windows versions.
2011-08-04 18:27:38 +02:00
Mariusz Pluciński
20cd9f631b
shell32/tests: Add verification of known folders definition attributes.
2011-08-04 18:27:38 +02:00
Mariusz Pluciński
183bc5006d
shell32/tests: Add verification of known folders attributes.
2011-08-04 18:27:37 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
Jay Yang
0a7a3be0b1
shell32: Implement SHCreateDefaultContextMenu and CDefFolderMenu_Create2.
2011-08-04 11:54:14 +02:00
Mariusz Pluciński
fe0eab4bd1
shell32/tests: Add verification of known folders parsing names.
2011-08-03 19:00:20 +02:00
Jay Yang
23c8704cb5
shell32/tests: Add tests for SHCreateDefaultContextMenu.
2011-08-02 20:47:49 +02:00
Mariusz Pluciński
bb471a54fe
shell32/tests: Add checking some non-published known folders.
2011-08-01 11:04:37 +02:00
Mariusz Pluciński
82ac4ae36e
shell32/tests: Add notification when expected known folder does not exists.
2011-08-01 11:04:31 +02:00
Mariusz Pluciński
e09f4ed0e8
shell32/tests: Add notification about unknown known folders.
2011-08-01 11:04:29 +02:00
Mariusz Pluciński
9b98b1ef75
shell32/tests: Add verification of known folders relative paths.
2011-08-01 11:04:24 +02:00
Octavian Voicu
907f94e144
shell32: Disable WOW64 redirection when converting pidls to UNIX paths.
2011-07-29 18:15:54 +02:00
Mariusz Pluciński
9d7d37fd09
shell32/tests: Add verification of known folders parents.
2011-07-25 18:02:50 +02:00
Mariusz Pluciński
07d3786f4e
shell32/tests: Add verification of known folders categories.
2011-07-25 18:02:37 +02:00
Mariusz Pluciński
d471b4d475
shell32/tests: Fix mistake in checking known folder to verify all known folders.
2011-07-25 18:02:11 +02:00
Mariusz Pluciński
ea990a3f43
shell32: Fix FOLDERID_Document definition.
2011-07-19 18:26:22 +02:00
Mariusz Pluciński
fa4ba10083
shell32/tests: Add checking known folders' names.
2011-07-19 18:26:22 +02:00
Michael Stefaniuc
5ab5042183
shell32: Use FAILED instead of !SUCCEEDED.
2011-07-19 18:26:20 +02:00
Francois Gouget
e5de59b625
shell32: Add a trailing '\n' to Wine trace calls.
2011-07-14 14:48:10 +02:00
Jay Yang
52838e687a
shell32: Implement SHQueryRecycleBin.
2011-07-09 11:56:12 +02:00
Jay Yang
a77d50b6f3
shell32/tests: Add tests for SHQueryRecycleBin.
2011-07-09 11:55:33 +02:00
Mariusz Pluciński
92ff88155a
shell32/tests: Remove duplicated test of known folder.
2011-07-05 13:51:52 +02:00
Mariusz Pluciński
9435f3ce15
shell32: Add support of KF_REDIRECT_DEL_SOURCE_CONTENTS flag to redirection.
2011-07-05 13:51:48 +02:00
Mariusz Pluciński
104bf57c11
shell32: Add support of KF_REDIRECT_COPY_CONTENTS flag to redirection.
2011-07-05 13:51:44 +02:00
Piotr Caban
1226422a08
shell32: Implement folder renaming in SHBrowseForFolder.
2011-07-04 13:43:45 +02:00
Piotr Caban
74c47d0a67
shell32: Implement "make new folder" functionality in SHBrowseForFolder.
2011-07-04 13:43:42 +02:00
Mariusz Pluciński
08186a9c26
shell32: Check for known folder existance.
2011-07-01 14:39:36 +02:00
Mariusz Pluciński
e1dc5447e8
shell32: IKnownFolder::SetPath modified to use redirection instead of overwriting original path.
2011-07-01 14:39:36 +02:00
Mariusz Pluciński
7340dcdb6d
shell32: Add support of known folders redirection to GetPath.
2011-06-29 14:24:53 -05:00
Mariusz Pluciński
e554ee7fb4
shell32: Add support of known folders redirection to Redirect.
2011-06-29 14:24:43 -05:00
Mariusz Pluciński
4c0959b9d6
shell32: Add support of parent folder to GetPath.
2011-06-29 14:23:41 -05:00
Mariusz Pluciński
43769da95e
shell32/tests: Modify tests of redirection to check more advanced features.
2011-06-29 14:23:28 -05:00
Marcus Meissner
8279e753b8
shell32: Remove superflous NULL check (Coverity).
2011-06-27 13:27:12 -05:00
Francois Gouget
95d769a047
Assorted spelling fixes.
2011-06-27 13:09:47 -05:00
Mariusz Pluciński
1c7240ba4e
shell32: Add IKnownFolder::SetPath() implementation.
2011-06-24 12:11:57 -05:00
Mariusz Pluciński
5e90301bc2
shell32: Add implementation of IKnownFolder::GetCategory.
2011-06-24 12:11:53 -05:00
Mariusz Pluciński
efc1162eb7
shell32/tests: Add test of IKnownFolder::GetCategory for custom known folder.
2011-06-24 12:11:50 -05:00
Mariusz Pluciński
c9b70e6650
shell32: Add IKnownFolder::GetPath support.
2011-06-22 16:21:11 +02:00
Mariusz Pluciński
ed29ff8c3b
shell32: Add support of registry-registered folders to IKnownFolderManager::GetFolder.
2011-06-22 16:20:47 +02:00
Mariusz Pluciński
c5bf1977f2
shell32: Add IKnownFolderManager::UnregisterFolder implementation.
2011-06-22 16:20:26 +02:00
Mariusz Pluciński
7a3b53ab68
shell32: Add IKnownFolderManager::RegisterFolder implementation.
2011-06-22 16:20:19 +02:00
Mariusz Pluciński
988db2c0c3
shell32/tests: Add tests for SHGet/SetKnownFolderPath utilities.
2011-06-14 15:53:09 +02:00
Mariusz Pluciński
da9a8a4b3d
shell32/tests: Add test of redirecting known folders.
2011-06-14 15:52:57 +02:00
Mariusz Pluciński
70bbfa7ed8
shell32/tests: Add test of IKnownFolderManager::Register/UnregisterFolder.
2011-06-14 15:52:47 +02:00