diff options
Diffstat (limited to 'cpp/test/Ice/servantLocator/Collocated.cpp')
-rw-r--r-- | cpp/test/Ice/servantLocator/Collocated.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/cpp/test/Ice/servantLocator/Collocated.cpp b/cpp/test/Ice/servantLocator/Collocated.cpp index 0e57cb0ed15..338bdd76aaa 100644 --- a/cpp/test/Ice/servantLocator/Collocated.cpp +++ b/cpp/test/Ice/servantLocator/Collocated.cpp @@ -74,15 +74,17 @@ public: int run(int, char**, const Ice::CommunicatorPtr& communicator) { + communicator->getProperties()->setProperty("Ice.Warn.Dispatch", "0"); communicator->getProperties()->setProperty("TestAdapter.Endpoints", "default -p 12010"); + Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter"); adapter->addServantLocator(new ServantLocatorI(""), ""); adapter->addServantLocator(new ServantLocatorI("category"), "category"); adapter->add(new TestI, communicator->stringToIdentity("asm")); adapter->add(new TestActivationI, communicator->stringToIdentity("test/activation")); - Test::TestIntfPrx allTests(const CommunicatorPtr&, bool); - allTests(communicator, true); + Test::TestIntfPrx allTests(const CommunicatorPtr&); + allTests(communicator); return EXIT_SUCCESS; } |