Ge van Geldorp
d642e11438
winapi_test: Regenerate tests.
...
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02: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
Michael Stefaniuc
85ce5117c5
Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int.
2006-09-29 16:08:30 +02:00
Alexandre Julliard
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +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
Stefan Huehner
998e256c82
Fix some -Wstrict-prototype warnings () -> (void).
2006-08-21 12:06:26 +02:00
Huw Davies
d9b6672530
rpcrt4: Add tests for NdrAllocate.
2006-08-17 11:19:17 +02:00
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Alexandre Julliard
d90f68166c
rpcrt4/tests: Don't use sizeof in ok() to avoid printf format warnings.
2006-06-13 14:03:44 +02:00
Robert Shearman
0fad0895d7
rpcrt4: Don't try to resolve the name when constructing a protocol tower.
...
Instead just fill it in with all zeros.
2006-06-03 11:42:54 +02:00
Robert Shearman
efc974d1f5
rpcrt4: All of the parameters to TowerExplode are optional.
2006-06-02 11:24:29 +02:00
Robert Shearman
e15e60b9f9
rpcrt4: Implement TowerConstruct and TowerExplode.
...
Add some tests for these undocumented functions.
2006-06-02 11:24:20 +02:00
Robert Shearman
11da87d098
rpcrt4: NdrClientInitializeNew shouldn't clear all of the stub message, only selected fields.
2006-06-02 11:22:38 +02:00
Robert Shearman
bf985900e2
rpcrt4: For full pointers the state consists of flags, so or new flags into the field instead of assigning.
...
The return value of all full pointer functions that return an int
depends on the passed in query type being a flag in the state.
2006-05-30 12:24:22 +02:00
Robert Shearman
63307241dd
rpcrt4: Store the QueryType in the state table in NdrFullPointerQueryRefId.
...
Implement NdrFullPointerFree.
2006-05-27 10:54:39 +02:00
Robert Shearman
7af506b2b4
rpcrt4: Fix NdrFullPointerQueryRefId to make more tests pass.
2006-05-27 10:54:21 +02:00
Robert Shearman
767631d853
rpcrt4: Implement remaining part of NdrFullPointerQueryPointer and implement NdrFullPointerInsertRefId.
2006-05-27 10:53:48 +02:00
Robert Shearman
eb0fe9e6e3
rpcrt4: Implement some full pointer functions and add stubs for others.
...
Add some tests.
2006-05-27 10:53:29 +02:00
Alexandre Julliard
23f9e358ad
Tests should not use wine/unicode.h.
2006-05-24 18:05:09 +02:00
Huw Davies
00598e49cf
rpcrt4: Uncomment test now that it works correctly.
2006-05-23 17:51:50 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Huw Davies
f151ecb0d1
rpcrt4: Use IsClient to determine whether we can use the Buffer memory or not.
...
Add simple struct tests.
2006-05-20 14:03:56 +02:00
Mike McCormack
c3a08421a2
rpcrt4: Fix and test RpcNetworkIsProtseqValid.
2006-05-18 16:36:34 +02:00
Huw Davies
effac656bb
rpcrt4: Don't update StubMsg->MemorySize while unmarshaling.
...
Add a bunch of marshaling tests (based on a program by Rob Shearman).
2006-05-17 21:46:43 +02:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +01:00
Mike McCormack
d168219849
Fix gcc 4.0 warnings.
2005-09-06 10:26:13 +00:00
Alexandre Julliard
cc4da88563
Explicitly import kernel32 in tests that use it.
2005-08-27 09:27:09 +00:00
Mike McCormack
b8fc783be2
Avoid warnings in generated tests by casting sizeof(x) to an int.
2005-07-03 11:23:30 +00:00
Stefan Huehner
9213d56ae0
Make some function static.
2005-06-20 15:35:54 +00:00
Bill Medland
bf42021e06
Implemented DceErrorInqText.
2004-12-23 11:29:54 +00:00
Francois Gouget
5c033dad79
MIDL_STUB_MESSAGE.UniquePtrCount has been renamed in the latest SDK so
...
ignore it.
2004-10-30 02:10:22 +00:00
Francois Gouget
02236f06a8
Fix and unify parsing of calling conventions.
...
Hack handling of 'struct { } *NDR_SCONTEXT;' so we don't cause a parse
error as this is a valid C construct.
Generate type tests for rpcrt4.
Remove PRPC_BINDING_VECTOR and PUUID_VECTOR, they don't exist on
Windows.
Fix the MIDL_STUB_MESSAGE, MIDL_SERVER_INFO and
MIDL_STUBLESS_PROXY_INFO structs.
Add NDR_ALLOC_ALL_NODES_CONTEXT, NDR_POINTER_QUEUE_STATE and
CS_STUB_INFO.
2004-09-08 01:27:24 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Francois Gouget
e18aa3f614
Add trailing '\n's to ok() calls.
2004-01-26 20:23:25 +00:00
Alexandre Julliard
e37c6e18d0
Fixed header dependencies to be fully compatible with the Windows
...
headers (with help from Dimitrie O. Paun).
2003-09-05 23:08:26 +00:00
Dimitrie O. Paun
48be9c6e87
Fix definitions for Uuid{To,From}String, RpcStringFree.
2002-12-24 00:26:55 +00:00
Francois Gouget
938ed57cb8
Skip Unicode tests if there's no Unicode support.
2002-12-05 19:01:51 +00:00
Greg Turner
ac89cc28dd
Added skeleton for rpcrt4 unit test with some UUID tests.
2002-10-07 21:54:07 +00:00