Misha Koshelev : urlmon/tests: Fix todo_wine' s to show the IServiceProvider interface is not queried on wine from CreateAsyncBindCtx .

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 6 08:03:55 CDT 2007


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

Author: Misha Koshelev <mk144210 at bcm.edu>
Date:   Sun Aug  5 23:35:22 2007 -0500

urlmon/tests: Fix todo_wine's to show the IServiceProvider interface is not queried on wine from CreateAsyncBindCtx.

---

 dlls/urlmon/tests/url.c |    9 +++------
 1 files changed, 3 insertions(+), 6 deletions(-)

diff --git a/dlls/urlmon/tests/url.c b/dlls/urlmon/tests/url.c
index 187fb03..1b2758e 100644
--- a/dlls/urlmon/tests/url.c
+++ b/dlls/urlmon/tests/url.c
@@ -774,12 +774,7 @@ static void test_BindToStorage(int protocol, BOOL emul)
     ok(SUCCEEDED(hres), "CreateAsyncBindCtx failed: %08x\n\n", hres);
     if(FAILED(hres))
         return;
-    if(test_protocol == HTTP_TEST ||
-       test_protocol == ABOUT_TEST ||
-       (emul && test_protocol == FILE_TEST)) todo_wine
-        CHECK_CALLED(QueryInterface_IServiceProvider);
-    else
-        CHECK_CALLED(QueryInterface_IServiceProvider);
+    todo_wine CHECK_CALLED(QueryInterface_IServiceProvider);
 
     SET_EXPECT(QueryInterface_IServiceProvider);
     hres = RegisterBindStatusCallback(bctx, &bsc, &previousclb, 0);
@@ -863,10 +858,12 @@ static void test_BindToStorage(int protocol, BOOL emul)
     CHECK_CALLED(GetBindInfo);
     CHECK_CALLED(OnStartBinding);
     if(emulate_protocol) {
+        todo_wine CHECK_NOT_CALLED(QueryInterface_IServiceProvider);
         CHECK_CALLED(Start);
         CHECK_CALLED(UnlockRequest);
     }else {
         if(test_protocol == HTTP_TEST) {
+            CHECK_NOT_CALLED(QueryInterface_IServiceProvider);
             todo_wine CHECK_CALLED(QueryInterface_IHttpNegotiate);
             todo_wine CHECK_CALLED(BeginningTransaction);
             /* QueryInterface_IHttpNegotiate2 and GetRootSecurityId




More information about the wine-cvs mailing list