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
08384955
Commit
08384955
authored
Apr 13, 2010
by
Detlef Riekenberg
Committed by
Alexandre Julliard
Apr 14, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon/tests: Run the tests again on W95B (CoInternetParseUrl).
parent
d5e4666e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
3 deletions
+15
-3
misc.c
dlls/urlmon/tests/misc.c
+15
-3
No files found.
dlls/urlmon/tests/misc.c
View file @
08384955
...
...
@@ -63,6 +63,8 @@ DEFINE_EXPECT(QI_IInternetProtocolInfo);
DEFINE_EXPECT
(
CreateInstance
);
DEFINE_EXPECT
(
unk_Release
);
static
HRESULT
(
WINAPI
*
pCoInternetCompareUrl
)(
LPCWSTR
,
LPCWSTR
,
DWORD
);
static
void
test_CreateFormatEnum
(
void
)
{
IEnumFORMATETC
*
fenum
=
NULL
,
*
fenum2
=
NULL
;
...
...
@@ -363,13 +365,18 @@ static void test_CoInternetCompareUrl(void)
{
HRESULT
hres
;
hres
=
CoInternetCompareUrl
(
url1
,
url1
,
0
);
if
(
!
pCoInternetCompareUrl
)
{
win_skip
(
"CoInternetCompareUrl not found
\n
"
);
return
;
}
hres
=
pCoInternetCompareUrl
(
url1
,
url1
,
0
);
ok
(
hres
==
S_OK
,
"CoInternetParseUrl failed: %08x
\n
"
,
hres
);
hres
=
CoInternetCompareUrl
(
url1
,
url3
,
0
);
hres
=
p
CoInternetCompareUrl
(
url1
,
url3
,
0
);
ok
(
hres
==
S_FALSE
,
"CoInternetParseUrl failed: %08x
\n
"
,
hres
);
hres
=
CoInternetCompareUrl
(
url3
,
url1
,
0
);
hres
=
p
CoInternetCompareUrl
(
url3
,
url1
,
0
);
ok
(
hres
==
S_FALSE
,
"CoInternetParseUrl failed: %08x
\n
"
,
hres
);
}
...
...
@@ -1402,10 +1409,15 @@ static void test_IsValidURL(void)
START_TEST
(
misc
)
{
HMODULE
hurlmon
;
OleInitialize
(
NULL
);
register_protocols
();
hurlmon
=
GetModuleHandle
(
"urlmon.dll"
);
pCoInternetCompareUrl
=
(
void
*
)
GetProcAddress
(
hurlmon
,
"CoInternetCompareUrl"
);
test_CreateFormatEnum
();
test_RegisterFormatEnumerator
();
test_CoInternetParseUrl
();
...
...
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