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
14a7759c
Commit
14a7759c
authored
Aug 16, 2005
by
Jacek Caban
Committed by
Alexandre Julliard
Aug 16, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix protocol test on 9x.
parent
9f3af964
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
protocol.c
dlls/mshtml/tests/protocol.c
+4
-3
No files found.
dlls/mshtml/tests/protocol.c
View file @
14a7759c
...
...
@@ -95,8 +95,8 @@ static HRESULT WINAPI ProtocolSink_ReportResult(IInternetProtocolSink *iface, HR
{
ok
(
expect_ReportResult
,
"unexpected call
\n
"
);
if
(
expect_hr_win32err
)
ok
((
hrResult
&
0xffff0000
)
==
((
FACILITY_WIN32
<<
16
)
|
0x80000000
),
"expected win32 err
got: %08lx
\n
"
,
hrResult
);
ok
((
hrResult
&
0xffff0000
)
==
((
FACILITY_WIN32
<<
16
)
|
0x80000000
)
||
expect_hrResult
,
"expected win32 err
or %08lx got: %08lx
\n
"
,
expect_hrResult
,
hrResult
);
else
ok
(
hrResult
==
expect_hrResult
,
"expected: %08lx got: %08lx
\n
"
,
expect_hrResult
,
hrResult
);
ok
(
dwError
==
0
,
"dwError = %ld
\n
"
,
dwError
);
...
...
@@ -182,7 +182,8 @@ static void test_protocol_fail(IInternetProtocol *protocol, LPCWSTR url, HRESULT
expect_hr_win32err
=
expect_win32err
;
hres
=
IInternetProtocol_Start
(
protocol
,
url
,
&
protocol_sink
,
&
bind_info
,
0
,
0
);
if
(
expect_win32err
)
ok
((
hres
&
0xffff0000
)
==
((
FACILITY_WIN32
<<
16
)
|
0x80000000
),
"expected win32 err got: %08lx
\n
"
,
hres
);
ok
((
hres
&
0xffff0000
)
==
((
FACILITY_WIN32
<<
16
)
|
0x80000000
)
||
hres
==
expect_hrResult
,
"expected win32 err or %08lx got: %08lx
\n
"
,
expected_hres
,
hres
);
else
ok
(
hres
==
expected_hres
,
"expected: %08lx got: %08lx
\n
"
,
expected_hres
,
hres
);
ok
(
called_ReportResult
,
"expected ReportResult
\n
"
);
...
...
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