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
d4d51a48
Commit
d4d51a48
authored
Nov 25, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Nov 25, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Added file URIs compare tests.
parent
e0f6b95d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
60 additions
and
0 deletions
+60
-0
uri.c
dlls/urlmon/tests/uri.c
+60
-0
No files found.
dlls/urlmon/tests/uri.c
View file @
d4d51a48
...
@@ -280,6 +280,31 @@ static const uri_properties uri_tests[] = {
...
@@ -280,6 +280,31 @@ static const uri_properties uri_tests[] = {
{
URLZONE_INVALID
,
E_NOTIMPL
,
FALSE
}
{
URLZONE_INVALID
,
E_NOTIMPL
,
FALSE
}
}
}
},
},
{
"file://c:
\\
tests
\\
../tests/foo%20bar.mp3"
,
Uri_CREATE_NO_CANONICALIZE
,
S_OK
,
FALSE
,
{
{
"file:///c:/tests/../tests/foo%2520bar.mp3"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
"file:///c:/tests/../tests/foo%2520bar.mp3"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
".mp3"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
"/c:/tests/../tests/foo%2520bar.mp3"
,
S_OK
,
FALSE
},
{
"/c:/tests/../tests/foo%2520bar.mp3"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
"file://c:
\\
tests
\\
../tests/foo%20bar.mp3"
,
S_OK
,
FALSE
},
{
"file"
,
S_OK
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
},
{
""
,
S_FALSE
,
FALSE
}
},
{
{
Uri_HOST_UNKNOWN
,
S_OK
,
FALSE
},
{
0
,
S_FALSE
,
FALSE
},
{
URL_SCHEME_FILE
,
S_OK
,
FALSE
},
{
URLZONE_INVALID
,
E_NOTIMPL
,
FALSE
}
}
},
{
"FILE://localhost/test dir
\\
../tests/test%20file.README.txt"
,
0
,
S_OK
,
FALSE
,
{
"FILE://localhost/test dir
\\
../tests/test%20file.README.txt"
,
0
,
S_OK
,
FALSE
,
{
{
{
"file:///tests/test%20file.README.txt"
,
S_OK
,
FALSE
},
{
"file:///tests/test%20file.README.txt"
,
S_OK
,
FALSE
},
...
@@ -4501,6 +4526,41 @@ static const uri_equality equality_tests[] = {
...
@@ -4501,6 +4526,41 @@ static const uri_equality equality_tests[] = {
"http://google.com:70/"
,
0
,
"http://google.com:70/"
,
0
,
"http://google.com:71/"
,
0
,
"http://google.com:71/"
,
0
,
FALSE
FALSE
},
{
"file:///c:/dir/file.txt"
,
0
,
"file:///c:/dir/file.txt"
,
Uri_CREATE_FILE_USE_DOS_PATH
,
TRUE
},
{
"file:///c:/dir/file.txt"
,
0
,
"file:///c:
\\
dir
\\
file.txt"
,
Uri_CREATE_NO_CANONICALIZE
,
TRUE
},
{
"file:///c:/dir/file.txt"
,
0
,
"file:///c:
\\
dir2
\\
..
\\
dir
\\
file.txt"
,
Uri_CREATE_NO_CANONICALIZE
,
TRUE
},
{
"file:///c:
\\
dir2
\\
..
\\
dir
\\
file.txt"
,
Uri_CREATE_NO_CANONICALIZE
,
"file:///c:/%20dir/file.txt"
,
0
,
TRUE
},
{
"file:///c:/Dir/file.txt"
,
0
,
"file:///C:/dir/file.TXT"
,
Uri_CREATE_FILE_USE_DOS_PATH
,
TRUE
},
{
"file:///c:/dir/file.txt"
,
0
,
"file:///c:
\\
dir
\\
file.txt"
,
Uri_CREATE_FILE_USE_DOS_PATH
,
TRUE
},
{
"file:///c:/dir/file.txt#a"
,
0
,
"file:///c:
\\
dir
\\
file.txt#b"
,
Uri_CREATE_FILE_USE_DOS_PATH
,
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