ReactOS 0.4.16-dev-973-g9a0ff8b
|
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "windef.h"
#include "winbase.h"
#include "winnls.h"
#include "wininet.h"
#include "wine/test.h"
Go to the source code of this file.
Classes | |
struct | crack_url_test_t |
Macros | |
#define | TEST_URL "http://www.winehq.org/site/about#hi" |
#define | TEST_URL3 "file:///C:/Program%20Files/Atmel/AVR%20Tools/STK500/STK500.xml" |
#define | CREATE_URL1 "http://username:password@www.winehq.org/site/about" |
#define | CREATE_URL2 "http://username@www.winehq.org/site/about" |
#define | CREATE_URL3 "http://username:" |
#define | CREATE_URL4 "http://www.winehq.org/site/about" |
#define | CREATE_URL5 "http://" |
#define | CREATE_URL6 "nhttp://username:password@www.winehq.org:80/site/about" |
#define | CREATE_URL7 "http://username:password@www.winehq.org:42/site/about" |
#define | CREATE_URL8 "https://username:password@www.winehq.org/site/about" |
#define | CREATE_URL9 "about:blank" |
#define | CREATE_URL10 "about://host/blank" |
#define | CREATE_URL11 "about:" |
#define | CREATE_URL12 "http://www.winehq.org:65535" |
#define | CREATE_URL13 "http://localhost/?test=123" |
Functions | |
static void | copy_compsA (URL_COMPONENTSA *src, URL_COMPONENTSA *dst, DWORD scheLen, DWORD hostLen, DWORD userLen, DWORD passLen, DWORD pathLen, DWORD extrLen) |
static void | zero_compsA (URL_COMPONENTSA *dst, DWORD scheLen, DWORD hostLen, DWORD userLen, DWORD passLen, DWORD pathLen, DWORD extrLen) |
static WCHAR * | a2w (const char *str) |
static int | strcmp_wa (const WCHAR *str1, const char *str2) |
static void | test_crack_url (const crack_url_test_t *test) |
static void | test_long_url (void) |
static void | InternetCrackUrl_test (void) |
static void | InternetCrackUrlW_test (void) |
static void | fill_url_components (URL_COMPONENTSA *lpUrlComponents) |
static void | InternetCreateUrlA_test (void) |
static void | InternetCanonicalizeUrl_test (void) |
START_TEST (url) | |
Variables | |
static const crack_url_test_t | crack_url_tests [] |
#define CREATE_URL1 "http://username:password@www.winehq.org/site/about" |
#define CREATE_URL2 "http://username@www.winehq.org/site/about" |
#define CREATE_URL4 "http://www.winehq.org/site/about" |
#define CREATE_URL8 "https://username:password@www.winehq.org/site/about" |
#define TEST_URL3 "file:///C:/Program%20Files/Atmel/AVR%20Tools/STK500/STK500.xml" |
Definition at line 180 of file url.c.
Referenced by strcmp_wa(), and test_crack_url().
|
static |
Definition at line 52 of file url.c.
Referenced by InternetCrackUrl_test().
|
static |
Definition at line 830 of file url.c.
Definition at line 1183 of file url.c.
Referenced by START_TEST().
Definition at line 518 of file url.c.
Referenced by START_TEST().
Definition at line 658 of file url.c.
Referenced by START_TEST().
Definition at line 856 of file url.c.
Referenced by START_TEST().
START_TEST | ( | url | ) |
Definition at line 1224 of file url.c.
Definition at line 191 of file url.c.
Referenced by InternetCrackUrlW_test(), and test_crack_url().
|
static |
Definition at line 199 of file url.c.
Referenced by START_TEST(), and test_long_url().
Definition at line 481 of file url.c.
Referenced by START_TEST(), and test_http_connection().
|
static |
Definition at line 72 of file url.c.
Referenced by test_crack_url(), and test_long_url().
|
static |
Definition at line 117 of file url.c.
Referenced by START_TEST().