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
Huw Davies
d28d731b61
ole32/tests: Add broken return value for win98.
2009-03-31 15:00:33 +02:00
Huw Davies
5492fd2b0d
ole32/tests: On win9x GetClipboardData returns a new handle.
2009-03-31 15:00:28 +02:00
Huw Davies
59501e037b
ole32/tests: Tests for EnumFormatEtc.
2009-03-30 16:42:46 +02:00
Huw Davies
89dcb968a3
ole32/tests: Fix DVTARGETDEVICE offsets.
2009-03-30 16:42:41 +02:00
Huw Davies
690202440e
ole32: Set the 'Ole Private Data' clipboard format.
2009-03-26 16:11:24 +01:00
Huw Davies
b7a2e83ddb
ole32: OleFlushClipboard shouldn't call EmptyClipboard.
2009-03-26 16:11:21 +01:00
Huw Davies
b75caee2ab
ole32/tests: Tests for the 'Ole Private Data' clipboard format.
2009-03-25 15:43:36 +01:00
Huw Davies
ef4b6b8749
ole32: Store the ole clipboard window's HWND in the DataObject clipboard format.
2009-03-23 15:52:18 +01:00
Michael Stefaniuc
efbb4ebf3e
widl: Output "LONG" instead of "long" for a 32bit integer.
...
long is always 32bit in IDL files but that's not true in C.
2009-03-13 11:15:21 +01:00
Paul Vriens
e31df3616a
ole32/tests: Remove an unused function declaration.
2009-03-06 15:39:30 +01:00
Huw Davies
561df2f1c6
ole32: Add support for VT_DECIMAL.
2009-03-06 15:39:02 +01:00
Huw Davies
5e0d4c774c
ole32/tests: win9x and winnt don't include the trailing '\0'.
2009-02-26 15:13:26 +01: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
ad880ba057
ole32: Fix a test failure in the moniker tests on Win9x.
...
Also fix a crash in running the tests on Win95.
2009-02-11 11:42:21 +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
Rob Shearman
b859d2052b
ole32: Allow some optional methods to be called in the OleCreate tests.
...
Fixes failures in these tests on NT4.
2009-02-09 14:03:09 +01:00
Rob Shearman
d26250fd08
ole32: Add framework in the ole2 tests for having optionally called methods.
2009-02-09 14:03:03 +01:00
Rob Shearman
db851a1d2a
ole32: Output the size that we didn't expect in the HGLOBAL marshalling tests.
2009-02-09 14:02:29 +01:00
Rob Shearman
f2b17029aa
ole32: Fix some test failures in the HGLOBAL marshalling tests on 64-bit Windows.
2009-02-09 13:58:07 +01:00
Rob Shearman
2eca96af67
ole32: Fix CLIPFORMAT marshalling on 64-bit platforms by not using the wireCLIPFORMAT type.
...
The wireCLIPFORMAT represents the memory equivalent format of the wire
format and not the wire format itself.
Also update the tests to do the same.
2009-02-09 13:58:04 +01:00
Rob Shearman
40660894c8
ole32: Fix an ole2 test failure on Win9x and NT4.
...
The combination of CF_BITMAP and TYMED_GLOBAL isn't accepted on newer
versions of Windows, so mark it as broken.
2009-02-06 13:03:16 +01:00
Rob Shearman
712e33e669
ole32: Initialise more of the context passed into user marshaling functions in the tests for these functions.
2009-02-02 11:55:29 +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
0025bdf607
ole32: Fix a missing CoUninitialize in test_CoFreeUnusedLibraries.
2009-01-28 14:15:48 +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
Michael Stefaniuc
bdbfac5996
ole32/tests: Remove superfluous pointer casts.
2009-01-20 12:34:31 +01:00
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