Commit Graph

26 Commits

Author SHA1 Message Date
Michael Stefaniuc fddb389641 propsys/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-04 14:22:53 +02:00
Fabian Maurer 8f1e4097bb propsys: Add PropVariantToStringWithDefault and tests.
Signed-off-by: Fabian Maurer <dark.shadow4@web.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-02-22 14:16:33 +01:00
Nikolay Sivov 3b18054f25 propsys: Fix negative numeric source handling in PropVariantToBoolean().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-25 11:32:38 +02:00
Fabian Maurer 58ea6bddae propsys: Added PropVariantToBoolean with some tests.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-22 15:05:25 +02:00
Alistair Leslie-Hughes b2f266906b propsys/tests: Use standard wine_dbgstr_longlong.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-03 15:57:45 +02:00
Dmitry Timoshkov ff9601147d propsys: Add support for VT_LPSTR and VT_LPWSTR to PropVariantCompareEx.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-22 10:05:06 +02:00
Thomas Faber 60fa2d7aa5 propsys/tests: Fix build with MSVC.
VC2010 does not allow initializing a struct inside a struct with a variable.

E.g.
error C2440: 'initializing' : cannot convert from 'PROPERTYKEY' to 'unsigned long'

Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-09 16:33:45 +01:00
Alistair Leslie-Hughes 173515e733 propsys: Support VT_LPWSTR in PropVariantChangeType.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 16:54:31 +09:00
Alistair Leslie-Hughes 1807e5346f propsys: Add semi-stub for PropVariantToStringAlloc.
Signed-off-by: Alistair Leslie-Hughes <leslie_alistair@hotmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-06 16:54:27 +09:00
Gerald Pfeifer 519ad57cb5 propsys: Cast to ULONGLONG instead of LONGLONG in test_intconversions test_intconversions to avoid shift overflow. 2015-09-07 15:04:11 +09:00
Nikolay Sivov a7b848f32e propsys: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 13:13:36 +02:00
Frédéric Delanoy 5380596379 propsys/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-02-12 19:15:07 +01:00
Frédéric Delanoy d51e50cbaf propsys/tests: Use BOOL type where appropriate. 2013-11-21 13:36:12 +01:00
Marcus Meissner 1104678b40 propsys: PropVariantClear does not clear on uninitialized values (Coverity). 2012-09-17 12:05:30 +02:00
Vincent Povirk 60dae84bc6 propsys: Use integer conversion functions in PropVariantCompareEx. 2012-09-14 11:32:12 +02:00
Vincent Povirk c66b5ac4c3 propsys: Implement prop variant integer conversions with tests. 2012-09-14 11:32:09 +02:00
Vincent Povirk 6d52262e56 propsys: Add basic implementation of PropVariantCompareEx. 2012-09-14 11:32:05 +02:00
Vincent Povirk 8191af07d8 propsys: Add tests for PropVariantCompareEx. 2012-09-14 11:32:01 +02:00
Vincent Povirk 0e8b9b1211 propsys: Add tests for CLSID_InMemoryPropertyStore. 2012-05-23 18:25:11 +02:00
Piotr Caban 208de163af propsys/tests: Added PropVariantToGUID tests. 2011-09-19 17:56:06 +02:00
Piotr Caban 4a740c8a80 propsys/tests: Added InitVariantFromBuffer tests. 2011-09-16 17:23:12 +02:00
Piotr Caban 9642778089 propsys/tests: Added InitVariantFromGUIDAsString tests. 2011-09-16 17:23:12 +02:00
Andrew Nguyen 78110088d4 propsys: Add a PSRefreshPropertySchema stub. 2011-02-16 14:26:26 +01:00
Andrew Nguyen 4c7f9efd16 propsys: Fix comma processing in PSPropertyKeyFromString. 2010-07-28 16:28:19 +02:00
Andrew Nguyen be5fdcd242 propsys/tests: Add tests for PSPropertyKeyFromString. 2010-07-26 18:38:30 +02:00
Andrew Nguyen c20908bf56 propsys/tests: Add tests for PSStringFromPropertyKey. 2010-07-26 18:38:30 +02:00