Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
48f39dc9
Commit
48f39dc9
authored
Apr 22, 2008
by
Reece Dunn
Committed by
Alexandre Julliard
Apr 24, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
shlwapi/tests: Add 'res:' protocol tests for UrlCanonicalize.
parent
a9caca3e
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
url.c
dlls/shlwapi/tests/url.c
+10
-0
No files found.
dlls/shlwapi/tests/url.c
View file @
48f39dc9
...
...
@@ -87,6 +87,16 @@ static const TEST_URL_CANONICALIZE TEST_CANONICALIZE[] = {
{
"c:dir
\\
file"
,
0
,
S_OK
,
"file:///c:dir/file"
,
FALSE
},
{
"c:
\\
tests
\\
foo bar"
,
URL_FILE_USE_PATHURL
,
S_OK
,
"file://c:
\\
tests
\\
foo bar"
,
FALSE
},
{
"c:
\\
tests
\\
foo bar"
,
0
,
S_OK
,
"file:///c:/tests/foo%20bar"
,
FALSE
},
{
"res:///c:/tests/foo%20bar"
,
URL_UNESCAPE
,
S_OK
,
"res:///c:/tests/foo bar"
,
FALSE
},
{
"res:///c:/tests
\\
foo%20bar"
,
URL_UNESCAPE
,
S_OK
,
"res:///c:/tests
\\
foo bar"
,
TRUE
},
{
"res:///c:/tests/foo%20bar"
,
0
,
S_OK
,
"res:///c:/tests/foo%20bar"
,
FALSE
},
{
"res:///c:/tests/foo%20bar"
,
URL_FILE_USE_PATHURL
,
S_OK
,
"res:///c:/tests/foo%20bar"
,
TRUE
},
{
"res://c:/tests/../tests/foo%20bar"
,
URL_FILE_USE_PATHURL
,
S_OK
,
"res://c:/tests/foo%20bar"
,
TRUE
},
{
"res://c:/tests
\\
../tests/foo%20bar"
,
URL_FILE_USE_PATHURL
,
S_OK
,
"res://c:/tests/foo%20bar"
,
TRUE
},
{
"res://c:/tests/foo%20bar"
,
URL_FILE_USE_PATHURL
,
S_OK
,
"res://c:/tests/foo%20bar"
,
TRUE
},
{
"res:///c://tests/foo%20bar"
,
URL_FILE_USE_PATHURL
,
S_OK
,
"res:///c://tests/foo%20bar"
,
TRUE
},
{
"res:///c:
\\
tests
\\
foo bar"
,
0
,
S_OK
,
"res:///c:
\\
tests
\\
foo bar"
,
TRUE
},
{
"res:///c:
\\
tests
\\
foo bar"
,
URL_DONT_SIMPLIFY
,
S_OK
,
"res:///c:
\\
tests
\\
foo bar"
,
TRUE
},
{
"A"
,
0
,
S_OK
,
"A"
,
FALSE
},
{
"/uri-res/N2R?urn:sha1:B3K"
,
URL_DONT_ESCAPE_EXTRA_INFO
|
URL_WININET_COMPATIBILITY
/*0x82000000*/
,
S_OK
,
"/uri-res/N2R?urn:sha1:B3K"
,
TRUE
}
/*LimeWire online installer calls this*/
,
{
""
,
0
,
S_OK
,
""
,
FALSE
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment