From 493a3172f47141ad48669987baf3cd87ccc4c0a3 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 20 Sep 2010 12:45:50 +0200 Subject: [PATCH] urlmon: Skip tests on very old IEs as soon as possible. --- dlls/urlmon/tests/misc.c | 51 +++---------------------------------- dlls/urlmon/tests/sec_mgr.c | 25 +++--------------- 2 files changed, 6 insertions(+), 70 deletions(-) diff --git a/dlls/urlmon/tests/misc.c b/dlls/urlmon/tests/misc.c index 7681b5c6f43..558fc42c130 100644 --- a/dlls/urlmon/tests/misc.c +++ b/dlls/urlmon/tests/misc.c @@ -317,10 +317,6 @@ static void test_CoInternetParseUrl(void) static WCHAR buf[4096]; - if (!pCoInternetParseUrl) { - return; - } - memset(buf, 0xf0, sizeof(buf)); hres = pCoInternetParseUrl(parse_tests[0].url, PARSE_SCHEMA, 0, buf, 3, &size, 0); @@ -380,10 +376,6 @@ static void test_CoInternetCompareUrl(void) { HRESULT hres; - if (!pCoInternetCompareUrl) { - return; - } - hres = pCoInternetCompareUrl(url1, url1, 0); ok(hres == S_OK, "CoInternetCompareUrl failed: %08x\n", hres); @@ -414,10 +406,6 @@ static void test_CoInternetQueryInfo(void) DWORD cb, i; HRESULT hres; - if (!pCoInternetQueryInfo) { - return; - } - for(i=0; i < sizeof(query_info_tests)/sizeof(query_info_tests[0]); i++) { cb = 0xdeadbeef; memset(buf, '?', sizeof(buf)); @@ -665,10 +653,6 @@ static void test_FindMimeFromData(void) LPWSTR mime; int i; - if (!pFindMimeFromData) { - return; - } - for(i=0; i