Commit 9577c4cb authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

itss: Added BINDF_NEEDFILE test.

parent 210854ed
...@@ -70,6 +70,7 @@ DEFINE_EXPECT(ReportResult); ...@@ -70,6 +70,7 @@ DEFINE_EXPECT(ReportResult);
static HRESULT expect_hrResult; static HRESULT expect_hrResult;
static IInternetProtocol *read_protocol = NULL; static IInternetProtocol *read_protocol = NULL;
static DWORD bindf;
static const WCHAR blank_url1[] = {'i','t','s',':', 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}; '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 ...@@ -244,6 +245,7 @@ static HRESULT WINAPI BindInfo_GetBindInfo(IInternetBindInfo *iface, DWORD *grfB
ok(pbindinfo != NULL, "pbindinfo == NULL\n"); ok(pbindinfo != NULL, "pbindinfo == NULL\n");
ok(pbindinfo->cbSize == sizeof(BINDINFO), "wrong size of pbindinfo: %d\n", pbindinfo->cbSize); ok(pbindinfo->cbSize == sizeof(BINDINFO), "wrong size of pbindinfo: %d\n", pbindinfo->cbSize);
*grfBINDF = bindf;
return S_OK; return S_OK;
} }
...@@ -610,6 +612,8 @@ static void test_its_protocol(void) ...@@ -610,6 +612,8 @@ static void test_its_protocol(void)
test_protocol_url(factory, blank_url5, TRUE); test_protocol_url(factory, blank_url5, TRUE);
test_protocol_url(factory, blank_url6, TRUE); test_protocol_url(factory, blank_url6, TRUE);
test_protocol_url(factory, blank_url8, TRUE); test_protocol_url(factory, blank_url8, TRUE);
bindf = BINDF_FROMURLMON | BINDF_NEEDFILE;
test_protocol_url(factory, blank_url1, TRUE);
} }
IClassFactory_Release(factory); IClassFactory_Release(factory);
......
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