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/Collocated.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/Collocated.cpp')
-rw-r--r-- | cpp/test/Ice/operations/Collocated.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/cpp/test/Ice/operations/Collocated.cpp b/cpp/test/Ice/operations/Collocated.cpp index 1a6af6b7876..f27d5051d8c 100644 --- a/cpp/test/Ice/operations/Collocated.cpp +++ b/cpp/test/Ice/operations/Collocated.cpp @@ -18,9 +18,7 @@ run(int argc, char* argv[], const Ice::CommunicatorPtr& communicator, { communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010 -t 10000"); 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(); Test::MyClassPrx allTests(const Ice::CommunicatorPtr&, bool); |