Commit Graph

84 Commits

Author SHA1 Message Date
Nikolay Sivov de388bbec9 oleaut32/tests: Remove some workarounds for functions that are assumed to be available.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-01-08 21:12:05 +01:00
André Hentschel 3b2c4d6624 oleaut32/tests: Adjust test to a fixed Windows bug.
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-09-10 12:33:16 +02:00
Michael Stefaniuc 2441e9417c oleaut32/tests: Use a better type to avoid a cast.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 20:49:24 +02:00
Michael Stefaniuc db48640a51 oleaut32/tests: Avoid an ARRAY_SIZE-like macro.
Also use a better type for the dimension variable.

Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-19 20:49:11 +02:00
Michael Stefaniuc 050edeb420 oleaut32/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-19 20:49:04 +02:00
Nikolay Sivov 4cc41fc5ce oleaut32/tests: Use SafeArraySetIID() directly.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-19 16:40:55 +01:00
Nikolay Sivov 00c591a947 oleaut32/tests: Fix indentation warning on GCC 6.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-15 18:31:12 +09:00
Nikolay Sivov b07ebe6815 oleaut32/tests: Some tests for SafeArrayDestroyData().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-01 12:44:07 +09:00
Nikolay Sivov b5699c80dd 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-21 00:25:34 +09:00
Gerald Pfeifer a767c8399b oleaut32: Fix indentation in test_safearray. 2015-06-26 20:35:07 +09:00
Huw Davies 46bdb6e59a oleaut32/tests: Add broken behaviour on Win 2003. 2015-06-15 22:15:24 +09:00
Frédéric Delanoy 2e5cb7aac8 Assorted spelling/grammar fixes. 2014-04-30 18:34:20 +02:00
Nikolay Sivov 02228ff585 oleaut32/tests: Remove early returns on test failure that never happen. 2014-03-24 20:20:08 +01:00
Nikolay Sivov 2ce06e5727 oleaut32: Fix SafeArrayGetElement() for FADF_RECORD arrays. 2014-02-25 14:22:49 -06:00
Nikolay Sivov 598f3f0623 oleaut32/tests: Test for internal safearray data layout. 2014-02-24 09:09:05 -06:00
Nikolay Sivov a4e0fc95a9 oleaut32: Fix SafeArrayPutElement() for FADF_RECORD arrays. 2014-02-24 09:08:57 -06:00
Nikolay Sivov 52a70451c4 oleaut32/tests: Test for VariantClear() on VT_RECORD variant. 2014-02-22 08:42:12 -06:00
Nikolay Sivov f85644c6f9 oleaut32: Fix destination data release when copying FADF_RECORD arrays. 2014-02-18 10:47:18 +01:00
Nikolay Sivov f285b46098 oleaut32/tests: Some tests for record-based safearray copy. 2014-02-17 11:14:00 +01:00
André Hentschel dc27a38536 oleaut32/tests: Fix a test output. 2014-01-16 21:04:20 +01:00
André Hentschel 0485e528f7 oleaut32/tests: Mark W2k results as broken. 2014-01-13 17:37:43 +01:00
Nikolay Sivov 92ed7c50a9 oleaut32: Add missing methods to test IRecordInfo implementation. 2014-01-10 12:04:54 +01:00
Nikolay Sivov b058c96136 oleaut32: Mask out certain features on array copy. 2014-01-09 10:55:13 +01:00
André Hentschel 5cf89fd5ad oleaut32/tests: Fix safearray tests compilation with __WINESRC__ defined. 2013-10-28 10:37:47 +01:00
Marcus Meissner 9a0b4345ec oleaut32/tests: Test return of SafeArrayAllocData (Coverity). 2013-07-03 21:20:04 +02:00
André Hentschel 38f16107d6 oleaut32/tests: Don't use autoheader styled defines in safearray. 2013-06-27 11:11:09 +02:00
André Hentschel 4e0e066cca oleaut32/tests: Get rid of HAVE_OLEAUT32_R8 in safearray. 2013-06-27 11:11:03 +02:00
André Hentschel 8c0398d1a5 oleaut32/tests: Get rid of HAVE_OLEAUT32_DECIMAL in safearray. 2013-06-27 11:10:59 +02:00
André Hentschel cdeae41cd1 oleaut32/tests: Get rid of HAVE_OLEAUT32_RECORD in safearray. 2013-06-27 11:10:55 +02:00
André Hentschel acfc14fe9b oleaut32/tests: Get rid of IS_ANCIENT in safearray. 2013-06-27 11:09:29 +02:00
Alistair Leslie-Hughes 87fabd1009 oleaut32: Add VT_BSTR to VT_UI2|VT_ARRAY test. 2012-08-29 11:47:22 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Michael Stefaniuc 289005a79f oleaut32/tests: Use a proper static COM object. 2011-03-28 17:08:54 +02:00
Austin English b8bf372e70 oleaut32/tests: Make sure return value is used (LLVM/Clang). 2011-02-10 10:28:00 -06:00
André Hentschel 1a37f6e940 oleaut32/tests: Add more safearray tests. 2011-02-08 09:04:13 -06:00
Nikolay Sivov 1dcf3f7aef oleaut32/tests: Fix a safearray leak (Valgrind). 2011-02-01 18:14:07 +01:00
Nikolay Sivov a0e7c9996b oleaut32/tests: Fix a IRecordInfo leak (Valgrind). 2011-02-01 18:14:07 +01:00
Nikolay Sivov a5582d77cf oleaut32/tests: Fix safearray leaks, test return value after array destruction. 2011-01-24 12:35:02 +01:00
Nikolay Sivov 9d15067c25 oleaut32/tests: Fix a dead path in test (Valgrind). 2011-01-19 12:23:18 +01:00
Michael Stefaniuc 6c94cdc903 oleaut32/tests: Use an iface instead of an vtbl pointer in IRecordInfoImpl. 2010-12-14 13:24:33 +01:00
Nikolay Sivov 88472df473 oleaut32/tests: Fix some leaks in safearray tests. 2010-01-07 19:41:33 +01:00
Huw Davies 6f4ad21b9d oleaut32: Fix a couple of memory leaks in the tests.
Found by Valgrind.
2009-12-07 14:18:24 +01:00
Michael Stefaniuc a3f8fd71e1 oleaut32: Remove superfluous pointer casts. 2009-02-09 14:37:23 +01:00
Michael Stefaniuc 330e6d86f9 oleaut32/tests: Remove superfluous pointer casts. 2009-01-29 14:05:58 +01:00
Alexandre Julliard 6f3184829f oleaut32/tests: Avoid printing pointer differences in traces. 2009-01-08 13:02:32 +01:00
Alexandre Julliard a840b6a7f8 Avoid including time.h before winsock.h in tests. 2008-12-04 12:42:53 +01:00
Reece Dunn e22e480f16 oleaut32: Fix the SafeArrayGetVartype tests on Vista and use that behaviour. 2008-07-25 11:29:42 +02:00
Paul Vriens 698d1111d6 oleaut32/tests: Remove some stray spaces from the ok message. 2008-06-19 11:55:13 +02:00
Rob Shearman 1b93676913 oleaut32: Fix some memory leaks in the safearray tests. 2008-02-04 13:03:58 +01:00
Paul Vriens 9b396275ad oleaut32/tests: Use GetModuleHandle and add a few skip's. 2007-08-20 11:50:04 +02:00