diff options
author | Mark Spruiell <mes@zeroc.com> | 2015-01-29 11:21:20 -0800 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2015-01-29 11:21:20 -0800 |
commit | 4b19b9f985bc4bc4677c4727c560cad98994ad97 (patch) | |
tree | 6d0b29f9b3551c20f0952d51adc5de12bc7f6295 /cpp/test/Ice/exceptions/AllTests.cpp | |
parent | ICE-6285 - Glacier2 session helper bug (diff) | |
download | ice-4b19b9f985bc4bc4677c4727c560cad98994ad97.tar.bz2 ice-4b19b9f985bc4bc4677c4727c560cad98994ad97.tar.xz ice-4b19b9f985bc4bc4677c4727c560cad98994ad97.zip |
bug fix for C++ exceptions test
Diffstat (limited to 'cpp/test/Ice/exceptions/AllTests.cpp')
-rw-r--r-- | cpp/test/Ice/exceptions/AllTests.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/test/Ice/exceptions/AllTests.cpp b/cpp/test/Ice/exceptions/AllTests.cpp index f82840a5b6d..75221df2c92 100644 --- a/cpp/test/Ice/exceptions/AllTests.cpp +++ b/cpp/test/Ice/exceptions/AllTests.cpp @@ -499,7 +499,7 @@ allTests(const Ice::CommunicatorPtr& communicator) } string host = communicator->getProperties()->getPropertyAsIntWithDefault("Ice.IPv6", 0) == 0 ? - "127.0.0.1" : "0:0:0:0:0:0:0:1"; + "127.0.0.1" : "\"0:0:0:0:0:0:0:1\""; communicator->getProperties()->setProperty("TestAdapter0.Endpoints", "default -h " + host); first = communicator->createObjectAdapter("TestAdapter0"); try @@ -541,7 +541,7 @@ allTests(const Ice::CommunicatorPtr& communicator) cout << "testing servant registration exceptions... " << flush; { string host = communicator->getProperties()->getPropertyAsIntWithDefault("Ice.IPv6", 0) == 0 ? - "127.0.0.1" : "0:0:0:0:0:0:0:1"; + "127.0.0.1" : "\"0:0:0:0:0:0:0:1\""; communicator->getProperties()->setProperty("TestAdapter1.Endpoints", "default -h " + host); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter1"); Ice::ObjectPtr obj = new EmptyI; @@ -610,7 +610,7 @@ allTests(const Ice::CommunicatorPtr& communicator) cout << "testing servant locator registrations exceptions... " << flush; { string host = communicator->getProperties()->getPropertyAsIntWithDefault("Ice.IPv6", 0) == 0 ? - "127.0.0.1" : "0:0:0:0:0:0:0:1"; + "127.0.0.1" : "\"0:0:0:0:0:0:0:1\""; communicator->getProperties()->setProperty("TestAdapter2.Endpoints", "default -h " + host); Ice::ObjectAdapterPtr adapter = communicator->createObjectAdapter("TestAdapter2"); Ice::ServantLocatorPtr loc = new ServantLocatorI; |