Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
2e5b76db
Commit
2e5b76db
authored
May 28, 2010
by
Thomas Mullaly
Committed by
Alexandre Julliard
May 31, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon/tests: Added more test data for the IUri tests.
parent
adc70a22
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
100 additions
and
0 deletions
+100
-0
uri.c
dlls/urlmon/tests/uri.c
+100
-0
No files found.
dlls/urlmon/tests/uri.c
View file @
2e5b76db
...
...
@@ -283,6 +283,106 @@ static const uri_properties uri_tests[] = {
{
URL_SCHEME_UNKNOWN
,
S_OK
,
TRUE
},
{
URLZONE_INVALID
,
E_NOTIMPL
,
FALSE
}
}
},
{
"http://127.0.0.1/tests/../test dir/./test.txt"
,
0
,
S_OK
,
FALSE
,
{
{
"http://127.0.0.1/test%20dir/test.txt"
,
S_OK
,
TRUE
},
{
"127.0.0.1"
,
S_OK
,
TRUE
},
{
"http://127.0.0.1/test%20dir/test.txt"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
".txt"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
"127.0.0.1"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
"/test%20dir/test.txt"
,
S_OK
,
TRUE
},
{
"/test%20dir/test.txt"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
"http://127.0.0.1/tests/../test dir/./test.txt"
,
S_OK
,
TRUE
},
{
"http"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
}
},
{
{
Uri_HOST_IPV4
,
S_OK
,
TRUE
},
{
80
,
S_OK
,
TRUE
},
{
URL_SCHEME_HTTP
,
S_OK
,
TRUE
},
{
URLZONE_INVALID
,
E_NOTIMPL
,
FALSE
}
}
},
{
"http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]"
,
0
,
S_OK
,
FALSE
,
{
{
"http://[fedc:ba98:7654:3210:fedc:ba98:7654:3210]/"
,
S_OK
,
TRUE
},
{
"[fedc:ba98:7654:3210:fedc:ba98:7654:3210]"
,
S_OK
,
TRUE
},
{
"http://[fedc:ba98:7654:3210:fedc:ba98:7654:3210]/"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
"fedc:ba98:7654:3210:fedc:ba98:7654:3210"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
"/"
,
S_OK
,
TRUE
},
{
"/"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
"http://[FEDC:BA98:7654:3210:FEDC:BA98:7654:3210]"
,
S_OK
,
TRUE
},
{
"http"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
}
},
{
{
Uri_HOST_IPV6
,
S_OK
,
TRUE
},
{
80
,
S_OK
,
TRUE
},
{
URL_SCHEME_HTTP
,
S_OK
,
TRUE
},
{
URLZONE_INVALID
,
E_NOTIMPL
,
FALSE
}
}
},
{
"ftp://[::13.1.68.3]"
,
0
,
S_OK
,
FALSE
,
{
{
"ftp://[::13.1.68.3]/"
,
S_OK
,
TRUE
},
{
"[::13.1.68.3]"
,
S_OK
,
TRUE
},
{
"ftp://[::13.1.68.3]/"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
"::13.1.68.3"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
"/"
,
S_OK
,
TRUE
},
{
"/"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
"ftp://[::13.1.68.3]"
,
S_OK
,
TRUE
},
{
"ftp"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
}
},
{
{
Uri_HOST_IPV6
,
S_OK
,
TRUE
},
{
21
,
S_OK
,
TRUE
},
{
URL_SCHEME_FTP
,
S_OK
,
TRUE
},
{
URLZONE_INVALID
,
E_NOTIMPL
,
FALSE
}
}
},
{
"http://[FEDC:BA98:0:0:0:0:0:3210]"
,
0
,
S_OK
,
FALSE
,
{
{
"http://[fedc:ba98::3210]/"
,
S_OK
,
TRUE
},
{
"[fedc:ba98::3210]"
,
S_OK
,
TRUE
},
{
"http://[fedc:ba98::3210]/"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
"fedc:ba98::3210"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
"/"
,
S_OK
,
TRUE
},
{
"/"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
"http://[FEDC:BA98:0:0:0:0:0:3210]"
,
S_OK
,
TRUE
},
{
"http"
,
S_OK
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
{
""
,
S_FALSE
,
TRUE
},
},
{
{
Uri_HOST_IPV6
,
S_OK
,
TRUE
},
{
80
,
S_OK
,
TRUE
},
{
URL_SCHEME_HTTP
,
S_OK
,
TRUE
},
{
URLZONE_INVALID
,
E_NOTIMPL
,
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