Commit e7065e0c authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

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: 's avatarFrancois Gouget <fgouget@free.fr> Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
parent 11d77e51
......@@ -1818,6 +1818,9 @@ static fileurl_tests_t fileurl_tests[]=
/* Test shortcuts vs. URLs */
{"file://///", "%s\\test_shortcut_shlexec.lnk", 0, 0x1d},
/* Confuse things by mixing protocols */
{"file://", "shlproto://foo/bar", USE_COLON, 0},
{NULL, NULL, 0, 0}
};
......@@ -1989,10 +1992,6 @@ static void test_urls(void)
todo_wine ok(rc == SE_ERR_FNF, "%s returned %lu\n", shell_call, rc);
SetEnvironmentVariableA("urlprefix", NULL);
/* Try to confuse ShellExecute() by mixing protocols */
rc = shell_execute(NULL, "file://shlproto://foo/bar", NULL, NULL);
ok(rc == SE_ERR_FNF || rc == SE_ERR_PNF, "%s returned %lu\n", shell_call, rc);
delete_test_class("fakeproto");
delete_test_class("shlpaverb");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment