ReactOS 0.4.16-dev-197-g92996da
|
#include "wine/test.h"
#include "oleauto.h"
#include <math.h>
#include <stdio.h>
#include "test_tlb.h"
#include "initguid.h"
Go to the source code of this file.
Classes | |
struct | tagINTERNAL_BSTR |
struct | DummyDispatch |
Typedefs | |
typedef struct tagINTERNAL_BSTR | INTERNAL_BSTR |
typedef struct tagINTERNAL_BSTR * | LPINTERNAL_BSTR |
Variables | |
static HMODULE | hOleaut32 |
static BOOL | has_i8 |
static BOOL | has_locales |
static const IDispatchVtbl | DummyDispatch_VTable |
static const char *const | BadDateStrings [] |
#define BADVAR | ( | typ | ) | CHANGETYPEEX(typ); EXPECT_BADVAR |
#define BSTR_DATE | ( | dt, | |
str | |||
) | _BSTR_DATE(dt,str,__LINE__) |
#define BSTR_DEC | ( | scale, | |
sign, | |||
hi, | |||
lo, | |||
str, | |||
lcid | |||
) | _BSTR_DEC(scale, sign, hi, 0, lo, str, lcid, __LINE__) |
#define BSTR_DEC64 | ( | scale, | |
sign, | |||
hi, | |||
mid, | |||
lo, | |||
str, | |||
lcid | |||
) | _BSTR_DEC(scale, sign, hi, mid, lo, str, lcid, __LINE__) |
#define CHANGETYPEEX | ( | typ | ) | hres = VariantChangeTypeEx(&vDst, &vSrc, 0, 0, typ) |
#define CONV_TYPE VARIANT_BOOL |
#define EXPECT_BADVAR _EXPECT_NO_OUT(DISP_E_BADVARTYPE) |
#define EXPECT_EQ _EXPECT_NO_OUT(VARCMP_EQ) |
#define EXPECT_GT _EXPECT_NO_OUT(VARCMP_GT) |
#define EXPECT_INVALID _EXPECT_NO_OUT(E_INVALIDARG) |
#define EXPECT_LT _EXPECT_NO_OUT(VARCMP_LT) |
#define EXPECT_MISMATCH _EXPECT_NO_OUT(DISP_E_TYPEMISMATCH) |
#define EXPECT_OVERFLOW _EXPECT_NO_OUT(DISP_E_OVERFLOW) |
#define EXPECTDECZERO | ( | ) |
#define MISMATCH | ( | typ | ) | CHANGETYPEEX(typ); EXPECT_MISMATCH |
typedef struct tagINTERNAL_BSTR INTERNAL_BSTR |
typedef struct tagINTERNAL_BSTR * LPINTERNAL_BSTR |
Definition at line 4675 of file vartype.c.
Definition at line 4638 of file vartype.c.
|
static |
Definition at line 4726 of file vartype.c.
Definition at line 5969 of file vartype.c.
Referenced by test_recinfo().
DEFINE_EXPECT | ( | dispatch_invoke | ) |
DEFINE_GUID | ( | UUID_test_struct | , |
0x4029f190 | , | ||
0xca4a | , | ||
0x4611 | , | ||
0xae | , | ||
0xb9 | , | ||
0x67 | , | ||
0x39 | , | ||
0x83 | , | ||
0xcb | , | ||
0x96 | , | ||
0xdd | |||
) |
Definition at line 296 of file vartype.c.
|
static |
Definition at line 343 of file vartype.c.
|
static |
Definition at line 308 of file vartype.c.
|
inlinestatic |
Definition at line 4895 of file vartype.c.
Referenced by DECLARE_INTERFACE_(), test_BstrCopy(), test_SysAllocString(), test_SysAllocStringByteLen(), test_SysAllocStringLen(), test_SysReAllocString(), and test_SysReAllocStringLen().
|
inlinestatic |
Definition at line 4900 of file vartype.c.
Referenced by test_SysStringByteLen(), and test_SysStringLen().
|
inlinestatic |
Definition at line 291 of file vartype.c.
Referenced by DummyDispatch_AddRef(), DummyDispatch_Invoke(), and DummyDispatch_Release().
|
static |
Definition at line 392 of file vartype.c.
Referenced by test_IDispatchChangeTypeEx(), test_IDispatchClear(), test_IDispatchCopy(), test_IUnknownChangeTypeEx(), test_IUnknownClear(), test_IUnknownCopy(), test_recinfo(), and test_VarUI1FromDisp().
START_TEST | ( | vartype | ) |
Definition at line 6115 of file vartype.c.
Definition at line 5900 of file vartype.c.
Referenced by START_TEST().
Definition at line 5198 of file vartype.c.
Referenced by START_TEST().
Definition at line 5869 of file vartype.c.
Referenced by START_TEST().
Definition at line 5825 of file vartype.c.
Referenced by START_TEST().
Definition at line 5657 of file vartype.c.
Referenced by START_TEST().
Definition at line 5616 of file vartype.c.
Referenced by START_TEST().
Definition at line 5565 of file vartype.c.
Referenced by START_TEST().
Definition at line 5490 of file vartype.c.
Referenced by START_TEST().
Definition at line 5518 of file vartype.c.
Referenced by START_TEST().
Definition at line 5410 of file vartype.c.
Referenced by START_TEST().
Definition at line 5333 of file vartype.c.
Referenced by START_TEST().
Definition at line 5361 of file vartype.c.
Referenced by START_TEST().
Definition at line 5729 of file vartype.c.
Referenced by START_TEST().
Definition at line 5978 of file vartype.c.
Referenced by START_TEST().
Definition at line 4927 of file vartype.c.
Referenced by START_TEST().
Definition at line 4985 of file vartype.c.
Referenced by START_TEST().
Definition at line 4950 of file vartype.c.
Referenced by START_TEST().
Definition at line 5076 of file vartype.c.
Referenced by START_TEST().
Definition at line 5114 of file vartype.c.
Referenced by START_TEST().
Definition at line 4916 of file vartype.c.
Referenced by START_TEST().
Definition at line 4905 of file vartype.c.
Referenced by START_TEST().
Definition at line 5805 of file vartype.c.
Referenced by START_TEST().
Definition at line 4501 of file vartype.c.
Referenced by START_TEST().
Definition at line 4359 of file vartype.c.
Referenced by START_TEST().
Definition at line 4409 of file vartype.c.
Referenced by START_TEST().
Definition at line 4389 of file vartype.c.
Referenced by START_TEST().
Definition at line 4275 of file vartype.c.
Referenced by START_TEST().
Definition at line 4291 of file vartype.c.
Referenced by START_TEST().
Definition at line 4307 of file vartype.c.
Referenced by START_TEST().
Definition at line 4372 of file vartype.c.
Referenced by START_TEST().
Definition at line 4327 of file vartype.c.
Referenced by START_TEST().
Definition at line 4347 of file vartype.c.
Referenced by START_TEST().
Definition at line 4418 of file vartype.c.
Referenced by START_TEST().
Definition at line 4283 of file vartype.c.
Referenced by START_TEST().
Definition at line 4299 of file vartype.c.
Referenced by START_TEST().
Definition at line 4381 of file vartype.c.
Referenced by START_TEST().
Definition at line 5224 of file vartype.c.
Referenced by START_TEST().
Definition at line 4814 of file vartype.c.
Referenced by START_TEST().
Definition at line 4701 of file vartype.c.
Referenced by START_TEST().
Definition at line 4657 of file vartype.c.
Referenced by START_TEST().
Definition at line 4752 of file vartype.c.
Referenced by START_TEST().
Definition at line 4543 of file vartype.c.
Referenced by START_TEST().
Definition at line 4577 of file vartype.c.
Referenced by START_TEST().
Definition at line 3491 of file vartype.c.
Referenced by START_TEST().
Definition at line 3451 of file vartype.c.
Referenced by START_TEST().
Definition at line 3544 of file vartype.c.
Referenced by START_TEST().
Definition at line 3566 of file vartype.c.
Referenced by START_TEST().
Definition at line 3622 of file vartype.c.
Referenced by START_TEST().
Definition at line 3345 of file vartype.c.
Referenced by START_TEST().
Definition at line 3407 of file vartype.c.
Referenced by START_TEST().
Definition at line 3381 of file vartype.c.
Referenced by START_TEST().
Definition at line 3210 of file vartype.c.
Referenced by START_TEST().
Definition at line 3232 of file vartype.c.
Referenced by START_TEST().
Definition at line 3305 of file vartype.c.
Referenced by START_TEST().
Definition at line 3221 of file vartype.c.
Referenced by START_TEST().
Definition at line 3243 of file vartype.c.
Referenced by START_TEST().
Definition at line 3647 of file vartype.c.
Referenced by START_TEST().
Definition at line 3465 of file vartype.c.
Referenced by START_TEST().
Definition at line 3514 of file vartype.c.
Referenced by START_TEST().
Definition at line 3529 of file vartype.c.
Referenced by START_TEST().
Definition at line 3501 of file vartype.c.
Referenced by START_TEST().
Definition at line 3590 of file vartype.c.
Referenced by START_TEST().
Definition at line 3477 of file vartype.c.
Referenced by START_TEST().
Definition at line 3151 of file vartype.c.
Referenced by START_TEST().
Definition at line 2876 of file vartype.c.
Referenced by START_TEST().
Definition at line 2929 of file vartype.c.
Referenced by START_TEST().
Definition at line 2795 of file vartype.c.
Referenced by START_TEST().
Definition at line 2827 of file vartype.c.
Referenced by START_TEST().
Definition at line 2985 of file vartype.c.
Referenced by START_TEST().
Definition at line 2844 of file vartype.c.
Referenced by START_TEST().
Definition at line 2919 of file vartype.c.
Referenced by START_TEST().
Definition at line 3881 of file vartype.c.
Referenced by START_TEST().
Definition at line 3910 of file vartype.c.
Referenced by START_TEST().
Definition at line 4099 of file vartype.c.
Referenced by START_TEST().
Definition at line 4204 of file vartype.c.
Referenced by START_TEST().
Definition at line 4050 of file vartype.c.
Referenced by START_TEST().
Definition at line 3787 of file vartype.c.
Referenced by START_TEST().
Definition at line 3829 of file vartype.c.
Referenced by START_TEST().
Definition at line 3699 of file vartype.c.
Referenced by START_TEST().
Definition at line 3710 of file vartype.c.
Referenced by START_TEST().
Definition at line 3721 of file vartype.c.
Referenced by START_TEST().
Definition at line 3732 of file vartype.c.
Referenced by START_TEST().
Definition at line 3842 of file vartype.c.
Referenced by START_TEST().
Definition at line 3743 of file vartype.c.
Referenced by START_TEST().
Definition at line 3754 of file vartype.c.
Referenced by START_TEST().
Definition at line 3765 of file vartype.c.
Referenced by START_TEST().
Definition at line 3776 of file vartype.c.
Referenced by START_TEST().
Definition at line 4000 of file vartype.c.
Referenced by START_TEST().
Definition at line 3895 of file vartype.c.
Referenced by START_TEST().
Definition at line 4234 of file vartype.c.
Referenced by START_TEST().
Definition at line 3990 of file vartype.c.
Referenced by START_TEST().
Definition at line 629 of file vartype.c.
Referenced by START_TEST().
Definition at line 475 of file vartype.c.
Referenced by START_TEST().
Definition at line 582 of file vartype.c.
Referenced by START_TEST().
Definition at line 600 of file vartype.c.
Referenced by START_TEST().
Definition at line 1159 of file vartype.c.
Referenced by START_TEST().
Definition at line 1002 of file vartype.c.
Referenced by START_TEST().
Definition at line 1087 of file vartype.c.
Referenced by START_TEST().
Definition at line 1064 of file vartype.c.
Referenced by START_TEST().
Definition at line 1010 of file vartype.c.
Referenced by START_TEST().
Definition at line 1037 of file vartype.c.
Referenced by START_TEST().
Definition at line 1129 of file vartype.c.
Referenced by START_TEST().
Definition at line 1623 of file vartype.c.
Referenced by START_TEST().
Definition at line 1474 of file vartype.c.
Referenced by START_TEST().
Definition at line 1572 of file vartype.c.
Referenced by START_TEST().
Definition at line 1482 of file vartype.c.
Referenced by START_TEST().
Definition at line 1593 of file vartype.c.
Referenced by START_TEST().
Definition at line 2100 of file vartype.c.
Referenced by START_TEST().
Definition at line 2069 of file vartype.c.
Referenced by START_TEST().
Definition at line 1990 of file vartype.c.
Referenced by START_TEST().
Definition at line 1877 of file vartype.c.
Referenced by START_TEST().
Definition at line 1899 of file vartype.c.
Referenced by START_TEST().
Definition at line 2047 of file vartype.c.
Referenced by START_TEST().
Definition at line 1888 of file vartype.c.
Referenced by START_TEST().
Definition at line 1910 of file vartype.c.
Referenced by START_TEST().
Definition at line 2547 of file vartype.c.
Referenced by START_TEST().
Definition at line 2447 of file vartype.c.
Referenced by START_TEST().
Definition at line 2492 of file vartype.c.
Referenced by START_TEST().
Definition at line 2435 of file vartype.c.
Referenced by START_TEST().
Definition at line 2520 of file vartype.c.
Referenced by START_TEST().
Definition at line 2424 of file vartype.c.
Referenced by START_TEST().
Definition at line 2742 of file vartype.c.
Referenced by START_TEST().
Definition at line 2632 of file vartype.c.
Referenced by START_TEST().
Definition at line 2685 of file vartype.c.
Referenced by START_TEST().
Definition at line 2662 of file vartype.c.
Referenced by START_TEST().
Definition at line 2620 of file vartype.c.
Referenced by START_TEST().
Definition at line 2712 of file vartype.c.
Referenced by START_TEST().
Definition at line 2674 of file vartype.c.
Referenced by START_TEST().
Definition at line 919 of file vartype.c.
Referenced by START_TEST().
Definition at line 711 of file vartype.c.
Referenced by START_TEST().
Definition at line 793 of file vartype.c.
Referenced by START_TEST().
Definition at line 772 of file vartype.c.
Referenced by START_TEST().
Definition at line 854 of file vartype.c.
Referenced by START_TEST().
Definition at line 722 of file vartype.c.
Referenced by START_TEST().
Definition at line 747 of file vartype.c.
Referenced by START_TEST().
Definition at line 830 of file vartype.c.
Referenced by START_TEST().
Definition at line 1388 of file vartype.c.
Referenced by START_TEST().
Definition at line 1241 of file vartype.c.
Referenced by START_TEST().
Definition at line 1321 of file vartype.c.
Referenced by START_TEST().
Definition at line 1300 of file vartype.c.
Referenced by START_TEST().
Definition at line 1342 of file vartype.c.
Referenced by START_TEST().
Definition at line 1250 of file vartype.c.
Referenced by START_TEST().
Definition at line 1275 of file vartype.c.
Referenced by START_TEST().
Definition at line 1359 of file vartype.c.
Referenced by START_TEST().
Definition at line 1845 of file vartype.c.
Referenced by START_TEST().
Definition at line 1706 of file vartype.c.
Referenced by START_TEST().
Definition at line 1714 of file vartype.c.
Referenced by START_TEST().
Definition at line 1816 of file vartype.c.
Referenced by START_TEST().
Definition at line 2354 of file vartype.c.
Referenced by START_TEST().
Definition at line 2323 of file vartype.c.
Referenced by START_TEST().
Definition at line 2239 of file vartype.c.
Referenced by START_TEST().
Definition at line 2220 of file vartype.c.
Referenced by START_TEST().
Definition at line 2278 of file vartype.c.
Referenced by START_TEST().
Definition at line 2122 of file vartype.c.
Referenced by START_TEST().
Definition at line 2148 of file vartype.c.
Referenced by START_TEST().
Definition at line 2298 of file vartype.c.
Referenced by START_TEST().
Definition at line 2137 of file vartype.c.
Referenced by START_TEST().
Definition at line 2163 of file vartype.c.
Referenced by START_TEST().
Definition at line 5951 of file vartype.c.
Referenced by create_test_typelib().
Definition at line 3144 of file vartype.c.
Referenced by test_VarBstrFromR4(), and test_VarDateChangeTypeEx().
Definition at line 2953 of file vartype.c.
Referenced by test_VarDateFromStr().
|
static |
Definition at line 381 of file vartype.c.
Referenced by init_test_dispatch().
|
static |
Definition at line 56 of file vartype.c.
Referenced by START_TEST(), test_EmptyChangeTypeEx(), test_ErrorChangeTypeEx(), test_IUnknownChangeTypeEx(), test_NullChangeTypeEx(), test_VarI8ChangeTypeEx(), test_VarI8Copy(), test_VarUI8ChangeTypeEx(), and test_VarUI8Copy().
|
static |
Definition at line 58 of file vartype.c.
Referenced by START_TEST(), test_VarBoolChangeTypeEx(), test_VarBoolFromStr(), and test_VarDateChangeTypeEx().
|
static |
Definition at line 53 of file vartype.c.
Referenced by START_TEST().