Gerald Pfeifer
e6ca322fb1
rpcrt4/tests: Cast to ULONGLONG instead of LONGLONG to avoid shift overflow.
2015-09-04 16:15:00 +09:00
Huw Davies
76dc3b64ae
rpcrt4: Set CorrDespIncrement to the size of the (non-range) /robust payload.
...
fHasNewCorrDesc is only set on older versions of Windows that don't
set CorrDespIncrement, but it can't hurt to continue to set it.
2015-07-13 22:11:17 +09:00
Huw Davies
6518b72889
rpcrt4: Initialize CorrDespIncrement to zero and mark the pre-Vista behaviour as broken.
2015-07-13 22:11:12 +09:00
Huw Davies
b24ce98af3
rpcrt4/tests: Avoid a double-free.
...
Commit 4cf70b1418
was causing the tests to
crash. The reason is due to a Wine bug in NdrPointerUnmarshall().
Windows returns the same pointer (which is later released in a call to
NdrPointerFree()), while Wine makes a copy which Valgrind correctly
spots is leaked.
2015-04-20 21:22:36 +09:00
Nikolay Sivov
4cf70b1418
rpcrt4/tests: Fix a minor leak (Valgrind).
2015-04-13 15:05:07 +09:00
Nikolay Sivov
d240fdff18
rpcrt4: Implement MesBufferHandleReset().
2015-03-04 21:50:37 +09:00
Nikolay Sivov
37dd441587
rpcrt4: Fix argument check in MesEncodeFixedBufferHandleCreate().
2015-03-03 23:16:42 +09:00
Jacek Caban
06246aff90
rpcrt4: Compile tests with -D__WINESRC__.
2013-11-08 16:29:43 +01:00
Alexandre Julliard
38e8f6d83f
rpcrt4/tests: Define the required Windows version before including anything.
2013-02-18 14:51:05 +01:00
Thomas Faber
c38ba3a411
rpcrt4/tests: Fix build with PSDK headers.
2012-05-07 11:38:03 +02:00
Alexandre Julliard
7bfa513bc9
rpcrt4/tests: Fix a test failure on XP SP3.
2010-10-08 11:56:45 +02:00
Michael Stefaniuc
3a8a9620ab
rpcrt4/tests: Fix duplicate expressions in if conditions.
2010-03-26 15:35:43 +01:00
Rob Shearman
088c0857c9
rpcrt4: Add support for marshalling/unmarshalling complex arrays of pointers.
2010-03-16 11:42:09 +01:00
Huw Davies
24db8d384c
rpcrt4: Fix tests on win64.
2010-02-15 16:07:53 +01:00
Paul Vriens
693dd47689
rcprt4/tests: Don't crash on NT4 or lower.
2010-02-12 16:39:39 +01:00
Huw Davies
6805045b05
rpcrt4: Add tests for multi-dimensional conformant arrays.
2010-02-11 17:47:59 +01:00
Rob Shearman
cd453f453f
rpcrt4: Fix memory leak in test_conf_complex_struct.
2009-11-29 16:42:15 +01:00
Rob Shearman
c8f9df7f1e
rpcrt4: Fix uninitialised memory read in ndr_marshall tests.
...
The memory needs to be initialised since NDR will look at the memory
to see if it needs to allocate memory for embedded pointers.
2009-11-29 16:40:20 +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
Alexandre Julliard
8ce9b8f1be
rpcrt4/tests: Remove tests for specific values of bit fields.
2009-10-09 16:09:20 +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
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
Alexandre Julliard
2c1b94bde2
rpcrt4/tests: Fix a few more broken tests on NT4.
2009-06-01 16:16:05 +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
36965f5726
rpcrt4/tests: Fix a number of 64-bit issues in the ndr_marshall test.
2009-05-27 21:18:35 +02:00
Michael Stefaniuc
e3bb1c8243
rpcrt4: Remove superfluous pointer casts.
2009-02-16 16:01:37 +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
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
Michael Stefaniuc
c171379f47
include: Use ULONG in rpcdcep.h for Win64 compatibility.
2009-01-12 13:06:44 +01:00
Alexandre Julliard
1639f1e507
rpcrt4/tests: Avoid printing pointer differences in traces.
2009-01-08 13:02:40 +01:00
Michael Stefaniuc
e86eb8efa6
include: Change RPC_STATUS from long to LONG for Win64 compatibility.
...
Also fix the compiler warnings introduced by this change.
2009-01-04 13:34:38 +01:00
Paul Vriens
9ee160cf55
rpcrt4/tests: Fix some failures on XP-SP3.
2008-09-11 11:43:14 +02:00
James Hawkins
6b20075b1f
rpcrt4: Remove a test that was replaced by a better test.
2008-09-03 13:14:51 +02:00
James Hawkins
080d8e7261
rpcrt4: Fix several test failures in Vista.
2008-08-29 13:24:22 +02:00
Rob Shearman
518242ef33
rpcrt4: Add tests for a complex struct with conformant array.
2008-08-18 14:34:40 +02:00
James Hawkins
490443ed4b
rpcrt4: Fix a test that fails in win2k3.
2008-07-08 10:48:06 +02:00
James Hawkins
ee24a372be
rpcrt4: Fix a few failing tests in win2k.
2008-07-01 15:00:08 +02:00
Rob Shearman
7f1b7c51be
include: Add new bitfields to MIDL_STUB_MESSAGE added in Vista SDKs.
...
Move fBufferValid to a bitfield and update the corresponding tests in rpcrt4.
Add tests for the new fields.
2008-06-23 12:48:59 +02:00
Rob Shearman
3f92030e2d
rpcrt4: Zero the memory of the s1 structure in test_simple_struct to avoid a Valgrind warning.
2008-06-18 13:50:08 +02:00
Rob Shearman
9ce356c966
rpcrt4: Save the previous BufferLength in test_ndr_buffer and use it when testing the expected buffer length after the NdrFreeBuffer call.
...
This fixes a test failure on Win2003 upwards when the allocated length
appears to be rounded up to a multiple of 4.
2008-06-18 13:49:56 +02:00
Rob Shearman
c9ef063e12
rpcrt4: Fix ndr_marshall tests to cope with using pointer ids instead of using pointer values.
...
This fixes a number of test failures on XP SP3 and Win2003 upwards.
2008-06-18 13:49:48 +02:00
Rob Shearman
9196337e09
rpcrt4: Clear a hole in the ps1 structure in test_simple_struct.
2008-06-13 10:17:03 +02:00
Rob Shearman
c82ffcec60
rpcrt4: Initialise the array to be marshalled in test_conformant_array.
2008-06-13 10:16:51 +02:00