From 3b6cb60ea600e83ce0256e37a3b1830bee7456f9 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 27 Jun 2016 17:08:46 +0200 Subject: [PATCH] rpcrt4: Added RpcServerRegisterAuthInfoW failure test. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- dlls/rpcrt4/tests/rpc.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c index 400756f2048..81b598cca78 100644 --- a/dlls/rpcrt4/tests/rpc.c +++ b/dlls/rpcrt4/tests/rpc.c @@ -911,6 +911,14 @@ static void test_RpcServerInqDefaultPrincName(void) HeapFree( GetProcessHeap(), 0, username ); } +static void test_RpcServerRegisterAuthInfo(void) +{ + RPC_STATUS status; + + status = RpcServerRegisterAuthInfoW(NULL, 600, NULL, NULL); + ok(status == RPC_S_UNKNOWN_AUTHN_SERVICE, "status = %x\n", status); +} + START_TEST( rpc ) { UuidConversionAndComparison(); @@ -925,4 +933,5 @@ START_TEST( rpc ) test_UuidCreateSequential(); test_RpcBindingFree(); test_RpcServerInqDefaultPrincName(); + test_RpcServerRegisterAuthInfo(); }