Commit 4621210b authored by Detlef Riekenberg's avatar Detlef Riekenberg Committed by Alexandre Julliard

shlwapi/tests: Add more entries for PathIsURL.

parent 71264731
...@@ -82,7 +82,26 @@ static struct { ...@@ -82,7 +82,26 @@ static struct {
{"foo.bar", FALSE}, {"foo.bar", FALSE},
{"bogusscheme:", TRUE}, {"bogusscheme:", TRUE},
{"http:partial", TRUE}, {"http:partial", TRUE},
{"www.winehq.org", FALSE} {"www.winehq.org", FALSE},
/* More examples that the user might enter as the browser start page */
{"winehq.org", FALSE},
{"ftp.winehq.org", FALSE},
{"http://winehq.org", TRUE},
{"http://www.winehq.org", TRUE},
{"https://winehq.org", TRUE},
{"https://www.winehq.org", TRUE},
{"ftp://winehq.org", TRUE},
{"ftp://ftp.winehq.org", TRUE},
{"file://does_not_exist.txt", TRUE},
{"about:blank", TRUE},
{"about:home", TRUE},
{"about:mozilla", TRUE},
/* scheme is case independent */
{"HTTP://www.winehq.org", TRUE},
/* a space at the start is not allowed */
{" http://www.winehq.org", FALSE},
{"", FALSE},
{NULL, FALSE}
}; };
struct { struct {
......
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