diff options
author | Matthew Newhook <matthew@zeroc.com> | 2007-05-01 06:35:20 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2007-05-01 06:35:20 +0000 |
commit | 1beed4be7d6576b14dc685e3cb4e2a26fc17e50b (patch) | |
tree | 906ea9ad9ae3c8194246a2f44678684c6df74230 /cpp/test/Ice/operations/Server.cpp | |
parent | remove timeout test from proxy test. Cleanup of operations test. (diff) | |
download | ice-1beed4be7d6576b14dc685e3cb4e2a26fc17e50b.tar.bz2 ice-1beed4be7d6576b14dc685e3cb4e2a26fc17e50b.tar.xz ice-1beed4be7d6576b14dc685e3cb4e2a26fc17e50b.zip |
remove timeout test from proxy test. Cleanup of operations test.
Diffstat (limited to 'cpp/test/Ice/operations/Server.cpp')
-rw-r--r-- | cpp/test/Ice/operations/Server.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/cpp/test/Ice/operations/Server.cpp b/cpp/test/Ice/operations/Server.cpp index f78fda34785..d99c8aafb5b 100644 --- a/cpp/test/Ice/operations/Server.cpp +++ b/cpp/test/Ice/operations/Server.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(); @@ -36,7 +34,7 @@ main(int argc, char* argv[]) { Ice::InitializationData initData; initData.properties = Ice::createProperties(argc, argv); - initData.properties->setProperty("Ice.Warn.Connections", "0"); + initData.properties->setProperty("Ice.Warn.Dispatch", "0"); communicator = Ice::initialize(argc, argv, initData); status = run(argc, argv, communicator); |