diff options
author | Bernard Normier <bernard@zeroc.com> | 2007-05-17 01:47:36 +0000 |
---|---|---|
committer | Bernard Normier <bernard@zeroc.com> | 2007-05-17 01:47:36 +0000 |
commit | 077e7aea5c5cc8c803c43b3966ed89724925e0df (patch) | |
tree | be611393adc5cdb33e21f3ee1c560b1b64be0990 /cpp/test/Ice/interceptor/Client.cpp | |
parent | Small fixes (diff) | |
download | ice-077e7aea5c5cc8c803c43b3966ed89724925e0df.tar.bz2 ice-077e7aea5c5cc8c803c43b3966ed89724925e0df.tar.xz ice-077e7aea5c5cc8c803c43b3966ed89724925e0df.zip |
Small fixes
Diffstat (limited to 'cpp/test/Ice/interceptor/Client.cpp')
-rw-r--r-- | cpp/test/Ice/interceptor/Client.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cpp/test/Ice/interceptor/Client.cpp b/cpp/test/Ice/interceptor/Client.cpp index 38bf7de0385..ce04e39c1d8 100644 --- a/cpp/test/Ice/interceptor/Client.cpp +++ b/cpp/test/Ice/interceptor/Client.cpp @@ -82,6 +82,15 @@ Client::run(const Test::MyObjectPrx& prx, const InterceptorIPtr& interceptor) { cout << "testing simple interceptor..." << flush; test(interceptor->getLastOperation().empty()); + prx->ice_ping(); + test(interceptor->getLastOperation() == "ice_ping"); + test(interceptor->getLastStatus() == Ice::DispatchOK); + string typeId = prx->ice_id(); + test(interceptor->getLastOperation() == "ice_id"); + test(interceptor->getLastStatus() == Ice::DispatchOK); + test(prx->ice_isA(typeId)); + test(interceptor->getLastOperation() == "ice_isA"); + test(interceptor->getLastStatus() == Ice::DispatchOK); test(prx->add(33, 12) == 45); test(interceptor->getLastOperation() == "add"); test(interceptor->getLastStatus() == Ice::DispatchOK); |