Nikolay Sivov
126cf25617
ole32/tests: Add PropVariantCopy() test for BSTR with embedded null.
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-12-18 18:07:04 +01:00
Sven Baars
e3aae365a9
ole32: Add VT_ARRAY support to PropVariant.
...
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-06-04 19:23:11 +02:00
Jactry Zeng
bb3f684266
ole32/tests: Test PropVariantCopy() with VT_UNKNOWN.
...
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-07 12:46:58 +01:00
Michael Stefaniuc
77376000ba
ole32/tests: Use the available ARRAY_SIZE() macro.
...
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-13 22:13:27 +02:00
Michael Stefaniuc
b6a505f9a5
ole32/tests: Use todo_wine_if().
...
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-10 12:54:20 +09:00
Dmitry Timoshkov
f9bc636d35
ole32: PropVariantCopy should return DISP_E_BADVARTYPE in case of bad source variant type.
...
In some rare (notably for some VT_VECTOR) cases Windows implementation
returns STG_E_INVALIDPARAMETER, but returning DISP_E_BADVARTYPE should
cover most of cases.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 00:25:33 +09:00
Alexandre Julliard
c6c3ccad36
ole32: Remove confusing uses of the __thiscall specifier.
2015-03-12 14:20:33 +09:00
Dmitry Timoshkov
5356c945cd
ole32: Add support for VT_DISPATCH/VT_UNKNOWN to PropVariantClear and PropVariantCopy.
2014-04-21 11:09:53 +02:00
Dmitry Timoshkov
f9c40c37cd
ole32: If number of VT_VECTOR elements is 0 there is no need to allocate memory.
2014-04-18 13:09:19 +02:00
Dmitry Timoshkov
d68c13a894
ole32/tests: Add some tests for PropVariantCopy.
2014-04-18 13:09:11 +02:00
Dmitry Timoshkov
5e7251b937
ole32: Revert part of 3cb0c81336
.
...
VT_INT|VT_VECTOR and VT_UINT|VT_VECTOR are not supposed to be supported
by PropVariantClear and PropVariantCopy.
2014-04-18 13:08:59 +02:00
Dmitry Timoshkov
f35078ee40
ole32/tests: Fix crashes in PropVariantClear tests under win64.
2014-04-18 13:08:57 +02:00
Dmitry Timoshkov
ccefbee73b
ole32/tests: Fix crashes in PropVariantClear tests under win2000 and XP.
2014-04-17 10:44:55 +02:00
Dmitry Timoshkov
0946c154fa
ole32: PropVariantClear should always reset contents of the passed in PROPVARIANT.
2014-04-16 10:55:07 +02:00
Dmitry Timoshkov
7de7fc653b
ole32/tests: Add more tests for PropVariantClear.
2014-04-16 10:54:54 +02:00
Dmitry Timoshkov
3cb0c81336
ole32: Add support for VT_INT/VT_UINT to PropVariantClear and PropVariantCopy.
2014-04-16 10:54:48 +02:00
Nikolay Sivov
026b711483
ole32/tests: Compile with -D__WINESRC__.
2013-10-16 11:41:18 +02:00
Michael Stefaniuc
470ad72b05
ole32/tests: Fix a memleak on an error path (Smatch).
2012-10-31 16:12:27 +01:00
Alexandre Julliard
cba98a2d8e
ole32/tests: Fix a test failure on newer Windows versions.
2012-10-12 11:54:03 +02:00
Vincent Povirk
718f095629
ole32: Add tests for StgConvertVariantToProperty.
2012-10-08 12:55:26 +02:00
Vincent Povirk
0a5086ab64
ole32: Add support for reading BSTR properties.
2012-08-28 14:40:57 +02:00
Vincent Povirk
58c2462c36
ole32: Implement StgConvertPropertyToVariant.
2012-08-28 14:40:38 +02:00
Vincent Povirk
ae722c45ad
ole32: Add tests for StgConvertPropertyToVariant.
2012-08-28 14:40:33 +02:00
Dmitry Timoshkov
574a52e522
ole32: Add VT_I1 to the list of supported variant types.
2012-06-12 10:21:49 +02:00
Alexandre Julliard
bc8e70c089
ole32/tests: Make some variables static.
2010-10-01 13:37:14 +02:00
Huw Davies
561df2f1c6
ole32: Add support for VT_DECIMAL.
2009-03-06 15:39:02 +01:00
Paul Vriens
3d2baaa6cf
ole32/tests: Cast-qual warnings fixes.
2007-01-12 11:25:45 +01:00
Michael Ploujnikov
9d2a804f9b
ole32/tests: Win64 printf format warning fixes.
2006-10-14 20:17:16 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Robert Shearman
85128db39c
Fix detection of V1a prop variant library in test suite.
2005-12-26 12:56:48 +01:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00
Alexandre Julliard
c2d5b444b3
Moved the NONAMELESSUNION/STRUCT macros to wine/test.h so that they
...
can be used in all the test.
2005-06-13 12:10:54 +00:00
Robert Shearman
fd5f7729cb
Fix PropVariant tests on Windows 2000 and above.
2005-06-13 10:02:10 +00:00
Hans Leidekker
719a789792
Fix signed/unsigned comparison warnings.
2004-09-22 02:46:38 +00:00
Francois Gouget
83755cca97
Move the PROPVARIANT declaration from objidl.idl to propidl.idl.
...
Move related API declarations from individual C files to propidl.idl.
Remove uneeded include of propidl.h in the propvariant.c test.
2004-09-09 19:23:19 +00:00
Francois Gouget
9ecc71213f
The union in PROPVARIANT is always nameless on Windows. So define a
...
macro to deal with it correctly.
2004-09-08 19:05:55 +00:00
Robert Shearman
6e92fca9b3
- Fix PropVariantCopy for VT_LPSTR and VT_LPWSTR.
...
- Test case VT_BSTR, VT_LPSTR and VT_LPWSTR.
2004-09-06 21:28:28 +00:00
Robert Shearman
77994cce4e
- Fix PropVariantClear to reject invalid types.
...
- Don't crash on NULL pointers.
- Add test case.
2004-09-03 01:04:38 +00:00