summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/operations/ServerAMD.cpp
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2007-05-01 06:20:04 +0000
committerMatthew Newhook <matthew@zeroc.com>2007-05-01 06:20:04 +0000
commitabdbf8c3efbc4139062ce3cc220ea07dd5fbdf0f (patch)
treebc8023e87a4afef1d6f95091f250fb5f49ec4ed0 /cpp/test/Ice/operations/ServerAMD.cpp
parentremove timeout test from proxy test. (diff)
downloadice-abdbf8c3efbc4139062ce3cc220ea07dd5fbdf0f.tar.bz2
ice-abdbf8c3efbc4139062ce3cc220ea07dd5fbdf0f.tar.xz
ice-abdbf8c3efbc4139062ce3cc220ea07dd5fbdf0f.zip
remove timeout test from proxy test. Cleanup of operations test.
Diffstat (limited to 'cpp/test/Ice/operations/ServerAMD.cpp')
-rw-r--r--cpp/test/Ice/operations/ServerAMD.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/test/Ice/operations/ServerAMD.cpp b/cpp/test/Ice/operations/ServerAMD.cpp
index adfbac159bc..9f28e51268a 100644
--- a/cpp/test/Ice/operations/ServerAMD.cpp
+++ b/cpp/test/Ice/operations/ServerAMD.cpp
@@ -17,9 +17,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator)
{
communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000:udp");
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter");
- Ice::Identity id = communicator->stringToIdentity("test");
- adapter->add(new MyDerivedClassI(adapter, id), id);
- adapter->add(new TestCheckedCastI, communicator->stringToIdentity("context"));
+ adapter->add(new MyDerivedClassI, communicator->stringToIdentity("test"));
adapter->activate();
communicator->waitForShutdown();