ReactOS 0.4.16-dev-1007-g2e85425
|
#include <stdarg.h>
#include "windef.h"
#include "winbase.h"
#include "wingdi.h"
#include "objbase.h"
#include "shlguid.h"
#include "wine/test.h"
Go to the source code of this file.
Classes | |
struct | expected_method |
struct | PresentationDataHeader |
struct | stream_def |
struct | storage_def |
Macros | |
#define | COBJMACROS |
#define | CONST_VTABLE |
#define | WIN32_LEAN_AND_MEAN |
#define | ok_ole_success(hr, func) ok(hr == S_OK, func " failed with error 0x%08x\n", hr) |
#define | DEFINE_EXPECT(func) static BOOL expect_ ## func = FALSE, called_ ## func = FALSE |
#define | SET_EXPECT(func) expect_ ## func = TRUE |
#define | CHECK_EXPECT2(func) |
#define | CHECK_EXPECT(func) |
#define | CHECK_CALLED(func) |
#define | TEST_OPTIONAL 0x1 |
#define | TEST_TODO 0x2 |
#define | CHECK_EXPECTED_METHOD(method_name) check_expected_method_fmt(method_name, NULL) |
#define | CHECK_EXPECTED_METHOD_FMT(method_name, fmt) check_expected_method_fmt(method_name, fmt) |
#define | CHECK_NO_EXTRA_METHODS() |
#define | MAX_STREAM 16 |
#define | MAX_FMTS 5 |
Typedefs | |
typedef struct PresentationDataHeader | PresentationDataHeader |
#define CHECK_EXPECTED_METHOD | ( | method_name | ) | check_expected_method_fmt(method_name, NULL) |
#define CHECK_EXPECTED_METHOD_FMT | ( | method_name, | |
fmt | |||
) | check_expected_method_fmt(method_name, fmt) |
#define CHECK_NO_EXTRA_METHODS | ( | ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 2213 of file ole2.c.
Referenced by test_data_cache_cache().
Definition at line 2222 of file ole2.c.
Referenced by test_data_cache_cache().
|
static |
Definition at line 1659 of file ole2.c.
Referenced by test_data_cache_cache(), test_data_cache_dib_contents_stream(), test_data_cache_init(), test_data_cache_initnew(), and test_data_cache_updatecache().
|
inlinestatic |
Definition at line 154 of file ole2.c.
|
static |
Definition at line 3994 of file ole2.c.
Referenced by test_data_cache_contents(), test_data_cache_save_data(), and test_OleCreateStaticFromData().
|
static |
|
static |
Definition at line 211 of file ole2.c.
Referenced by DataObject_GetData(), get_stgmedium(), test_data_cache_cache(), and wined3d_texture_update_desc().
|
static |
Definition at line 230 of file ole2.c.
|
static |
Definition at line 240 of file ole2.c.
Referenced by get_stgmedium().
Definition at line 2099 of file ole2.c.
|
static |
Definition at line 4179 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 258 of file ole2.c.
|
static |
|
static |
Definition at line 1570 of file ole2.c.
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1487 of file ole2.c.
|
static |
|
static |
|
static |
Definition at line 1449 of file ole2.c.
|
static |
|
static |
DEFINE_EXPECT | ( | Storage_CreateStream_CompObj | ) |
DEFINE_EXPECT | ( | Storage_CreateStream_OlePres | ) |
DEFINE_EXPECT | ( | Storage_DestroyElement | ) |
DEFINE_EXPECT | ( | Storage_OpenStream_CompObj | ) |
DEFINE_EXPECT | ( | Storage_OpenStream_Ole | ) |
DEFINE_EXPECT | ( | Storage_OpenStream_OlePres | ) |
DEFINE_EXPECT | ( | Storage_SetClass | ) |
DEFINE_EXPECT | ( | Storage_Stat | ) |
|
static |
Definition at line 1367 of file ole2.c.
Referenced by test_data_cache().
|
static |
Definition at line 1373 of file ole2.c.
Referenced by test_data_cache().
Definition at line 1479 of file ole2.c.
Referenced by DataObject_GetData(), and DataObject_QueryGetData().
|
static |
Definition at line 4255 of file ole2.c.
Referenced by test_data_cache_save_data(), and test_OleCreateStaticFromData().
|
static |
Definition at line 4324 of file ole2.c.
Referenced by test_data_cache_save_data(), and test_OleCreateStaticFromData().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 515 of file ole2.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 273 of file ole2.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 3971 of file ole2.c.
Referenced by check_storage_contents().
START_TEST | ( | ole2 | ) |
Definition at line 4786 of file ole2.c.
Definition at line 4102 of file ole2.c.
Referenced by test_data_cache_save_data().
|
static |
Definition at line 3330 of file ole2.c.
Definition at line 3470 of file ole2.c.
Referenced by Storage_DestroyElement(), and test_data_cache_save().
|
static |
Definition at line 3374 of file ole2.c.
Definition at line 3500 of file ole2.c.
Referenced by Storage_SetClass(), and test_OleDoAutoConvert().
|
static |
Definition at line 3514 of file ole2.c.
Referenced by Storage_Stat(), and test_OleDoAutoConvert().
Definition at line 1692 of file ole2.c.
Referenced by START_TEST().
Definition at line 2232 of file ole2.c.
Referenced by START_TEST().
Definition at line 4540 of file ole2.c.
Referenced by START_TEST().
Definition at line 2123 of file ole2.c.
Referenced by START_TEST().
Definition at line 2485 of file ole2.c.
Referenced by START_TEST().
Definition at line 2530 of file ole2.c.
Referenced by START_TEST().
Definition at line 3740 of file ole2.c.
Referenced by START_TEST().
Definition at line 4343 of file ole2.c.
Referenced by START_TEST().
Definition at line 2644 of file ole2.c.
Referenced by START_TEST().
Definition at line 2945 of file ole2.c.
Referenced by START_TEST().
Definition at line 974 of file ole2.c.
Referenced by START_TEST().
Definition at line 4617 of file ole2.c.
Referenced by START_TEST().
Definition at line 3550 of file ole2.c.
Referenced by START_TEST().
Definition at line 3290 of file ole2.c.
Referenced by START_TEST().
Definition at line 1206 of file ole2.c.
Referenced by START_TEST().
Definition at line 3282 of file ole2.c.
Referenced by START_TEST().
Definition at line 3270 of file ole2.c.
Referenced by START_TEST().
Definition at line 3151 of file ole2.c.
Referenced by START_TEST().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 1447 of file ole2.c.
Referenced by test_data_cache(), and test_default_handler().
|
static |
Definition at line 3720 of file ole2.c.
Referenced by test_data_cache_save().
Definition at line 75 of file ole2.c.
Referenced by OleObject_QueryInterface(), test_data_cache_cache(), test_data_cache_contents(), test_data_cache_dib_contents_stream(), test_data_cache_init(), test_data_cache_initnew(), test_data_cache_save(), test_data_cache_save_data(), and test_data_cache_updatecache().
|
static |
Definition at line 120 of file ole2.c.
Referenced by START_TEST(), and test_data_cache().
|
static |
Definition at line 120 of file ole2.c.
Referenced by DataObject_DAdvise(), START_TEST(), and test_data_cache().
|
static |
Definition at line 120 of file ole2.c.
Referenced by START_TEST(), and test_data_cache().
|
static |
Definition at line 894 of file ole2.c.
Referenced by START_TEST(), and test_OleCreate().
Definition at line 86 of file ole2.c.
Referenced by START_TEST(), test_data_cache_save(), test_data_cache_save_data(), test_default_handler(), test_OleDoAutoConvert(), and test_OleLoad().
Definition at line 78 of file ole2.c.
Referenced by Storage_Stat(), test_data_cache_init(), test_data_cache_initnew(), test_data_cache_save_data(), test_data_cache_updatecache(), and test_OleDoAutoConvert().
|
static |
Definition at line 3307 of file ole2.c.
Referenced by Storage_CreateStream(), Storage_OpenStream(), and test_OleDoAutoConvert().
Definition at line 3306 of file ole2.c.
Referenced by Storage_CreateStream(), and Storage_OpenStream().
Definition at line 2084 of file ole2.c.
Referenced by create_storage().
|
static |
Definition at line 3310 of file ole2.c.
Referenced by Storage_CreateStream(), and test_data_cache_save().
|
static |
Definition at line 1626 of file ole2.c.
Referenced by test_data_cache(), test_data_cache_updatecache(), and test_OleCreateStaticFromData().
|
static |
Definition at line 201 of file ole2.c.
Referenced by create_dib(), create_render_dc(), D3DXGetImageInfoFromFileInMemory(), delete_render_dc(), DFB_BltToDIB(), DIB_BltToDFB(), GdipCreateFromHDC2(), get_bitmap_info(), get_stgdef(), ImageList_LoadImageW(), load_dib(), prepare_alpha(), prepare_png_alpha(), synthesize_bitmap(), test_bitmap_formats(), test_boundsrect(), test_CopyImage_Bitmap(), test_D3DKMTCreateDCFromMemory(), test_data_cache_dib_contents_stream(), test_device_caps(), test_DrawDib_sizeimage(), test_GetDIBits_scanlines(), test_GetDIBits_selected_DIB(), test_palette_brush(), test_path_state(), test_pattern_brush(), test_SetDIBits(), test_SetDIBits_RLE4(), test_SetDIBits_RLE8(), test_SetDIBitsToDevice(), test_SetDIBitsToDevice_RLE8(), test_simple_graphics(), and UXTHEME_GetImageBackBackgroundRegion().
Definition at line 4242 of file ole2.c.
Referenced by get_stgdef().
|
static |
Definition at line 112 of file ole2.c.
Referenced by check_expected_method_fmt(), test_data_cache(), test_data_cache_updatecache(), test_default_handler(), test_OleCreate(), test_OleCreateStaticFromData(), test_OleLoad(), and test_runnable().
|
static |
Definition at line 2087 of file ole2.c.
Referenced by create_storage(), and test_data_cache_dib_contents_stream().
|
static |
Definition at line 122 of file ole2.c.
Referenced by DataObject_GetData(), DataObject_QueryGetData(), test_data_cache_updatecache(), and test_OleCreateStaticFromData().
|
static |
Definition at line 113 of file ole2.c.
Referenced by OleObjectCache_Cache(), and test_OleCreate().
Definition at line 117 of file ole2.c.
Referenced by OleObject_GetMiscStatus(), test_OleCreate(), and test_OleLoad().
Definition at line 116 of file ole2.c.
Referenced by OleObjectRunnable_IsRunning(), and test_runnable().
|
static |
Definition at line 118 of file ole2.c.
Referenced by OleObject_QueryInterface(), and test_default_handler().
Definition at line 115 of file ole2.c.
Referenced by OleObject_QueryInterface(), and test_runnable().
Definition at line 94 of file ole2.c.
Referenced by OleObject_QueryInterface(), test_default_handler(), and test_OleDoAutoConvert().
Definition at line 3733 of file ole2.c.
Referenced by test_data_cache_save().
Definition at line 4248 of file ole2.c.
Referenced by get_stgdef().
|
static |
Definition at line 3308 of file ole2.c.
Referenced by Storage_OpenStream(), test_data_cache_save(), and test_OleDoAutoConvert().
|
static |
Definition at line 576 of file ole2.c.
Referenced by OleObjectCache_QueryInterface(), OleObjectCF_CreateInstance(), OleObjectPersistStg_QueryInterface(), OleObjectRunnable_QueryInterface(), and test_runnable().
|
static |
Definition at line 779 of file ole2.c.
Referenced by test_OleCreate().
|
static |
|
static |
Definition at line 822 of file ole2.c.
Referenced by START_TEST(), and test_default_handler().
|
static |
|
static |
Definition at line 74 of file ole2.c.
Referenced by OleObject_QueryInterface().
|
static |
|
static |
Definition at line 892 of file ole2.c.
Referenced by test_OleCreate().
|
static |
|
static |
Definition at line 3305 of file ole2.c.
Referenced by Storage_CreateStream(), Storage_DestroyElement(), Storage_OpenStream(), and test_data_cache_save().
|
static |
Definition at line 3309 of file ole2.c.
Referenced by Storage_CreateStream(), Storage_OpenStream(), and test_data_cache_save().
|
static |
|
static |
Definition at line 76 of file ole2.c.
Referenced by add_script_runner(), OleLockRunning(), OleObject_QueryInterface(), OleSetContainedObject(), and test_OleCreate().
|
static |
Definition at line 3854 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3859 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3863 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3869 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3874 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3880 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3885 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3894 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3901 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3910 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3915 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3924 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3929 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3938 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3943 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3948 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3952 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3957 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3961 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3966 of file ole2.c.
Referenced by test_data_cache_contents().
|
static |
Definition at line 3548 of file ole2.c.
Referenced by CmiAddValueKey(), CmiCreateSubKey(), CmpRemoveSubKey(), CmSetValueKey(), ConCfgWriteUserSettings(), HvAllocateCell(), HvpAddBin(), HvpAddFree(), HvpCreateHiveFreeCellList(), HvpFindFree(), HvpFreeHiveBins(), HvpGetCellHeader(), HvpRemoveFree(), HvpWriteHive(), HvpWriteLog(), HvReallocateCell(), test_data_cache_save(), and test_OleDoAutoConvert().
|
static |
Definition at line 72 of file ole2.c.
Referenced by Storage_DestroyElement(), and test_data_cache_save().
Definition at line 71 of file ole2.c.
Referenced by START_TEST(), Storage_SetClass(), and test_data_cache_save().
|
static |
|
static |
Definition at line 3268 of file ole2.c.
Referenced by test_OleRun().
|
static |
Definition at line 1657 of file ole2.c.
Referenced by test_data_cache(), test_OleLockRunning(), and test_OleRun().
|
static |
|
static |
Definition at line 972 of file ole2.c.
Referenced by OleDraw(), and test_OleDraw().