urlmon: Skip tests that fail on too old IEs.
This commit is contained in:
parent
3c4b2a0b43
commit
ca293d442b
|
@ -3622,15 +3622,17 @@ static void test_StdURLMoniker(void)
|
||||||
ok(hres == S_OK, "CreateAsyncBindCtx failed: %08x\n\n", hres);
|
ok(hres == S_OK, "CreateAsyncBindCtx failed: %08x\n\n", hres);
|
||||||
CHECK_CALLED(QueryInterface_IServiceProvider);
|
CHECK_CALLED(QueryInterface_IServiceProvider);
|
||||||
|
|
||||||
unk = (void*)0xdeadbeef;
|
if(pCreateUri) { /* Skip these tests on old IEs */
|
||||||
hres = IMoniker_BindToStorage(mon, bctx, NULL, &IID_IStream, (void**)&unk);
|
unk = (void*)0xdeadbeef;
|
||||||
ok(hres == MK_E_SYNTAX, "BindToStorage failed: %08x, expected MK_E_SYNTAX\n", hres);
|
hres = IMoniker_BindToStorage(mon, bctx, NULL, &IID_IStream, (void**)&unk);
|
||||||
ok(!unk, "unk = %p\n", unk);
|
ok(hres == MK_E_SYNTAX, "BindToStorage failed: %08x, expected MK_E_SYNTAX\n", hres);
|
||||||
|
ok(!unk, "unk = %p\n", unk);
|
||||||
|
|
||||||
unk = (void*)0xdeadbeef;
|
unk = (void*)0xdeadbeef;
|
||||||
hres = IMoniker_BindToObject(mon, bctx, NULL, &IID_IUnknown, (void**)&unk);
|
hres = IMoniker_BindToObject(mon, bctx, NULL, &IID_IUnknown, (void**)&unk);
|
||||||
ok(hres == MK_E_SYNTAX, "BindToStorage failed: %08x, expected MK_E_SYNTAX\n", hres);
|
ok(hres == MK_E_SYNTAX, "BindToStorage failed: %08x, expected MK_E_SYNTAX\n", hres);
|
||||||
ok(!unk, "unk = %p\n", unk);
|
ok(!unk, "unk = %p\n", unk);
|
||||||
|
}
|
||||||
|
|
||||||
IMoniker_Release(mon);
|
IMoniker_Release(mon);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue