ReactOS 0.4.16-dev-197-g92996da
|
#include "initguid.h"
#include "windows.h"
#include "ole2.h"
#include "ocidl.h"
#include "mimeole.h"
#include "wininet.h"
#include <stdio.h>
#include "wine/test.h"
Go to the source code of this file.
Classes | |
struct | TestStream |
struct | mhtml_binding_test_t |
Macros | |
#define | COBJMACROS |
#define | NONAMELESSUNION |
#define | DEFINE_EXPECT(func) static BOOL expect_ ## func = FALSE, called_ ## func = FALSE |
#define | SET_EXPECT(func) expect_ ## func = TRUE |
#define | CHECK_EXPECT(func) |
#define | CHECK_EXPECT2(func) |
#define | CHECK_CALLED(func) |
#define | test_current_encoding(a, b) _test_current_encoding(__LINE__,a,b) |
#define | test_stream_read(a, b, c, d) _test_stream_read(__LINE__,a,b,c,d) |
Variables | |
static const char | msg1 [] |
static const char | mhtml_page1 [] |
static DWORD | expect_seek_pos |
static const IStreamVtbl | StreamVtbl |
static const mhtml_binding_test_t | binding_tests [] |
static const mhtml_binding_test_t * | current_binding_test |
static IInternetProtocol * | current_binding_protocol |
static IInternetBindInfoVtbl | InternetBindInfoVtbl |
static IInternetBindInfo | bind_info |
static const IServiceProviderVtbl | ServiceProviderVtbl |
static IServiceProvider | service_provider = { &ServiceProviderVtbl } |
static IInternetProtocolSinkVtbl | InternetProtocolSinkVtbl |
static IInternetProtocolSink | protocol_sink = { &InternetProtocolSinkVtbl } |
struct { | |
const char * base_url | |
const char * relative_url | |
const char * expected_result | |
BOOL todo | |
} | combine_tests [] |
static const IUnknownVtbl | outer_vtbl |
static BOOL | broken_mhtml_resolver |
|
static |
Definition at line 181 of file mimeole.c.
|
static |
Definition at line 118 of file mimeole.c.
Referenced by test_mhtml_protocol_info(), and test_MimeOleObjectFromMoniker().
|
static |
|
static |
Definition at line 1246 of file mimeole.c.
|
static |
Definition at line 1224 of file mimeole.c.
|
static |
Definition at line 161 of file mimeole.c.
Referenced by test_CreateBody(), test_CreateMessage(), test_mhtml_message(), and test_SetData().
Definition at line 459 of file mimeole.c.
Referenced by test_saxreader(), and test_SetData().
DEFINE_EXPECT | ( | GetBindInfo | ) |
DEFINE_EXPECT | ( | ReportData | ) |
DEFINE_EXPECT | ( | ReportProgress_CACHEFILENAMEAVAILABLE | ) |
DEFINE_EXPECT | ( | ReportProgress_MIMETYPEAVAILABLE | ) |
DEFINE_EXPECT | ( | ReportResult | ) |
DEFINE_EXPECT | ( | Stream_Read | ) |
DEFINE_EXPECT | ( | Stream_Seek | ) |
DEFINE_EXPECT | ( | Stream_Seek_END | ) |
DEFINE_EXPECT | ( | Stream_Stat | ) |
|
inlinestatic |
|
static |
|
static |
|
static |
|
static |
Definition at line 1366 of file mimeole.c.
|
static |
Definition at line 1348 of file mimeole.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
START_TEST | ( | mimeole | ) |
Definition at line 1663 of file mimeole.c.
Definition at line 132 of file mimeole.c.
Referenced by ProtocolSink_ReportProgress(), test_mhtml_protocol_info(), and test_MimeOleObjectFromMoniker().
|
static |
|
static |
Definition at line 316 of file mimeole.c.
Definition at line 345 of file mimeole.c.
Referenced by Stream_Read(), and test_SetData().
|
static |
Definition at line 367 of file mimeole.c.
Referenced by Stream_Seek(), and test_SetData().
|
static |
Definition at line 429 of file mimeole.c.
Referenced by Stream_Stat(), and test_SetData().
|
static |
Definition at line 591 of file mimeole.c.
Referenced by START_TEST().
Definition at line 1115 of file mimeole.c.
Referenced by START_TEST().
Definition at line 1136 of file mimeole.c.
Referenced by START_TEST().
Definition at line 191 of file mimeole.c.
Referenced by START_TEST().
Definition at line 601 of file mimeole.c.
Referenced by START_TEST().
Definition at line 150 of file mimeole.c.
Referenced by START_TEST().
Definition at line 139 of file mimeole.c.
Referenced by START_TEST().
Definition at line 956 of file mimeole.c.
Referenced by START_TEST().
Definition at line 1046 of file mimeole.c.
Referenced by START_TEST().
Definition at line 850 of file mimeole.c.
Referenced by START_TEST().
Definition at line 796 of file mimeole.c.
Referenced by START_TEST().
Definition at line 1577 of file mimeole.c.
Referenced by START_TEST().
|
static |
Definition at line 1413 of file mimeole.c.
Referenced by test_mhtml_protocol().
Definition at line 1506 of file mimeole.c.
Referenced by test_mhtml_protocol().
Definition at line 1188 of file mimeole.c.
Referenced by START_TEST().
Definition at line 1615 of file mimeole.c.
Referenced by START_TEST().
Definition at line 486 of file mimeole.c.
Referenced by START_TEST().
Definition at line 1466 of file mimeole.c.
Referenced by msi_load_media_info(), ready_media(), test_CreateURLMoniker(), and test_mhtml_protocol_info().
|
static |
Definition at line 1273 of file mimeole.c.
Referenced by _protocol_start(), bind_callback_GetBindInfo(), BSCInternetBindInfo_GetBindString(), create_internet_session(), file_protocol_start(), get_internet_session(), http_protocol_start(), HttpProtocol_open_request(), MimeProtocol_Start(), Protocol_Start(), protocol_start(), set_binding_sink(), test_binding(), test_bscholder(), test_CreateBinding(), test_file_protocol_fail(), test_ftp_protocol(), test_Hlink_Navigate(), test_its_protocol(), test_mhtml_protocol_binding(), test_mk_protocol(), and test_protocol_fail().
|
static |
Definition at line 1206 of file mimeole.c.
Referenced by test_mhtml_protocol().
|
static |
Definition at line 1575 of file mimeole.c.
Referenced by test_mhtml_protocol(), and test_MimeOleObjectFromMoniker().
const struct { ... } combine_tests[] |
Referenced by test_mhtml_protocol_info().
|
static |
Definition at line 1222 of file mimeole.c.
Referenced by ProtocolSink_ReportData(), and test_mhtml_protocol_binding().
|
static |
Definition at line 1221 of file mimeole.c.
Referenced by ProtocolSink_ReportData(), ProtocolSink_ReportProgress(), and test_mhtml_protocol_binding().
|
static |
Definition at line 365 of file mimeole.c.
Referenced by Stream_Seek(), and test_SetData().
Definition at line 1468 of file mimeole.c.
Referenced by _overlapped_read_sync(), _test_overlapped_result(), check_ID3DXRenderToSurface(), create_stub(), test_effect_isparameterused(), test_effect_preshader_ops(), test_isparameterused_param_with_children_(), and test_mhtml_protocol_info().
|
static |
|
static |
Definition at line 102 of file mimeole.c.
Referenced by test_mhtml_message().
Definition at line 74 of file mimeole.c.
Referenced by test_CreateBody(), test_CreateMessage(), and test_SetData().
|
static |
Definition at line 1569 of file mimeole.c.
Referenced by test_mhtml_protocol().
|
static |
Definition at line 1411 of file mimeole.c.
Referenced by _protocol_start(), file_protocol_start(), http_protocol_start(), MimeProtocol_Start(), protocol_start(), QueryInterface(), report_result(), test_binding(), test_CreateBinding(), test_file_protocol_fail(), test_ftp_protocol(), test_its_protocol(), test_mhtml_protocol_binding(), test_mk_protocol(), and test_protocol_fail().
Definition at line 1467 of file mimeole.c.
Referenced by test_mhtml_protocol_info().
|
static |
Definition at line 1313 of file mimeole.c.
Referenced by BindInfo_GetBindInfo(), BindProtocol_StartEx(), HttpProtocol_open_request(), Protocol_Continue(), Protocol_Start(), ProtocolSink_QueryInterface(), and set_binding_sink().
|
static |
|
static |
Definition at line 442 of file mimeole.c.
Referenced by create_test_stream().
BOOL todo |
Definition at line 1469 of file mimeole.c.
Referenced by test_mhtml_protocol_info().