Commit Graph

263 Commits

Author SHA1 Message Date
Rob Shearman af271255f5 rpcrt4: Add tests for full pointers. 2009-11-18 15:15:21 +01:00
Rob Shearman 51dbc8d06b rpcrt4: Fix the return value of NdrFullPointerQueryRefId for a pointer ID of 0. 2009-11-18 14:13:33 +01:00
Rob Shearman d6f293f7be rpcrt4: Add test for calling NdrFullPointerQueryRefId with a 0 pointer ID. 2009-11-18 14:13:30 +01:00
Rob Shearman cdc10a8d3b rpcrt4: Don't crash with a NULL binding handle in RpcBindingFree. 2009-11-16 17:16:19 +01:00
Hans Leidekker 03aae9e418 rpcrt4: Add tests for RpcBindingInqAuthInfo. 2009-11-12 15:18:54 +01:00
Rob Shearman efda021c5d Revert "rpcrt4: The get_ranged_enum test doesn't work on Windows, so don't execute it for the moment.".
This reverts commit 81036cc51831db03f8e0eb03b5f74ae5099461cd.
2009-11-12 14:18:27 +01:00
Rob Shearman 7e52896b84 rpcrt4: The get_ranged_enum test doesn't work on Windows, so don't execute it for the moment. 2009-11-11 10:56:09 +01:00
Rob Shearman 97d5f3401d widl: Add support for varargs functions. 2009-11-09 20:42:27 +01:00
Rob Shearman 2b3659f326 widl: Implement [range] attribute. 2009-11-09 20:34:17 +01:00
Hans Leidekker 444307610e rpcrt4: Add a test for the ncalrpc protocol sequence. 2009-11-04 13:07:56 +01:00
Alexandre Julliard 3b602f5fea rpcrt4/tests: Fix a double free (Valgrind). 2009-10-22 15:10:58 +02:00
Alexandre Julliard 8ce9b8f1be rpcrt4/tests: Remove tests for specific values of bit fields. 2009-10-09 16:09:20 +02:00
Ge van Geldorp 55230ba6e0 rpcrt4/tests: Fix cstub test on Win7. 2009-09-24 16:03:31 +02:00
Francois Gouget ee7902b283 rpcrt4/tests: Fix compilation on systems that don't support nameless unions.
Also omit the nameless union macros from the error messages for clarity.
2009-08-31 12:41:21 +02:00
Juan Lang d82cbcf049 rpcrt4: Allow Annotation to be NULL.
Fixes bug 19760.
--Juan

From afb4d6b943345e19952fe34bd1d8ab4c411563ae Mon Sep 17 00:00:00 2001
From: Juan Lang <juan.lang@gmail.com>
Date: Wed, 19 Aug 2009 14:27:20 -0700
Subject: [PATCH 3/3] Allow Annotation to be NULL
2009-08-20 15:26:33 +02:00
Alexandre Julliard 39d75dfba4 rpcrt4/tests: Fix the marshalling test for Win9x. 2009-06-19 12:49:20 +02:00
Alexandre Julliard c3c8aa3b23 rpcrt4/tests: Fix the marshalling test for Win64. 2009-06-19 12:38:46 +02:00
Francois Gouget d51d209b5f rpcrt4/tests: Replace malloc() with HeapAlloc(). 2009-06-15 13:42:29 +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 2c1b94bde2 rpcrt4/tests: Fix a few more broken tests on NT4. 2009-06-01 16:16:05 +02:00
Alexandre Julliard 47d927f704 rpcrt4/tests: Disable some tests that crash on Windows. 2009-05-28 22:27:51 +02:00
Alexandre Julliard 05f57146c8 rpcrt4/tests: Remove tests for v1 memory list, the layout is wrong and we don't care about it anyway. 2009-05-28 20:30:05 +02:00
Alexandre Julliard 03b6dcb4a1 rpcrt4/tests: Mark some stub message tests broken for older Windows versions.
Group the common tests in a function shared between client and server.
2009-05-28 20:29:51 +02:00
Alexandre Julliard feeaf97c81 rpcrt4: Implement NdrPointerMemorySize and enable the corresponding tests. 2009-05-28 11:52:36 +02:00
Alexandre Julliard 49f1433cdc rpcrt4/tests: Enable some tests that no longer crash Wine. 2009-05-28 11:41:12 +02:00
Alexandre Julliard bb18c5ab07 rpcrt4/tests: Comment out a couple of tests that crash on older Windows versions. 2009-05-28 11:38:41 +02:00
Alexandre Julliard 7571c1fd53 rpcrt4: Fix the PSFactoryBuffer proxy refcounting, with tests. 2009-05-27 21:25:10 +02:00
Alexandre Julliard 36965f5726 rpcrt4/tests: Fix a number of 64-bit issues in the ndr_marshall test. 2009-05-27 21:18:35 +02:00
Rob Shearman b2a5bfdfc9 rpcrt4: Fix context handle test on Vista upwards.
Don't run tests that results in an ERROR_INVALID_HANDLE exception being raised.

