Thomas Faber
64041e69e3
ole32/tests: Store GUIDs by reference.
...
Fixes MSVC build.
Signed-off-by: Thomas Faber <thomas.faber@reactos.org>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-05 16:07:18 +02:00
Jacek Caban
d9677b1f2a
ole32/tests: Fixed tests on win64.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-29 17:13:26 +02:00
Jacek Caban
df6b7324df
ole32: Use queried interface destination context for marshaling RemQueryInterface result.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 12:09:15 +02:00
Jacek Caban
7f83dd11a4
ole32/tests: Add IRpcChannelBuffer and IRpcStubBuffer tests.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 12:08:59 +02:00
Jacek Caban
3834a6e382
ole32/tests: Pass host_object_data struct as an argument to start_host_object2.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-25 10:50:24 +02:00
Zebediah Figura
95299607f9
ole32: Allow marshalling objects from an implicit MTA.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-10 11:15:13 +02:00
Zebediah Figura
a4cf16db08
ole32: Allow unmarshalling objects into an implicit MTA.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-04-10 11:15:11 +02:00
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