ReactOS 0.4.16-dev-13-ge2fc578
|
#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 | NONAMELESSUNION |
#define | NONAMELESSSTRUCT |
#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 335 of file urlcache.c.
#define check_file_not_exists | ( | f | ) | _check_file_not_exists(__LINE__, f) |
Definition at line 349 of file urlcache.c.
#define NONAMELESSSTRUCT |
Definition at line 22 of file urlcache.c.
#define NONAMELESSUNION |
Definition at line 21 of file urlcache.c.
Definition at line 323 of file urlcache.c.
Definition at line 337 of file urlcache.c.
Definition at line 1050 of file urlcache.c.
Referenced by test_trailing_slash().
|
static |
Definition at line 52 of file urlcache.c.
Referenced by test_GetUrlCacheEntryInfoExA(), and test_urlcacheA().
Definition at line 351 of file urlcache.c.
Referenced by test_trailing_slash(), and test_urlcacheA().
Definition at line 1089 of file urlcache.c.
Referenced by test_GetUrlCacheConfigInfo().
START_TEST | ( | urlcache | ) |
Definition at line 1185 of file urlcache.c.
Definition at line 60 of file urlcache.c.
Referenced by test_urlcacheA().
Definition at line 998 of file urlcache.c.
Referenced by START_TEST().
Definition at line 1010 of file urlcache.c.
Referenced by START_TEST().
Definition at line 1131 of file urlcache.c.
Referenced by START_TEST().
Definition at line 109 of file urlcache.c.
Referenced by test_urlcacheA().
Definition at line 211 of file urlcache.c.
Referenced by test_urlcacheA().
Definition at line 184 of file urlcache.c.
Referenced by test_urlcacheA().
Definition at line 1062 of file urlcache.c.
Referenced by START_TEST().
Definition at line 368 of file urlcache.c.
Referenced by START_TEST().
Definition at line 842 of file urlcache.c.
Referenced by START_TEST().
Definition at line 45 of file urlcache.c.
Definition at line 47 of file urlcache.c.
Referenced by check_cache_entry_infoA(), and test_urlcacheA().
Definition at line 48 of file urlcache.c.
Referenced by test_urlcacheA().
Definition at line 50 of file urlcache.c.
Referenced by START_TEST(), test_GetUrlCacheEntryInfoExA(), test_IsUrlCacheEntryExpiredA(), test_urlcacheA(), and test_urlcacheW().
Definition at line 49 of file urlcache.c.
Referenced by START_TEST(), test_GetDiskInfoA(), test_GetUrlCacheEntryInfoExA(), and test_urlcacheW().
|
static |
Definition at line 41 of file urlcache.c.
Referenced by test_urlcacheA().
|
static |
Definition at line 42 of file urlcache.c.
Referenced by test_urlcacheA().
|
static |
Definition at line 37 of file urlcache.c.
Referenced by check_cache_entry_infoA(), test_CreateBinding(), test_find_url_cache_entriesA(), test_GetUrlCacheEntryInfoExA(), test_IsUrlCacheEntryExpiredA(), test_mhtml_protocol_binding(), test_RetrieveUrlCacheEntryA(), and test_urlcacheA().
|
static |
Definition at line 40 of file urlcache.c.
Referenced by test_urlcacheA().
Definition at line 38 of file urlcache.c.
Referenced by test_GetUrlCacheEntryInfoExA().