Commit Graph

78 Commits

Author SHA1 Message Date
Nikolay Sivov 54f9b33476 rpcrt4/tests: Always run tests that don't require special permissions.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-13 11:33:47 +02:00
Alexandre Julliard b61cfa8823 rpcrt4/tests: Avoid a printf format warning.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-02 15:38:25 +01:00
Michael Stefaniuc d452c7574f rpcrt4: Use wide-char string literals.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-30 19:01:55 +01:00
Zhiyi Zhang d3a934be36 rpcrt4: Implement RpcIfInqId().
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49257
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-01 22:10:28 +02:00
Jacek Caban 8a48621fc9 rpcrt4: Add RpcExceptionFilter implementation.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-17 17:33:42 +02:00
Michael Stefaniuc cc906096c3 rpcrt4/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-11 11:41:59 +02:00
Nikolay Sivov dcdf7d6f6d rpcrt4/tests: Added missing assignment (Coverity).
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-05-15 11:11:19 +02:00
Jacek Caban d0ed6d1035 rpcrt4: Get rid of manual_listen_count and use binary state instead.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-16 15:03:54 +01:00
Hans Leidekker b621973c47 rpcrt4/tests: Also register a firewall exception for the rpc test.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-08 13:53:09 +01:00
Hans Leidekker dd62188627 rpcrt4/tests: Merge rpc_protseq.c into rpc.c.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-08 13:52:59 +01:00
Huw Davies 76ddf58c44 rpcrt4/tests: Mark Win 8.1 behaviour of UuidCreateSequential() as broken.
Some versions of Win 8.1 provide a randomised node ID (with the
multicast bit set) but return S_OK instead of RPC_S_UUID_LOCAL_ONLY.
This is despite having access to a valid MAC address.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-02 11:27:13 +09:00
Huw Davies 225c43b812 rpcrt4/tests: Remove an unnecessary and confusing message.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-09-01 22:17:14 +09:00
Jacek Caban ffe01b33f1 rpcrt4/tests: Don't load GetUserNameEx dynamically.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-30 11:43:22 +09:00
Jacek Caban 3b6cb60ea6 rpcrt4: Added RpcServerRegisterAuthInfoW failure test.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-03 10:54:18 +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
Frédéric Delanoy b553f54323 rpcrt4/tests: Use common wine_dbgstr_guid implementation from test.h. 2014-01-30 12:42:55 +01:00
Jacek Caban 06246aff90 rpcrt4: Compile tests with -D__WINESRC__. 2013-11-08 16:29:43 +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
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
Austin English 01ca32ac91 rpcrt4/tests: Remove win9x hacks. 2011-02-28 13:13:58 +01:00
Austin English eb7c206114 rpcrt4/tests: Improve failure messages. 2010-07-20 14:40:32 +02:00
Juan Lang 86292d1dba rpcrt4: Implement UuidCreateSequential using the machine's MAC address, when available. 2010-03-04 12:29:54 +01:00
Juan Lang b61c8f8b53 rpcrt4: Add tests for UuidCreateSequential. 2010-03-04 12:29:26 +01:00
Paul Vriens da91da4652 rpcrt4/tests: Fix some memory leaks (Valgrind). 2010-01-22 13:07:39 +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
Austin English f8f4c4ef43 rpcrt4/test: Change a skip to win_skip. 2009-03-26 16:13:33 +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
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
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
Francois Gouget 6e483affcf rpcrt4/tests: Fix the trailing '\n' in an ok() call. 2008-12-17 15:27:28 +01:00
Alexandre Julliard f1d0f81d26 rpcrt4/tests: Fix test failures on Win9x. 2008-11-20 22:44:46 +01:00
Juan Lang a504a79d65 rpcrt4: Add tests for UuidCreate. 2008-10-14 13:41:56 +02:00
Alexandre Julliard da95db8d5b rpcrt4/tests: Fix a couple of test failures on Windows. 2008-09-11 14:32:30 +02:00
James Hawkins bb6a8f36c3 rpcrt4: Fix a failing test in Vista. 2008-09-03 14:21:42 +02:00
Rob Shearman bce9cd38b0 rpcrt4: Add tests for RpcBindingReset. 2008-08-27 13:21:21 +02:00
Rob Shearman c5dd3f079c rpcrt4: Test the endpoint mapper for the ncalrpc protseq as well as the ncacn_np protseq. 2008-08-19 12:25:42 +02:00
Rob Shearman ef5a5a4490 rpcrt4: Fix RpcStringBindingComposeA/W and RpcStringBindingParseA/W to escape and unescape delimiters in the string binding.
This behaviour is stated by the DCE/RPC specification and is also
shown in the rpcrt4 conformance tests.
2008-08-18 14:36:45 +02:00
Rob Shearman 90bd74081a rpcrt4: Add test for RpcBindingToStringBindingA. 2008-08-18 14:36:23 +02:00
Rob Shearman 1eaea13ebb rpcrt4: Validate the uuid portion of the string passed to RpcStringBindingParseA/W. 2008-07-31 13:25:55 +02:00
James Hawkins d0a8fd48a9 rpcrt4: Fix a failing test in win2k. 2008-07-02 12:17:01 +02:00
Rob Shearman 1a978cb460 rpcrt4: Add tests for endpoint mapper functions. 2008-06-26 12:20:31 +02:00
Kai Blin 533419cb35 rpcrt4: Ignore the AuthzSvr parameter for RPC_C_AUTHN_WINNT. 2008-06-23 14:04:46 +02:00
Paul Vriens e7ef88beda rpcrt4/tests: Fix test failures for win9x, NT4, W2K and XP-SP1. 2008-06-12 12:03:30 +02:00