diff options
author | Benoit Foucher <benoit@zeroc.com> | 2014-07-01 17:42:04 +0200 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2014-07-01 17:42:04 +0200 |
commit | 344a7fd6e0d716f81dc27495e97a7ad9c2ab07b8 (patch) | |
tree | bd06f4919e5a5827f60e2a536e43e47a4fbed6d2 /cpp/test/Ice/operations/Collocated.cpp | |
parent | Fixed ICE-5569: IceStorm IceMX debug iterator assert (diff) | |
download | ice-344a7fd6e0d716f81dc27495e97a7ad9c2ab07b8.tar.bz2 ice-344a7fd6e0d716f81dc27495e97a7ad9c2ab07b8.tar.xz ice-344a7fd6e0d716f81dc27495e97a7ad9c2ab07b8.zip |
IceMX and Python support for the new collocation optimization
Diffstat (limited to 'cpp/test/Ice/operations/Collocated.cpp')
-rw-r--r-- | cpp/test/Ice/operations/Collocated.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cpp/test/Ice/operations/Collocated.cpp b/cpp/test/Ice/operations/Collocated.cpp index 6f11847a2f7..840a6defa81 100644 --- a/cpp/test/Ice/operations/Collocated.cpp +++ b/cpp/test/Ice/operations/Collocated.cpp @@ -22,9 +22,11 @@ run(int, char**, const Ice::CommunicatorPtr& communicator, communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010"); communicator->getProperties()->setProperty("TestAdapter.AdapterId", "test"); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); - adapter->add(new MyDerivedClassI, communicator->stringToIdentity("test")); + Ice::ObjectPrx prx = adapter->add(new MyDerivedClassI, communicator->stringToIdentity("test")); adapter->activate(); + test(!prx->ice_getConnection()); + Test::MyClassPrx allTests(const Ice::CommunicatorPtr&); allTests(communicator); |