summaryrefslogtreecommitdiff
path: root/cpp/test/Ice/exceptions/AllTests.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-12-18 17:06:44 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-12-18 17:06:44 +0000
commitd07fdae285690f699a70f97f36232e516dcad2bc (patch)
treec239def689c5e6cc53ac76dbe3e60ec11c306964 /cpp/test/Ice/exceptions/AllTests.cpp
parentFixed tryLock() comment (diff)
downloadice-d07fdae285690f699a70f97f36232e516dcad2bc.tar.bz2
ice-d07fdae285690f699a70f97f36232e516dcad2bc.tar.xz
ice-d07fdae285690f699a70f97f36232e516dcad2bc.zip
Object adapter properties now prefixed by "Ice.OA."
Diffstat (limited to 'cpp/test/Ice/exceptions/AllTests.cpp')
-rw-r--r--cpp/test/Ice/exceptions/AllTests.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp
index 4d361e6a85a..5b3994f87b2 100644
--- a/cpp/test/Ice/exceptions/AllTests.cpp
+++ b/cpp/test/Ice/exceptions/AllTests.cpp
@@ -583,7 +583,7 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
// Expected
}
- communicator->getProperties()->setProperty("TestAdapter0.Endpoints", "default");
+ communicator->getProperties()->setProperty("Ice.OA.TestAdapter0.Endpoints", "default");
first = communicator->createObjectAdapter("TestAdapter0");
try
{
@@ -608,14 +608,14 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
//
// Properties must remain unaffected if an exception occurs.
//
- test(communicator->getProperties()->getProperty("TestAdapter0.Endpoints") == "default");
+ test(communicator->getProperties()->getProperty("Ice.OA.TestAdapter0.Endpoints") == "default");
first->deactivate();
}
cout << "ok" << endl;
cout << "testing servant registration exceptions... " << flush;
{
- communicator->getProperties()->setProperty("TestAdapter1.Endpoints", "default");
+ communicator->getProperties()->setProperty("Ice.OA.TestAdapter1.Endpoints", "default");
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter1");
Ice::ObjectPtr obj = new EmptyI;
adapter->add(obj, communicator->stringToIdentity("x"));
@@ -644,7 +644,7 @@ allTests(const Ice::CommunicatorPtr& communicator, bool collocated)
cout << "testing servant locator registrations exceptions... " << flush;
{
- communicator->getProperties()->setProperty("TestAdapter2.Endpoints", "default");
+ communicator->getProperties()->setProperty("Ice.OA.TestAdapter2.Endpoints", "default");
Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter2");
Ice::ServantLocatorPtr loc = new ServantLocatorI;
adapter->addServantLocator(loc, "x");