Commit Graph

50 Commits

Author SHA1 Message Date
Rob Shearman b9f8a81d8c rpcss: When registering a moniker that is already registered in the ROT another ROT entry should still be created and a distinct cookie returned. 2008-04-29 12:35:35 +02:00
Rob Shearman 8580198dc8 ole32: Keep track of the number of weak references to an object.
This is so that an object will only be released when a weak-reference is 
used after the last weak reference has been released (either by 
CoReleaseMarshalData or CoUnmarshalInterface + Release).
2008-04-29 12:35:26 +02:00
Rob Shearman 9ebebc0ecc ole32: Add tests for registering a moniker more than once in the ROT and then using it. 2008-04-29 12:35:19 +02:00
Rob Shearman b7f3ee51b1 ole32: Add pointer moniker implementation. 2008-02-04 13:04:21 +01:00
Rob Shearman c647bb4691 ole32: Add tests for CreatePointerMoniker. 2008-02-04 13:04:04 +01:00
Rob Shearman 2456f2d43b ole32: Fix a typo in the class moniker tests. 2008-01-07 12:31:42 +01:00
Rob Shearman 2fd5acedb7 ole32: Release the correct pointer in test_MkParseDisplayName.
Reported by Dan Kegel.
2007-11-13 23:28:05 +01:00
Rob Shearman e8b9a427be ole32: Add a missing IMoniker_Release to test_MkParseDisplayName. 2007-11-12 11:45:38 +01:00
Paul Vriens 0eeb5727b2 ole32/tests: Check for correct return value. 2007-05-14 16:45:17 +02:00
Francois Gouget a8695bae88 ole32/tests: Spelling fix. 2007-04-03 11:22:57 +02:00
Francois Gouget f4f4eb24c8 ole32/tests: Spelling fix. 2007-04-03 11:22:52 +02:00
Rob Shearman f8789122aa ole32: Implement MkParseDisplayName. 2007-03-28 12:12:49 +02:00
Rob Shearman 87a4516bd9 ole32: Add some more tests for MkParseDisplayName. 2007-03-28 12:11:15 +02:00
Rob Shearman 32dc398976 ole32: Display the testname for the test for display name in test_moniker. 2007-03-28 12:11:07 +02:00
Rob Shearman 4ce58cb531 ole32: Do a case-insensitive comparison in the count_moniker_matches in the moniker tests as Win9x marshals an all upper-case file name for file monikers. 2007-03-28 12:11:00 +02:00
Rob Shearman c4727fde17 ole32: Fix return codes returned by IBindCtx::RegisterObjectBound and IBindCtx::RevokeObjectBound when used on NULL objects. 2007-03-09 11:46:42 +01:00
Rob Shearman ba3ceaa4b8 ole32: Fix cbStruct handling in IBindCtx:GetBindOptions. 2007-03-09 11:46:38 +01:00
Rob Shearman e14e464df6 ole32: Add more tests of IBindCtx functions.
Add tests for IBindCtx::GetObjectParam, IBindCtx::RevokeObjectParam and 
IBindCtx::RevokeObjectBound.
2007-03-09 11:46:33 +01:00
Rob Shearman 3d6070aebd ole32: Set output param to NULL in BindCtxImpl_EnumObjectParam. 2007-03-08 13:50:33 +01:00
Rob Shearman bdefb46d29 ole32: Fix BindCtxImpl_GetBindOptions to return the correct locale and to not fail if the input size is too large. 2007-03-08 13:50:27 +01:00
Rob Shearman bf4b5188e0 ole32: CreateBindCtx should fail if reserved parameter is not zero. 2007-03-08 13:50:23 +01:00
Rob Shearman a418777708 ole32: Add some tests for IBindCtx. 2007-03-06 22:25:45 +01:00
Rob Shearman ac8d035f3d ole32: Fix a use-after-free of the file moniker in the running object table tests. 2007-03-06 22:17:43 +01:00
Rob Shearman c21f5c7c6a ole32: Move the Running Object Table test in marshal.c to moniker.c to put it with the other ROT tests. 2007-01-10 12:02:28 +01:00
Rob Shearman 2881f919c7 ole32: Add some tests for the running object table.
The tests show the behaviour when the IROTData interface is not
available from the moniker. They also show the flags that are accepted
into IRunningObjectTable::Register.
2006-12-28 12:36:07 +01:00
Michael Ploujnikov 9d2a804f9b ole32/tests: Win64 printf format warning fixes. 2006-10-14 20:17:16 +02:00
Francois Gouget d0b322b00f ole32: Fix invalid macro usage. 2006-09-29 17:53:01 +02:00
Alexandre Julliard 28e17a75af ole32/tests: Don't use sizeof in ok() to avoid printf format warnings. 2006-06-13 14:03:36 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Francois Gouget f7c24f37ad Various trace fixes.
Add trailing '\n's to trace calls.
Remove spaces before '\n'.
2006-05-15 15:05:09 +02:00
Robert Shearman 5a8536a18d ole32: Add a test for IMoniker_IsDirty. 2006-05-10 19:26:22 +02:00
Robert Shearman ae62ab039f ole32: Implement several class moniker functions using the description provided on MSDN. 2006-05-08 21:14:28 +02:00
Robert Shearman 8a4f71c61e ole32: Add an implementation of class monikers. 2006-05-08 21:13:32 +02:00
Robert Shearman 71a7393f45 ole32: Add tests for IsRunning, GetTimeOfLastChange, BindToObject, BindToStorage and Inverse. 2006-05-08 21:04:26 +02:00
Robert Shearman 91e51971c0 ole32: Test moniker display names. 2006-05-08 15:44:49 +02:00
Robert Shearman d8563f1eba ole32: Add a test for IMoniker_IsDirty. 2006-05-08 15:44:39 +02:00
Robert Shearman 77188bbeab ole32: Test unmarshaling the moniker instead of just releasing the marshaled data. 2006-05-08 15:44:27 +02:00
Robert Shearman 57b42ae7bc ole32: Make the size returned by CompositeMonikerImpl_GetMarshalSizeMax match that returned by native. 2006-05-08 15:44:15 +02:00
Robert Shearman 340f7a3ec0 ole32: Fix the algorithm used in CompositeMonikerImpl_Hash to match native. 2006-05-08 15:43:46 +02:00
Robert Shearman e97709ff6d ole32: Fix the algorithm used in ItemMonikerImpl_Hash to match native. 2006-05-08 15:43:35 +02:00
Robert Shearman b011a2ba8f ole32: Add tests for generic composite monikers. 2006-05-08 15:43:27 +02:00
Robert Shearman c8c93e6657 ole32: Add a test for anti monikers. Fix AntiMonikerImpl_Hash and AntiMonikerROTDataImpl_GetComparisonData to pass the tests. 2006-05-08 15:39:47 +02:00
Robert Shearman 68fceb0a70 ole32: Add tests for item moniker. 2006-05-08 15:36:45 +02:00
Robert Shearman 26a3ff33d0 ole32: Make class moniker test more generic and test more properties. 2006-05-08 15:36:40 +02:00
Stefan Huehner 863a4b1488 Fix some more -Wstrict-prototypes warnings. 2005-06-21 20:53:13 +00:00
Richard Cohen 977806a884 - Don't assume the ROT is already empty.
- Test that IEnum::Clone doesn't also do a Reset.
2005-06-02 20:06:33 +00:00
Richard Cohen 885e6298f2 Added tests for file monikers. 2005-06-02 19:43:03 +00:00
Jeff Latimer 72f73ac452 Implement the IEnumMoniker interface for the ROT and provide tests to
exercise the interface.
2005-05-14 18:50:14 +00:00
Robert Shearman 9b634b97ae - More tests.
- Change return code of CoGetPSClsid to match test result.
- Do a slight hack to make IRemUnknown proxies be added after the
  proxy that uses them to stop them being used after they are
  destroyed.
- Fix multiple local server connections.
2005-01-28 12:39:13 +00:00
Robert Shearman 827154e451 Add tests for moniker and marshaling functions. 2004-12-21 14:51:27 +00:00