From 9577c4cb747d92fa89776fd82213f01e52a2aed8 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Thu, 31 Jan 2008 18:19:20 +0100 Subject: [PATCH] itss: Added BINDF_NEEDFILE test. --- dlls/itss/tests/protocol.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/dlls/itss/tests/protocol.c b/dlls/itss/tests/protocol.c index c2fcf955497..ea04437a270 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); -- 2.11.4.GIT