Alistair Leslie-Hughes
538e46adea
oleaut32: Improve support for IDispatch in VarCat.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-14 21:22:50 +02:00
Alistair Leslie-Hughes
e0b5496ccb
oleaut32/tests: Add more VarCat tests.
...
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-25 13:18:00 +02:00
Michael Stefaniuc
9e5f920997
oleaut32/tests: Avoid casts from COM object to interface.
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-14 00:02:02 +09:00
Huw Davies
fcb9ff957b
oleaut32/tests: Test against floats not integers to silence a clang warning.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-12 17:02:52 +09:00
Nikolay Sivov
feb607ecf6
oleaut32/tests: Don't use HRESULT codes for BOOL retval (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 19:18:21 +09:00
Gerald Pfeifer
a9363698d4
oleaut32: Use proper unsigned type in EXPECT_I8(high,low).
2015-08-17 16:58:00 +09:00
Michael Stefaniuc
724ee1d4fc
oleaut32/tests: Remove an always true conditional subexpression (PVS-Studio).
2015-02-23 15:25:59 +09:00
Michael Stefaniuc
512a814efc
oleaut32: Just stop instead of erroring out on 8 or 9 in octal numbers.
2015-01-20 11:11:13 +01:00
Michael Stefaniuc
9bfd58a5c9
oleaut32/tests: Uncomment and fix a test (PVS-Studio).
2015-01-20 11:11:09 +01:00
Michael Stefaniuc
e85db0891b
oleaut32/tests: Remove duplicated subexpressions (PVS-Studio).
2014-12-15 16:23:22 +01:00
André Hentschel
d68b81cacb
oleaut32/tests: Remove unused code (Clang).
2014-12-02 10:48:37 +01:00
Michael Stefaniuc
6f959a91f2
oleaut32/tests: Simplify the check for an empty string (PVS-Studio).
2014-11-13 18:46:39 +09:00
Michael Stefaniuc
53c54d9222
oleaut32/tests: Remove always true ok conditions (PVS-Studio).
2014-10-29 20:31:08 +09:00
Piotr Caban
fc6ec997e2
oleaut32: Add support for VAR_TIMEVALUEONLY and VAR_DATEVALUEONLY flags in VarDateFromUdateEx.
2014-08-19 14:49:44 +02:00
Nikolay Sivov
b378baedaa
oleaut32/tests: Remove duplicate code blocks (PVS-Studio).
2014-08-18 12:46:12 +02:00
Nikolay Sivov
baa8363f90
oleaut32/tests: Remove redundant assignment (PVS-Studio).
2014-08-18 12:46:08 +02:00
Nikolay Sivov
6e9693edd9
oleaut32/tests: Remove redundant assignment (PVS-Studio).
2014-08-18 12:46:05 +02:00
Nikolay Sivov
29eace89e9
oleaut32/tests: Fixed a couple of string leaks (Valgrind).
2014-05-06 13:46:59 +02:00
Nikolay Sivov
e5e8677666
oleaut32/tests: Move string allocation after function pointer check (Coverity).
2014-03-24 20:20:09 +01:00
Jacek Caban
b6db22da3b
oleaut32: Fixed vartest.c tests on Windows 8.1.
2014-03-20 17:40:39 +01:00
Nikolay Sivov
e610713012
oleaut32: Fix VariantCopy() for VT_RECORD variants.
2014-02-22 08:42:16 -06:00
Nikolay Sivov
52a70451c4
oleaut32/tests: Test for VariantClear() on VT_RECORD variant.
2014-02-22 08:42:12 -06:00
André Hentschel
16111fa63c
oleaut32/tests: Use boolean return values in boolean functions.
2014-01-30 14:51:39 +01:00
Daniel Lehman
8306518424
oleaut32: Return FALSE from SystemTimeToVariantTime if day > 31 or year is negative.
2013-11-15 11:58:55 +01:00
André Hentschel
ca469de656
oleaut32/tests: Fix vartest tests compilation with __WINESRC__ defined.
2013-10-28 10:38:15 +01:00
Frédéric Delanoy
3f91834ffb
oleaut32/tests: Use BOOL type where appropriate.
2013-10-18 12:34:39 +02:00
André Hentschel
dc0cf8319c
oleaut32/tests: Use BOOL instead of int when appropriate.
2013-06-28 11:39:42 +02:00
André Hentschel
a58e9f0312
oleaut32/tests: Don't use autoheader styled define in vartest.
2013-06-25 12:33:46 +02:00
André Hentschel
18690c833a
oleaut32/tests: Get rid of HAVE_OLEAUT32_RECORD in vartest.
2013-06-25 12:33:45 +02:00
André Hentschel
ca77d6c1da
oleaut32/tests: Get rid of IS_ANCIENT in vartest.
2013-06-25 12:33:43 +02:00
Alistair Leslie-Hughes
6d1db050d2
oleaut32/tests: Correct output arguments.
2013-06-04 10:14:58 +02:00
Francois Gouget
085b1ba3f5
oleaut32/tests: Fix compilation on systems that don't support nameless structs or unions.
2012-09-24 10:51:47 +02:00
Nikolay Sivov
2bb07936ef
oleaut32: Added some VT_DECIMAL rounding tests.
2012-09-04 16:15:51 +02:00
Huw Davies
dc1d7868d3
oleaut32: Add support for boolean strings in VarNot.
2012-06-26 17:30:42 +02:00
Daniel Lehman
cc37abb658
oleaut32: Treat years 0 to 29 as 2000 to 2029 in VARIANT_RollUdate.
2012-04-19 13:44:52 +02:00
Francois Gouget
8375c8e003
oleaut32/tests: Dynamically load some functions that are missing on early NT4 releases.
2012-01-09 12:52:13 +01:00
Francois Gouget
4f0104f887
oleaut32/tests: Once we have a function pointer, use it consistently.
2012-01-09 12:52:12 +01:00
Francois Gouget
559cdbfc7c
oleaut32/tests: Use win_skip() when detecting an API is missing.
2012-01-09 12:52:11 +01:00
Marcus Meissner
9d7219dfb9
oleaut32: Fixed buffer size to MBtoWC.
2011-08-25 11:31:54 +02:00
Jacek Caban
6ee95c7738
oleaut32: Correctly test VARIANT_BOOL value in VarCat.
2011-08-23 18:17:03 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
Austin English
fdf24a9406
oleaut32/tests: Remove dead assignments (LLVM/Clang).
2011-02-15 17:09:18 +01:00
Austin English
35c2ebd673
oleaut32/tests: Make sure return values are used (LLVM/Clang).
2011-02-15 17:09:09 +01:00
Nikolay Sivov
d47e638ba3
oleaut32/tests: Test for return value directly.
2011-01-11 16:05:46 +01:00
Michael Stefaniuc
65941a66c3
oleaut32/tests: COM cleanup for vartest.c.
2011-01-07 10:22:32 +01:00
Jeremy Drake
c8a4983ed9
oleaut32: Fix handling of negative fractional variant dates.
...
The integer part is the number of days to be added to the epoch
(1899-12-30), and the fractional part (disregarding sign) represents
the fraction of that day that has elapsed.
2010-10-07 12:00:28 +02:00
Jeremy Drake
25118e5383
oleaut32/tests: Test conversion of ambiguous DATE values.
...
For 0.0 < x < 1.0, DATE values x and -x represent the same date/time:
30-Dec-1899 at some time determined by x. When converting from DATE,
either value is accepted. When converting to DATE, the positive value
is produced.
2010-10-07 12:00:28 +02:00
Jeremy Drake
293b8be4e1
oleaut32/tests: Added tests for negative fractional variant dates.
2010-10-04 15:00:07 +02:00
Gerald Pfeifer
dbd2e8cb34
oleaut32/tests: Remove variable rValid which is not really used from test_VarMod.
2010-05-25 12:03:12 +02:00
Gerald Pfeifer
9c3729795f
oleaut32/tests: Remove variable expectedhres which is not really used from test_VarDiv.
2010-05-03 15:41:59 +02:00