Huw Davies
9f2c668c99
rpcrt4/tests: Fix some tests on Win 8.
2015-04-24 14:29:28 +09:00
Amine Khaldi
19254eb438
rpcrt4/tests: Remove unused if3_table and if4_table (Clang).
2014-10-24 19:58:05 +09:00
Jacek Caban
06246aff90
rpcrt4: Compile tests with -D__WINESRC__.
2013-11-08 16:29:43 +01:00
Michael Stefaniuc
64d18bc1f0
rpcrt4/tests: COM cleanup in cstub.c.
2011-03-15 17:14:07 +01:00
Austin English
5b25b11b05
rpcrt4/tests: Make sure return values are used (LLVM/Clang).
2011-02-09 09:26:05 -06:00
Aric Stewart
75197bdfaf
rpcrt4/tests: Add NdrDllRegisterProxy tests.
2010-04-08 12:25:08 +02:00
Rob Shearman
15cd36d21d
rpcrt4: Fix some memory leaks in the cstub tests.
2009-12-14 12:04:05 +01:00
Ge van Geldorp
55230ba6e0
rpcrt4/tests: Fix cstub test on Win7.
2009-09-24 16:03:31 +02:00
Francois Gouget
47be6e8379
rpcrt4/tests: Make dummy_Release() static.
2009-06-05 14:43:25 +02:00
Alexandre Julliard
066060a520
rpcrt4/tests: Add tests for the contents of virtual table for delegated proxies.
2009-06-03 16:51:47 +02:00
Alexandre Julliard
7571c1fd53
rpcrt4: Fix the PSFactoryBuffer proxy refcounting, with tests.
2009-05-27 21:25:10 +02:00
Michael Stefaniuc
e3bb1c8243
rpcrt4: Remove superfluous pointer casts.
2009-02-16 16:01:37 +01:00
Rob Shearman
7fe67b159d
rpcrt4: Change the test of CStdStubBuffer->pPSFactory to only test for the field not being NULL.
...
The address varies on older versions of Windows and isn't really important.
2009-02-06 13:03:19 +01:00
Rob Shearman
d3085abc08
Change parameter type from size_t to SIZE_T for MIDL_user_allocate.
2009-02-02 11:55:21 +01:00
Rob Shearman
ff8bd24ec2
rpcrt4: Fix a cstub test failure on older versions of Windows.
2009-01-29 14:07:04 +01:00
Paul Vriens
1aa9e3846c
rpcrt4/tests: Use GetModuleHandle instead of LoadLibrary.
2008-12-16 12:51:12 +01:00
Rob Shearman
f12e445ce5
rpcrt4: Don't crash in NdrDllGetClassObject when a NULL pclsid is passed in.
...
Add tests for this.
2008-09-12 16:49:48 +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
Rob Shearman
492947aa02
rpcrt4: Fix a memory leak in the cstub tests.
2008-01-09 13:38:02 +01:00
Rob Shearman
f191f59ee4
rpcrt4: Flesh out more of the IRpcChannelBuffer vtable to make the test_delegating_Invoke test succeed on Windows.
2007-12-04 13:31:59 +01:00
Francois Gouget
f43b549081
rpcrt4/tests: Remove an unneeded '#if 0' and fix the code so it compiles without warnings.
2007-01-08 12:08:03 +01:00
Andrew Talbot
82a042d0df
rpcrt4/tests: Cast-qual warnings fix.
2006-12-14 12:51:10 +01:00
Marcus Meissner
f0280cbd1e
made functions and variables static in some testcases.
2006-12-11 12:18:29 +01:00
Michael Stefaniuc
e9ae478c14
rpcproxy.h: Use LONG/ULONG for Win64 compatibility instead of long and unsigned long.
2006-11-08 15:51:25 +01:00
Michael Stefaniuc
14c551bc3a
rpcrt4/tests: Win64 printf format warning fixes.
2006-10-09 12:44:16 +02:00
Francois Gouget
1011bc47bf
rpcrt4: Don't return void values. This fixes Visual C++ warnings.
2006-10-02 11:54:43 +02:00
Francois Gouget
68e84a7a53
Add missing '\n's to ok() calls.
2006-09-29 17:53:39 +02:00
Huw Davies
bd9891ffed
rpcrt4: Add delegating stub support.
2006-09-07 10:57:39 +02:00
Huw Davies
9b91307677
rpcrt4: Tests on NdrCStdStubBuffer_Release to show that we shouldn't call Disconnect.
...
Also call IPSFactoryBuffer_Release on the 2nd arg, rather than on This->pPSFactory.
2006-09-07 10:24:54 +02:00
Huw Davies
d28698dd73
rpcrt4: Add a test for IRpcStubBuffer_Connect on a delegated stub.
...
This shows that we have a vtbl ptr at (void**)This-2 that is passed to
the base interface's IRpcStubBuffer_Connect. This vtbl should
presumably forward calls to the real object's vtbl. We can't simply
pass the real object to the base interface's stub, as the real
object's QI may not provide us with the base interface.
2006-08-29 12:26:31 +02:00
Huw Davies
487c691dc5
rpcrt4: Tests for CStdStubBuffer_Disconnect and a tidy up of the implementation.
2006-08-23 20:10:36 +02:00
Huw Davies
f42f727f7c
rpcrt4: Tests for CStdStubBuffer_Connect and fixes to make them pass.
2006-08-23 20:10:15 +02:00
Huw Davies
cadc39842b
rpcrt4: Add tests for CreateStub and fix up CStdStubBuffer_Construct to match.
2006-08-23 20:10:06 +02:00
Huw Davies
6a0fccd3a9
rpcrt4: Add tests for NdrStubForwardingFunction and write a commented out implementation.
...
This shows that the IRpcStubBuffer for a delegated stub's base
interface is stored at (void**)This-1.
2006-08-23 20:09:52 +02:00
Huw Davies
a5dcb3e39d
rpcrt4: Tests for NdrDllGetClassObject.
...
These show that delegated stubs need different Connect, Disconnect and
CountRefs methods than non-delegated stubs (ie they don't use all of
the CStdStubBuffer_* functions).
2006-08-23 20:09:04 +02:00