Francois Gouget : shell32/tests: Test handling of nonexistent verbs in ShellExecute() & co.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Jan 28 10:06:45 CST 2016


Module: wine
Branch: master
Commit: 2c0daad7865cc778a053090ad75e9b4dd4f0706b
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2c0daad7865cc778a053090ad75e9b4dd4f0706b

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Wed Jan 27 15:40:21 2016 +0100

shell32/tests: Test handling of nonexistent verbs in ShellExecute() & co.

Signed-off-by: Francois Gouget <fgouget at free.fr>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/shell32/tests/shlexec.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index 3e8c786..a063488 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -976,6 +976,8 @@ static filename_tests_t filename_tests[]=
     {"QuotedLowerL", "%s\\test file.shlexec",   0x0, 33},
     {"QuotedUpperL", "%s\\test file.shlexec",   0x0, 33},
 
+    {"notaverb",     "%s\\test file.shlexec",   0x10, SE_ERR_NOASSOC},
+
     /* Test file masked due to space */
     {NULL,           "%s\\masked file.shlexec",   0x0, 33},
     /* Test if quoting prevents the masking */




More information about the wine-cvs mailing list