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
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
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
Sebastian Lackner
d892239f5a
shell32: Return NULL-terminated list of arguments in CommandLineToArgvW.
2014-07-09 09:29:33 +02:00
Vincent Povirk
3ebb9b7b75
shell32/tests: Use SW_HIDE with ShellExecuteA in tests.
2014-05-07 21:28:46 +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
Jacek Caban
cf2098cf2d
shell32/tests: Ensure that tmpdir contains long path name.
2014-02-19 16:46:19 +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
Nikolay Sivov
de686e9949
shell32/tests: Remove some assertions in test code.
2014-02-05 13:49:32 +01:00
Nikolay Sivov
fa93dadfa1
shell32/tests: Fix compilation with -D__WINESRC__.
2013-10-28 14:22:20 +01:00
Frédéric Delanoy
44b2fd269e
shell32/tests: Use BOOL type where appropriate.
2013-10-21 10:44:34 +02: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
Erich Hoover
6a1d2f80b8
shell32: Fix FindExecutable search path when a default directory is supplied.
2012-07-12 16:10:04 -05: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
André Hentschel
8c3ffea63c
shell32/tests: Fix typos.
2011-09-23 12:35:46 +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
Greg Geldorp
519c288946
shell32/tests: Fix race conditions.
2010-12-28 16:35:41 +01:00
André Hentschel
2bbb9cb888
shell32/tests: Fix a typo.
2010-12-23 13:47:26 +01:00
Ilya Basin
3b545300b8
shell32/tests: CommandLineToArgvW("") shouldn't truncate returned exe path.
2010-07-26 18:38:33 +02:00
Ilya Basin
9c23b5debc
shell32/tests: SHELL_ArgifyW(%2|%*|%~3, ...) tests.
2010-06-25 16:17:09 +02:00
Nikolay Sivov
edcaf53f94
shell32/tests: Use strict comparison for return values.
2010-03-23 12:19:48 +01:00
Francois Gouget
1cc79eaef7
shell32/tests: Remove spaces before '\n'.
2010-03-22 10:48:42 +01:00
Ilya Basin
4b5f6ada17
shell32/tests: Add tests for the parser of SHELLEXECUTEINFO.lpFile.
2010-03-16 17:36:18 +01:00
Alexandre Julliard
d279227538
shell32/tests: Don't use the return value of the ok macro.
2010-02-24 16:03:15 +01:00
Paul Vriens
404dcbcd65
shell32/tests: Change a trace into a skip for skipped tests.
2009-11-29 16:39:22 +01:00
Francois Gouget
915b69e2a7
shell32: Fix compilation on systems that don't support nameless unions.
2009-10-19 14:45:32 +02:00
Francois Gouget
fe935e8d50
Assorted spelling fixes.
2009-10-08 12:17:31 +02:00
Ge van Geldorp
1b5a373c0e
shell32/tests: Fix shlexec on Vista and higher.
2009-10-02 16:31:43 +02:00
Nicolas Le Cam
ab6ee61bd3
shell32/tests: Fix test on temp paths that have a different long form.
2009-08-03 17:34:12 +02:00
Alexandre Julliard
7db6d5e3be
shell32/tests: Create our own temp directory to make sure it's not the Windows directory.
2009-07-22 23:25:25 +02:00
Paul Vriens
989649c62e
shell32/tests: Make sure all created files can be removed.
2009-06-05 15:19:57 +02:00
Paul Vriens
e348c842da
shell32/tests: Fix test failures on Win95.
2009-06-05 15:19:57 +02:00
Paul Vriens
b7aa196449
shell32/tests: Fix test failure on NT4.
2009-06-05 14:43:24 +02:00
Francois Gouget
dde9f31967
shell32/tests: Replace malloc() with HeapAlloc().
2009-05-13 12:45:36 +02:00
Vitaliy Margolen
694219d4a6
shell32: Fix number of returned arguments from CommandLineToArgvW with empty string.
2009-03-23 15:25:50 +01:00
Michael Stefaniuc
6c54ad3dba
shell32: Remove superfluous pointer casts.
2009-02-19 12:52:02 +01:00
Alexandre Julliard
d3ed2df9ee
shell32/tests: Fix handle casting warnings on 64-bit.
2009-01-03 20:14:32 +01:00
Paul Chitescu
cd616409ba
shell32.dll: Return SE_ERR_FNF if file not found before checking for associations.
2008-12-09 10:25:38 +01:00
Alexandre Julliard
c03917c173
Define _WIN32_WINNT before including any headers.
2008-12-04 12:10:16 +01:00
Aric Stewart
2c9517d36b
shell32/tests: Add tests for CommandLineToArgvW.
2008-10-17 11:43:31 +02:00
Michael Stefaniuc
ca0074e706
shell32/tests: Use FAILED instead of !SUCCEEDED.
2008-10-08 13:43:27 +02:00
Reece Dunn
428fd07e73
shell32: Fix shlexec crashing on Vista.
2008-08-01 12:22:54 +02:00
Reece Dunn
787361d361
shell32: Don't crash if the shlexec tests fail to create an extension in the registry.
2008-07-23 11:20:41 +02:00
Reece Dunn
811a809b0a
shell32: Make the tests build with the Vista SDK.
2008-07-21 14:44:43 +02:00
Francois Gouget
000fd0edc5
shell32/tests: Avoid SHDeleteKeyA() because shlwapi.dll is missing on Windows 95.
2007-12-18 12:32:55 +01: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
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
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
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
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
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
Hans Leidekker
e5c1a014df
shell32/tests: Win64 printf format warning fixes.
2006-10-09 12:53:26 +02:00
Andrew Talbot
bbd8008b55
shell32/tests: Write-strings warnings fix.
2006-07-24 12:57:32 +02:00