Check for the context handle function pointers being non-NULL to
prevent exceptions being raised on platforms without these functions.
2009-04-07 14:22:35 +02:00
Rob Shearman 4d8057ffef rpcrt4: RpcServerUseProtseqEp(..., NULL, ...) should return RPC_S_OK.
However, on some buggy platforms it returns
RPC_S_INVALID_ENDPOINT_FORMAT. Don't follow this behaviour our
implementation of the API.
2009-03-30 13:57:54 +02:00
Austin English f8f4c4ef43 rpcrt4/test: Change a skip to win_skip. 2009-03-26 16:13:33 +01:00
Rob Shearman a42d4dbfb6 rpcrt4: Allow listening on dynamically generated ncacn_ip_tcp endpoints. 2009-03-26 16:10:59 +01:00
Rob Shearman 375c68a043 rpcrt4: Re-use already registered endpoints for a protocol sequence.
Return RPC_S_INVALID_ENDPOINT_FORMAT if a NULL endpoint is passed into
RpcServerUseProtseqEp{,Ex}{A,W}.
2009-03-26 16:10:49 +01:00
Rob Shearman cdf509d71f rpcrt4: Fix crash when calling RpcServerUseProtseq for ncacn_np and ncalrpc.
Add tests for these protocol sequences and for ncacn_ip_tcp.
2009-03-24 13:12:11 +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
Francois Gouget bf855d8696 rpcrt4/tests: Use win_skip() to skip over unimplemented functionality. 2009-02-23 12:21:30 +01: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
Rob Shearman 47adeb0525 rpcrt4: Add tests for NdrGetUserMarshalInfo. 2009-01-28 14:16:19 +01:00
Rob Shearman b46f168650 rpcrt4: Don't test for a specific value for fBufferValid in test_client_init.
It's not consistent across different Windows versions.
2009-01-28 14:16:01 +01:00
Rob Shearman 2ec1e4a393 rpcrt4: Fix buffer overflow in UUID tests. 2009-01-26 14:30:47 +01:00
Juan Lang 5e5b53666c rpcrt4: Use pseudo-random numbers to generate UUIDs rather than using the (old, deprecated) MAC-address-and-time generation algorithm. 2009-01-22 15:28:23 +01:00
Francois Gouget 5656e41640 rpcrt4/tests: Add a trailing '\n' to ok() calls. 2009-01-14 14:52:18 +01:00
Ge van Geldorp a9950e3cee rpcrt4/tests: Remove NdrVaryingArrayUnmarshall() test, it is broken on Windows.
The failures in rpcrt4:server on Windows are caused by an access violation
thrown in NdrVaryingArrayUnmarshall() called from get_5numbers(). I've
created a minimum get_5numbers() test with Microsoft tools and that throws
the same access violation. The access violation disappears when zeroing
out the StubMsg before calling NdrClientInitializeNew(), so my guess is
Windows NdrVaryingArrayUnmarshall() uses an uninitialized member.
2009-01-13 16:39:30 +01:00
Michael Karcher 1c56d293f0 widl: Dereference operator in expr works on any declared pointer. 2009-01-12 16:53:18 +01:00
Michael Stefaniuc c171379f47 include: Use ULONG in rpcdcep.h for Win64 compatibility. 2009-01-12 13:06:44 +01:00
Alexandre Julliard 450e9e3adf rpcrt4/tests: Fix an uninitialized pointer check for Win64. 2009-01-09 18:08:57 +01:00