Commit d86143b3 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

urlmon: Fixed tests on Windows.

parent 9f4283dc
...@@ -786,10 +786,7 @@ static HRESULT WINAPI MimeProtocolSink_ReportData(IInternetProtocolSink *iface, ...@@ -786,10 +786,7 @@ static HRESULT WINAPI MimeProtocolSink_ReportData(IInternetProtocolSink *iface,
ok(hres == S_OK, "ReportProgress failed: %08x\n", hres); ok(hres == S_OK, "ReportProgress failed: %08x\n", hres);
CHECK_CALLED(ReportProgress_MIMETYPEAVAILABLE); CHECK_CALLED(ReportProgress_MIMETYPEAVAILABLE);
SET_EXPECT(ReportProgress_CACHEFILENAMEAVAILABLE); /* FIXME: test BINDSTATUS_CACHEFILENAMEAVAILABLE */
hres = IInternetProtocolSink_ReportProgress(filtered_sink, BINDSTATUS_CACHEFILENAMEAVAILABLE, expect_wsz = emptyW);
ok(hres == S_OK, "ReportProgress(BINDSTATUS_CACHEFILENAMEAVAILABLE) failed: %08x\n", hres);
CHECK_CALLED(ReportProgress_CACHEFILENAMEAVAILABLE);
} }
SET_EXPECT(ReportData); SET_EXPECT(ReportData);
...@@ -842,6 +839,8 @@ static HRESULT QueryInterface(REFIID riid, void **ppv) ...@@ -842,6 +839,8 @@ static HRESULT QueryInterface(REFIID riid, void **ppv)
*ppv = &protocol_sink; *ppv = &protocol_sink;
if(IsEqualGUID(&IID_IServiceProvider, riid)) if(IsEqualGUID(&IID_IServiceProvider, riid))
*ppv = &service_provider; *ppv = &service_provider;
if(IsEqualGUID(&IID_IUriContainer, riid))
return E_NOINTERFACE; /* TODO */
if(*ppv) if(*ppv)
return S_OK; return S_OK;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment