Commit Graph

136 Commits

Author SHA1 Message Date
Huw Davies fef5871e28 ole32: Correctly track the number of inits when auto-joining the MTA.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-11-10 16:41:28 +01:00
Huw Davies edaf60d71a ole32/tests: Update tests to the new channel hook info structure.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 23:34:26 +09:00
Huw Davies 1dcf3f8e0a ole32/tests: Test calling CoDisconnectObject from within a COM call to the object.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:43:21 +09:00
Jacek Caban cb183688bb ole32: Catch crashes in stub object destructors when destroying stub manager. 2015-09-02 22:45:17 +09:00
Jacek Caban c784e34693 ole32: Quote executable name in CreateProcess call.
Fixes tests on VMs that have spaces in executable path.
2015-09-02 22:45:05 +09:00
Andrey Gusev 5cdcd4493f Assorted spelling and typos fixes. 2015-08-18 15:00:13 +09:00
Frédéric Delanoy a0c258460b ole32/tests: Use wine_dbgstr_guid for printing GUIDs. 2014-02-12 19:15:21 +01:00
Huw Davies 5077fc895f ole32: If an object exposes IExternalConnection then don't take down the stub manager if we have remaining weak refs in a call that would otherwise ignore them. 2013-10-24 19:01:57 +02:00
Huw Davies 1864db2faa ole32: Call IExternalConnection_ReleaseConnection with the correct final parameter. 2013-10-24 19:01:57 +02:00
Huw Davies 8235b55917 ole32: When releasing marshal data of a normal ref ignore any remaining weak refs. 2013-10-24 19:01:56 +02:00
Huw Davies 17d81e0987 ole32/tests: Add some tests for CoReleaseMarshalData with a combination of normal and weak marshals. 2013-10-24 19:01:56 +02:00
Huw Davies 61fb28de3f ole32/tests: Make the two reference marshalling thread more generic. 2013-10-24 19:01:56 +02:00
Huw Davies 14a879085e ole32/tests: Extend the lifecycle tests to objects which expose IExternalConnection. 2013-10-24 19:01:56 +02:00
Huw Davies 29c6e10fd8 ole32/tests: Add tests to show that CoLockObjectExternal() calls ReleaseConnection() with the appropriate value for fLastReleaseCloses. 2013-10-18 16:56:57 +02:00
Nikolay Sivov 026b711483 ole32/tests: Compile with -D__WINESRC__. 2013-10-16 11:41:18 +02:00
Nikolay Sivov 98f3ecc32a ole32: GIT can be released on process detach only. 2013-08-23 10:41:24 +02:00
Nikolay Sivov 43d5d86716 ole32: Fix IClassFactory initialization and QueryInterface behavior for GIT. 2013-08-22 10:28:17 +02:00
Jacek Caban b3b390d8ac ole32: Added ISynchronizeHandle tests. 2012-08-13 16:28:49 +02:00
Jacek Caban df4f027238 ole32/tests: Use proper helpers for iface calls. 2012-08-13 16:28:48 +02:00
Alexandre Julliard 2736d28064 ole32: Add a NULL pointer check in CoDisconnectObject. 2012-05-14 18:24:19 +02:00
Francois Gouget 88ba9c3274 ole32/tests: Skip some tests if not allowed to modify the Classes registry key. 2011-09-21 11:35:43 +02:00
Austin English 94f63d7681 ole32/tests: Make sure to use a return value (LLVM/Clang). 2011-07-26 10:22:38 +02:00
David Hedberg a0980b47c8 ole32: Add ManualResetEvent implementation. 2011-05-30 17:55:43 +02:00
Austin English f0ca65a287 ole32/tests: Make sure to use return values (LLVM/Clang). 2011-02-10 09:57:59 -06:00
André Hentschel 0fb2994fdc ole32/tests: Don't test function directly when reporting GetLastError(). 2010-12-31 11:44:02 +01:00
Michael Stefaniuc 46ebaa9be2 ole32/tests: Use an iface instead of a vtbl pointer in HeapUnknown. 2010-12-05 12:26:57 +01:00
Jacek Caban 0c6f2a6d2a ole32: Skip more tests on win9x. 2010-11-16 15:12:43 +01:00
Alexandre Julliard bc8e70c089 ole32/tests: Make some variables static. 2010-10-01 13:37:14 +02:00
Rob Shearman 552c91106d ole32: Fix test failure on win2000+.
These OSs have different behaviour w.r.t. quotes in path names and
don't ignore the rest of the path outside of the quotes.
2009-12-01 15:10:37 +01:00
Rob Shearman 510ed24f9a ole32: Cope with double quotes in paths for libraries to be loaded from the registry. 2009-11-30 12:48:05 +01:00
Rob Shearman 24cccbf4d1 ole32: Add inproc handler object creation support for CoCreateInstance. 2009-11-24 10:46:12 +01:00
Rob Shearman a7b621bd9b ole32: Fix behaviour of CoLockObjectExternal with fLastUnlockReleases as FALSE.
The parameter controls whether weak references are ignored, not
whether the last stub_manager_int_release should be called when the
total reference count goes to zero.
2009-11-24 10:46:06 +01:00
Rob Shearman bcf0be6a99 ole32: Add test for CoLockObjectExternal with fLastUnlockReleases as FALSE. 2009-11-24 10:46:00 +01:00
Alexandre Julliard f7bd47f78b ole32/tests: Set returned pointer to NULL in CreateInstance (Valgrind). 2009-10-22 13:04:36 +02:00
Alexandre Julliard 9b2e414e91 ole32/tests: Avoid infinite waits in tests. 2009-08-18 12:48:57 +02:00
Paul Vriens fb0275dd31 ole32/tests: Fix some test failures on Win9x/WinME. 2009-07-02 14:26:02 +02:00
Hans Leidekker 82bcafe8eb ole32: Add tests for CoGetContextToken. 2009-06-23 15:52:58 +02:00
Alexandre Julliard b55f6dfed5 ole32/tests: Don't hang forever in the child process. 2009-02-17 14:58:45 +01:00
Rob Shearman 2803516d26 ole32: Round the extected size in the marshal and moniker tests using the results of sizing a global, not a heap pointer.
The rounding isn't the same on Win9x, and the size being compared to
is that of a global handle.
2009-02-17 12:47:53 +01:00
Rob Shearman 1e8ae571f5 ole32: Fix some test failures in the free threaded marshaller tests on Win9x & NT4.
These platforms only write 8 bytes into the stream so cope appropriately.
2009-02-11 11:42:17 +01:00
Ge van Geldorp 4b27dfec93 ole32/tests: Write to HKCR instead of HKCU/Software/Classes for the benefit of older Windows versions. 2009-01-29 15:59:39 +01:00
Rob Shearman 9353dff5b3 ole32: Fix some tests that fail on NT4 and Win9x.
Round the expected sizes up to the alignment used by HeapSize, which
is 4 on Win9x and NT4 but 1 in more recent versions.

Additionally fix an IGlobalInterfaceTable test which erroneously
succeeds on these older OSs.
2009-01-28 14:15:42 +01:00
Ge van Geldorp f7a34db378 ole32/tests: Some Windows versions need the class to be registered. 2009-01-26 16:06:02 +01:00
Michael Stefaniuc bdbfac5996 ole32/tests: Remove superfluous pointer casts. 2009-01-20 12:34:31 +01:00
Alexandre Julliard 8377b2464b ole32/tests: Fix marshalling data layout for Win64. 2009-01-10 21:06:09 +01:00
Michael Stefaniuc 095568dfe9 ole32: Remove some superfluous casts of void pointers and zero. 2008-11-06 11:09:54 +01:00
Alistair Leslie-Hughes 0a1a4f7ca8 ole32: Stop crash under w2k8. 2008-08-20 13:55:43 +02:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
Rob Shearman 4cb5c3b7d6 ole32: Add a test for marshaling an object as table-weak and as normal and then unmarshaling and testing that the object is released on the final release. 2008-04-29 12:35:22 +02:00
James Hawkins 1edb56cec8 ole32: Fix a few tests that fail in win2k. 2008-04-17 12:51:31 +02:00