Commit Graph

806 Commits

Author SHA1 Message Date
Frédéric Delanoy 86a9e6a366 ole32/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-29 14:50:52 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Frédéric Delanoy 43d05cc59e ole32/tests: Constify some character strings. 2013-12-27 14:31:53 +01:00
André Hentschel 04f5160c93 ole32/tests: Don't crash when StgOpenStorage fails. 2013-11-27 10:53:47 +01:00
Nikolay Sivov d0bf7f4eaf ole32: Added activation context support for OleRegGetMiscStatus(). 2013-11-11 20:56:20 +01:00
Nikolay Sivov 0af3bd8365 ole32: Support activation context in CLSIDFromProgID(). 2013-10-25 11:12:31 +02:00
Nikolay Sivov f96631e110 ole32: Add a helper to map ProgID to CLSID using registry. 2013-10-25 11:12:27 +02: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
Nikolay Sivov 03dbbe2103 ole32: Support activation context in ProgIDFromCLSID(). 2013-10-22 16:37:41 +02:00
Nikolay Sivov e02b1687aa ole32: Support activation context redirection in CoGetPSClsid(). 2013-10-22 16:37:40 +02:00
Nikolay Sivov af93b53082 ole32: Support registration-free COM in CoGetClassObject(). 2013-10-21 20:23:55 +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
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Nikolay Sivov 84d9b2502e ntdll: Added compatible ProgID section. 2013-09-13 10:54:53 +02:00
Nikolay Sivov 8902aae991 ole32/tests: Some tests for redirection in CoGetPSClsid(). 2013-08-30 11:46:46 +02:00
Nikolay Sivov c192885df4 ole32: Missing MiscStatus key is not a failure for OleRegGetMiscStatus(). 2013-08-27 11:50:53 +02:00
Nikolay Sivov 15bc45a54c ole32/tests: Test for OleRegGetMiscStatus() redirection behaviour. 2013-08-26 17:29:24 +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
Nikolay Sivov 7a69c2f169 ole32/tests: More tests that actually show CLSID/ProgId redirection in action. 2013-07-19 11:57:01 +02:00
Nikolay Sivov cf087d0eb7 ole32/tests: Tests for CLSIDFromProgID() and ProgIDFromCLSID(), regarding activation context. 2013-07-12 17:57:45 +02:00
Jacek Caban a2aefe917e ole32/tests: Added tests for external connections stored in ROT. 2013-06-27 15:31:33 +02:00
Dmitry Timoshkov b02951dfa7 ole32/tests: Make sure that key "Software\\Classes" exists under HKEY_CURRENT_USER. 2013-06-11 11:29:45 +02:00
Dmitry Timoshkov ac13aa28ad ole32/tests: Test remaining class, object and server reference counts at server exit. 2013-06-11 11:29:29 +02:00
Dmitry Timoshkov 2daa5367f8 ole32/tests: Add a test for local server interaction using an in-process handler. 2013-06-10 12:38:31 +02:00
Dmitry Timoshkov 289437dc4d ole32/tests: Remove redundant code. 2013-06-10 12:38:31 +02:00
Dmitry Timoshkov eeca784b70 ole32: Add a basic OLE client/server test suite. 2013-06-07 17:40:41 +02:00
Alistair Leslie-Hughes f0806fd68c ole32/tests: Check function pointer. 2013-06-03 22:55:27 +02:00
Alistair Leslie-Hughes 0f4c77d877 ole32/tests: Fix crash under NT. 2013-06-03 22:55:21 +02:00
Dmitry Timoshkov 748c3ea9c9 ole32: Add a couple more defaulthandler tests. 2013-05-30 20:19:32 +02:00
Alistair Leslie-Hughes 97ac6943c3 ole32: Fix test under NT. 2013-05-29 11:26:13 +02:00
Jacek Caban 889112a29a ole32: Use a separated object to expose local servers instead of marshaling them in CoRegisterClassObject. 2013-05-23 20:03:17 +02:00
Alexandre Julliard aaa680bfda ole32/tests: Fix array indices in a trace. 2013-05-21 14:57:53 +02:00
Jacek Caban fdc4d40d18 ole32: Added more default handler QueryInterface tests. 2013-05-10 17:53:05 +02:00
Nikolay Sivov a06db6cce5 ole32: Stub for IDirectWriterLock. 2013-04-18 17:00:17 +02:00
Nikolay Sivov c29f3dff8c ole32: Accept STGM_DIRECT_SWMR mode. 2013-04-18 17:00:12 +02:00
Nikolay Sivov a90c1efe51 ole32: Move share/access modes to static arrays. 2013-04-18 16:59:56 +02:00
Piotr Caban c0a17a4f09 ole32: Don't pass CLSCTX_INPROC_SERVER and CLSCTX_INPROC_HANDLER flags to CoCreateInstance in DefaultHandler_Run. 2013-02-27 19:23:48 +01:00
Piotr Caban 0cf2b77aed ole32: Added more OleCreateDefaultHandler tests. 2013-02-27 19:23:47 +01:00
Roman Dadkov 665717ae75 ole32/tests: Add test for OleRun. 2013-02-15 11:55:37 +01:00
Roman Dadkov 8a4557ac8b ole32/tests: Add test for SetClientSite. 2013-02-13 20:39:42 +01:00
Francois Gouget f963f93964 Assorted spelling fixes. 2013-01-07 11:10:40 +01:00
Qian Hong 9b90ea557b ole32: Fix OleDraw() with NULL pUnk. 2012-12-06 22:52:15 +01:00
Hans Leidekker 7895eae15b ole32: Convert the remaining RegCreateKey and RegOpenKey calls to the wrappers. 2012-11-26 16:59:22 +01:00
Hans Leidekker a82c49028d ole32: Use wrappers around NT functions to access the registry in CoGetPSClsid. 2012-11-26 16:59:17 +01:00
Nikolay Sivov 6a8b4f11a8 ole32: Fix OleDraw() regarding passed rectangle handling. 2012-11-26 11:57:04 +01:00
Hans Leidekker 479b7bcf60 ole32/tests: Add a test to show that CoGetPSClsid is not affected by an override of HKEY_CLASSES_ROOT. 2012-11-22 17:35:30 +01:00
Michael Stefaniuc 470ad72b05 ole32/tests: Fix a memleak on an error path (Smatch). 2012-10-31 16:12:27 +01:00
Alexandre Julliard cba98a2d8e ole32/tests: Fix a test failure on newer Windows versions. 2012-10-12 11:54:03 +02:00
Vincent Povirk 718f095629 ole32: Add tests for StgConvertVariantToProperty. 2012-10-08 12:55:26 +02:00
André Hentschel fb383cd5a6 ole32/tests: Use IUnknown_Release instead of deprecated WdtpInterfacePointer_UserFree. 2012-09-27 22:21:55 +02:00
Vincent Povirk 0a5086ab64 ole32: Add support for reading BSTR properties. 2012-08-28 14:40:57 +02:00
Vincent Povirk 58c2462c36 ole32: Implement StgConvertPropertyToVariant. 2012-08-28 14:40:38 +02:00
Vincent Povirk ae722c45ad ole32: Add tests for StgConvertPropertyToVariant. 2012-08-28 14:40:33 +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
Michael Stefaniuc 43ae84636a ole32: Avoid TRUE:FALSE conditional expressions. 2012-08-13 11:50:42 +02:00
Nikolay Sivov e45202fdae ole32: Remove unsupported interface REFIID from storage stream QueryInterface. 2012-07-18 11:14:04 +02:00
Nikolay Sivov 959814a3bd ole32: Fix QueryInterface for IErrorInfo to return IUnknown pointer. 2012-07-17 12:50:20 +02:00
Nikolay Sivov 3956296128 ole32: Implement SetConvertStg(). 2012-07-16 15:21:45 +02:00
Nikolay Sivov 7b373edb81 ole32: Implement GetConvertStg(). 2012-07-13 10:28:42 -05:00
Dmitry Timoshkov 574a52e522 ole32: Add VT_I1 to the list of supported variant types. 2012-06-12 10:21:49 +02:00
Alexandre Julliard 2736d28064 ole32: Add a NULL pointer check in CoDisconnectObject. 2012-05-14 18:24:19 +02:00
Bruno Jesus 2cd2628c7b ole32: Make sure StgIsStorageILockBytes tests real data. 2012-04-16 17:49:30 +02:00
Alistair Leslie-Hughes d764b5188e ole32/tests: Assign a default value (clang). 2012-03-16 13:02:51 +01:00
Francois Gouget a603e9871e include: Add a few missing include directives to shlguid.h. 2011-12-20 10:16:45 +01:00
Francois Gouget 3c3a4740ca include: Add a couple of missing include directives in windows.h.
Rename a variable to avoid a conflict with the Unknown enumeration value.
Define WIN32_LEAN_AND_MEAN to avoid conflicts caused by the SetPort macro.
2011-12-15 10:49:18 +01: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
Francois Gouget 54c74dc4a2 ole32/tests: Fix compilation on systems that don't support nameless unions. 2011-09-19 13:19:29 +02:00
Vincent Povirk cb9e572611 ole32: Discard existing data when creating a new storage on an ILockBytes. 2011-09-13 09:20:29 +02:00
Vincent Povirk 7df35e9b0f ole32/tests: Test creation of a storage on an ILockBytes containing data. 2011-09-13 09:20:27 +02:00
Octavian Voicu 9b1fc0fd74 ole32: Fix a few incorrect pointer/integer casts on 64-bit. 2011-08-31 19:43:08 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Michael Stefaniuc 3673f6b7c4 ole32/tests: COM cleanup in compobj.c. 2011-08-03 14:15:48 +02:00
Austin English 94f63d7681 ole32/tests: Make sure to use a return value (LLVM/Clang). 2011-07-26 10:22:38 +02:00
Frédéric Delanoy 8f32948d9a ole32/tests: Remove dead assignment (Clang). 2011-07-11 18:33:46 +02:00
Adam Martinson e85668b463 ole32: Don't call IDropTarget::QueryInterface() in RegisterDragDrop(). 2011-06-08 17:36:40 +02:00
Vincent Povirk c72ecb1de6 ole32: Avoid opening source storage in IStorage::CopyTo. 2011-06-03 17:37:09 +02:00
David Hedberg a0980b47c8 ole32: Add ManualResetEvent implementation. 2011-05-30 17:55:43 +02:00
Adam Martinson 456e48efa1 ole32/tests: IDropTarget::QueryInterface() shouldn't be called. 2011-05-20 17:57:01 +02:00
Nicolas Le Cam cfe11f1875 ole32/tests: Fix large integer overflow warnings. 2011-05-02 12:42:21 +02:00
David Hedberg ea14a6b2e7 oleaut32: Fix CLSIDToString behaviour when passed an invalid CLSID-string.
In some cases, Excel 2007 apparently relies on CLSIDToString properly
parsing an "invalid" CLSID string where extra bytes are appended.
2011-04-28 18:17:18 +02:00
Nikolay Sivov 0c33682330 ole32: Handle null argument in OleIsRunning(). 2011-04-08 13:03:20 +02:00
Austin English 671b9a43e7 ole32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-17 17:30:30 +01:00
Austin English fe975fb0b6 ole32/tests: Make sure to use return values (LLVM/Clang). 2011-02-14 13:33:33 +01:00
Austin English 5206db8055 ole32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-14 13:33:33 +01:00
Austin English efb3c48d8a ole32/tests: Make sure to use return values (LLVM/Clang). 2011-02-14 13:33:32 +01:00
Austin English f0ca65a287 ole32/tests: Make sure to use return values (LLVM/Clang). 2011-02-10 09:57:59 -06:00
Austin English 5ca437e758 ole32/tests: Remove unused assignment (LLVM/Clang). 2011-02-07 10:10:16 -06:00
Nikolay Sivov d91dbd0baa ole32/tests: Test for return value directly without macros. 2011-01-11 16:05:46 +01:00
Greg Geldorp 8cbb8cc38d ole32/tests: Disable target device clipboard tests. 2011-01-03 16:57:04 +01:00
Greg Geldorp 9c9762d1ab ole32/tests: Fix crashes in usrmarshal. 2011-01-03 11:54:03 +01:00
André Hentschel 0fb2994fdc ole32/tests: Don't test function directly when reporting GetLastError(). 2010-12-31 11:44:02 +01:00
Michael Stefaniuc 6012a506cc ole32/tests: Standardize the COM usage in clipboard.c. 2010-12-14 12:30:46 +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
Andrew Bogott 796aca38f0 ole32: Fix the test for arbitrary property ids. 2010-12-01 11:14:39 +01:00
Andrew Bogott df219f8758 ole32: Revert "ole32: Only read known format ids when attempting to read summary information.".
This reverts commit c94b2687d2.
2010-12-01 11:14:29 +01:00
Andrew Bogott ddc5cbb371 ole32/tests: Added a couple of simple tests for StgCreateStorageEx. 2010-11-18 12:52:38 +01:00
Jacek Caban 0c6f2a6d2a ole32: Skip more tests on win9x. 2010-11-16 15:12:43 +01:00
Huw Davies abf8da6727 ole32: Implement OnRun and OnStop. 2010-11-01 16:16:12 +01:00
Huw Davies ad326999ec ole32/tests: Add tests to exercise the datacache's IDataObject::GetData. 2010-11-01 16:15:32 +01:00
David Hedberg a5caff3bac ole32: Pass failures from delegate object's ::QueryInterface in default handler. 2010-10-21 12:28:51 +02:00
David Hedberg d95e2dbd62 ole32: OleLoad should not fail even if IOleObject::GetMiscStatus fails. 2010-10-18 19:08:38 +02:00
Alexandre Julliard bc8e70c089 ole32/tests: Make some variables static. 2010-10-01 13:37:14 +02:00
Andrew Eikum 91d91afb7d ole32: Create a FORMATETC if one is not given in OleCreate. 2010-09-28 17:33:20 +02:00
Huw Davies 250b55c41d ole32: Call the draw_continue function. 2010-09-28 17:33:17 +02:00
Huw Davies 6c7dd939cf ole32/tests: Mark the draw_continue callbacks as optional. Win9x can skip calls under low-load conditions. 2010-09-28 17:33:17 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Huw Davies a2e1dd29dc ole32/tests: Relax the reference counting tests a bit. We only care whether references are held or not. 2010-07-22 16:11:51 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Vincent Povirk d64ee9ff11 ole32: Fix seeking backwards in hglobalstream. 2010-05-27 14:46:43 +02:00
Vincent Povirk ff4292c229 ole32/tests: Add more IStream_Seek tests for hglobalstream. 2010-05-27 14:46:42 +02:00
Juan Lang c94b2687d2 ole32: Only read known format ids when attempting to read summary information. 2010-05-25 12:02:47 +02:00
Juan Lang b4c3a04165 ole32/tests: Test creating an IPropertySetStorage with an unknown format id. 2010-05-25 12:02:37 +02:00
Andrew Nguyen 07325c7d7c ole32/tests: Add tests for output parameters in MkParseDisplayName. 2010-05-21 18:58:05 +02:00
Andrew Nguyen 7bdf023e69 ole32: Validate pointer parameters in MkParseDisplayName. 2010-05-21 18:58:05 +02:00
Nikolay Sivov 2c80e14eec ole32: Use window property to store registered drop target. 2010-05-18 08:53:08 +02:00
Vincent Povirk dbf123ba0d ole32: Fix reads past the end of streams. 2010-05-07 12:46:50 +02:00
Nikolay Sivov 071d16d624 ole32/tests: Additional test for RevokeDragDrop with destroyed window. 2010-05-03 13:58:41 +02:00
Nikolay Sivov 5426320d82 ole32/ole2: Fix simple parameter handling for DoDragDrop(). 2010-05-03 13:58:38 +02:00
Nikolay Sivov a37dfe3584 ole32/tests: Move tests to a separate function. 2010-05-03 13:58:34 +02:00
Alexandre Julliard 38b6f4dfff ole32/tests: Avoid using a pointer difference in a trace. 2010-04-09 16:14:16 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Vincent Povirk 8d58a91fa3 ole32: Allow CopyTo to succeed in spite of already open source streams. 2010-03-15 13:17:34 +01:00
Alexandre Julliard a456e641db ole32/tests: Avoid sizeof in traces. 2010-03-05 15:17:57 +01:00
Vincent Povirk 3733789aa9 ole32: Add tests for CopyTo in recursive situations. 2010-03-04 12:29:21 +01:00
Vincent Povirk 11abad24dd ole32: Add a test showing IStorage_CopyTo ignores open objects in the source. 2010-03-03 11:49:27 +01:00
Reece Dunn 0ed4c6df24 ole32: IMoniker_IsRunning returns E_INVALIDARG when bindctx is NULL. 2010-03-02 11:12:37 +01:00
Reece Dunn f08206b31f ole32: Fix the HGLOBAL stream Seek implementation. 2010-02-25 12:10:40 +01:00
Reece Dunn 4cd390ca4e ole32/tests: Improve the HGLOBAL stream tests for Seek. 2010-02-25 12:10:35 +01:00
Alexandre Julliard 6164ce2d82 makefiles: Use the standard C_SRCS variable as the list of test files.
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Vincent Povirk da250c9afe ole32: IStorage_Revert has no effect for non-transacted storages. 2010-01-25 12:58:22 +01:00
Alexander Kochetkov 56bc0515c2 ole32/storage32: Fix return value for invalid access mode in OpenStream. 2009-12-30 16:13:57 +01:00
Rob Shearman 36bfaea96d ole32: Fix stream reference leak in test_ReadClassStm. 2009-12-30 13:36:46 +01:00
Vincent Povirk ffc4a49bcb ole32: Always allow changes to read-only transacted storages.
The only time the write permissions of transacted storages matter is when
committing.
2009-12-28 11:54:49 +01:00
Paul Vriens 25d15c68dc ole32/tests: Fix a test failure on several platforms. 2009-12-22 13:48:24 +01:00
Vincent Povirk fc50ff07d6 ole32: Store the most recent item name in IEnumSTATSTG instead of a stack. 2009-12-21 15:01:24 +01:00
Vincent Povirk 4492850200 ole32: Make IEnumSTATSTG functions fail when the parent is invalid. 2009-12-21 15:01:23 +01:00
Vincent Povirk 2010e0fb28 ole32: Add some tests for IEnumSTATSTG. 2009-12-21 15:01:23 +01:00
Vincent Povirk 4f0dfb51b3 ole32: Fix memory leaks in the storage test. 2009-12-18 11:44:04 +01:00
Huw Davies c6d4df8b1c ole32: Fix several memory leaks in the tests.
Found by Valgrind.
2009-12-16 12:24:19 +01:00
Vincent Povirk 3ff33e9303 ole32: Implement Revert for transacted storage objects. 2009-12-11 12:16:26 +01:00
Vincent Povirk 226363f5df ole32: Implement transacted storage. 2009-12-11 12:16:26 +01:00
Paul Vriens 49d40d80f4 ole32/tests: Don't crash on Win9x/WinMe by using more A-functions. 2009-12-10 12:39:52 +01:00
Vincent Povirk 1a12141d86 ole32: Add a test for modifying read-only substorage objects. 2009-12-10 11:51:01 +01:00
Vincent Povirk 9300a92ccc ole32: Change the base IStorage filename to a pointer type.
The maximum size of the name returned by Stat() on a top-level storage has
nothing to do with DIRENTRY_NAME_BUFFER_LEN. Windows can return longer names
and probably has a limit of MAX_PATH. Also, Stat always returns an absolute
pathname, so we don't need a special case in StgOpenStorage.
2009-12-08 12:34:47 +01:00
Rob Shearman 2b74e774f9 ole32: Add tests for HGLOBAL stream ignoring the HighPart of the offset for seeks. 2009-12-07 09:32:11 +01:00
Rob Shearman 4ad631286a ole32: Initialise all of position variables in test_save_load_filemoniker.
Initialise all 8-bytes instead of just the lower 4-bytes. This test
isn't designed to be testing whether the Seek method of the object
return by CreateStreamOnHGlobal uses the high part of the positions
passed in.
2009-12-07 09:32:08 +01:00
Vincent Povirk cf5e6c571a ole32: Forbid substorages of simple mode storages. 2009-12-04 14:34:58 +01: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 9943facb26 ole32: Fix error code returned by CoGetClassObject/CoCreateInstance in CLSCTX_REMOTE_SERVER case. 2009-11-24 10:52:07 +01:00
Rob Shearman 8554ce5b18 ole32: Add tests for errors returned by CoCreateInstance for classes that are not registered. 2009-11-24 10:52:02 +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
Rob Shearman d963e97f32 ole32: Objects registered as local servers don't need to support IClassFactory. 2009-11-20 16:38:56 +01:00
Vincent Povirk 669af158da ole32: Invalidate open storage objects that are deleted. 2009-11-20 11:15:53 +01:00
Vincent Povirk 8569d547b9 ole32: Forbid renaming an open storage. 2009-11-20 11:15:44 +01:00
Vincent Povirk c62a4ad841 ole32: Forbid opening the same storage twice. 2009-11-20 11:15:35 +01:00
Vincent Povirk d3c0a3a829 ole32: Invalidate open storage objects that outlive their parent. 2009-11-20 11:15:27 +01:00
Vincent Povirk 3cd2a80eda ole32: Add test for freeing the parent of a storage. 2009-11-20 11:15:21 +01:00
Vincent Povirk 52100e9620 ole32: Do not allow renaming streams that are open. 2009-11-19 11:46:57 +01:00
Vincent Povirk 371f6a4818 ole32: Do not allow the same stream to be opened twice. 2009-11-19 11:46:49 +01:00
Vincent Povirk 9d0c4c971d ole32: Always invalidate stream objects when deleting the stream. 2009-11-19 11:46:32 +01:00
Vincent Povirk a2c405fa15 ole32: Add a test for freeing the parent of an open stream. 2009-11-19 11:46:18 +01:00
Rob Shearman 932544d34c ole32: OleInitialize should return S_OK if it is called for the first time on a thread independently of CoInitializeEx. 2009-11-17 15:14:53 +01:00
Hans Leidekker e265d534e4 ole32: Return success from OleLockRunning when the object does not support IRunnableObject. 2009-11-11 11:50:50 +01:00
Vincent Povirk bc3fa10773 ole32: Add tests for IStorage_RenameElement. 2009-11-11 10:55:07 +01:00
Alexandre Julliard f7bd47f78b ole32/tests: Set returned pointer to NULL in CreateInstance (Valgrind). 2009-10-22 13:04:36 +02:00
Paul Vriens 5f52d86cc2 oleaut32/tests: Remove a temp file. 2009-10-20 14:39:37 +02:00
Vincent Povirk 657c832765 ole32: Add test showing storage objects can't be opened twice. 2009-10-14 11:23:07 +02:00
Andrew Eikum 7e7ed92b5d ole32/tests: Add tests for IStorage::CopyTo with IID exclusions. 2009-10-12 12:13:14 +02:00
Andrew Eikum 29fc53b632 ole32/tests: Add tests for IStorage::CopyTo with SNB exlusions. 2009-10-06 11:57:44 +02:00
Andrew Eikum 60d8547e61 ole32/tests: Add tests for IStorage::CopyTo. 2009-10-06 11:57:29 +02:00
Nikolay Sivov 5b723235d8 ole32: Check source pointer in StringFromGUID2. 2009-10-06 11:57:20 +02:00
Vincent Povirk 536aa9be99 ole32/tests: Add test for non-root transacted storage objects. 2009-10-05 13:46:00 +02:00
Vincent Povirk 3c9067de9f ole32/tests: Add test for IStorage::Revert. 2009-10-05 13:46:00 +02:00
Vincent Povirk d6e020fdb8 ole32/tests: Test substorages of transacted storage objects. 2009-10-05 13:46:00 +02:00
Jörg Höhle 08df19b405 ole32/tests: Guard ReleaseStgMedium with SUCCEEDED. 2009-09-30 14:31:57 +02:00
Markus Stockhausen abdebcdbbe ole32/storage32: Fix for reference counters in nested storage. 2009-09-26 16:05:45 +02:00
Andrew Eikum 968126c231 ole32: Don't fail when constants are 'incorrect'. 2009-09-08 12:11:10 +02:00
Andrew Eikum a0d262c545 ole32: Overwrite previous CompObj instead of failing. 2009-08-28 11:54:30 +02:00
Alexandre Julliard 4770ba7bcc ole32/tests: Skip a string that may not round-trip in all codepages. 2009-08-19 10:02:50 +02:00
Alexandre Julliard a104766b07 ole32/tests: Don't release the token object since it doesn't have a proper ref count. 2009-08-18 13:00:37 +02:00
Alexandre Julliard 9b2e414e91 ole32/tests: Avoid infinite waits in tests. 2009-08-18 12:48:57 +02:00
Alexandre Julliard d617642999 ole32/tests: Avoid depending on the heap allocation order for the CoGetObjectContext test. 2009-07-22 14:42:50 +02:00
Paul Vriens f057d7d63f ole32/tests: Reset a variable before testing. 2009-07-06 14:35:26 +02:00
Alexandre Julliard 05beb0daed ole32/tests: Fix the HMETAFILE_UserSize prototype. 2009-07-03 13:57:21 +02:00
Hans Leidekker 6986d97f18 ole32: Use existing MTA in CoGetContextToken and CoGetObjectContext. 2009-07-03 13:06:17 +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
Huw Davies 7490f922e0 ole32/tests: Add a test for enhanced metafile retrieval. 2009-06-23 11:45:08 +02:00
Francois Gouget 70cdb5c3e4 ole32/tests: Make test_readonly() static. 2009-06-05 14:43:25 +02:00
Paul Vriens cb81487707 ole32/tests: Fix remaining test failures on NT4 and below. 2009-06-04 12:11:51 +02:00
Paul Vriens 27485d9b53 ole32/tests: Fix a crash on NT4 and below. 2009-06-03 11:26:55 +02:00
Paul Vriens df24ec66dd ole32/tests: Run more tests on Win9x by using A-functions. 2009-06-03 11:26:47 +02:00
Paul Vriens 08a6e0c2d4 ole32/tests: Move common variables to the top. 2009-06-03 11:26:36 +02:00
Huw Davies 16dc037859 ole32: In simple mode keep the stream size above the small block limit. 2009-06-02 11:57:21 +02:00
Huw Davies 02fc79b2c9 ole32: In simple create mode the size returned by IStream_Stat is actually the current stream position. 2009-06-02 11:57:21 +02:00
Huw Davies cc8c36c44c ole32: In simple mode, CreateStream with the STGM_CREATE flag should fail. 2009-06-02 11:57:21 +02:00
Vincent Povirk e21adbf45a ole32: Fix return code of DeleteStorage for read only storage. 2009-06-01 16:16:02 +02:00
Vincent Povirk 93a155381f ole32: Fix crash when calling CreateStorage on read only storage. 2009-06-01 16:16:02 +02:00
Vincent Povirk 4a0901fb87 ole32: Fix crash when calling CreateStream on read only storage. 2009-06-01 16:16:02 +02:00
Vincent Povirk 5aab52c977 ole32: Add some tests for read only storage objects. 2009-06-01 16:16:02 +02:00
Alexandre Julliard fb640601ea ole32: Fix some pointer conversion warnings on 64-bit. 2009-05-28 15:24:25 +02:00
Huw Davies 628a8743d2 ole32/tests: Fix tests on systems without IE installed. 2009-05-25 11:21:12 +02:00
Huw Davies 825a1b7595 ole32/tests: Use the current stream position to determine the marshal data size. 2009-05-21 16:17:52 +02:00
Huw Davies 82b4b6423c ole32/tests: Exercise the HGLOBAL marshaller over a range of block sizes. 2009-05-20 10:51:04 +02:00
Huw Davies 564b960428 ole32/tests: Cope with an alignment hole between the two marshalled interfaces. 2009-05-19 15:46:17 +02:00
Huw Davies 707f962896 ole32/tests: Remove assumptions about the size of marshalled data. 2009-05-19 15:46:11 +02:00
Huw Davies 3b15bbfd37 ole32: Implement TYMED_ISTREAM marshalling. 2009-05-18 13:27:49 +02:00
Huw Davies 10919f7fb9 ole32/tests: Add tests for TYMED_ISTREAM marshalling. 2009-05-18 13:27:43 +02:00
Huw Davies cc68fc4467 ole32: Add support for marshalling pUnkForRelease. 2009-05-18 13:27:37 +02:00
Huw Davies 4581af5863 ole32/tests: Add tests for STGMEDIUM marshalling with a non-NULL pUnkForRelease. 2009-05-18 13:27:34 +02:00
Huw Davies 5b6312f24c ole32: Implement the WdtpInterfacePointer marshal functions. 2009-05-18 13:27:30 +02:00
Huw Davies affe9a1e6e ole32/tests: Show that it's the loword of the separate flag parameter that determines the marshalling context. 2009-05-18 13:27:24 +02:00
Huw Davies b045342ae8 ole32/tests: Add tests to show the WdtpInterfacePointer marshal data looks like the result of CoMarshalInterface. 2009-05-12 14:57:54 +02:00
Huw Davies 782ec11a0d ole32/tests: Make the size tests for the WdtpInterfacePointer marshaller more restrictive. 2009-05-12 14:57:51 +02:00
Alexandre Julliard 18419dab31 ole32/tests: Fix the clipboard format test on Win64. 2009-05-08 13:52:05 +02:00
Hans Leidekker bd4975acb0 ole32: Use existing MTA in CoGetClassObject and CoCreateInstance.
Custom actions in the CS3 installer depend on this.
2009-05-05 14:14:20 +02:00
Hans Leidekker d2820c0684 ole32: Add tests to show that COM needs to be initialized only once for multi-threaded apartments. 2009-05-05 14:14:10 +02:00
Huw Davies 66d04f8eb6 ole32: Implement GetDataHere. 2009-04-30 17:20:00 +02:00
Huw Davies d2837cb94d ole32/tests: Improve the traces in the test. 2009-04-24 15:02:23 +02:00
Aric Stewart 46da8ef18b ole32: CoGetTreatAsClass should return S_FALSE if it cannot even find the key for the requested CLSID. 2009-04-24 11:51:35 +02:00
Huw Davies 11cb788f35 ole32/tests: For win9x and winme the size of the data on the clipboard may be larger than expected. 2009-04-23 18:14:03 +02:00
Huw Davies 083473659b ole32/tests: Rename variable to avoid a conflict on some systems. 2009-04-22 17:00:56 +02:00
Huw Davies 6928615d5c ole32/tests: Add some tests to exercise the enumerator. 2009-04-22 14:43:37 +02:00
Huw Davies 1556d831c8 ole32/tests: win9x and winme don't enumerate duplicated cfFormats. 2009-04-22 14:43:33 +02:00
Huw Davies d18875f306 ole32/tests: win64 sets the lsb of the final DWORD in the ole private data header. 2009-04-22 14:43:20 +02:00
Huw Davies f9d48e7ba0 ole32/tests: win9x and winme don't have CF_UNICODETEXT. 2009-04-22 14:43:17 +02:00
Huw Davies 508d6db8e2 ole32/tests: win9x, winme and nt4 ignore the target device. 2009-04-22 14:43:13 +02:00
Huw Davies 57d555c796 ole32/tests: OleGetClipboard doesn't return the same object under win9x, winme and nt4. 2009-04-22 14:43:09 +02:00
Huw Davies 08d4352f9b ole32: Add support for enumerating non-ole clipboard formats. 2009-04-21 13:26:17 +02:00
Huw Davies 575b0e1435 ole32: Don't set cf_dataobject if we're clearing the clipboard. 2009-04-21 13:21:19 +02:00
Huw Davies 1e73a54690 ole32: Check that the target devices match. 2009-04-21 13:16:48 +02:00
Huw Davies aadd07ca9d ole32/tests: Tests for a flushed clipboard. 2009-04-16 11:37:39 -05:00
Huw Davies 718831b77c ole32/tests: Add a few more reference count tests. 2009-04-16 11:36:53 -05:00
Huw Davies fca4ed5596 ole32: After a call to GetData the consumer should hold a ref on the source data object. 2009-04-16 11:36:42 -05:00
Huw Davies df08d463c9 ole32: The consumer data object is not a singleton, but reflects the state of the clipboard when it was acquired. 2009-04-16 11:36:00 -05:00
Huw Davies f8a1b7e5a5 ole32/tests: Tests that show the consumer data object isn't a singleton. 2009-04-16 11:35:24 -05:00
Alexandre Julliard c378490d7d ole32/tests: Avoid size_t in traces. 2009-04-08 16:09:52 +02:00
Huw Davies 126ec0181f ole32/tests: Set tymed in GetData and AddRef the interfaces (ReleaseStgMedium releases them even if pUnkForRelease is non-NULL). 2009-04-01 15:23:03 +02:00
Huw Davies 61fa9bb061 ole32/tests: Add some tests for stream data. 2009-03-31 15:00:38 +02:00