Commit Graph

50 Commits

Author SHA1 Message Date
Sven Baars 7117219b3d propsys/tests: Fix some ok() messages.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 22:30:45 +02:00
Sven Baars 818838b707 propsys/tests: Fix the PropVariantToBuffer tests.
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-31 22:30:42 +02:00
Nikolay Sivov 398a4be306 propsys: Add support for VT_R4/VT_R8 to PropVariantCompareEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:02:43 +01:00
Nikolay Sivov 0a508e49d6 propsys: Add support for VT_CLSID in PropVariantCompareEx().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-15 20:02:40 +01:00
Jactry Zeng 50a4c4642a propsys: Partially implement PropVariantToBuffer().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:28 +01:00
Jactry Zeng 6d2c277a8b propsys: Add VT_CLSID support for PropVariantToGUID().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:25 +01:00
Jactry Zeng e0a829db99 propsys: Implement PropVariantToString().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:22 +01:00
Jactry Zeng 8db8c94155 propsys: Add VT_EMPTY support for PropVariantToStringAlloc().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-07 17:57:15 +01:00
Jactry Zeng 3fc1180623 propsys: Implement PropVariantToDouble().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-14 19:53:25 +01:00
Jactry Zeng 2e2fc55009 propsys/tests: Add tests of IPropertyStore interface.
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-14 19:53:25 +01:00
Jactry Zeng 906f91db32 propsys: Implement PSCreateMemoryPropertyStore().
Signed-off-by: Jactry Zeng <jzeng@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-02-14 19:53:25 +01:00
Sven Baars 61a1dae398 propsys/tests: Fix a memory leak (Valgrind).
Signed-off-by: Sven Baars <sven.wine@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-12-21 13:59:20 +01:00
Nikolay Sivov 6fbf6c330b propsys: Add InitPropVariantFromCLSID().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=45347
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-17 15:41:59 +02:00
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
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +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 6fe6a43a6c propsys: Add test for saving/loading an empty property store. 2012-05-29 19:14:41 +02:00
Vincent Povirk 91e95e125e propsys: Implement IPropertyStoreCache::SetValueAndState. 2012-05-24 21:30:48 +02:00
Vincent Povirk f833061e50 propsys: Implement IPropertyStoreCache::SetState. 2012-05-24 21:30:40 +02:00
Vincent Povirk c3748c7daa propsys: Implement IPropertyStoreCache::GetValueAndState. 2012-05-24 21:30:33 +02:00
Vincent Povirk a28183f390 propsys: Implement IPropertyStoreCache::GetState. 2012-05-24 21:30:24 +02:00
Vincent Povirk 0ba11e8970 propsys: Implement IPropertyStore::GetAt. 2012-05-24 21:30:14 +02:00
Vincent Povirk d2d225f6a5 propsys: Implement IPropertyStore::GetCount. 2012-05-23 18:25:13 +02:00
Vincent Povirk 51ab813948 propsys: Implement IPropertyStore::SetValue and GetValue. 2012-05-23 18:25:12 +02:00
Vincent Povirk d8fcf75d04 propsys: Add stub InMemoryPropertyStore implementation. 2012-05-23 18:25:12 +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
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02: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