Jacek Caban : itss: Added BINDF_NEEDFILE test.

Alexandre Julliard julliard at winehq.org
Mon Feb 4 08:43:12 CST 2008


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

Author: Jacek Caban <jacek at codeweavers.com>
Date:   Thu Jan 31 18:19:20 2008 +0100

itss: Added BINDF_NEEDFILE test.

---

 dlls/itss/tests/protocol.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/itss/tests/protocol.c b/dlls/itss/tests/protocol.c
index c2fcf95..ea04437 100644
--- a/dlls/itss/tests/protocol.c
+++ b/dlls/itss/tests/protocol.c
@@ -70,6 +70,7 @@ DEFINE_EXPECT(ReportResult);
 
 static HRESULT expect_hrResult;
 static IInternetProtocol *read_protocol = NULL;
+static DWORD bindf;
 
 static const WCHAR blank_url1[] = {'i','t','s',':',
     't','e','s','t','.','c','h','m',':',':','/','b','l','a','n','k','.','h','t','m','l',0};
@@ -244,6 +245,7 @@ static HRESULT WINAPI BindInfo_GetBindInfo(IInternetBindInfo *iface, DWORD *grfB
     ok(pbindinfo != NULL, "pbindinfo == NULL\n");
     ok(pbindinfo->cbSize == sizeof(BINDINFO), "wrong size of pbindinfo: %d\n", pbindinfo->cbSize);
 
+    *grfBINDF = bindf;
     return S_OK;
 }
 
@@ -610,6 +612,8 @@ static void test_its_protocol(void)
             test_protocol_url(factory, blank_url5, TRUE);
             test_protocol_url(factory, blank_url6, TRUE);
             test_protocol_url(factory, blank_url8, TRUE);
+            bindf = BINDF_FROMURLMON | BINDF_NEEDFILE;
+            test_protocol_url(factory, blank_url1, TRUE);
         }
 
         IClassFactory_Release(factory);




More information about the wine-cvs mailing list