Commit Graph

61 Commits

Author SHA1 Message Date
Nikolay Sivov fde61d467a ole32: Fix CreataDataCache() return value when requested riid is not IUnknown, for aggregation case.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-22 22:23:31 +09:00
Nikolay Sivov a411ef99fc ole32/tests: A test to show data cache QI problems.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-03-11 20:22:08 +09:00
Frédéric Delanoy 6936bbb198 ole32/tests: Use todo_wine_if() in tests.
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-22 17:37:09 +09:00
Nikolay Sivov d66af9c185 ole32/tests: Simple test for aggregation in CreateDataCache().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 13:44:50 +01:00
Nikolay Sivov 88111ca2c0 ole32/tests: Remove some casts we don't need, fix a couple of others.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 13:44:40 +01:00
Nikolay Sivov 73008a6c04 ole32: Ignore GetMiscStatus() returned value in OleCreate().
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-24 13:44:25 +01:00
Dmitry Timoshkov 39d2ce5956 ole32: Relax media type check when loading CF_METAFILEPICT format from OLE storage.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 22:14:04 +09:00
Dmitry Timoshkov b8800c237b ole32/tests: Add some tests for loading and drawing various OLE formats.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 22:02:20 +09:00
Huw Davies e4ec89f2b0 ole32: Return OLE_E_NOTRUNNING on a cache-miss when the object isn't running.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-15 00:53:18 +09:00
Andrey Gusev 5cdcd4493f Assorted spelling and typos fixes. 2015-08-18 15:00:13 +09:00
Nikolay Sivov 26a9f62db7 ole32/tests: Added a test for OleRun(). 2015-05-08 18:33:35 +09:00
Huw Davies f57e08995a ole32/tests: Add tests for loading a dib 'CONTENTS' stream. 2015-03-25 19:46:03 +09:00
Piotr Caban 2fbbe143be ole32: Add more SetConvertStg amd WriteFmtUserTypeStg tests. 2014-04-07 19:06:42 +02:00
Piotr Caban 0d4c693a7b ole32: Add OleDoAutoConvert implementation. 2014-04-07 19:06:39 +02:00
Nikolay Sivov 026b711483 ole32/tests: Compile with -D__WINESRC__. 2013-10-16 11:41:18 +02: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
Qian Hong 9b90ea557b ole32: Fix OleDraw() with NULL pUnk. 2012-12-06 22:52:15 +01:00
Nikolay Sivov 6a8b4f11a8 ole32: Fix OleDraw() regarding passed rectangle handling. 2012-11-26 11:57:04 +01:00
Jacek Caban df4f027238 ole32/tests: Use proper helpers for iface calls. 2012-08-13 16:28:48 +02:00
Alistair Leslie-Hughes d764b5188e ole32/tests: Assign a default value (clang). 2012-03-16 13:02:51 +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
Nikolay Sivov 0c33682330 ole32: Handle null argument in OleIsRunning(). 2011-04-08 13:03:20 +02:00
Austin English 5206db8055 ole32/tests: Make sure to use a return value (LLVM/Clang). 2011-02-14 13:33:33 +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
Hans Leidekker e265d534e4 ole32: Return success from OleLockRunning when the object does not support IRunnableObject. 2009-11-11 11:50:50 +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 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
Michael Stefaniuc bdbfac5996 ole32/tests: Remove superfluous pointer casts. 2009-01-20 12:34:31 +01:00
Nikolay Sivov 11c1d7a0e7 ole32: Fix return value for DefaultHandler_GetMiscStatus. 2009-01-07 12:27:34 +01:00
Francois Gouget 0b1d8be037 ole32/tests: Make test_runnable() static. 2008-12-12 11:42:31 +01:00
Paul Vriens d46f93669d ole32/tests: Fix a test on win98 and W2K. 2008-08-18 17:04:48 +02:00
James Hawkins 833c342555 ole32: Fix a few failing tests in win2k. 2008-07-08 10:48:16 +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
Rob Shearman 5d2f802359 ole32: Validate the parameters to DataCache_Cache. 2007-11-13 23:28:05 +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
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 bbedf3d096 ole32: Add tests for the default handler. 2007-01-11 11:50:03 +01:00
Francois Gouget 5e10172b30 ole32: Fix named/nameless union compilation error. 2006-12-14 12:44:31 +01:00