ReactOS 0.4.16-dev-197-g92996da
|
#include <stdarg.h>
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include "windef.h"
#include "winbase.h"
#include "wininet.h"
#include "winineti.h"
#include "winsock2.h"
#include "wine/test.h"
Go to the source code of this file.
Classes | |
struct | test_data_t |
struct | test_request_t |
struct | server_info |
struct | http_status_test_t |
struct | large_test |
struct | cert_struct_test_t |
struct | context |
struct | notification |
struct | info |
struct | notification_data |
Enumerations | |
enum | api { winhttp_connect = 1 , winhttp_open_request , winhttp_send_request , winhttp_receive_response , winhttp_query_data , winhttp_read_data , winhttp_write_data , winhttp_close_handle , internet_connect = 1 , http_open_request , http_send_request_ex , internet_writefile , http_end_request , internet_close_handle } |
#define CHECK_NOT_NOTIFIED | ( | status | ) | CHECK_NOTIFIED2(status, 0) |
#define MAX_INTERNET_STATUS (INTERNET_STATUS_COOKIE_HISTORY+1) |
#define server_read_request | ( | a | ) | _server_read_request(__LINE__,a) |
#define STATUS_STRING | ( | status | ) | status_string[status] = #status |
#define test_http_version | ( | a | ) | _test_http_version(__LINE__,a) |
#define TEST_URL "http://test.winehq.org/tests/hello.html" |
Definition at line 7354 of file http.c.
Definition at line 5704 of file http.c.
|
static |
|
static |
Definition at line 534 of file http.c.
|
static |
Definition at line 5570 of file http.c.
|
static |
Definition at line 5544 of file http.c.
Referenced by _read_expect_sync_data().
|
static |
Definition at line 5639 of file http.c.
|
static |
Definition at line 5537 of file http.c.
|
static |
Definition at line 5510 of file http.c.
Referenced by _readex_expect_sync_data().
|
static |
Definition at line 5584 of file http.c.
Referenced by _send_response_ex_and_wait().
|
static |
Definition at line 5618 of file http.c.
Definition at line 6612 of file http.c.
Definition at line 353 of file http.c.
|
static |
Definition at line 323 of file http.c.
Definition at line 340 of file http.c.
|
static |
Definition at line 6590 of file http.c.
|
static |
Definition at line 6550 of file http.c.
Definition at line 249 of file http.c.
|
static |
Definition at line 368 of file http.c.
|
static |
Definition at line 7257 of file http.c.
|
static |
Definition at line 7388 of file http.c.
Referenced by test_async_HttpSendRequestEx().
Definition at line 572 of file http.c.
Referenced by InternetReadFile_test(), InternetReadFileExA_test(), test_async_read(), test_cache_read(), test_conn_close(), test_connection_break(), test_connection_closing(), test_http_read(), test_large_content(), test_no_content(), test_persistent_connection(), test_redirect(), test_security_flags(), and test_successive_HttpSendRequest().
Definition at line 5576 of file http.c.
Referenced by _send_response_and_wait(), _send_response_ex_and_wait(), finished_reading(), release_object(), send_response_len_and_wait(), test_connection_break(), test_large_content(), test_persistent_connection(), and test_redirect().
|
static |
Definition at line 7705 of file http.c.
Referenced by test_InternetCloseHandle().
|
static |
Definition at line 7906 of file http.c.
Referenced by test_concurrent_header_access().
Definition at line 1766 of file http.c.
Referenced by START_TEST().
Definition at line 1353 of file http.c.
Referenced by START_TEST().
Definition at line 220 of file http.c.
Referenced by START_TEST().
Definition at line 7868 of file http.c.
Referenced by START_TEST().
|
static |
Definition at line 1713 of file http.c.
Referenced by START_TEST().
Definition at line 1428 of file http.c.
Referenced by START_TEST().
Definition at line 1316 of file http.c.
Referenced by START_TEST().
Definition at line 962 of file http.c.
Referenced by START_TEST().
|
static |
Definition at line 585 of file http.c.
Referenced by START_TEST().
Definition at line 1085 of file http.c.
Referenced by START_TEST().
|
static |
Definition at line 174 of file http.c.
Referenced by test_cert_struct().
|
static |
Definition at line 5483 of file http.c.
Referenced by test_connection_break(), test_http_read(), test_large_content(), and test_persistent_connection().
|
static |
Definition at line 5459 of file http.c.
Referenced by open_read_test_request(), test_persistent_connection(), and test_redirect().
Definition at line 201 of file http.c.
Referenced by HttpSendRequestEx_test(), InternetReadFile_chunked_test(), and InternetReadFile_test().
|
static |
Definition at line 5664 of file http.c.
Referenced by test_http_read(), and test_large_content().
|
static |
Definition at line 5404 of file http.c.
Referenced by open_socket_request().
|
static |
Definition at line 6414 of file http.c.
Referenced by test_cert_struct(), and test_secure_connection().
Definition at line 238 of file http.c.
Referenced by InternetReadFile_test(), InternetReadFileExA_test(), open_socket_request(), test_async_read(), test_cache_read(), test_conn_close(), test_connection_closing(), test_no_content(), test_request_content_length(), test_security_flags(), and test_successive_HttpSendRequest().
|
static |
Definition at line 5627 of file http.c.
Referenced by test_http_read().
|
static |
Definition at line 5425 of file http.c.
Referenced by open_socket_request(), and test_persistent_connection().
Definition at line 5378 of file http.c.
Referenced by _send_response_and_wait(), open_read_test_request(), test_http_read(), test_persistent_connection(), and test_redirect().
Definition at line 2201 of file http.c.
Referenced by test_http_connection().
|
static |
START_TEST | ( | http | ) |
Definition at line 7995 of file http.c.
Definition at line 194 of file http.c.
Referenced by _test_status_code(), and test_proxy_direct().
Definition at line 4733 of file http.c.
Referenced by test_http_connection().
|
static |
Definition at line 7591 of file http.c.
Referenced by START_TEST().
Definition at line 5180 of file http.c.
Referenced by test_http_connection().
Definition at line 5119 of file http.c.
Referenced by test_http_connection().
Definition at line 4943 of file http.c.
Referenced by test_http_connection().
Definition at line 4857 of file http.c.
Referenced by test_http_connection().
Definition at line 5028 of file http.c.
Referenced by test_http_connection().
Definition at line 4775 of file http.c.
Referenced by test_http_connection().
Definition at line 4210 of file http.c.
Referenced by test_http_connection().
Definition at line 2636 of file http.c.
Referenced by test_http_connection().
Definition at line 7221 of file http.c.
Referenced by START_TEST().
Definition at line 4663 of file http.c.
Referenced by test_http_connection().
Definition at line 1477 of file http.c.
Referenced by test_http_cache().
Definition at line 3888 of file http.c.
Referenced by test_http_connection().
Definition at line 7964 of file http.c.
Referenced by START_TEST().
|
static |
Definition at line 6516 of file http.c.
Referenced by test_secure_connection(), and test_security_flags().
|
static |
Definition at line 6474 of file http.c.
Referenced by test_cert_struct().
Definition at line 7930 of file http.c.
Referenced by START_TEST().
Definition at line 3737 of file http.c.
Referenced by test_http_connection().
Definition at line 5940 of file http.c.
Referenced by test_http_connection().
Definition at line 3471 of file http.c.
Referenced by test_http_connection().
Definition at line 7769 of file http.c.
Referenced by START_TEST().
Definition at line 3170 of file http.c.
Referenced by test_http_connection().
Definition at line 4107 of file http.c.
Referenced by test_http_connection().
Definition at line 7786 of file http.c.
Referenced by START_TEST().
Definition at line 4329 of file http.c.
Referenced by test_http_connection().
Definition at line 3079 of file http.c.
Referenced by test_http_connection().
Definition at line 3224 of file http.c.
Referenced by test_http_connection().
Definition at line 1576 of file http.c.
Referenced by START_TEST().
Definition at line 6331 of file http.c.
Referenced by START_TEST().
Definition at line 5721 of file http.c.
Referenced by test_http_connection().
Definition at line 4636 of file http.c.
Referenced by test_http_connection().
Definition at line 4359 of file http.c.
Referenced by test_http_connection().
Definition at line 4077 of file http.c.
Referenced by test_http_connection().
Definition at line 7726 of file http.c.
Referenced by START_TEST().
Definition at line 4252 of file http.c.
Referenced by test_http_connection().
Definition at line 6249 of file http.c.
Referenced by test_http_connection().
Definition at line 5971 of file http.c.
Definition at line 3822 of file http.c.
Referenced by server_thread(), and test_http_connection().
Definition at line 3675 of file http.c.
Referenced by test_http_connection().
Definition at line 7289 of file http.c.
Referenced by START_TEST().
Definition at line 4458 of file http.c.
Referenced by test_http_connection().
Definition at line 6005 of file http.c.
Referenced by test_http_connection().
Definition at line 4235 of file http.c.
Referenced by test_http_connection().
Definition at line 2711 of file http.c.
Referenced by test_http_connection().
Definition at line 2663 of file http.c.
Referenced by test_http_connection().
Definition at line 6117 of file http.c.
Definition at line 6229 of file http.c.
Referenced by test_http_connection().
Definition at line 4710 of file http.c.
Referenced by test_http_connection().
Definition at line 4283 of file http.c.
Referenced by test_http_connection().
Definition at line 6988 of file http.c.
Referenced by START_TEST().
Definition at line 6620 of file http.c.
Referenced by START_TEST().
Definition at line 3591 of file http.c.
Referenced by test_http_connection().
Definition at line 7166 of file http.c.
Referenced by START_TEST().
|
static |
|
static |
|
static |
|
static |
Definition at line 6464 of file http.c.
Referenced by test_cert_struct_string().
|
static |
Definition at line 366 of file http.c.
Referenced by callback(), and close_async_handle().
|
static |
Definition at line 7703 of file http.c.
Referenced by closetest_callback(), and test_InternetCloseHandle().
|
static |
Definition at line 7702 of file http.c.
Referenced by closetest_callback(), and test_InternetCloseHandle().
|
static |
Definition at line 7702 of file http.c.
Referenced by closetest_callback(), and test_InternetCloseHandle().
|
static |
Definition at line 7702 of file http.c.
Referenced by closetest_callback(), and test_InternetCloseHandle().
|
static |
Definition at line 114 of file http.c.
Referenced by _send_response_and_wait(), callback(), close_async_handle(), free_events(), init_events(), InternetReadFile_test(), InternetReadFileExA_test(), open_read_test_request(), reset_events(), server_thread(), test_async_read(), test_conn_close(), test_connection_closing(), test_no_content(), test_persistent_connection(), test_redirect(), test_request_content_length(), test_security_flags(), and test_successive_HttpSendRequest().
|
static |
Definition at line 114 of file http.c.
Referenced by free_events(), init_events(), reset_events(), server_thread(), and test_conn_close().
|
static |
Definition at line 114 of file http.c.
Referenced by close_connection(), free_events(), init_events(), reset_events(), server_thread(), and test_async_read().
|
static |
Definition at line 2127 of file http.c.
Referenced by HttpProtocol_start_downloading(), server_thread(), test_head_request(), and test_large_content().
Definition at line 2100 of file http.c.
Referenced by server_thread().
Definition at line 2103 of file http.c.
Referenced by server_thread().
|
static |
Definition at line 110 of file http.c.
Referenced by init_status_tests(), and test_cert_struct_string().
Definition at line 44 of file http.c.
Referenced by InternetReadFile_test(), and InternetReadFileExA_test().
Definition at line 2097 of file http.c.
Referenced by server_thread().
|
static |
Definition at line 4605 of file http.c.
Referenced by test_http_status().
Definition at line 45 of file http.c.
Referenced by test_secure_connection(), and test_security_flags().
Definition at line 116 of file http.c.
Referenced by InternetReadFileExA_test(), START_TEST(), test_connection_break(), test_default_service_port(), test_http_read(), test_long_url(), test_open_url_async(), test_persistent_connection(), and test_redirect().
Definition at line 2128 of file http.c.
Referenced by server_thread().
Definition at line 2154 of file http.c.
Referenced by server_thread().
Definition at line 2161 of file http.c.
Referenced by server_thread().
|
static |
Definition at line 7386 of file http.c.
Referenced by check_notification(), and test_async_HttpSendRequestEx().
|
static |
|
static |
Definition at line 111 of file http.c.
Referenced by init_status_tests(), NotificationThread(), and test_http_read().
Definition at line 2149 of file http.c.
Referenced by server_thread().
Definition at line 2180 of file http.c.
Referenced by server_thread().
Definition at line 2186 of file http.c.
Referenced by server_thread().
Definition at line 2108 of file http.c.
Referenced by server_thread().
Definition at line 2118 of file http.c.
Referenced by server_thread().
Definition at line 2113 of file http.c.
Referenced by server_thread().
Definition at line 2141 of file http.c.
Referenced by server_thread().
Definition at line 2133 of file http.c.
Referenced by server_thread().
|
static |
Definition at line 110 of file http.c.
Referenced by init_status_tests().
Definition at line 2174 of file http.c.
Referenced by server_thread(), test_async_read(), test_basic_request(), and test_response_without_headers().
Definition at line 2167 of file http.c.
Referenced by server_thread().
|
static |
Definition at line 5402 of file http.c.
Referenced by _read_expect_sync_data_len(), _readex_expect_sync_data_len(), _send_response_and_wait(), open_read_test_request(), and readex_callback().
|
static |
Definition at line 115 of file http.c.
Referenced by _read_expect_sync_data_len(), _send_response_and_wait(), callback(), InternetReadFile_test(), InternetReadFileExA_test(), open_read_test_request(), test_async_read(), test_conn_close(), test_connection_closing(), test_no_content(), test_persistent_connection(), test_redirect(), test_security_flags(), and test_successive_HttpSendRequest().
|
static |
Definition at line 114 of file http.c.
Referenced by free_events(), init_events(), readex_callback(), reset_events(), and send_socket_request().
Definition at line 2198 of file http.c.
Referenced by send_http_request(), server_thread(), and test_http_status().
|
static |
Definition at line 114 of file http.c.
Referenced by free_events(), init_events(), reset_events(), send_socket_request(), and server_thread().
|
static |
Definition at line 2199 of file http.c.
Referenced by close_connection(), server_read_data(), server_send_string(), and server_thread().
|
static |
Definition at line 5401 of file http.c.
Referenced by _async_query_data_available(), _readex_expect_async(), _readex_expect_sync_data_len(), _send_response_and_wait(), open_read_test_request(), readex_callback(), send_socket_request(), test_http_read(), test_persistent_connection(), and test_redirect().
|
static |
Definition at line 112 of file http.c.
Referenced by init_status_tests().
|
static |
Definition at line 2197 of file http.c.
Referenced by server_thread(), and test_cache_read_gzipped().
|
static |
|
static |
Definition at line 6446 of file http.c.
Referenced by test_security_flags().
|
static |
Definition at line 6428 of file http.c.
Referenced by test_secure_connection().
|
static |
Definition at line 111 of file http.c.
Referenced by init_status_tests().