Jacek Caban : rpcrt4: Added RpcServerRegisterAuthInfoW failure test.
Alexandre Julliard
julliard at winehq.org
Sun Jul 3 12:18:29 CDT 2016
Module: wine
Branch: master
Commit: 3b6cb60ea600e83ce0256e37a3b1830bee7456f9
URL: http://source.winehq.org/git/wine.git/?a=commit;h=3b6cb60ea600e83ce0256e37a3b1830bee7456f9
Author: Jacek Caban <jacek at codeweavers.com>
Date: Mon Jun 27 17:08:46 2016 +0200
rpcrt4: Added RpcServerRegisterAuthInfoW failure test.
Signed-off-by: Jacek Caban <jacek at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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 400756f..81b598c 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();
}
More information about the wine-cvs
mailing list