Andrey Turkin
a06f568a2a
ole32: Add CoGetCallContext and CoSwitchCallContext implementations.
2009-01-19 14:44:32 +01:00
Andrey Turkin
d20ab01ed2
ole32: Do not crash in WriteClassStg if passed NULL pointer.
2009-01-15 12:42:33 +01:00
Andrey Turkin
37d27c38ce
ole32: Add IContextCallback interface to context object.
2009-01-15 12:42:12 +01:00
Andrey Turkin
8ff76d24f6
ole32/tests: Add test for IContextCallback.
2009-01-14 14:16:21 +01:00
Austin English
753affe48d
ole32: Add tests for CoInitializeEx.
2009-01-13 16:17:02 +01:00
Alexandre Julliard
8377b2464b
ole32/tests: Fix marshalling data layout for Win64.
2009-01-10 21:06:09 +01:00
Nikolay Sivov
37d4349636
ole32: Some tests for IMoniker::IsRunning with NULL args.
2009-01-09 14:06:13 +01:00
Nikolay Sivov
11c1d7a0e7
ole32: Fix return value for DefaultHandler_GetMiscStatus.
2009-01-07 12:27:34 +01:00
Alexandre Julliard
e793a2ba35
ole32/tests: Fix a structure size check for Win64.
2009-01-05 15:37:48 +01:00
Alexandre Julliard
68bd54b558
ole32/tests: Fix a pointer casting warning on 64-bit.
2009-01-03 20:14:11 +01:00
Ge van Geldorp
f5df407522
ole32/tests: Add declarations which are not present in SDK headers.
2009-01-03 14:55:32 +01:00
Ge van Geldorp
69c5fca81a
ole32/tests: Work around broken Windows urlmon.dll.
2009-01-03 14:55:32 +01:00
Nikolay Sivov
55658d061c
ole32: Fix return value for IDataObject_GetData.
2008-12-22 10:28:37 +01:00
Nikolay Sivov
0eeb042067
ole32: Make OleSetClipboard affected by previous OleInitialize() calls.
2008-12-19 17:36:36 +01:00
Francois Gouget
0b1d8be037
ole32/tests: Make test_runnable() static.
2008-12-12 11:42:31 +01:00
Francois Gouget
3b140ccb0e
Assorted spelling fixes.
2008-11-17 16:04:39 +01:00
Alexandre Julliard
f8b8478f91
ole32/tests: Fix a couple of test failures on Win9x and NT4.
2008-11-13 21:45:57 +01:00
Alexandre Julliard
4bff91265a
ole32/tests: Don't hardcode the Ansi codepage value.
2008-11-13 21:45:41 +01:00
Alexandre Julliard
48d41dbc37
ole32/tests: Use a CLSID that is more likely to exist on old Windows versions.
2008-11-13 21:45:25 +01:00
Alexandre Julliard
5ca20cd482
ole32/tests: Fix a couple of global stream test failures on Win9x.
2008-11-13 21:45:04 +01:00
Paul Vriens
a9c3d6f207
ole32/tests: Don't crash on NT4.
2008-11-11 11:40:55 +01:00
Michael Stefaniuc
095568dfe9
ole32: Remove some superfluous casts of void pointers and zero.
2008-11-06 11:09:54 +01:00
Huw Davies
0cc2c53107
ole32: Create the '\1Ole' stream.
2008-10-28 12:14:06 +01:00
Paul Vriens
6d15749d14
ole32/tests: Fix two failures on NT4.
2008-10-09 13:01:40 +02:00
Rob Shearman
f16bbf3282
ole32: Fix clipboard test failures on some versions of Windows.
...
Some versions of ole32 don't test that the lindex field of the
FORMATETC structure passed into functions is valid.
2008-09-29 17:25:00 -05:00
Rob Shearman
7b564cbf17
ole32: Create a dummy window for use in the drag and drop API tests.
...
As a window being registered for drag and drop is a system-global
property, the tests could be affected by other processes in the
system.
2008-09-29 17:24:42 -05:00
James Hawkins
6f7c2b94d4
ole32: Fix a few file access discrepancies between platforms.
2008-09-09 11:46:17 +02:00
James Hawkins
e28098aee5
ole32: Fix two failing tests in win9x.
2008-09-03 14:21:43 +02:00
James Hawkins
21cde57be5
ole32: Fix a failing test in Vista.
2008-09-03 13:14:51 +02:00
Dan Hipschman
44800b6ad4
ole32: Add a widl-generated proxy file for objidl.idl.
2008-09-02 16:02:29 +02:00
Alistair Leslie-Hughes
0a1a4f7ca8
ole32: Stop crash under w2k8.
2008-08-20 13:55:43 +02:00
James Hawkins
5ea0d9d807
ole32: Storage sharing should be implemented in ole32, not the lower-level file API.
2008-08-19 13:55:53 +02:00
James Hawkins
48524c9b92
ole32: Test the file access and share modes of StgCreateDocFile.
2008-08-19 13:30:47 +02:00
Paul Vriens
d46f93669d
ole32/tests: Fix a test on win98 and W2K.
2008-08-18 17:04:48 +02:00
Vincent Povirk
a0249babcd
ole32: Always return false when asked if NULL is the current clipboard.
2008-07-21 14:36:29 +02:00
Vincent Povirk
38c5185d2e
ole32: Add tests for OleIsCurrentClipboard(NULL).
2008-07-21 14:36:21 +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
James Hawkins
833c342555
ole32: Fix a few failing tests in win2k.
2008-07-08 10:48:16 +02:00
James Hawkins
e71e3efe77
ole32: Fix a test failure in win9x.
2008-06-30 12:47:57 +02:00
Paul Vriens
185ad65d12
ole32/tests: Only skip the tests if we are on NT4 or below.
2008-06-10 17:43:14 +02:00
Paul Vriens
b1a5b94001
ole32/tests: Fix crash on NT4 and below.
2008-06-10 11:33:40 +02:00
Paul Vriens
470a0a22f4
ole32/tests: Fix crash on W2K and below.
2008-06-10 11:33:36 +02:00
Paul Vriens
dae64e67fc
ole32/tests: Prevent a crash.
2008-05-30 11:50:04 +02:00
Francois Gouget
315bf2fa45
ole32/tests: Add a trailing '\n' to ok() calls.
2008-05-22 11:42:54 +02:00
Michael Karcher
3d5ea20190
ole32/tests: Test StringFromGUID2.
2008-05-20 15:45:43 +02:00
Michael Karcher
a2880cc61d
ole32/tests: Do not call Release if CoCreateInstance failed.
2008-05-20 15:43:54 +02:00
Alexandre Julliard
dad21bbcbf
makefiles: List the static libraries as normal imports instead of extra libs.
2008-04-30 14:23:55 +02:00
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
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
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
James Hawkins
1edb56cec8
ole32: Fix a few tests that fail in win2k.
2008-04-17 12:51:31 +02:00
Rob Shearman
51158a2f9c
ole32: Add tests for clipboard's implementation of IDataObject_GetData.
2008-04-16 14:07:24 +02:00
Rob Shearman
2cd4117f81
ole32: Fix OLEClipbrd_IDataObject_QueryGetData to conform to the tests.
2008-04-16 14:07:19 +02:00
Rob Shearman
e0ef1f061a
ole32: Add some tests for OleGetClipboard.
...
Test the IDataObject_QueryGetData function of the returned object.
2008-04-16 14:07:14 +02:00
Reece Dunn
4fbdab7a8f
ole32: Added a missing include needed for CLSID_ShellDesktop using MSVC headers.
2008-03-24 21:05:17 +01:00
Alexandre Julliard
05c7174909
tests: Add a helper routine to wait for a child process and propagate its result correctly.
2008-02-07 12:56:00 +01: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
34ab21d11e
ole32: Register the window used in the marshal tests only once.
...
Destroy the windows that have been created when they are no longer needed.
2007-12-07 16:34:48 +01:00
Rob Shearman
b711d35d40
ole32: Fix the test of the size returned from WdtpInterfacePointer_UserSize.
...
It varies on different versions of Windows, so we shouldn't test it for
an exact value.
2007-12-04 13:32:45 +01:00
Rob Shearman
5c53b52c5a
ole32: Fix a test in the WdtpInterfacePointer tests.
2007-11-29 13:35:14 +01:00
Rob Shearman
95b6167244
ole32: Fix description of what is being test in ok calls in the WdtpInterfacePointer tests.
2007-11-29 13:35:10 +01:00
Rob Shearman
c111c2d685
ole32: Add tests for WdtpInterfacePointer_* functions.
...
Add stubs for these so that the tests link.
2007-11-27 11:40:19 +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
5d2f802359
ole32: Validate the parameters to DataCache_Cache.
2007-11-13 23:28:05 +01:00
Rob Shearman
56a624b0fe
ole32: Wait forever on the ready_event in the local server tests.
2007-11-13 13:33:17 +01:00
Rob Shearman
8ee930150c
ole32: Fix a memory leak in the HGLOBAL stream tests by telling CreateStreamOnHGlobal to free the memory it allocates, as we don't free it ourselves in this test.
2007-11-13 13:29:47 +01:00
Rob Shearman
dd527a7d2c
ole32: Fix a leak of a moniker object in test_default_handler.
2007-11-12 11:46:11 +01:00
Rob Shearman
e8b9a427be
ole32: Add a missing IMoniker_Release to test_MkParseDisplayName.
2007-11-12 11:45:38 +01:00
Rob Shearman
b75a33a214
ole32: Add a missing IStream_Release to test_same_apartment_unmarshal_failure.
2007-11-12 11:45:30 +01:00
Rob Shearman
2e2383d5ca
ole32: Add a missing IStream_Release to test_CoMarshalInterThreadInterfaceInStream.
2007-11-12 11:45:19 +01:00
Rob Shearman
1d0993341c
ole32: Add tests for CoGetObjectContext.
2007-11-02 12:18:42 +01:00
Rob Shearman
2eb10c2e22
ole32: Improve the error reporting in the marshal test when CreateProcess fails.
2007-11-02 12:18:40 +01:00
Rob Shearman
5ce2d25b32
ole32: Reset the parent storage on overwritten streams so that operations on them now fail.
2007-10-22 12:36:07 +02:00
Rob Shearman
842d1b698d
ole32: Add a test to show that operations on overwritten should no longer succeed.
2007-10-22 12:36:07 +02:00
Alexandre Julliard
41cf63148a
Fix redundant uses of MAKEINTRESOURCE.
2007-10-18 14:16:32 +02:00
Mikolaj Zalewski
01e7891d48
ole32: OleIsRunning should return TRUE if the class doesn't implement IRunnableObject.
2007-10-10 11:18:44 +02:00
Rob Shearman
5e2d890e5d
ole32: RegisterDragDrop should return E_OUTOFMEMORY in the case that COM isn't intialised, instead of CO_E_NOTINITIALIZED.
2007-10-09 17:52:46 +02:00
Alexandre Julliard
2b5376cbc1
ole32/tests: Remove test that tries to create a huge file on Windows.
2007-09-25 11:38:31 +02:00
Michael Stefaniuc
d28c3ca60c
ole32: Remove superfluous casts of void pointers to other pointer types.
2007-06-27 12:53:25 +02:00
Rob Shearman
30cc21196e
ole32: Remove spurious AddRef of returned object on retrieval of an interface from the global interface table.
2007-05-23 12:49:50 +02:00
Rob Shearman
7d90b6ce29
ole32: Allow the getting of different interfaces from the global interface table than that with what the object was registered with.
2007-05-23 12:49:45 +02:00
Rob Shearman
05230781b0
ole32: Add more tests for global interface table functions.
2007-05-23 12:49:39 +02:00
Rob Shearman
071ea06af8
ole32: Remove a useless trace.
...
Remove an incorrect comment.
2007-05-22 12:19:07 +02:00
Rob Shearman
dd8a736c3f
ole32: The identity functions can be used from apartments other than the one the proxy was unmarshaled into.
...
In this case, don't use the cached This->remunk and don't cache the
unmarshaled object in This->remunk.
2007-05-22 12:18:55 +02:00
Rob Shearman
5369d4dffd
ole32: Handle MSHLFLAGS_TABLEWEAK and MSHLFLAGS_TABLESTRONG when marshaling a proxy.
...
Add tests for this behaviour.
2007-05-22 12:18:31 +02:00
Rob Shearman
82cfed96a7
ole32: Fix reading from an HGLOBALStreamImpl with an invalid HGLOBAL.
...
Add tests that show the strange behaviour of IStream_Read returning S_OK
instead of an error code.
2007-05-18 14:42:53 +02:00
Rob Shearman
600143d4fa
ole32: Create host apartments to enable isolation of objects of incompatible threading models.
...
There should be one host apartment per apartment. Existing apartments
should not be re-used, except in the case of the main apartment.
2007-05-18 14:42:37 +02:00
Paul Vriens
0eeb5727b2
ole32/tests: Check for correct return value.
2007-05-14 16:45:17 +02:00
Rob Shearman
b005e9ed0d
ole32: Move the logic in StgCreateDocfile for "if no share mode given then DENY_NONE is the default" to before the validateSTGM check.
...
Add a test that shows this behaviour is correct.
Remove a test on the access mode that is redundant because it is already
done in validateSTGM.
2007-05-10 12:15:11 +02:00
Rob Shearman
71ada5c654
ole32: Add a test for the retrieved local class object in another thread being a proxy.
2007-05-08 13:24:07 +02:00
Rob Shearman
7d7f9a59d0
ole32: Fix CoRevokeClassObject to return RPC_E_WRONG_THREAD if it was called from a different apartment than the one that called CoRegisterClassObject.
2007-05-08 13:23:51 +02:00
Rob Shearman
51f85a765b
ole32: COM_GetRegisteredClassObject should only retrieve objects that were registered in the current apartment.
2007-05-08 13:23:30 +02:00
Rob Shearman
e93c82e643
ole32: Add tests for in-process registered class objects not being visible from different apartments.
2007-05-08 13:23:01 +02:00
Rob Shearman
4cbca9ac3a
ole32: Add test for registered class becoming invalid when apartment is destroyed.
2007-05-08 13:22:26 +02:00
Rob Shearman
1360357f92
ole32: Fix a hack which depended on the IID of the interface being marshaled
...
to determine whether we were marshaling the remote unknown for the
apartment or not.
2007-04-06 12:31:04 +02:00
Rob Shearman
63ea015c65
ole32: Don't release the registered drop targets in OleUninitialize.
...
Do it in DLL_PROCESS_DETACH instead.
2007-04-05 13:25:18 +02:00
Rob Shearman
47432cba45
ole32: Check the input hwnd is valid in RevokeDragDrop.
2007-04-05 13:25:05 +02:00