urlmon: Skip tests that fail on too old IEs.

This commit is contained in:
Jacek Caban 2011-10-18 15:16:29 +02:00 committed by Alexandre Julliard
parent 3c4b2a0b43
commit ca293d442b
1 changed files with 10 additions and 8 deletions

View File

@ -3622,6 +3622,7 @@ 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);
if(pCreateUri) { /* Skip these tests on old IEs */
unk = (void*)0xdeadbeef; unk = (void*)0xdeadbeef;
hres = IMoniker_BindToStorage(mon, bctx, NULL, &IID_IStream, (void**)&unk); hres = IMoniker_BindToStorage(mon, bctx, NULL, &IID_IStream, (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);
@ -3631,6 +3632,7 @@ static void test_StdURLMoniker(void)
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);
} }