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
c72a7d47
Commit
c72a7d47
authored
Dec 18, 2009
by
Piotr Caban
Committed by
Alexandre Julliard
Dec 18, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Remove some CoInternetParseUrl tests.
Some tests with PARSE_DOMAIN flag fails on older urlmon.
parent
1402e954
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
misc.c
dlls/urlmon/tests/misc.c
+9
-6
No files found.
dlls/urlmon/tests/misc.c
View file @
c72a7d47
...
...
@@ -340,12 +340,15 @@ static void test_CoInternetParseUrl(void)
ok
(
size
==
lstrlenW
(
parse_tests
[
i
].
schema
),
"[%d] wrong size
\n
"
,
i
);
ok
(
!
lstrcmpW
(
parse_tests
[
i
].
schema
,
buf
),
"[%d] wrong schema
\n
"
,
i
);
memset
(
buf
,
0xf0
,
sizeof
(
buf
));
hres
=
CoInternetParseUrl
(
parse_tests
[
i
].
url
,
PARSE_DOMAIN
,
0
,
buf
,
sizeof
(
buf
)
/
sizeof
(
WCHAR
),
&
size
,
0
);
ok
(
hres
==
parse_tests
[
i
].
domain_hres
,
"[%d] domain failed: %08x
\n
"
,
i
,
hres
);
if
(
parse_tests
[
i
].
domain
)
ok
(
!
lstrcmpW
(
parse_tests
[
i
].
domain
,
buf
),
"[%d] wrong domain, received %s
\n
"
,
i
,
wine_dbgstr_w
(
buf
));
if
(
memcmp
(
parse_tests
[
i
].
url
,
wszRes
,
3
*
sizeof
(
WCHAR
))
&&
memcmp
(
parse_tests
[
i
].
url
,
wszAbout
,
5
*
sizeof
(
WCHAR
)))
{
memset
(
buf
,
0xf0
,
sizeof
(
buf
));
hres
=
CoInternetParseUrl
(
parse_tests
[
i
].
url
,
PARSE_DOMAIN
,
0
,
buf
,
sizeof
(
buf
)
/
sizeof
(
WCHAR
),
&
size
,
0
);
ok
(
hres
==
parse_tests
[
i
].
domain_hres
,
"[%d] domain failed: %08x
\n
"
,
i
,
hres
);
if
(
parse_tests
[
i
].
domain
)
ok
(
!
lstrcmpW
(
parse_tests
[
i
].
domain
,
buf
),
"[%d] wrong domain, received %s
\n
"
,
i
,
wine_dbgstr_w
(
buf
));
}
memset
(
buf
,
0xf0
,
sizeof
(
buf
));
hres
=
CoInternetParseUrl
(
parse_tests
[
i
].
url
,
PARSE_ROOTDOCUMENT
,
0
,
buf
,
...
...
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