Commit Graph

327 Commits

Author SHA1 Message Date
Jacek Caban f3f07bdf35 rpcrt4: Added RpcMgmtIsServerListening tests.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 12:45:02 +09:00
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 9f2c668c99 rpcrt4/tests: Fix some tests on Win 8. 2015-04-24 14:29:28 +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 73a68b065b rpcrt4: Fix RpcMgmtStopServerListening() return value when we're not listening. 2015-03-26 14:21:49 +09:00
Nikolay Sivov fd25d9aadb rpcrt4/tests: Use status definitions instead of numeric values. 2015-03-26 14:21:46 +09:00
Nikolay Sivov 66c05a4597 rpcrt4: Export I_UuidCreate(). 2015-03-10 15:09:33 +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
Amine Khaldi 19254eb438 rpcrt4/tests: Remove unused if3_table and if4_table (Clang). 2014-10-24 19:58:05 +09:00
Dmitry Timoshkov 05aab53f38 rpcrt4/tests: Add a couple of tests for marshalling an array of strings. 2014-04-02 15:46:51 +02:00
Frédéric Delanoy b553f54323 rpcrt4/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-30 12:42:55 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Alexandre Julliard d08ff3ff19 makefiles: Use a single variable for all types of idl files. 2013-12-31 18:15:17 +01:00
Jacek Caban 06246aff90 rpcrt4: Compile tests with -D__WINESRC__. 2013-11-08 16:29:43 +01:00
Alexandre Julliard c3a48aab20 makefiles: Add makedep pragmas for client and server idl files. 2013-11-05 20:38:18 +01:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Alexandre Julliard 38e8f6d83f rpcrt4/tests: Define the required Windows version before including anything. 2013-02-18 14:51:05 +01:00
Francois Gouget 138f119705 rpcrt4/tests: Trace the GUID when it is wrong. 2013-02-11 17:52:47 +01:00
Hans Leidekker 4d6ff85433 rpcrt4: Add a stub implementation of RpcServerInqDefaultPrincNameA/W. 2012-05-09 17:49:29 +02:00
Thomas Faber c38ba3a411 rpcrt4/tests: Fix build with PSDK headers. 2012-05-07 11:38:03 +02:00
Alexandre Julliard cb5beede16 rpcrt4/tests: Add more tests for integer ranges to show that ranges are independent.
Reported by Jérôme Gardou.
2011-09-19 13:17:41 +02:00
André Hentschel 328acc81fc rpcrt4/tests: Fix NULL string handling in an ok() check. 2011-08-30 11:52:59 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
André Hentschel f98369f21c rpcrt4/tests: Only free string when function succeeded. 2011-08-01 11:06:35 +02:00
Alexandre Julliard 9d9f6da7da rpcrt4/tests: Fix a test failure on 64-bit platforms. 2011-07-28 11:25:08 +02:00
Alexandre Julliard 9d4e79e382 rpcrt4/tests: Add a test about unmarshalling of an out-only structure. 2011-07-27 11:51:24 +02:00
Alexandre Julliard 717bd66440 widl: Default to the cdecl calling convention in client/server functions. 2011-06-13 11:53:28 +02:00
Alexandre Julliard 3c5688a80d rpcrt4/tests: Add a few more marshalling tests. 2011-06-09 13:19:08 +02:00
Alexandre Julliard 968c8688c4 widl: Array dimensions have to be constants. 2011-05-28 13:39:18 +02:00
Michael Stefaniuc 64d18bc1f0 rpcrt4/tests: COM cleanup in cstub.c. 2011-03-15 17:14:07 +01:00
Austin English 01ca32ac91 rpcrt4/tests: Remove win9x hacks. 2011-02-28 13:13:58 +01:00
Austin English 5b25b11b05 rpcrt4/tests: Make sure return values are used (LLVM/Clang). 2011-02-09 09:26:05 -06:00
Huw Davies 5102d4df8c rpcrt4/tests: Add a test for marshalling a pointer to a user type, where the user type is itself a pointer. 2011-02-04 15:25:33 +01:00
Alexandre Julliard 7bfa513bc9 rpcrt4/tests: Fix a test failure on XP SP3. 2010-10-08 11:56:45 +02:00
Alexandre Julliard 730f01801f tests: Make some variables static. 2010-10-01 13:41:42 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Austin English eb7c206114 rpcrt4/tests: Improve failure messages. 2010-07-20 14:40:32 +02:00
Aric Stewart 75197bdfaf rpcrt4/tests: Add NdrDllRegisterProxy tests. 2010-04-08 12:25:08 +02:00
Alexandre Julliard a8e86e35dd winapi: Generate the 64-bit variant of structure size/alignment tests. 2010-04-07 18:03:00 +02:00
Michael Stefaniuc 3a8a9620ab rpcrt4/tests: Fix duplicate expressions in if conditions. 2010-03-26 15:35:43 +01:00
Rob Shearman 1ff4bfe69a rpcrt4: Add test for [out] non-conformant array. 2010-03-23 17:27:13 +01:00
Rob Shearman f6c4c49f86 rpcrt4: Add tests for a complex array of pointers. 2010-03-19 16:25:48 +01:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Rob Shearman 088c0857c9 rpcrt4: Add support for marshalling/unmarshalling complex arrays of pointers. 2010-03-16 11:42:09 +01:00
Juan Lang 86292d1dba rpcrt4: Implement UuidCreateSequential using the machine's MAC address, when available. 2010-03-04 12:29:54 +01:00