Jacek Caban : urlmon: Fixed tests on Windows.

Alexandre Julliard julliard at winehq.org
Fri May 22 08:25:35 CDT 2009


Module: wine
Branch: master
Commit: d86143b3e40ea4df6cffb1f97c1ca9b62bfdf22a
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=d86143b3e40ea4df6cffb1f97c1ca9b62bfdf22a

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Fri May 22 13:56:38 2009 +0200

urlmon: Fixed tests on Windows.

---

 dlls/urlmon/tests/protocol.c |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/dlls/urlmon/tests/protocol.c b/dlls/urlmon/tests/protocol.c
index 05f8602..e8aa8f9 100644
--- a/dlls/urlmon/tests/protocol.c
+++ b/dlls/urlmon/tests/protocol.c
@@ -786,10 +786,7 @@ static HRESULT WINAPI MimeProtocolSink_ReportData(IInternetProtocolSink *iface,
         ok(hres == S_OK, "ReportProgress failed: %08x\n", hres);
         CHECK_CALLED(ReportProgress_MIMETYPEAVAILABLE);
 
-        SET_EXPECT(ReportProgress_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);
+        /* FIXME: test BINDSTATUS_CACHEFILENAMEAVAILABLE */
     }
 
     SET_EXPECT(ReportData);
@@ -842,6 +839,8 @@ static HRESULT QueryInterface(REFIID riid, void **ppv)
         *ppv = &protocol_sink;
     if(IsEqualGUID(&IID_IServiceProvider, riid))
         *ppv = &service_provider;
+    if(IsEqualGUID(&IID_IUriContainer, riid))
+        return E_NOINTERFACE; /* TODO */
 
     if(*ppv)
         return S_OK;




More information about the wine-cvs mailing list