Rob Shearman : rpcrt4: Add tests for RpcBindingReset.

Alexandre Julliard julliard at winehq.org
Wed Aug 27 08:23:58 CDT 2008


Module: wine
Branch: master
Commit: bce9cd38b0c27486d3fa6f9174f5a01359e85b53
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=bce9cd38b0c27486d3fa6f9174f5a01359e85b53

Author: Rob Shearman <robertshearman at gmail.com>
Date:   Tue Aug 26 20:05:25 2008 +0100

rpcrt4: Add tests for RpcBindingReset.

---

 dlls/rpcrt4/tests/rpc.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/dlls/rpcrt4/tests/rpc.c b/dlls/rpcrt4/tests/rpc.c
index c59d7d6..bcd6a65 100644
--- a/dlls/rpcrt4/tests/rpc.c
+++ b/dlls/rpcrt4/tests/rpc.c
@@ -704,9 +704,17 @@ static void test_endpoint_mapper(RPC_CSTR protseq, RPC_CSTR address,
 
     RpcStringFree(&binding);
 
+    status = RpcBindingReset(handle);
+    ok(status == RPC_S_OK, "%s: RpcBindingReset failed with error %lu\n", protseq, status);
+
+    RpcStringFree(&binding);
+
     status = RpcEpResolveBinding(handle, IFoo_v0_0_s_ifspec);
     ok(status == RPC_S_OK, "%s: RpcEpResolveBinding failed with error %lu\n", protseq, status);
 
+    status = RpcBindingReset(handle);
+    ok(status == RPC_S_OK, "%s: RpcBindingReset failed with error %lu\n", protseq, status);
+
     status = RpcBindingFree(&handle);
     ok(status == RPC_S_OK, "%s: RpcBindingFree failed with error %lu\n", protseq, status);
 




More information about the wine-cvs mailing list