|
ReactOS 0.4.17-dev-1321-g5c122a9
|
#include <stdarg.h>#include <stdio.h>#include <stdlib.h>#include "windef.h"#include "winbase.h"#include "winnls.h"#include "wininet.h"#include "winineti.h"#include "shlobj.h"#include "wine/test.h"
Go to the source code of this file.
Macros | |
| #define | check_file_exists(f) _check_file_exists(__LINE__, f) |
| #define | check_file_not_exists(f) _check_file_not_exists(__LINE__, f) |
Functions | |
| static | BOOL (WINAPI *pDeleteUrlCacheEntryA)(LPCSTR) |
| static void | check_cache_entry_infoA (const char *returnedfrom, INTERNET_CACHE_ENTRY_INFOA *lpCacheEntryInfo) |
| static void | test_find_url_cache_entriesA (void) |
| static void | test_GetUrlCacheEntryInfoExA (void) |
| static void | test_RetrieveUrlCacheEntryA (void) |
| static void | test_IsUrlCacheEntryExpiredA (void) |
| static void | _check_file_exists (LONG l, LPCSTR filename) |
| static void | _check_file_not_exists (LONG l, LPCSTR filename) |
| static void | create_and_write_file (LPCSTR filename, void *data, DWORD len) |
| static void | test_urlcacheA (void) |
| static void | test_urlcacheW (void) |
| static void | test_FindCloseUrlCache (void) |
| static void | test_GetDiskInfoA (void) |
| static BOOL | cache_entry_exists (const char *url) |
| static void | test_trailing_slash (void) |
| static void | get_cache_path (DWORD flags, char path[MAX_PATH], char path_win8[MAX_PATH]) |
| static void | test_GetUrlCacheConfigInfo (void) |
| START_TEST (urlcache) | |
Variables | |
| static const char | test_url [] = "http://urlcachetest.winehq.org/index.html" |
| static const WCHAR | test_urlW [] |
| static const char | test_url1 [] = "Visited: user@http://urlcachetest.winehq.org/index.html" |
| static const char | test_hash_collisions1 [] = "Visited: http://winehq.org/doc0.html" |
| static const char | test_hash_collisions2 [] = "Visited: http://winehq.org/doc75651909.html" |
| static | DWORD |
| static char | filenameA [MAX_PATH+1] |
| static char | filenameA1 [MAX_PATH+1] |
| static BOOL | old_ie = FALSE |
| static BOOL | ie10_cache = FALSE |
| #define check_file_exists | ( | f | ) | _check_file_exists(__LINE__, f) |
Definition at line 332 of file urlcache.c.
| #define check_file_not_exists | ( | f | ) | _check_file_not_exists(__LINE__, f) |
Definition at line 346 of file urlcache.c.
Definition at line 320 of file urlcache.c.
Definition at line 334 of file urlcache.c.
Definition at line 1047 of file urlcache.c.
Referenced by test_trailing_slash().
|
static |
Definition at line 49 of file urlcache.c.
Referenced by test_GetUrlCacheEntryInfoExA(), and test_urlcacheA().
Definition at line 348 of file urlcache.c.
Referenced by test_trailing_slash(), and test_urlcacheA().
Definition at line 1086 of file urlcache.c.
Referenced by test_GetUrlCacheConfigInfo().
| START_TEST | ( | urlcache | ) |
Definition at line 1182 of file urlcache.c.
Definition at line 57 of file urlcache.c.
Referenced by test_urlcacheA().
Definition at line 995 of file urlcache.c.
Referenced by START_TEST().
Definition at line 1007 of file urlcache.c.
Referenced by START_TEST().
Definition at line 1128 of file urlcache.c.
Referenced by START_TEST().
Definition at line 106 of file urlcache.c.
Referenced by test_urlcacheA().
Definition at line 208 of file urlcache.c.
Referenced by test_urlcacheA().
Definition at line 181 of file urlcache.c.
Referenced by test_urlcacheA().
Definition at line 1059 of file urlcache.c.
Referenced by START_TEST().
Definition at line 365 of file urlcache.c.
Referenced by START_TEST().
Definition at line 839 of file urlcache.c.
Referenced by START_TEST().
Definition at line 42 of file urlcache.c.
Definition at line 44 of file urlcache.c.
Referenced by check_cache_entry_infoA(), and test_urlcacheA().
Definition at line 45 of file urlcache.c.
Referenced by test_urlcacheA().
Definition at line 47 of file urlcache.c.
Referenced by START_TEST(), test_GetUrlCacheEntryInfoExA(), test_IsUrlCacheEntryExpiredA(), test_urlcacheA(), and test_urlcacheW().
Definition at line 46 of file urlcache.c.
Referenced by START_TEST(), test_GetDiskInfoA(), test_GetUrlCacheEntryInfoExA(), and test_urlcacheW().
|
static |
Definition at line 38 of file urlcache.c.
Referenced by test_urlcacheA().
|
static |
Definition at line 39 of file urlcache.c.
Referenced by test_urlcacheA().
|
static |
Definition at line 34 of file urlcache.c.
Referenced by check_cache_entry_infoA(), test_find_url_cache_entriesA(), test_GetUrlCacheEntryInfoExA(), test_IsUrlCacheEntryExpiredA(), test_RetrieveUrlCacheEntryA(), and test_urlcacheA().
|
static |
Definition at line 37 of file urlcache.c.
Referenced by test_urlcacheA().
Definition at line 35 of file urlcache.c.
Referenced by test_GetUrlCacheEntryInfoExA().