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