summaryrefslogtreecommitdiff
path: root/cppe/test/IceE/operations/AllTests.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2006-02-20 19:07:12 +0000
committerBenoit Foucher <benoit@zeroc.com>2006-02-20 19:07:12 +0000
commit99a1e439a69d09563d10cf9f098214636fd1c714 (patch)
tree8912fc8fa3208aa8f39f4b98f5105af56f01bc2a /cppe/test/IceE/operations/AllTests.cpp
parentChanges for VS2005 support (diff)
downloadice-99a1e439a69d09563d10cf9f098214636fd1c714.tar.bz2
ice-99a1e439a69d09563d10cf9f098214636fd1c714.tar.xz
ice-99a1e439a69d09563d10cf9f098214636fd1c714.zip
- Socket timeout fixes.
- Removed unused code for collocation optimization.
Diffstat (limited to 'cppe/test/IceE/operations/AllTests.cpp')
-rw-r--r--cppe/test/IceE/operations/AllTests.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/cppe/test/IceE/operations/AllTests.cpp b/cppe/test/IceE/operations/AllTests.cpp
index 6ed4ba397cf..488ba4168fe 100644
--- a/cppe/test/IceE/operations/AllTests.cpp
+++ b/cppe/test/IceE/operations/AllTests.cpp
@@ -108,6 +108,18 @@ allTests(const Ice::CommunicatorPtr& communicator)
tprintf("ok\n");
//XXXX:
+ tprintf("testing timeout...");
+ Test::MyClassPrx clTimeout = Test::MyClassPrx::uncheckedCast(cl->ice_timeout(500));
+ try
+ {
+ clTimeout->opSleep(1000);
+ assert(false);
+ }
+ catch(const Ice::TimeoutException&)
+ {
+ }
+ tprintf("ok\n");
+
tprintf("testing twoway operations... ");
void twoways(const Ice::CommunicatorPtr&, const Test::MyClassPrx&);
twoways(communicator, cl);