|
ReactOS 0.4.17-dev-470-gf9e3448
|
#include <stdarg.h>#include <stdio.h>#include "windef.h"#include "winbase.h"#include "initguid.h"#include "urlmon.h"#include "wininet.h"#include "mshtml.h"#include "shlwapi.h"#include "wine/test.h"
Go to the source code of this file.
Macros | |
| #define | COBJMACROS |
| #define | CONST_VTABLE |
| #define | DEFINE_EXPECT(func) static BOOL expect_ ## func = FALSE, called_ ## func = FALSE |
| #define | SET_EXPECT(func) do { called_ ## func = FALSE; expect_ ## func = TRUE; } while(0) |
| #define | CHECK_EXPECT2(func) |
| #define | CHECK_EXPECT(func) |
| #define | CHECK_CALLED(func) |
| #define | CHECK_NOT_CALLED(func) |
| #define | CHECK_CALLED_BROKEN(func) |
| #define | CLEAR_CALLED(func) expect_ ## func = called_ ## func = FALSE |
| #define | WINEHQ_IP "4.4.81.126" |
| #define | BINDTEST_EMULATE 0x0001 |
| #define | BINDTEST_TOOBJECT 0x0002 |
| #define | BINDTEST_FILEDWLAPI 0x0004 |
| #define | BINDTEST_HTTPRESPONSE 0x0008 |
| #define | BINDTEST_REDIRECT 0x0010 |
| #define | BINDTEST_USE_CACHE 0x0020 |
| #define | BINDTEST_NO_CALLBACK_READ 0x0040 |
| #define | BINDTEST_NO_CALLBACK 0x0080 |
| #define | BINDTEST_ABORT 0x0100 |
| #define | BINDTEST_INVALID_CN 0x0200 |
| #define | BINDTEST_ABORT_START 0x0400 |
| #define | BINDTEST_ABORT_PROGRESS 0x0800 |
| #define | BINDTEST_ASYNC_SWITCH 0x1000 |
| #define | BINDTEST_ALLOW_FINDINGRESOURCE 0x2000 |
Enumerations | |
| enum | { HTTP_TEST , ABOUT_TEST , FILE_TEST , ITS_TEST , MK_TEST , HTTPS_TEST , FTP_TEST , WINETEST_TEST , WINETEST_SYNC_TEST } |
| enum | { BEFORE_DOWNLOAD , DOWNLOADING , END_DOWNLOAD } |
| anonymous enum |
| Enumerator | |
|---|---|
| HTTP_TEST | |
| ABOUT_TEST | |
| FILE_TEST | |
| ITS_TEST | |
| MK_TEST | |
| HTTPS_TEST | |
| FTP_TEST | |
| WINETEST_TEST | |
| WINETEST_SYNC_TEST | |
Definition at line 196 of file url.c.
| anonymous enum |
| Enumerator | |
|---|---|
| BEFORE_DOWNLOAD | |
| DOWNLOADING | |
| END_DOWNLOAD | |
Definition at line 208 of file url.c.
Definition at line 3971 of file url.c.
Referenced by START_TEST().
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 3794 of file url.c.
Referenced by START_TEST().
| DEFINE_EXPECT | ( | Abort | ) |
| DEFINE_EXPECT | ( | BeginningTransaction | ) |
| DEFINE_EXPECT | ( | Continue | ) |
| DEFINE_EXPECT | ( | CreateInstance | ) |
| DEFINE_EXPECT | ( | GetBindInfo | ) |
| DEFINE_EXPECT | ( | GetBindInfoEx | ) |
| DEFINE_EXPECT | ( | GetRootSecurityId | ) |
| DEFINE_EXPECT | ( | GetWindow_ICodeInstall | ) |
| DEFINE_EXPECT | ( | GetWindow_IHttpSecurity | ) |
| DEFINE_EXPECT | ( | GetWindow_IWindowForBindingUI | ) |
| DEFINE_EXPECT | ( | Load | ) |
| DEFINE_EXPECT | ( | LockRequest | ) |
| DEFINE_EXPECT | ( | Obj_GetBindInfo | ) |
| DEFINE_EXPECT | ( | Obj_OnProgress_BEGINDOWNLOADDATA | ) |
| DEFINE_EXPECT | ( | Obj_OnProgress_BEGINSYNCOPERATION | ) |
| DEFINE_EXPECT | ( | Obj_OnProgress_CACHEFILENAMEAVAILABLE | ) |
| DEFINE_EXPECT | ( | Obj_OnProgress_CLASSIDAVAILABLE | ) |
| DEFINE_EXPECT | ( | Obj_OnProgress_CONNECTING | ) |
| DEFINE_EXPECT | ( | Obj_OnProgress_ENDDOWNLOADDATA | ) |
| DEFINE_EXPECT | ( | Obj_OnProgress_ENDSYNCOPERATION | ) |
| DEFINE_EXPECT | ( | Obj_OnProgress_FINDINGRESOURCE | ) |
| DEFINE_EXPECT | ( | Obj_OnProgress_MIMETYPEAVAILABLE | ) |
| DEFINE_EXPECT | ( | Obj_OnProgress_REDIRECTING | ) |
| DEFINE_EXPECT | ( | Obj_OnProgress_SENDINGREQUEST | ) |
| DEFINE_EXPECT | ( | Obj_OnStartBinding | ) |
| DEFINE_EXPECT | ( | Obj_OnStopBinding | ) |
| DEFINE_EXPECT | ( | OnDataAvailable | ) |
| DEFINE_EXPECT | ( | OnObjectAvailable | ) |
| DEFINE_EXPECT | ( | OnProgress_BEGINDOWNLOADDATA | ) |
| DEFINE_EXPECT | ( | OnProgress_CACHEFILENAMEAVAILABLE | ) |
| DEFINE_EXPECT | ( | OnProgress_CONNECTING | ) |
| DEFINE_EXPECT | ( | OnProgress_DOWNLOADINGDATA | ) |
| DEFINE_EXPECT | ( | OnProgress_ENDDOWNLOADDATA | ) |
| DEFINE_EXPECT | ( | OnProgress_FINDINGRESOURCE | ) |
| DEFINE_EXPECT | ( | OnProgress_MIMETYPEAVAILABLE | ) |
| DEFINE_EXPECT | ( | OnProgress_REDIRECTING | ) |
| DEFINE_EXPECT | ( | OnProgress_SENDINGREQUEST | ) |
| DEFINE_EXPECT | ( | OnResponse | ) |
| DEFINE_EXPECT | ( | OnSecurityProblem | ) |
| DEFINE_EXPECT | ( | OnStartBinding | ) |
| DEFINE_EXPECT | ( | OnStopBinding | ) |
| DEFINE_EXPECT | ( | PutProperty_CLASSIDPROP | ) |
| DEFINE_EXPECT | ( | PutProperty_MIMETYPEPROP | ) |
| DEFINE_EXPECT | ( | QueryInterface_IAuthenticate | ) |
| DEFINE_EXPECT | ( | QueryInterface_IBindStatusCallback | ) |
| DEFINE_EXPECT | ( | QueryInterface_IBindStatusCallbackEx | ) |
| DEFINE_EXPECT | ( | QueryInterface_IBindStatusCallbackHolder | ) |
| DEFINE_EXPECT | ( | QueryInterface_IHttpNegotiate | ) |
| DEFINE_EXPECT | ( | QueryInterface_IHttpNegotiate2 | ) |
| DEFINE_EXPECT | ( | QueryInterface_IHttpSecurity | ) |
| DEFINE_EXPECT | ( | QueryInterface_IInternetProtocol | ) |
| DEFINE_EXPECT | ( | QueryInterface_IServiceProvider | ) |
| DEFINE_EXPECT | ( | QueryInterface_IWindowForBindingUI | ) |
| DEFINE_EXPECT | ( | QueryService_IAuthenticate | ) |
| DEFINE_EXPECT | ( | QueryService_IHttpSecurity | ) |
| DEFINE_EXPECT | ( | QueryService_IInternetBindInfo | ) |
| DEFINE_EXPECT | ( | QueryService_IInternetProtocol | ) |
| DEFINE_EXPECT | ( | QueryService_IWindowForBindingUI | ) |
| DEFINE_EXPECT | ( | Read | ) |
| DEFINE_EXPECT | ( | SetPriority | ) |
| DEFINE_EXPECT | ( | Start | ) |
| DEFINE_EXPECT | ( | Terminate | ) |
| DEFINE_EXPECT | ( | UnlockRequest | ) |
| DEFINE_GUID | ( | CLSID_IdentityUnmarshal | , |
| 0x0000001b | , | ||
| 0x0000 | , | ||
| 0x0000 | , | ||
| 0xc0 | , | ||
| 0x00 | , | ||
| 0x00 | , | ||
| 0x00 | , | ||
| 0x00 | , | ||
| 0x00 | , | ||
| 0x00 | , | ||
| 0x46 | |||
| ) |
| DEFINE_GUID | ( | GUID_NULL | , |
| 0 | , | ||
| 0 | , | ||
| 0 | , | ||
| 0 | , | ||
| 0 | , | ||
| 0 | , | ||
| 0 | , | ||
| 0 | , | ||
| 0 | , | ||
| 0 | , | ||
| 0 | |||
| ) |
| DEFINE_GUID | ( | IID_IBindStatusCallbackHolder | , |
| 0x79eac9cc | , | ||
| 0xbaf9 | , | ||
| 0x11ce | , | ||
| 0x8c | , | ||
| 0x82 | , | ||
| 0x00 | , | ||
| 0xaa | , | ||
| 0x00 | , | ||
| 0x4b | , | ||
| 0xa9 | , | ||
| 0x0b | |||
| ) |
| static IUri ** DEFINE_OLEGUID | ( | CLSID_CompositeMoniker | , |
| 0x309 | , | ||
| 0 | , | ||
| 0 | |||
| ) |
|
static |
|
static |
Definition at line 1232 of file url.c.
|
static |
Definition at line 1269 of file url.c.
|
static |
Definition at line 1251 of file url.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 1334 of file url.c.
|
static |
Definition at line 1349 of file url.c.
|
static |
|
static |
Definition at line 2834 of file url.c.
Referenced by test_BindToObject(), test_BindToStorage(), test_ReportResult(), test_URLDownloadToFile(), and test_URLDownloadToFile_abort().
Definition at line 233 of file url.c.
Referenced by Protocol_QueryInterface(), Protocol_Start(), statusclb_OnProgress(), test_BindToObject(), test_BindToStorage(), test_ReportResult(), and test_URLDownloadToFile().
|
static |
|
static |
Definition at line 2137 of file url.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 2201 of file url.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 914 of file url.c.
|
static |
|
static |
|
static |
Definition at line 1089 of file url.c.
|
static |
|
static |
|
static |
|
static |
Definition at line 569 of file url.c.
|
static |
|
static |
Definition at line 1061 of file url.c.
|
static |
|
static |
|
static |
Definition at line 214 of file url.c.
Referenced by test_BindToStorage().
Definition at line 3952 of file url.c.
Referenced by START_TEST().
|
static |
|
static |
|
static |
Definition at line 1392 of file url.c.
|
static |
| START_TEST | ( | url | ) |
Definition at line 3998 of file url.c.
|
static |
|
static |
Definition at line 1909 of file url.c.
|
static |
|
static |
|
static |
Definition at line 1953 of file url.c.
|
static |
|
static |
|
static |
Definition at line 1623 of file url.c.
|
static |
Definition at line 1553 of file url.c.
|
static |
Definition at line 1816 of file url.c.
|
static |
Definition at line 1487 of file url.c.
|
static |
Definition at line 3343 of file url.c.
Definition at line 3007 of file url.c.
Referenced by START_TEST().
Definition at line 3865 of file url.c.
Referenced by START_TEST().
|
static |
Definition at line 2570 of file url.c.
Referenced by test_RegisterBindStatusCallback().
Definition at line 274 of file url.c.
Referenced by START_TEST().
Definition at line 2399 of file url.c.
Referenced by START_TEST().
Definition at line 2439 of file url.c.
Referenced by START_TEST().
|
static |
Definition at line 2524 of file url.c.
Referenced by test_bscholder().
Definition at line 2899 of file url.c.
Referenced by START_TEST().
Definition at line 2718 of file url.c.
Referenced by START_TEST().
Definition at line 3818 of file url.c.
Referenced by test_BindToStorage_fail().
Definition at line 3894 of file url.c.
Referenced by START_TEST().
Definition at line 1928 of file url.c.
Referenced by statusclb_OnDataAvailable().
Definition at line 397 of file url.c.
Referenced by thread_proc().
Definition at line 3546 of file url.c.
Referenced by START_TEST().
Definition at line 3649 of file url.c.
Referenced by START_TEST().
|
static |
Definition at line 1441 of file url.c.
Referenced by statusclb_OnProgress().
Definition at line 419 of file url.c.
Referenced by Protocol_Start().
|
static |
Definition at line 180 of file url.c.
Referenced by START_TEST(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), test_BindToStorage(), and test_URLDownloadToFile_abort().
Definition at line 188 of file url.c.
Referenced by init_bind_test(), statusclb_OnProgress(), statusclb_OnStopBinding(), and test_BindToStorage().
Definition at line 187 of file url.c.
Referenced by init_bind_test(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), and test_BindToStorage().
Definition at line 154 of file url.c.
Referenced by test_BindToStorage_fail(), and test_ReportResult().
Definition at line 189 of file url.c.
Referenced by init_bind_test(), Protocol_Read(), Protocol_Start(), and test_BindToStorage().
Definition at line 171 of file url.c.
Referenced by init_bind_test(), navigate_bsc(), Protocol_Continue(), Protocol_Start(), statusclb_OnDataAvailable(), statusclb_OnProgress(), thread_proc(), and URLMoniker_BindToObject().
|
static |
Definition at line 172 of file url.c.
Referenced by Protocol_Start(), START_TEST(), statusclb_GetBindInfo(), statusclb_OnDataAvailable(), test_BindToObject(), test_BindToStorage(), and test_GetBindInfoEx().
|
static |
Definition at line 178 of file url.c.
Referenced by HttpSecurity_OnSecurityProblem(), init_bind_test(), Protocol_Start(), statusclb_OnProgress(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), test_BindToObject(), test_BindToStorage(), and test_ReportResult().
|
static |
|
static |
Definition at line 191 of file url.c.
Referenced by init_bind_test(), and statusclb_OnProgress().
|
static |
|
static |
Definition at line 2117 of file url.c.
Referenced by test_RegisterBindStatusCallback().
Definition at line 158 of file url.c.
Referenced by Moniker_BindToStorage(), and test_RegisterBindStatusCallback().
Definition at line 183 of file url.c.
Referenced by create_cache_file(), Protocol_Continue(), and statusclb_OnDataAvailable().
Definition at line 164 of file url.c.
Referenced by Protocol_Continue(), and statusclb_OnDataAvailable().
|
static |
Definition at line 182 of file url.c.
Referenced by init_bind_test(), statusclb_OnDataAvailable(), and test_BindToStorage().
|
static |
|
extern |
|
static |
Definition at line 177 of file url.c.
Referenced by init_bind_test(), Protocol_LockRequest(), Protocol_Read(), Protocol_Terminate(), START_TEST(), statusclb_OnDataAvailable(), statusclb_OnProgress(), statusclb_OnStopBinding(), test_RegisterWaitForSingleObject(), testWaitForConsoleInput(), and thread_proc().
|
static |
Definition at line 177 of file url.c.
Referenced by Protocol_Start(), START_TEST(), statusclb_OnStopBinding(), test_BindToStorage(), and thread_proc().
|
static |
Definition at line 176 of file url.c.
Referenced by statusclb_OnProgress(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), and test_switch_fail().
|
static |
Definition at line 194 of file url.c.
Referenced by HttpNegotiate_BeginningTransaction(), init_bind_test(), Protocol_Continue(), Protocol_Start(), statusclb_OnProgress(), test_BindToObject(), test_BindToStorage(), test_bscholder(), test_URLDownloadToFile(), and test_URLDownloadToFile_abort().
Definition at line 171 of file url.c.
Referenced by init_bind_test(), statusclb_OnDataAvailable(), and test_BindToStorage().
| enum { ... } download_state |
Referenced by init_bind_test(), statusclb_OnDataAvailable(), statusclb_OnProgress(), and test_WinInetHttpInfo().
Definition at line 165 of file url.c.
Referenced by test_URLDownloadToFile(), and test_URLDownloadToFile_abort().
Definition at line 166 of file url.c.
Referenced by test_URLDownloadToFile(), and test_URLDownloadToFile_abort().
Definition at line 168 of file url.c.
Referenced by Protocol_Start(), test_bscholder(), and test_CreateURLMoniker().
Definition at line 170 of file url.c.
Referenced by init_bind_test(), statusclb_OnDataAvailable(), statusclb_OnProgress(), statusclb_OnStopBinding(), statusclb_QueryInterface(), test_BindToObject(), test_BindToStorage(), and test_URLDownloadToFile().
|
static |
Definition at line 194 of file url.c.
Referenced by init_bind_test(), Protocol_Start(), set_file_url(), statusclb_OnDataAvailable(), and statusclb_OnProgress().
|
static |
Definition at line 171 of file url.c.
Referenced by init_bind_test(), Protocol_Start(), statusclb_OnProgress(), and statusclb_OnStopBinding().
|
static |
Definition at line 181 of file url.c.
Referenced by test_BindToObject(), test_BindToStorage(), test_bscholder(), and test_URLDownloadToFile().
Definition at line 184 of file url.c.
Referenced by statusclb_OnDataAvailable(), and statusclb_OnStopBinding().
Definition at line 171 of file url.c.
Referenced by START_TEST(), test_BindToObject(), and test_BindToStorage().
|
static |
Definition at line 1305 of file url.c.
Referenced by statusclb_QueryInterface().
|
static |
|
static |
Definition at line 1374 of file url.c.
Referenced by ServiceProvider_QueryService().
|
static |
|
static |
Definition at line 363 of file url.c.
Referenced by Protocol_QueryInterface().
|
static |
Definition at line 186 of file url.c.
Referenced by START_TEST(), and test_BindToStorage().
|
static |
Definition at line 181 of file url.c.
Referenced by init_bind_test(), and statusclb_OnDataAvailable().
|
static |
Definition at line 2360 of file url.c.
Referenced by test_BindToObject().
|
static |
Definition at line 174 of file url.c.
Referenced by init_bind_test(), statusclb_OnDataAvailable(), and statusclb_OnProgress().
|
static |
Definition at line 2161 of file url.c.
Referenced by PersistMoniker_QueryInterface().
|
static |
|
static |
Definition at line 182 of file url.c.
Referenced by init_bind_test(), Protocol_Continue(), Protocol_LockRequest(), Protocol_Read(), Protocol_Start(), Protocol_Terminate(), test_BindToStorage(), and thread_proc().
|
static |
Definition at line 172 of file url.c.
Referenced by fill_blockbuf(), FTPGetOneF(), FTPList(), FTPListToMemory2(), FTPPutOneF(), OLEPictureImpl_Load(), PRead(), Protocol_Read(), Protocol_Start(), read_mem(), read_mem64(), ServeOneClient(), SRead(), SRecv(), SRecvfrom(), test_transformNodeToObject(), and UNUSED().
|
static |
Definition at line 1439 of file url.c.
Referenced by statusclb_GetBindInfo(), statusclb_OnDataAvailable(), statusclb_OnObjectAvailable(), statusclb_OnProgress(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), and test_BindToObject().
Definition at line 185 of file url.c.
Referenced by Protocol_Start(), START_TEST(), statusclb_OnStopBinding(), and test_BindToStorage().
|
static |
Definition at line 179 of file url.c.
Referenced by HttpNegotiate_BeginningTransaction(), HttpSecurity_OnSecurityProblem(), START_TEST(), statusclb_OnProgress(), and test_BindToStorage().
|
static |
Definition at line 2307 of file url.c.
Referenced by ClassFactory_CreateInstance(), and test_BindToObject().
|
static |
|
static |
Definition at line 171 of file url.c.
Referenced by init_bind_test(), and test_BindToObject().
|
static |
Definition at line 172 of file url.c.
Referenced by init_bind_test(), Protocol_Continue(), Protocol_Read(), Protocol_Start(), statusclb_OnDataAvailable(), and thread_proc().
|
static |
Definition at line 1207 of file url.c.
Referenced by ProtocolCF_CreateInstance(), and statusclb_QueryInterface().
|
static |
Definition at line 2397 of file url.c.
Referenced by register_protocols().
|
static |
Definition at line 175 of file url.c.
Referenced by Protocol_Abort(), Protocol_Continue(), Protocol_Read(), Protocol_Start(), Protocol_Terminate(), and thread_proc().
|
static |
|
static |
Definition at line 173 of file url.c.
Referenced by Protocol_Continue(), and Protocol_Start().
|
static |
Definition at line 172 of file url.c.
Referenced by HttpSecurity_OnSecurityProblem(), and test_BindToStorage().
|
static |
Definition at line 1437 of file url.c.
Referenced by statusclb_QueryInterface().
|
static |
Definition at line 170 of file url.c.
Referenced by init_bind_test(), statusclb_OnStopBinding(), test_BindToObject(), and test_BindToStorage().
Definition at line 170 of file url.c.
Referenced by init_bind_test(), statusclb_OnStopBinding(), and test_BindToObject().
|
static |
Definition at line 190 of file url.c.
Referenced by statusclb_QueryInterface(), and test_RegisterBindStatusCallback().
|
static |
Definition at line 182 of file url.c.
Referenced by init_bind_test(), Protocol_Continue(), statusclb_OnProgress(), and thread_proc().
Definition at line 192 of file url.c.
Referenced by create_file(), and START_TEST().
| enum { ... } test_protocol |
Referenced by init_bind_test(), PersistMoniker_Load(), Protocol_Continue(), Protocol_QueryInterface(), Protocol_Read(), Protocol_Start(), statusclb_OnDataAvailable(), statusclb_OnProgress(), statusclb_OnStopBinding(), test_BindToObject(), test_BindToStorage(), test_ReportResult(), test_URLDownloadToFile(), and test_WinInetHttpInfo().
|
static |
Definition at line 182 of file url.c.
Referenced by init_bind_test(), PersistMoniker_Load(), Protocol_Continue(), and thread_proc().
Definition at line 167 of file url.c.
Referenced by create_cache_file(), and START_TEST().
|
static |
Definition at line 172 of file url.c.
Referenced by HttpNegotiate_BeginningTransaction(), HttpNegotiate_GetRootSecurityId(), HttpNegotiate_OnResponse(), PersistMoniker_Load(), Protocol_Continue(), START_TEST(), statusclb_GetBindInfo(), statusclb_OnDataAvailable(), statusclb_OnProgress(), statusclb_OnStartBinding(), statusclb_OnStopBinding(), and statusclb_QueryInterface().
|
static |
Definition at line 172 of file url.c.
Referenced by init_bind_test(), init_fmtetc(), IsFormatAdvertised_(), Protocol_Start(), statusclb_OnDataAvailable(), test_BindToStorage(), test_http_protocol_url(), test_pack_RemFORMATETC(), and anonymous_namespace{mstscax.cpp}::CoClass::TymedToString().
|
static |
Definition at line 181 of file url.c.
Referenced by statusclb_QueryInterface(), and test_GetBindInfoEx().
|
static |
Definition at line 182 of file url.c.
Referenced by init_bind_test(), Protocol_Continue(), statusclb_OnDataAvailable(), and test_BindToStorage().
Definition at line 151 of file url.c.
Referenced by init_bind_test(), statusclb_OnProgress(), test_create(), and thread_proc().
Definition at line 163 of file url.c.
Referenced by create_html_file().
Definition at line 156 of file url.c.
Referenced by AboutProtocol_Start(), continue_binding(), MonikerProp_PutProperty(), Protocol_Continue(), and Protocol_Start().
Definition at line 162 of file url.c.
Referenced by thread_proc().
Definition at line 161 of file url.c.
Referenced by thread_proc().