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
0d869d53
Commit
0d869d53
authored
Dec 24, 2007
by
Jacek Caban
Committed by
Alexandre Julliard
Dec 24, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
urlmon: Fixed protocol tests.
parent
ee0554b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
bindprot.c
dlls/urlmon/bindprot.c
+1
-1
protocol.c
dlls/urlmon/tests/protocol.c
+5
-2
No files found.
dlls/urlmon/bindprot.c
View file @
0d869d53
...
...
@@ -443,7 +443,7 @@ static HRESULT WINAPI InternetProtocolSink_ReportData(IInternetProtocolSink *ifa
TRACE
(
"(%p)->(%d %u %u)
\n
"
,
This
,
grfBSCF
,
ulProgress
,
ulProgressMax
);
return
S_OK
;
return
IInternetProtocolSink_ReportData
(
This
->
protocol_sink
,
grfBSCF
,
ulProgress
,
ulProgressMax
)
;
}
static
HRESULT
WINAPI
InternetProtocolSink_ReportResult
(
IInternetProtocolSink
*
iface
,
...
...
dlls/urlmon/tests/protocol.c
View file @
0d869d53
...
...
@@ -393,8 +393,6 @@ static HRESULT WINAPI ProtocolSink_ReportProgress(IInternetProtocolSink *iface,
ok
(
szStatusText
!=
NULL
,
"szStatusText == NULL
\n
"
);
if
(
szStatusText
)
ok
(
!*
szStatusText
,
"wrong szStatusText
\n
"
);
}
else
{
ok
(
szStatusText
==
NULL
,
"szStatusText != NULL
\n
"
);
}
break
;
case
BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE
:
...
...
@@ -460,7 +458,10 @@ static HRESULT WINAPI ProtocolSink_ReportData(IInternetProtocolSink *iface, DWOR
}
SetEvent
(
event_complete
);
}
}
else
{
CHECK_EXPECT
(
ReportData
);
}
return
S_OK
;
}
...
...
@@ -736,9 +737,11 @@ static HRESULT WINAPI Protocol_Start(IInternetProtocol *iface, LPCWSTR szUrl,
"ReportProgress(BINDSTATUS_VERIFIEDMIMETYPEAVAILABLE) failed: %08x
\n
"
,
hres
);
CHECK_CALLED
(
ReportProgress_MIMETYPEAVAILABLE
);
SET_EXPECT
(
ReportData
);
hres
=
IInternetProtocolSink_ReportData
(
pOIProtSink
,
BSCF_FIRSTDATANOTIFICATION
|
BSCF_LASTDATANOTIFICATION
,
13
,
13
);
ok
(
hres
==
S_OK
,
"ReportData failed: %08x
\n
"
,
hres
);
CHECK_CALLED
(
ReportData
);
SET_EXPECT
(
ReportResult
);
hres
=
IInternetProtocolSink_ReportResult
(
pOIProtSink
,
S_OK
,
0
,
NULL
);
...
...
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