ReactOS 0.4.16-dev-1019-g2c2cdfd
|
#include <stdarg.h>
#include <stdio.h>
#include <math.h>
#include <float.h>
#include "windef.h"
#include "winbase.h"
#include "winsock2.h"
#include "wine/test.h"
#include "winuser.h"
#include "wingdi.h"
#include "winnls.h"
#include "winerror.h"
#include "winnt.h"
#include "wtypes.h"
#include "oleauto.h"
Go to the source code of this file.
Classes | |
struct | DummyDispatch |
struct | IRecordInfoImpl |
struct | test_VariantClearImpl |
struct | decimal_t |
struct | decimal_round_t |
Typedefs | |
typedef struct IRecordInfoImpl | IRecordInfoImpl |
Variables | |
static HMODULE | hOleaut32 |
static | ULONG |
static UDATE *static DATE *static double *static | LPSYSTEMTIME |
static | USHORT |
static double *static USHORT USHORT *static const WCHAR | sz12 [] = {'1','2','\0'} |
static WCHAR | sz12_false [32] |
static WCHAR | sz12_true [32] |
static BOOL | has_i8 |
static const IDispatchVtbl | DummyDispatch_VTable |
static const IRecordInfoVtbl | RecordInfoVtbl |
static char | vtstr_buffer [16][256] |
static int | vtstr_current =0 |
static const VARTYPE | ExtraFlags [16] |
static const IUnknownVtbl | test_VariantClear_vtbl |
static test_VariantClearImpl | test_myVariantClearImpl = {{&test_VariantClear_vtbl}, 1, 0} |
static | LCID |
static const char * | szFailOverflow = "Expected overflow, hres = %08x\n" |
static const char * | szFailOk = "Call failed, hres = %08x\n" |
static | LPVARIANT |
static | int |
static const struct decimal_round_t | decimal_round_data [] |
#define EXPECT_DECIMAL | ( | valHi, | |
valMid, | |||
valLo | |||
) |
#define EXPECT_I8 | ( | high, | |
low | |||
) |
#define EXPECT_OK |
#define EXPECT_OVERFLOW ok(hres == (HRESULT)DISP_E_OVERFLOW, szFailOverflow, hres) |
#define INTEGER_VTBITS (VTBIT_I1|VTBIT_UI1|VTBIT_I2|VTBIT_UI2|VTBIT_I4|VTBIT_UI4|VTBIT_I8|VTBIT_UI8) |
#define VARCMPEX | ( | vt1, | |
val1, | |||
vt2, | |||
val2, | |||
res1, | |||
res2, | |||
res3, | |||
res4 | |||
) |
typedef struct IRecordInfoImpl IRecordInfoImpl |
|
static |
DEFINE_EXPECT | ( | dispatch_invoke | ) |
|
static |
Definition at line 183 of file vartest.c.
|
static |
Definition at line 148 of file vartest.c.
|
static |
Definition at line 1287 of file vartest.c.
|
static |
Definition at line 422 of file vartest.c.
Referenced by test_VariantClear(), and test_VariantCopy().
|
inlinestatic |
|
inlinestatic |
Definition at line 254 of file vartest.c.
Referenced by RecordInfo_AddRef(), RecordInfo_GetSize(), RecordInfo_RecordClear(), RecordInfo_RecordCopy(), and RecordInfo_Release().
|
inlinestatic |
Definition at line 735 of file vartest.c.
Referenced by VC_AddRef(), VC_QueryInterface(), and VC_Release().
Definition at line 436 of file vartest.c.
Referenced by START_TEST().
|
static |
Definition at line 585 of file vartest.c.
Referenced by test_Mod(), test_Round(), test_var_call1(), and test_var_call2().
Definition at line 710 of file vartest.c.
Referenced by test_VarAbs(), test_VarAdd(), test_VarCmp(), test_VarEqv(), test_VariantClear(), test_VariantCopy(), test_VariantCopyInd(), test_VarMul(), test_VarNot(), test_VarOr(), test_VarSub(), and test_VarXor().
Definition at line 1058 of file vartest.c.
Referenced by test_VariantCopyInd().
|
static |
Definition at line 274 of file vartest.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 259 of file vartest.c.
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
Definition at line 461 of file vartest.c.
Referenced by test_VarCmp().
START_TEST | ( | vartest | ) |
Definition at line 9177 of file vartest.c.
Definition at line 664 of file vartest.c.
Referenced by _test_bstr_var(), and test_VarCat().
|
static |
Definition at line 6873 of file vartest.c.
Referenced by test_cmpex().
|
static |
Definition at line 6883 of file vartest.c.
|
static |
Definition at line 2010 of file vartest.c.
|
static |
Definition at line 2170 of file vartest.c.
Referenced by START_TEST().
|
static |
Definition at line 2236 of file vartest.c.
|
static |
Definition at line 2125 of file vartest.c.
|
static |
Definition at line 2732 of file vartest.c.
|
static |
Definition at line 2087 of file vartest.c.
Definition at line 2108 of file vartest.c.
Referenced by START_TEST().
|
static |
|
static |
Definition at line 626 of file vartest.c.
|
static |
Definition at line 2282 of file vartest.c.
Referenced by START_TEST().
Definition at line 5554 of file vartest.c.
Referenced by START_TEST().
Definition at line 6217 of file vartest.c.
Referenced by START_TEST().
Definition at line 5741 of file vartest.c.
Referenced by START_TEST().
Definition at line 6913 of file vartest.c.
Referenced by START_TEST().
Definition at line 2032 of file vartest.c.
Referenced by START_TEST().
Definition at line 7694 of file vartest.c.
Referenced by START_TEST().
Definition at line 5244 of file vartest.c.
Referenced by START_TEST().
Definition at line 3243 of file vartest.c.
Referenced by START_TEST().
Definition at line 768 of file vartest.c.
Referenced by START_TEST().
Definition at line 909 of file vartest.c.
Referenced by START_TEST().
Definition at line 1071 of file vartest.c.
Referenced by START_TEST().
Definition at line 2258 of file vartest.c.
Referenced by START_TEST().
Definition at line 2144 of file vartest.c.
Referenced by START_TEST().
Definition at line 8065 of file vartest.c.
Referenced by START_TEST().
Definition at line 8631 of file vartest.c.
Referenced by START_TEST().
Definition at line 3358 of file vartest.c.
Referenced by START_TEST().
Definition at line 2757 of file vartest.c.
Referenced by START_TEST().
Definition at line 5383 of file vartest.c.
Referenced by START_TEST().
Definition at line 3474 of file vartest.c.
Referenced by START_TEST().
Definition at line 2380 of file vartest.c.
Referenced by START_TEST().
Definition at line 1785 of file vartest.c.
Referenced by START_TEST().
Definition at line 4509 of file vartest.c.
Referenced by START_TEST().
No flags
NUMPRS_LEADING_WHITE/NUMPRS_TRAILING_WHITE
NUMPRS_LEADING_PLUS/NUMPRS_TRAILING_PLUS
NUMPRS_LEADING_MINUS/NUMPRS_TRAILING_MINUS
NUMPRS_HEX_OCT
NUMPRS_PARENS
NUMPRS_THOUSANDS
NUMPRS_CURRENCY
NUMPRS_DECIMAL
NUMPRS_EXPONENT
NUMPRS_USE_ALL
Combinations
Definition at line 1308 of file vartest.c.
Referenced by START_TEST().
Definition at line 7169 of file vartest.c.
Referenced by START_TEST().
Definition at line 3637 of file vartest.c.
Referenced by START_TEST().
Definition at line 2508 of file vartest.c.
Referenced by START_TEST().
Definition at line 1976 of file vartest.c.
Referenced by START_TEST().
Definition at line 3775 of file vartest.c.
Referenced by START_TEST().
Definition at line 546 of file vartest.c.
Referenced by test_cmp(), test_Mod(), test_Round(), test_var_call1(), test_var_call2(), and test_VarCat().
Definition at line 747 of file vartest.c.
Definition at line 481 of file vartest.c.
Referenced by is_expected_variant(), test_VarAdd(), test_VarAnd(), test_VarDiv(), test_VarIdiv(), test_VarImp(), test_VarMul(), test_VarPow(), test_VarSub(), and variantstr().
|
static |
Definition at line 3624 of file vartest.c.
Referenced by test_VarRound().
|
static |
Definition at line 226 of file vartest.c.
Referenced by init_test_dispatch().
Definition at line 689 of file vartest.c.
Referenced by implicit_handle(), test_VarAbs(), test_VarAdd(), test_VarAnd(), test_VarCmp(), test_VarDiv(), test_VarEqv(), test_VarFix(), test_VariantClear(), test_VariantCopy(), test_VariantCopyInd(), test_VarIdiv(), test_VarImp(), test_VarInt(), test_VarMul(), test_VarNeg(), test_VarNot(), test_VarOr(), test_VarPow(), test_VarSub(), test_VarXor(), VarAnd(), VarDiv(), VarIdiv(), VarImp(), VarPow(), and VarSub().
|
static |
Definition at line 62 of file vartest.c.
Referenced by init(), IsValidVariantClearVT(), test_VarAnd(), test_VarCat(), test_VarDiv(), test_VarEqv(), test_VarFix(), test_VariantCopyInd(), test_VarIdiv(), test_VarImp(), test_VarInt(), test_VarMod(), test_VarNeg(), test_VarNot(), test_VarNumFromParseNum(), test_VarOr(), test_VarPow(), test_VarSub(), and test_VarXor().
|
static |
Definition at line 399 of file vartest.c.
Referenced by get_test_recordinfo().
Definition at line 52 of file vartest.c.
Referenced by init(), test_VarAdd(), test_VarCat(), test_VarMul(), and test_VarSub().
|
static |
Definition at line 54 of file vartest.c.
Referenced by init(), and test_VarCat().
|
static |
Definition at line 55 of file vartest.c.
Referenced by init(), and test_VarCat().
|
static |
Definition at line 766 of file vartest.c.
Referenced by test_VariantClear().
|
static |
|
static |
Definition at line 479 of file vartest.c.
Referenced by variantstr(), and vtstr().
|
static |
Definition at line 480 of file vartest.c.
Referenced by variantstr(), and vtstr().