Commit Graph

58 Commits

Author SHA1 Message Date
Charles Davis 8e14c9413b oleaut32/tests: Don't use a C99 keyword as a method name. 2012-09-18 14:49:16 +02:00
Charles Davis 8cba35d5d2 oleaut32/tests: Don't take the size of a pointer (Clang). 2012-09-18 14:49:08 +02:00
Jacek Caban 1742012ff0 oleaut32: Added more tests. 2012-08-20 20:17:38 +02:00
Jacek Caban 44936abd84 oleaut32: Ensure that the right interface is passed to the callee in ITypeInfo::Invoke. 2012-08-20 20:17:30 +02:00
Huw Davies be4d45cacb oleaut32: Zero-init [out] only parameters. 2012-02-17 18:06:48 +01:00
Jeremy White 4f5271a17f oleaut32: When marshalling VT_CARRAY, only marshall by reference for appropriate types. 2012-02-15 11:56:35 +01:00
Huw Davies 0425a110d9 oleaut32: [restricted] members with negative dispids may still be called. 2012-02-07 09:34:22 -06: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
Michael Stefaniuc a2e5b50711 oleaut32/tests: Use FAILED instead of !SUCCEEDED. 2011-09-26 12:14:34 +02:00
Octavian Voicu 74a3d9ee5e oleaut32: Add tmarshal test with variant array and fix variant marshalled size calculation. 2011-09-21 18:39:54 +02:00
Octavian Voicu 8177b4793a oleaut32: Fix leak in typelib marshaler when invoking IDispatch methods. 2011-08-26 11:26:56 +02:00
André Hentschel e1ae573de5 oleaut32/tests: Skip tests if typelib can't be registered. 2011-08-04 08:52:17 +02:00
André Hentschel 862cc73fb4 oleaut32/tests: Only use interface if we succeeded in recreating it. 2011-08-01 11:07:06 +02:00
Austin English d38dfa133e oleaut32/tests: Make sure a return value is used (LLVM/Clang). 2011-02-15 17:08:54 +01:00
Nikolay Sivov a5582d77cf oleaut32/tests: Fix safearray leaks, test return value after array destruction. 2011-01-24 12:35:02 +01:00
Michael Stefaniuc 366a92146d oleaut32/tests: Standardize the COM usage in tmarshal.c. 2010-12-21 15:49:43 +01:00
Vincent Povirk 8ff7238ade oleaut32: Allow named args to be combined with positional args in fnInvoke. 2010-03-22 10:42:23 +01:00
Vincent Povirk 5893f3227c oleaut32: Always use DISPID_PROPERTYPUT to fill in the last argument. 2010-03-17 10:07:57 +01:00
Huw Davies dba91c0643 oleaut32: Add a test for non-oleautomation error handling. 2010-03-02 16:44:08 +01:00
Rob Shearman a94265e5a9 oleaut32: Fix accessing beyond end of buffer and memory leak in test_DispCallFunc.
The parameter isn't automatically converted by DispCallFunc, so make
sure we pass in the correct size of memory for the function to store
its BSTR in.
2009-11-29 16:39:53 +01:00
Rob Shearman 87c47219ae oleaut32: Fix a reference count leak in NonOleAutomation_GetTypeInfo.
Also enable a test which now works in Wine.
2009-11-19 14:24:19 +01:00
Rob Shearman 6d7572c0e7 oleaut32: Unmarshall byref types correctly in IDispatch_Invoke_Proxy.
Byref arguments should only be passed in the rgVarRef array, not in
arg array. Copy the value into the rgVarRef array before calling the
remote function to ensure that memory isn't allocated for the byref
pointers during unmarshalling.
2009-11-18 11:15:27 +01:00
Rob Shearman 4c8eec346d oleaut32: Add a test for the memory pointed to by a byref parameter being preserved through a remote IDispatch::Invoke call. 2009-11-17 15:15:11 +01:00
Jeremy White b8d7088e88 oleaut32: Implement the ability to marshall VT_CARRAY's of user defined types. 2009-10-26 11:19:12 +01:00
Jeremy White 1e0b836712 oleaut32: StructArg tests cannot rely on an unpacked structure memcmp. 2009-10-26 11:17:41 +01:00
Vincent Povirk a9221d7688 oleaut32/tests: Add test for tlibattr->lcid. 2009-09-02 15:48:24 +02:00
Vincent Povirk 34f1d8a200 oleaut32: Handle LCID arguments in ITypeInfo::Invoke. 2009-09-02 15:48:14 +02:00
Vincent Povirk 3e542bc60e oleaut32: Map INT and UINT typedesc's to VT_I4 and VT_UI4. 2009-08-20 15:25:54 +02:00
Vincent Povirk 2ae20e45c7 oleaut32: Add test for INT and UINT property return values. 2009-08-20 15:25:44 +02:00
Alexandre Julliard ee868cce5b tests: Make wine_dbgstr_w available in test.h for all tests. 2009-08-19 13:19:31 +02:00
Huw Davies 4b0a6a18b2 oleaut32/tests: Add some tests for [lcid] parameters. 2009-06-17 17:23:21 +02:00
Alexandre Julliard 1c75ab091c oleaut32/tests: Fix the tmarshal test on 64-bit. 2009-05-21 16:17:50 +02:00
Francois Gouget 1ef2f3844f oleaut32/tests: Replace realloc() with HeapReAlloc(). 2009-05-19 12:01:09 +02:00
Michael Stefaniuc efbb4ebf3e widl: Output "LONG" instead of "long" for a 32bit integer.
long is always 32bit in IDL files but that's not true in C.
2009-03-13 11:15:21 +01:00
Michael Stefaniuc 330e6d86f9 oleaut32/tests: Remove superfluous pointer casts. 2009-01-29 14:05:58 +01:00
Rob Shearman 17a30ff2e8 oleaut32: Test the return value of the remote IWidget_StructArgs call. 2009-01-12 13:07:10 +01:00
Francois Gouget c597792400 oleaut32/tests: Make the Widget_*() and KindaEnum_*() functions static. 2008-12-15 12:25:46 +01:00
Mikołaj Zalewski 5c2fd1b192 oleaut32: VT_USERDEFINED records are passed by value. 2008-09-16 11:31:32 +02:00
Detlef Riekenberg c81b2b2c74 oleaut32/tests: Fix tmarshal tests on win9x. 2008-07-21 14:45:45 +02:00
Jacek Caban 6971db7ee3 oleaut32: Added test showing need to QueryInterface on dual interface in ITypeInfo::Invoke. 2008-06-30 12:11:40 +02:00
Paul Vriens 4ee90e94f6 oleaut32/tests: Cleanup typelib after the test. 2008-06-02 12:11:52 +02:00
Rob Shearman 4d08815173 oleaut32: Fix some reference count leaks in the tmarshal test. 2008-02-04 13:02:55 +01:00
Rob Shearman 83a02c545c oleaut32: Fix a leak of the typelib in the tmarshal tests. 2007-12-07 17:06:20 +01:00
Rob Shearman d7682104e6 oleaut32: Fix two memory leaks in the test for DispCallFunc. 2007-12-07 17:06:15 +01:00
Michael Stefaniuc ab7e33641b oleaut32: Remove superfluous casts of void pointers to other pointer types. 2007-06-27 12:53:28 +02:00
Huw Davies 17fca45d41 oleaut32: Interfaces that derive from IDispatch should be marshaled as VT_DISPATCH. 2007-06-25 11:34:23 +02:00
Misha Koshelev 428ed94fa9 oleaut32: Add support for vararg functions in ITypeInfo::Invoke. 2007-06-07 13:00:09 +02:00
Misha Koshelev 127385e718 oleaut32/tests: Add tests for IDispatch::Invoke of vararg function. 2007-06-07 13:00:09 +02:00
Rob Shearman 5edc7fd5ef oleaut32: TKIND_COCLASS parameters to Invoke'd functions should be converted into VT_DISPATCH instead of VT_UNKNOWN.
Add a test for this.
2007-03-08 13:50:45 +01:00
Rob Shearman 30b6f9acd6 oleaut32: Fix the return value of ITypeInfo::Invoke when the property-put named argument isn't DISPID_PROPERTYPUT. 2007-02-08 12:59:36 +01:00