Commit 4b3e4fa8 authored by Morten Rønne's avatar Morten Rønne Committed by Alexandre Julliard

wininet/tests: Moved a test outside a loop to make numbers of tests run…

wininet/tests: Moved a test outside a loop to make numbers of tests run independent on the numbers of entries in the cache.
parent f6ea0b6c
......@@ -69,6 +69,7 @@ static void test_find_url_cache_entriesA(void)
if (!strcmp(lpCacheEntryInfo->lpszSourceUrlName, TEST_URL))
{
found = TRUE;
ret = TRUE;
break;
}
SetLastError(0xdeadbeef);
......@@ -83,10 +84,10 @@ static void test_find_url_cache_entriesA(void)
ret = FindNextUrlCacheEntry(hEnumHandle, lpCacheEntryInfo, &cbCacheEntryInfo);
}
}
ok(ret, "FindNextUrlCacheEntry failed with error %d\n", GetLastError());
if (!ret)
break;
}
ok(ret, "FindNextUrlCacheEntry failed with error %d\n", GetLastError());
ok(found, "Committed url cache entry not found during enumeration\n");
ret = FindCloseUrlCache(hEnumHandle);
......
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